When would I use an if, for or while statement in Small Basic and what is the difference between the three?

I have a Y9 Computer Science Exam next week and I know that this will probably be one of the questions on it so I need to know the answer. What is the difference?

An If statement executes once IF the statement is true:
If 1 = 2/2 Then
Textwindow.writeline("True")
EndIf
A While statement executes WHILE the statement is true:
While 4 = 2+2
'Will keep looping while it is true
EndWhile
A For statement loops a number in increment:
For i = 1 to 10
'Every time through, i gets bigger by one until it equals 10
EndFor
It is written: "'As surely as I live,' says the Lord, 'every knee will bow before me; every tongue will acknowledge God.'" Romans 14:11

Similar Messages

  • My student has been using Lightroom 4 with Photoshop CS5 on her Mac for well over a year. Because of the difference between the Camera raw version available to her in Photoshop CS5 and the raw process in Lightroom 4, she has been exporting her raw images

    Any ideas?

    My student has been using Lightroom 4 with Photoshop CS5 on her Mac for well over a year. Because of the difference between the Camera raw version available to her in Photoshop CS5 and the raw process in Lightroom 4, she has been exporting her raw images from Lightroom and choosing the "Render using Lightroom option when it popped up in the dialogue box. She has been doing this for over a year and a half without any problem. Today when she hit Command E no dialogue box appeared and the image just opened in Photoshop. I'm concerned that all of her Lightroom edits are not being rendered to Photoshop. Anyone have an idea as to how we can get the "Render using Lightroom" dialogue back?

  • Compare the differences between the "Insert" option for fluid grid layouts in DW CC6 2014 and DW6 CC

    Their are differences in the "Insert" menu for DW CC6 2014 and DW CC6.  Where can I find training to explain the differences between the "Insert" menu particularly regarding insertion of fluid grid layouts?

    I would concentrate on learning the version of Dreamweaver that you want to use and not on learning the differences.
    Incidentally, the versions are CS6 and CC.
    As a personal note, I would suggest trying Bootstrap instead of the Fluid Grid Layouts.

  • What's the difference between the LRU and NRU strategy for stateful session bean?

    Hi,
    Does anybody know the difference between the LRU and NRU strategy for
    stateful session bean?
    Thanks,
    Levi

    LRU makes the assumption that the bean that has been used a lot recently is
    likely to be used again.
    NRU simply removes the beans that have not been used for a stipulated amount
    of time.
    The algorithm for the LRU is much more complicated than the NRU. I think BEA
    recommends LRU for better performance and NRU when you have memory
    constraints.
    "levi" <[email protected]> wrote in message
    news:[email protected]..
    Hi,
    Does anybody know the difference between the LRU and NRU strategy for
    stateful session bean?
    Thanks,
    Levi

  • HT1766 what's the difference between the icloud and itunes when installing back up

    what's the difference between the Icloud and Itunes when installing back up???

    Backing up using iTunes stores your backup locally on your computer. Using iCloud stores your backup on Apple's servers. If you never backup your computer(bad idea), iCloud would be a better choice. Read more here:
    http://support.apple.com/kb/HT1766

  • TS3899 Why is the number of e-mails higher on my iPhone than in my e-mail when I log into it on my computer?  The difference between the 2 keeps climbing.

    Why is the number of e-mails higher on my iPhone than in my e-mail when I log into it from my computer?  And how do I fix it?  The number keeps climbing on my phone, making the difference between the two greater.

    You're welcome.
    In order to have the account's Sent mailbox synchronized with the server with the Mail.app on your Mac and with the iPhone's Mail application, you must store the account's Sent mailbox on the server with each. The same applies to the account's Drafts and Trash mailboxes.
    With store sent messages on the server deselected for the account preferences with the Mail.app on your Mac, create an "On My Mac" location mailbox. At the Mail.app menu bar go to Mailbox and select New Mailbox. Choose On My Mac for the mailbox location - which will be stored locally on your computer's hard drive and enter a name for the mailbox. You can name this mailbox MobileMe Sent. Select OK to create the mailbox, which will be available under "On My Mac" in the Mail.app mailboxes drawer.
    Select your MobileMe Sent mailbox. Select a sent message in the mailbox and at the menu bar go to Edit and choose Select All. Follow this - at the Mail.app menu bar go to Message and select Move To and then select the new On My Mac location mailbox in the window provided. This will move all messages from the account's locally stored sent mailbox to the newly created On My Mac location mailbox. When this transfer has been completed, re-select store sent messages on the server for the account preferences.
    Now do the same with the newly created On My Mac location mailbox where all sent messages were transferred to. Select a message in the mailbox and at the menu bar go to Edit > Select All. At the menu bar go to Message > Move To and select your MobileMe account's server stored Sent mailbox under Sent in the window provided. This will transfer all messages stored locally on your computer's hard drive from the newly created "On My Mac" location mailbox to the account's server stored Sent mailbox. These messages will no be available when accessing the account with the iPhone's Mail application.

  • What is the difference between the iPhoto that came pre-downloaded on my MacBook and the iPhoto available for download on the App Store?

    I have had my MacBook for 5 years and ever since upgrading to the new system which added the App Store to my computer, I have been curious about the difference between the iPhoto that came pre-downloaded when I purchased my computer 5 years ago and the iPhoto available for purchase on the App Store. What makes the iPhoto from the App Store so different that I have to pay $15 for it, when I already have it for free on my computer?

    Lots and lots of new features - and since you have upgraded to Mavericks much better operation
    For information on what has changed there are many. many reviews on the web as well os a writup on the App store recapping the new features of the latest version vs the previous version
    as to your choice - totally personal - do or don't - you choose - it does no involve anyone here in any way
    LN

  • 10.4.6 updaters for IiMac. What's the difference between the choices?

    It seems there are 3 choices for this update:
    1) Going through the "software update" pulldown menu on my desktop which is about 100mb
    2) On the "apple downloads" page there is one that is 163mb that seems appropriate and
    3) a "combo" version that is 191mb that also seems appropriate
    I simply used the one from the pulldown menu on my desktop, but what is the difference between the 3 and are there advantages/disadvantages to any specific method or version so for the next time there is an update i pick the more "appropriate" version?
    Thanks

    just choose "software update" from your "system preferences" to do the job. It checks your system and chooses teh updates that might be needed. It's probably because you own an "intel mac' the update in software update is only 100 mb. You don't need the combo therefore (combo for 'intel macs' and 'old macs').

  • What's the difference between the iPad wifi and iPad wifi   3g? Okay, so I'm planning to buy an iPad and would like to know more of the details. I know that ipad wifi   3g would offer me with internet usage anywhere and anytime.

    What's the difference between the iPad wifi and iPad wifi   3g? Okay, so I'm planning to buy an iPad and would like to know more of the details. I know that ipad wifi   3g would offer me with internet usage anywhere and anytime.

    Welcome to the Support Communities. The differences are spelled out here:
    http://www.apple.com/ipad/specs/
    ...For example, note that the Wi-Fi + Cellular model has assisted GPS for more accurate pinpointing of your geographic location.

  • HT3696 How to know if your mac is using the latest Haswell architecture processor or not? and how to know the difference between the new imac and the 2012/13 imac?

    How to know if your mac is using the latest Haswell architecture processor or not? and how to know the difference between the new imac and the 2012/13 imac?

    Sorry to reopen an old post, but I've just purchased a 2nd hand late-2013 iMac (or so thats what the seller said).
    I'm always sceptical though, and just wanted to know if there is a way to check if my iMac is indeed the late-2013 model that included Haswell?
    I've attached screenshots of the About This Mac section hoping it may help shed some light.
    Thank you in advance for your help!
    PS - I can't compare to the iMac specs link you posted above because its now showing the late-2014 models.
    <Image Edited by Host to Remove Serial Number>

  • Does anyone know the difference between the Applecare Warranty for the Macbook Pro and the Applecare Protection Plan Auto Enroll 607-8192-B APP FOR MacBook

    Does anyone know the difference between the Applecare Warranty for the Macbook Pro and the Applecare Protection Plan Auto Enroll 607-8192-B APP FOR MacBook

    AFAIK, the difference is that the auto-enroll occurs automatically when you purchase the device and you will have to disburse the cost right there and then. Whereas the other comes in a box, can be purchased separately later and you must manually enroll your device into the system to activate the additional protection. This must occur before the base one year warranty is over.
    So, if you don't want to pay up at the moment you buy the computer, you can wait up to say 11 months and buy the AppleCare warranty extension later. Just be sure to complete the enrollment BEFORE the base warranty is over, else Apple will not honor the extension (all in the fine print). This applies to all devices that offer an AppleCare option: notebooks, desktops, iStuff, etc.

  • What is the difference between the plan i currently have now and the 9.99 a month for both photoshop and lightroom?

    I currently am paying 29 dollars a month for just photoshop.. there is an option for 9.99 a month for both that and lightroom? what is the difference?

    This document explains the differences between the Creative Cloud Photography Plan and the Photoshop single app plan - https://helpx.adobe.com/photoshop/kb/differences-photoshop-creative-cloud-photography.html
    Thanks
    Bev

  • What is the difference between the three network carriers and  if i am to use iPhone 5 in Bangladesh, which network carrier should i choose?

    I had one confusion about the network carrier of which one to chose. Actually I do not know the difference between them. Are they related to some sort of sim cards? I would be grateful if anyone could help me to get away this confusion.

    Unless we are in Bangladesh, nobody here can really help you with this.  If you purchased the phone there, you need to do that research for yourself.  You are the one who is there and on the spot so noone else can really help you with that.
    You need to contact the available carriers in your area and see what the differences are for yourself.
    The phone companies supply you with the appropriate sim cards when you take out a contract with them.
    Also, where did you purchase the phone from in the first place and is it an unlocked phone?  If the phone is not unlocked, then it won't work.

  • HT201250 If using Time Machine with an external drive, can I just use it occasionally for back up, say once per week and have it disconnected in between backups?

    When using TM with an external drive, can I connect and use it occasionally for backup and disconnect it between backups, say one backup per week?  Or does it need to be connected all the time when the computer is on?

    TimeMachine works better if it's nearly always connected.
    For addtional backup like what your needing, consider a bootable clone in addition to TM.
    Most commonly used backup methods

  • What exactly is the difference between the new photos app for mac and iPhoto? i'm very confused...

    Ever since i've bought my macbook pro i used iPhoto to organize my photos. Now apple added this new photos app and i don't really understand what is it meant for? can someone please explain me the difference? I'm very confused about the purposes of both apps....

    Now apple added this new photos app and i don't really understand what is it meant for? can someone please explain me the difference? I'm very confused about the purposes of both apps....
    Photos is a completely new designed photo application, designed for Yosemite and the MacOS X versions to come. Many differences are under the hood. It uses the new system libraries and frameworks for more efficient image processing on the new powerful macs, like the mac pro, it is extensible by app extensions, if other developers will add functionality, and most important, it brings integration with iCloud Photo Library. With Photos you can store your photo library in iCloud and sync it across all devices.
    Some features are still missing however, and you can continue to use iPhoto, if you like. Or create a small Photos library for testing and explore Photos, while keeping your main libraries in iPhoto.

Maybe you are looking for

  • My iPad Id is disabled and I can't seem to fix it can someone tell me what's wrong?

    Please this is bothering me for sometime. Currently I cannot download any new apps but I can still use my old ones. Every time i try to get an app it says that my I'd is disabled.

  • Syntax error in the program in the "SAP LZTEST"

    When executing Transaction Code VF01/VF02/VF03, it is not possible to create a billing document. it is showing the error like the above. "The data object "ZASD_MAINT" does not have a component called "TIME_Z0" "NE". Can you please help me in this iss

  • Making one selection screen block invisible

    Hi, I want to make one selection-screen block invisible based on one check box value.I have built the screen as follows: PARAMETERS: pcheck1    TYPE char1  AS CHECKBOX. SELECTION-SCREEN  BEGIN OF BLOCK b2 WITH FRAME TITLE text-004. PARAMETERS: pproj 

  • Enhance BADI

    Hi , I have a requierement to Enhance the standard function module IDOC_INPUT_MBGMCR to perform update to Ztable and to Perform validation to prevent duplicated record (this will handle in PI or need validation to be built within the function module)

  • Cannot sync apple mail with BT mail

    Since BT changed from BT/Yahoo to BT/mail I cannot get my iMac to stay synced it seems to 'sync' sometimes but not all the time and when my iMac sleeps nothing gets through on wake up BT are unable to help.