Save
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.
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't Know
Remaining cards (0)
Know
0:00
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
Popular Computers sets

 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards