Question
click below
click below
Question
Normal Size Small Size show me how
Comp. Sci. Review_2
2nd review for Computer Science
Question | Answer |
---|---|
What is a data type? | A particular scheme, plan or design for representing values with bit patterns. |
What is a java primitive data type? | A method for representing values that is so useful that it is a fundamental part of the language. |
Can character data be stored in computer memory? | Yes - a primitive data type is used to store characters (char) |
What are the two steps that take place when an assignment statement is executed? | 1)Evaluate the expression2)Store the value in the variable |
What is an expression? | A combination of operators, numbers, variables, and parentheses used to calculate value. |
What is an operand? | A value that is acted upon by an operator. |
What is the escape sequence used to insert a tab? | \t |
What is the escape sequence used to insert a new line? | \n |
What is the escape sequence used to insert double quotes? | \" |
What is the escape sequence used to insert a slash? | \\ |