Busy. Please wait.
or

show password
Forgot Password?

Don't have an account?  Sign up 
or

Username is available taken
show password

why


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.
We do not share your email address with others. It is only used to allow you to reset your password. For details read 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.

Remove ads
Don't know
Know
remaining cards
Save
0:01
To flip the current card, click it or press the Spacebar key.  To move the current card to one of the three colored boxes, click on the box.  You may also press the UP ARROW key to move the card to the "Know" box, the DOWN ARROW key to move the card to the "Don't know" box, or the RIGHT ARROW key to move the card to the Remaining box.  You may also click on the card displayed in any of the three boxes to bring that card back to the center.

Pass complete!

"Know" box contains:
Time elapsed:
Retries:
restart all cards




share
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

DataTypes Program

Questions based on DataType program done in class

QuestionAnswer
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
Created by: alizahmcg