Busy. Please wait.
or

show password
Forgot Password?

Don't have an account?  Sign up 
or

Username is available taken
show password

why


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
We do not share your email address with others. It is only used to allow you to reset your password. For details read our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.

Remove ads
Don't know
Know
remaining cards
Save
0:01
To flip the current card, click it or press the Spacebar key.  To move the current card to one of the three colored boxes, click on the box.  You may also press the UP ARROW key to move the card to the "Know" box, the DOWN ARROW key to move the card to the "Don't know" box, or the RIGHT ARROW key to move the card to the Remaining box.  You may also click on the card displayed in any of the three boxes to bring that card back to the center.

Pass complete!

"Know" box contains:
Time elapsed:
Retries:
restart all cards




share
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

CSC-211 Final Test

Vocab

QuestionAnswer
Definite Loop You know exactly how many times you want to perform a particular task.
Indefinite Loop You do not know in advance how many times you want to perform a particular task.
Fencepost Loop We print "n" numbers, but only need n-1 commas. Add a statement outside the loop to place the initial post.
While Loop Repeatedly executes it's body as long as the logical test is true.
Until Valid Data Loops Repeatedly prompts the user for input until valid data is entered.
Sentinel Loops repeats until a sentinel value is seen. (enter -1 to quit) --> -1=sentinel value
Priming Reed Setting a variable to a value before a while loop/sentinel loop.
Pseudorandom Numbers Numbers that mimic the properties of numbers chosen at random, though they are actually derived from a mathematical expression.
Random class Random name = new Random();
Do/While Loops Performs its test at the end of each repetition; do {statement;} while (test);
Creating File Objects To allow access to a file; File name = new File("filename");
To Read Files via Scanner File name1 = new File("filename"); Scanner name2 = new Scanner(name1); OR Scanner name2 = new Scanner(new File("filename"));
Exception An object representing a runtime error. FileNotFound= file doesn't exist in the program. InputMismatch= read wrong type of token. NoSuchElement= read past the end of file input.
Reading Files scannername.next();
PrintStream An object in the java.io package that lets you print output to a destination (file). PrintStream = new PrintStream(newFile("filename")); DO NOT use the same file for output and reading.
Created by: jamiechristian11