wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

CSAwesome Unit 1 Vocabulary

Total questions: 23

Worksheet time: 12mins

Name
Class
Date
1.

determines the size of memory reserved for a variable, for example int, double, boolean, String.

a)

Camel Case

b)

static

c)

Operator

d)

data type

2.

One way to create a variable name by appending several words together and uppercasing the first letter of each word after the first word (myScore).

a)

Camel Case

b)

data type

c)

compiler

d)

Declare a Variable

3.

The operator (++) that increases the value of a numerical variable by one.

a)

assignment statements

b)

modulo

c)

operator precedence

d)

increment operator

4.

means that the field or method exists in the object that defines the class.

a)

Operator

b)

modulo

c)

data type

d)

static

5.

Changing the type of a variable using (type) name.

a)

increment operator

b)

Casting a Variable

c)

Declare a Variable

d)

Initializing a Variable

6.

Specifying the type and name for a variable. This sets aside memory for a variable of that type and associates the name with that memory location.

a)

Declare a Variable

b)

data type

c)

Camel Case

d)

Casting a Variable

7.

used to declare a variable that is a decimal number like 3.25.

a)

double

b)

boolean

c)

int

d)

modulo

8.

used to declare a variable of type integer (a whole number like -3 or 235).

a)

boolean

b)

static

c)

double

d)

int

9.

If you divide by zero, you will get this error.

a)

arithmetic expression

b)

ArithmeticException

c)

Casting a Variable

d)

Initializing a Variable

10.

Common mathematical symbols such as + for addition and * for multiplication.

a)

static

b)

Operator

c)

Variable

d)

compiler

11.

A name associated with a memory location in the computer.

a)

Variable

b)

Operator

c)

double

d)

compiler

12.

used to declare a variable that can only have the value true or false.

a)

int

b)

double

c)

modulo

d)

boolean

13.

some operators are done before others, for example *, /, % have precedence over + and -, unless parentheses are used.

a)

Increment operator

b)

Operator

c)

operator precedence

d)

arithmetic expression

14.

Where execution starts in a Java program.

a)

Main Method

b)

data type

c)

String literal

d)

boolean

15.

a sequence of operands and operators that describe a calculation to be performed, for example 3*(2 + x)

a)

arithmetic Exception

b)

arithmetic expression

c)

System.out.println()

d)

assignment statements

16.

An expression that is either true or false.

a)

Variable

b)

compiler

c)

Boolean

d)

double

17.

the first time you set the value of a variable.

a)

Shortcut or compound assignment operators

b)

Casting a Variable

c)

Initializing a Variable

d)

Arithmetic Exception

18.

initialize or change the value stored in a variable using the assignment operator =.

a)

increment operator

b)

assignment statements

c)

arithmetic expression

d)

System.out.println()

19.

The % operator which returns the remainder from one number divide by another.

a)

static

b)

modulo

c)

increment operator

d)

double

20.

Software that translates the Java source code into the Java class file that can be run.

a)

Operator

b)

boolean

c)

compiler

d)

static

21.

An error or bug that is found by the compiler like a missing semicolon

a)

modulo

b)

String literal

c)

Arithmetic Exception

d)

compiler or syntax error

22.

Operators like x++ or x+= 1 which mean x = x + 1

a)

assignment statements

b)

Shortcut or compound assignment operators

c)

increment operator

d)

int

23.

Text enclosed by double quotes.

a)

Camel Case

b)

arithmetic expression

c)

String literal

d)

assignment statements