Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


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.
Your email address is only used to allow you to reset your password. See 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.

Vocab

Quiz yourself by thinking what should be in each of the black spaces below before clicking on it to display the answer.
        Help!  

Question
Answer
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.  
🗑


   

Review the information in the table. When you are ready to quiz yourself you can hide individual columns or the entire table. Then you can click on the empty cells to reveal the answer. Try to recall what will be displayed before clicking the empty cell.
 
To hide a column, click on the column name.
 
To hide the entire table, click on the "Hide All" button.
 
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
 
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.

 
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
Created by: jamiechristian11
Popular Computers sets