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.

Questions based on DataType program done in class

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
What is String?   the ability to program with words  
🗑
What is String literal?   character(s) enclosed in double quotation marks  
🗑
What is Syntax?   grammar,order and structure of the element in a language statement  
🗑
What is Declaration?   process of telling the compile the name of a variable and the type of data to be stored in the memory location allocated to the variable  
🗑
What is Data Types?   classification that determines how data is stored  
🗑
What is boolean?   allows storage of the value true or false.  
🗑
What is a character variable?   allows storage on any keyboard character  
🗑
What is a integer variable?   allows storage of integers (w/o decimals)  
🗑
What is assignment?   process of storing a value at a variable's memory  
🗑
What is a real variable?   allows storage of a irrational and rational numbers (with decimals)  
🗑
What is Data Types?   classification that determines how data is stored, possible values for data and the operations that can be performed on the data  
🗑
What is program block?   the code enclosed between open and closed curly braces  
🗑
What is data?   information formatted in a distinct way  
🗑
What is hard coding?   not using symbolic names  
🗑
What size is a boolean?   1 bit  
🗑
What size is a character?   determined by JVM  
🗑
What size is a String?   64 bits - 8 bytes  
🗑
Rules   must be followed or program produces a compiler error.  
🗑
Conventions   are standards followed by programmers of a particular language.  
🗑
Naming Conventions   variable names should be meaningful, classes start with capital letter and constants are all capitals  
🗑
Naming rules   alphanumeric and no spaces  
🗑
Primitive data types   int, String and double  
🗑
What size is an integer?   32 bits - 4 bytes  
🗑
What size is a double?   64 bits - 8 bytes  
🗑
What size is a character?   determined by JVM  
🗑
the basic syntax for declaration?   <data type> variableName;  
🗑
the basic syntax for assignment?    
🗑
When should one character variables be used?   when they are temporary  
🗑
Where does the compiler begin?   main method  
🗑


   

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