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

Data Types Program

Questions based on DataType program done in class

QuestionAnswer
What is declaration? 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 a Data Type? Classification that determines how data is stored, possible values for data, and the operation that can be performed on the data.
What are Primitive Data Types? The most basic data types provided by a language.
What is String? 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 processes of storing a value at a variable memory location using =(assignment operator)
What is Syntax? Grammar, structure, or order of the elements in a language statement.
What is a main method? A program begins by calling the main method and begins execution 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 hard coding? To use an explicit rather that a symbolic name for something that is likely to change at a later time.
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 an integer variable? (32 bits - 4 bytes)
How many bits and bytes take to declare a boolean? (1 bit)
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;
When should one character variables be used? One - character variables should be avoided except for temporary "throwaway" variables.
What is a program block? The code enclosed between {}.
How much bits and bytes take to declare a real variable? (64 bits - 8 bytes)
Declaring a string size depends on what? It depends on the Java Virtual Machine.
What allows the storage of multiple characters enclosed in double quotes? JVM
What are the naming rules? alphanumeric no spaces special characters except_$ MUST begin with letter
What is the Basic syntax for declaration and assignment? <datatype> variableName= <value>;
Created by: b.billue