Deliverables right or wrong help please

Could someone have a look at these and tell me which are valid and which are invalid.
A formal definition (or input grammar) of an expression will also help you to understand what makes up valid data that your program should correctly evaluate.
Expression: Number Padding { Operator Padding Number Padding} "="
Number: ["-"] { Digit } [ "." ] { Digit }
Operator: "+" | "-" | "*" | "/"
Digit: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"
Padding: {""} | { " " } | { "\t" }
Deliverables
1. Which of these are valid according to the a) the input grammar above and b) the details given in the above aims. If not, then why? There are no syntax mistakes here, as you see them is as they have been written. Its an online test.
A) "2.23 + 22.1 /3 ="
B) "23.22 -112 + 12"
C) "-12 / 2 ="
D) "1.2.1 /095 ="
E) "85.045 / 45 * 12.3 ="
f) "56. 5 + 2.11 + 13 /3 ="
g) "54 - - 2 ="
H) "0003.333 / 0.0 ="
I) "845.2 12.3 -="
J) " 12.45 - 12.12 ="

Sorry, I should have mentioned, this would be based on a calculator programme design.

Similar Messages

  • Deliverables right or wrong

    Could someone have a look at these and tell me which are valid and which are invalid.
    A formal definition (or input grammar) of an expression will also help you to understand what makes up valid data that your program should correctly evaluate.
    Expression: Number Padding { Operator Padding Number Padding} "="
    Number: ["-"] { Digit } [ "." ] { Digit }
    Operator: "+" | "-" | "*" | "/"
    Digit: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"
    Padding: {""} | { " " } | { "\t" }
    Deliverables
    1. Which of these are valid according to the a) the input grammar above and b) the details given in the above aims. If not, then why? There are no syntax mistakes here, as you see them is as they have been written. Its an online test.
    A) "2.23 + 22.1 /3 ="
    B) "23.22 -112 + 12"
    C) "-12 / 2 ="
    D) "1.2.1 /095 ="
    E) "85.045 / 45 * 12.3 ="
    f) "56. 5 + 2.11 + 13 /3 ="
    g) "54 - - 2 ="
    H) "0003.333 / 0.0 ="
    I) "845.2 12.3 -="
    J) " 12.45 - 12.12 ="

    If I were to guess, which I'm about to, I'd say this:
    A. Is good because it follows "Number Padding {Operator Padding Number Padding} = "
    format.
    B. Bad because it is Number Padding Number Operator Number format
    C: Good
    D. Good
    E. Bad because it is Number Padding Operator Padding Number Padding Operator....
    F. Bad because it is Number Padding Number....
    G. Bad: Number Padding Operator Padding Operator.....
    H. Good
    I. Bad Number Padding Number
    J. Bad Padding Number
    I hope it's correct. I'm not a hundred percent sure becuase it's been so long since I used these types of expressions.
    scottj

  • Update gone wrong help please

    Hi
    I have an N95 8Gb, which I am trying to pdate to the latest software. I needed to do some updates on PC suite and Nokia updater ( as I havnt used either for a while ). I did a back up which seemed to work fine as I have a big content copie file. I then proceeded to update. The new software downloaded ok and started to install, it all seemed to be going OK until the pc lost connection with the phone. I got instructions to remove the cable, battery and re-connect ( can't just remember the exact order but I followed it ) and hit retry, it didn't re-connect so I tried several times. The software has now hung at this point, and I can only escape my disconnecting the USB. Now my phone won't boot or connect. Anyone, please where do I go from here ?
    Many thanks
    Steve

    The article isn't mine, it was written by a friend who goes by the name "psychomania" round these parts.
    If the phone does get bricked, a Nokia Care Point usually has the necessary hardware and software to revive it or can sent it off to a service centre where they definitely have what's needed. So, your assumption was correct.
    The content copier file is so large because of all the additional stuff not in the ROM that's installed with the firmware. Stuff like Ngage, for example, which takes up about 15 MB all on its lonesome. Then there are third-party themes you may have installed, additional software, user files...
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • New Out of Box and Frozen Right away, Any help please?

    Hi everyone, as I have read around here I am not the first to have this kind of a problem:
    I opened my ipod box about a hour ago and loved what I saw, a nice new sleek Ipod in black color. (30g 5thG). I ran downstairs, installed the new software, and plugged in my ipod. It immideatly froze. I have been working on it like nuts for the past hour, looking for tech help and such, but all I could find was
    "Press the central button and the play button for 6-10 seconds" and things like that.
    The problem is my ipod has FROZEN at the main menu screen, it won't turn off, won't change folders, won't respond. I left it idle for about 10 minutes and still nothing. What is going on here? I dont want to use my 1 and only free tech support on something like this, expecally because I just freaken got the thing.

    I have the same exact problem! I'm stting here and I don't know how to get it to turn off, or to connect properly with my computer.

  • I'm trying to reset my apple ID password but forgot my security questions. Apple are sending the confirmation e-mail to the wrong address, please help?

    I'm trying to reset my apple ID password but forgot my security questions. Apple are sending the confirmation e-mail to the wrong address, please help?

    Hello AndrewsAFCx,
    Thank you for using Apple Support Communities!
    If you cannot remember your security questions for your Apple ID, I would recommend these steps outlined in the article named:
    Apple ID: All about Apple ID security questions
    http://support.apple.com/kb/HT5665
    What should I do if I don't remember the answers to my Apple ID security questions?
    Try answering them at least once to see if you can get them right, even if you are not sure you remember the answers to your security questions.
    If you are confident you can't remember them, try one of the following:
    If you have three security questions and a rescue email address
    sign in to My Apple ID and select the Password and Security tab to send an email to your rescue email address to reset your security questions and answers. 
    If you have one security question and you know your Apple ID passwordsign in to My Apple ID and select the Password and Security tab to reset your security question.
    If you have one security question, but don't remember your Apple ID password
    contact Apple Support for assistance. Learn more about creating a temporary support PIN to help Apple confirm your identity when you contact Apple Support.
    Note: If you have forgotten your password and answer your security questions incorrectly too many times in a row, you will be unable to try to answer your security questions for a period of time. During that time you will not be able to reset your password and will not have access to your account.
    All the best,
    Sterling

  • I've downloaded the newest version of softwear to my iTunes libary (iOS 10.5 i believe) iTunes store now dosn't function right and i'm not able to sync. my iPod 4G with my libary. i've tried to reinstall iTunes, but for no use. help please.

    I've downloaded the newest version of softwear to my iTunes libary (iOS 10.5 i believe) iTunes store now dosn't function right and i'm not able to sync. my iPod 4G with my libary. i've tried to reinstall iTunes, but for no use. help please.

    well i have to be honest, but i don't know if it the vista you use has any significance for this. but you can try.
    okay follow:
    1: click "start" on the status line on the buttom of your screen.
    2: then click on "all Programs" and find "Accessories" and find the "command prompt"
    3: Right click with your mouse "command prompt" and click on "run as administrator"
    (as you has click'd on "run as administrator", "command prompt" should appear.)
    4: when it appears you need to type this "netsh windsock reset"
    5: wait for your computer to registrer the command you gave it, and restart your computer.
    then erverything should be pretty much as good or better then new.

  • I purchased a Mac book pro in oct 2011, I restarted it after updating and it,s stuck on apple symbol, I hit command R while restarting and clicked on disk utility. It says disk can't be repaired, apple wants $249 to tell me what's wrong. Please help!

    I purchased a mac book pro in oct 2011, I restarted it after updating and it,s stuck on apple symbol, I hit command R while restarting and clicked on disk utility. It says disk can't be repaired, apple wants $249 to tell me what's wrong. Please help!

    What Apple store told you they wanted $249.00 to tell what is wrong?
    If this is a 13" Macbook Pro then that is the cost of the Extended Applecare warranty. As you are outside the 90 days of Free Phone Support then what Apple told you is that to get Phone Support you would either need to pay $45 per phone call or pay $249.00 for the Applecare extended warranty which comes with 3 years Free Phone Support from date of purchase.
    Or you can take it to a Apple Genius Bar and have them look at it for Free.
    Every Mac comes with 1 year warranty and includes only 90 days of phone support. You can buy the extended Applecare warranty anytime within the first year of ownership, IE until the 1 year warranty runs out.
    I suggest you have your computer looked at by either an Apple Authorized Repair Center or Genius Bar and then before the 1 year warranty runs out buying the extended warranty

  • My location services is already on as well as with my facebook apps, but still i am unable to check in. what's wrong? even with my maps, it always say location unavailable. help please.

    my location services is already on as well as with my facebook apps, but still i am unable to check in. what's wrong? even with my maps, it always say location unavailable. help please.

    - The iPod uses the location of a nerby or connected router to determine it location based on a database of routers and their location. It appears that the routers near y are not in Appl'es database.  As of yet, nobody here seems to know how to get routers added to the database.
    - If you go to Strtbucks. McDonalds or another networks does the location show in the Maps app?

  • My computer broke, so I had to change the hardisk(?). Now iTunes dosen't work anymore. It says that the program is either lockes, on a locked unit or I don't have the right to open the library? Help please? :)

    My computer broke, so I had to change the hardrive-hardisk(?). Now iTunes dosen't work anymore. It says that the program is either locked, is on a locked unit or I don't have the right to open the library? Help please?

    Sometimes a restart can fix this issue, but sometimes you have to fix the iTunes Library.itl file.
    Try quitting iTunes, renaming the itunes file "iTunes Library.itl" to "iTunes Library Old.itl"
    then open itunes again
    This should generate a new library file.
    From this point you can try two different avenues.
    1. Re-add everything to your library by going to the iTunes file menu, and selecting "add to library"
    2. You can try deleting the iTunes Library.itl you created, changing the name of the old file back to iTunes Library.itl
    I hope this helps. I did something like this a while back and it worked for me.

  • I want to make all my caller id pics full screen how do i do that? When i download a picture from my phone it makes it full screen then it goes back to the small photo in the upper right hand corner how do i make them stay full screen help please:-)

    I want to make all my caller id pics full screen how do i do that? When i download a picture from my phone it makes it full screen then it goes back to the small photo in the upper right hand corner how do i make them stay full screen help please:-)

    @Naiks, having suffered through unsuccessful synching attempts for Calendar and Contacts myself, l would suggest you try the following:
    UNINSTALL iCloud control panel from your PC. Seems silly, but do it.
    Go into Outlook, and look at the very top menu. Click FILE, then ACCOUNT SETTINGS, then click the popup box.
    You will see a list of all your email accounts. Make sure that ONE of them has a checkmark against it. If not, select the account your want as your default, and click "set as default.
    Exit out of Outlook and reboot your machine.
    Now reinstall iCloud, check CALENDAR and CONTACTS, and do as instructed when prompted.
    Reboot for good luck and now launch OUTLOOK. All that remains is to locate your iCloud Contacts and Calendar files, and make them your default.
    IMPORTANT: Don't panic if you can't find your contacts -- they're there. Click CONTACTS and you'll see you have several available contact files. Locate the one label "iCloud" in grey type. Right-click on it, select PROPERTIES, then click the Outlook Address Book tab. Check the box that says something like "Make this my default Outlook Address Book." Keep clicking "apply" and "okay" until you've exited out of the dialog box maze.
    You may have to do something similar with your Calendar files. I dd not, but if you need to, do it.
    Everything should now sync pretty seamlessly.
    I didn't have the exact same problem as you, but my dilemma was close enough. Good luck!
    Arthur P. Johnson

  • I will cancel the membership of each month. Please cancel. I can not English. Settlement became seen wrong. Please help soon

    I will cancel the membership of each month. Please cancel. I can not English. Settlement became seen wrong. Please help soon

    Cancel the Cloud http://forums.adobe.com/thread/1439535?tstart=0 may help
    or
    Adobe contact information - http://helpx.adobe.com/contact.html may help

  • None of the network adapters are bound to the Netmon driver.If you have just installed, you may need to log out and log back in order to obtain the proper rights to capture. Please refer to the product help for more information.

    Hi,
    To analyze Lync issues I have installed these applications in my windows 7 x64 laptop
    1) network monitor 3.4
    2)Lync network monitor parser
    3)nmdecrypt2.3
    4)network monitor parser3.4
    Installtion got completed successfully but when I try to start capture I get this error everytime.......
    "None of the network adapters are bound to the Netmon driver.If you have just installed, you may need to log out and log back in order to obtain the proper rights to capture. Please refer to the product help for more information"
    I read many technet articles and other blogs but that didn't solve this issue. I tried things like
    A) Run as administrator
    B) nmconfig /install in cmd
    So could you please help me how I can fix this issue?
    Regards,
    Ajit

    Seems our driver didn't get installed.  What you see when you type "sc query nm3" from a command prompt?
    Thanks,
    Paul

  • My iPad 2 won't charge unless I push the cord in real tight and hold it there. Right now I have 3% battery left! HELP PLEASE!

    My iPad 2 won't charge unless I push the cord in real tight and hold it there. Right now I have 3% battery left! HELP PLEASE! Oh my gosh.

    This sounds to me like a hardware issue. Take it to an Apple Store or Apple authorized repair service.

  • HT204266 I am trying to download Tap Tap Revenge on my new Ipad air..however..i searched for it in the App Store but there are none...help please..i really love this game! Is there something wrong with my App Store or my ipad??

    I am trying to download Tap Tap Revenge on my new Ipad air..however..i searched for it in the App Store but there are none...help please..i really love this game! Is there something wrong with my App Store or my ipad??

    It looks like the app is not currently in the App Store, I can't find it in the UK nor US stores.
    If you had previously downloaded it then do you have a copy on your computer's iTunes so that you can sync it to your iPad ?

  • I need help please. I have 6 apps updates shown on on the upper right corner of the app store icon. When i tried to open the apps store and go to updates, the apps that need to be updated were not appearing therefore i have no idea what those apps

    I need help please. I have 6 apps updates shown on on the upper right corner of the app store icon. When i tried to open the apps store and go to updates, the apps that need to be updated were not appearing therefore i have no idea what those apps are so that i can update them. Please give some solutions please

    isthisonetaken wrote:
    I'm having this problem. It started yesterday. I have 2 updates, but when I open the App Store, they won't appear.
    Do you have apps purchased with a differnt AppleID?
    For example, mine shows 12 updates but only 2 show up as being available.
    The others are on my daughters account.
    I log out of my iTunes account and log in with hers and those updates show up.

Maybe you are looking for

  • SQL Developer 1.51.5440 high CPU + frozen screen

    Hi, Using SQL Developer 1.51.5440 on WinXP. The laptop has 2 GB and decent CPU, the OS is well maintained and in good working order. From times to times, the SQL Developer window becomes unresponsive (with a gray background). Either it freezes in thi

  • Select list with pagination  in  Interfactive report

    Hi all Iam using apex 3.2.1. iam using interactive report it contains 15 thousand records.By default only two options are there in interative report x to y and x to y of z pagination. it is very difficult to finding the particular range rows. In Sql

  • Partial delivery on VA01/02

    hiiii all i am in complete lost, i need to do something in VA01/02 that concern partial delivery.  i have the user exit i need to impletement some code. pstyv     order qty        confirm qty                                         UOM ZO11      100 

  • What is this error java.sql.SQLException: Bad format for number ?

    Dear All, I am reading few values from database. Then I get this error "MyError:Error : java.sql.SQLException: Bad format for number 'Sarawak' in column 6. " So what is this error referring to. I have checked the database column and its value fits ac

  • VL10c report

    Hi friends, In the Vl10c transaction code, system is giving the customer code for sold to party as well as transporter but the name of the partner is not displayed even the column is available, can any one guide me for finding any note issused by the