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.

Java Chapter 4

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
Specifying the order in which statements (actions) execute in a program is called...   program control  
🗑
What are the three types of selection statements?   if statement, if...else statement, switch statement.  
🗑
A switch statement is an example of this kind of selection statement.   Multiple  
🗑
The do…while statement performs the action(s) in its body (blank) or more times.   one  
🗑
while and for statements perform the action(s) in their bodies (blank) or more times   zero  
🗑
Connecting the exit point of one to the entry point of the next.   Control-statement stacking  
🗑
A diamond in UML represents...   A decision symbol  
🗑
In UML Workflow continues along a path determined by the symbol’s (blank), which can be true or false.   guard conditions  
🗑
A solid circle in UML represents...   The initial state  
🗑
A solid circle surrounded by a hollow circle in UML represents...   The final state  
🗑
In a repetition statement,eventually, the condition will become (blank). At this point, the repetition terminates, and the first statement after the repetition statement (blank).   false, executes  
🗑
When the action in the body of a while loop never becomes false the result is...   an infinite loop  
🗑
The difference between a merge and decision symbol in UML is not the shape but the number of (blank) leaving the shape.   arrows  
🗑
During integer division what is truncated?   Any remainder  
🗑
A special value called a sentinel value (also called a signal value, a dummy value or a flag value) can be used to indicate...   “end of data entry.”  
🗑
Sentinel-controlled repetition is often called (blank)because the number of repetitions is not known before the loop begins executing.   indefinite repetition  
🗑
c = c +3 can be written as c+=3 with the...   addition compound assignment operator  
🗑


   

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: lapetti
Popular Computers sets