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 on data type 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 a declaration?   The process of telling the compiler the name of a variable and the type of data to be stored in the memory location allocated/ given to the variable.  
🗑
What is the Basic syntax for declaration?   <data type> variableName;  
🗑
What is a String literal?   Character(s) enclosed in double quotation marks.  
🗑
What is a syntax?   grammar, structure, or order of the elements in a language statement.  
🗑
How do you declare an integer variable/ int data type?   int variable;  
🗑
How do you declare a real variable/ double data type?   double variable;  
🗑
How do you declare a boolean/ boolean data type?   boolean variable;  
🗑
How do you declare a character/ char data type?   char variable;  
🗑
How do you declare a String/ String literal?   String variable;  
🗑
What is the Basic syntax for assignment?   variableName= <value>;  
🗑
What is the Basic syntax for declaration and assignment?   <data type> variableName= <value>;  
🗑
What is data?   Information formatted in a distinct way.  
🗑


   

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