Search Header Logo

Topic 3.2 Data Types & Variables

Authored by Daniel undefined

Computers

11th - 12th Grade

Used 27+ times

Topic 3.2 Data Types & Variables
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?