Upgrade to remove ads
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.

AP Computer Science

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

Term
Definition
execute   In reference to a program, to run the program after compiling it. In reference to a statement in a program, to carry out the statement.  
🗑
parameter   A "place holder" variable in the method signature located between the parentheses. Ex: public void exampleMethod(int number)  
🗑
conditional statements   Executed by evaluating the boolean expression that immediately follows the word "if"; if the resulting value is true, the statements in the body of the then are executed, otherwise the statements in the body of the else are executed.  
🗑
boolean   A Java type that represents yes-or-no values. There are two boolean constants: true and false.  
🗑
class   a set of instructions describing how to create an object, what variables represent its internal state, and what behaviors the object will have  
🗑
string   A type of data in Java (and many other programming languages); the String class represents strings of characters in Java. A string holds a sequence of letters, numbers, and other characters.  
🗑
call   What one does to use a method. A method call may require one or more arguments—additional pieces of information—to process as intended.  
🗑
return   To finish executing a method call. The next statement to be executed will be the statement right after the method call. Returning from a method can be done implicitly, by executing the last statement of a void method, or explicitly, by executing the ret  
🗑
instance   each object produced in class  
🗑
object code   The form of a program that can be executed; the output of a compiler.  
🗑
source code   The people-readable text of a program. Contrast object code.  
🗑
object bench   The area in the lower left corner of the main BlueJ project window that holds references to objects that one creates from the classes in a project.  
🗑
constructor   The area in the lower left corner of the main BlueJ project window that holds references to objects that one creates from the classes in a project. Has no return type  
🗑
void   The word void at the front indicates what type of thing the method will return after it has been run. This method returns nothing, which in Java is described as void.  
🗑
comments   Comments can be used to explain and remind the author what the purpose of the code is. Making comments on code makes the code easier to read, especially for another person who has never read your code.  
🗑
private   An attribute of a Java method or instance variable that specifies that only statements within the definition of the enclosing class can call the method or access the instance variable. In Java programs, instance variables are almost always private.  
🗑
public   An attribute of a Java method or instance variable that specifies that any statement outside as well as inside the enclosing class can call the method or access the instance variable. In Java programs, methods are often public. Contrast private.  
🗑
method body   The statements that comprise a method. In a method definition, these come directly after the method header, and are surrounded by braces. The statements in a method body are executed in order.  
🗑
code   xfff3dy  
🗑
abstraction   The process of noticing similarities in examples and identifying the pattern that all the examples fit. Also, using an abstraction to hide details.  
🗑
reuse   Use of already written code in another program.  
🗑
Error check   Test for illegal input or for inconsistencies in a program that are likely symptoms of bugs.  
🗑
conditional statement   Executed by evaluating the boolean expression that immediately follows the word "if"; if the resulting value is true, the statements in the body of the then are executed, otherwise the statements in the body of the else are executed.  
🗑
Modulus   is an arithmetic operation in which numbers "wrap around" after a certain value is reached. The modulus operator takes two numbers, and returns the remainder after the second number is divided into the first number as many times as possible.  
🗑


   

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: fatimaorta