Topic 3.2 Data Types & Variables

Topic 3.2 Data Types & Variables

Assessment

Quiz

Computers

11th - 12th Grade

Medium

Created by

Daniel undefined

Used 27+ times

FREE Resource

Student preview

quiz-placeholder

33 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Data types can be broken down into two categories. What are the two categories?

Logical and Physical.

Hardware and software.

Primitive and Composite.

Variables and Function.

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What are the three data types supported by JavaScript?

Function, Array and Boolean.

Variable, String and Prompt.

Numeric, Alert and Quotes.

Numeric, String and Boolean.

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Which one of the following statements describes integer numbers?

Integer numbers are whole and do not contain a decimal point.

Integer numbers can only be positive.

Integer numbers can only be negative.

Integer numbers cannot be expressed in decimal (base 10), octal (base 8) and hexadecimal (base 16).

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Which one of the following statements describes floating-point numbers?

Floating-point numbers can only be positive.

Floating-point numbers are whole numbers only.

Floating-point numbers can only be negative.

Floating-point numbers must contain a decimal point or an exponent specifier.

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Which one of the following data types allows the value to contain a decimal point?

Escape.

Float.

Integer.

String.

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What do you call the process of joining strings together?

Combination.

Concatenation.

Conclusion.

Connection.

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Which one of the following statements is FALSE

about JavaScript variables?

var is used to declare a variable.

Variable names are not case sensitive.

Variable names can also start a $ sign.

Variable names must begin with a letter or the underscore character.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?