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 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 to the variable.
What is Data? Information formatted in a distinct way.
What is Primitive Data Types? The most basic data types provided by a language.
What is a String? A class provided by java that provides the ability to program with words.
What is String literal? Character(s) enclosed in double quotation marks.
What is assignment? The process of storing a value at a variable memory location using =(assignment operator)
What are Data Types? Classification that determines how data is stored possible values for the data, and the operations that can be performed on the data.
The int data type allows what? storage of integers( numbers fractional component (i.e no decimal point)
How many bits and bytes take to declare a integer variable? (32 bits - 4 bytes)
How many bits and bytes take to declare a real variable? (64 bits - 8 bytes)
How many bits does it take to declare a boolean? (1 bit)
The double data type allows what? The storage of rational and irrational (i.e numbers with decimal point)
The boolean data types allows what? Allows the storage of any keyboard character.
What does a boolean data type require? Requires single quotes.
Common names for temporary variables are... i, j, k, and n are for integers; c, d, and e for characters; x, y, and z for real numbers;
What are the rules for naming camelBack notation? First letter is lowercase and for each subsequent word, the first letter is capitalized.Names are meaningful.
When should one character variables be used? One- character variables should be avoided except for temporary "throwaway" variables.
Declaring a string size depends on what? It depends on the Java Virtual Machine.
What data type allows the storage of multiple characters enclosed in double quotes? String
What is hard coding? To use an explicit rather than a symbolic name for something that is likely to change at a later time.
What is Syntax? Grammar, structure, or order of the elements in a language statement.
What is a main method? where the program looks to begin execution. Execution begins with the first line of code in the main method.
What is camelBack notation? The first letter is lowercase and for each subsequent word the first letter is capitalized.
What is program block? The code enclosed between {}.
what is the basic syntax for declaration? <data types>variableName.
Define naming conventions camelBack Notation names are meaningful One-character variable names should be avoided.
Created by: Phyloseum88