Search Header Logo

JavaScript CFE Review #2

Authored by Umente Charles

Information Technology (IT)

10th Grade

Used 1+ times

JavaScript CFE Review #2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type would you use to store a person's name in a program?

String

Integer

Boolean

Double

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you need to store a number with a decimal point, which data type should you use?

Double

Integer

Boolean

String

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main purpose of a string variable?

To store sequences of characters

To store true or false values

To store whole numbers

To store decimal numbers

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the best data type to use for storing a person's first initial?

Character

Integer

Boolean

Double

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you want to store the answer to a question like "Is the light on?", which data type should you use?

Boolean

Integer

Double

Character

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operation is used to add two numbers in most programming languages?

+

-

*

/

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the expression 5 % 2?

1

2

0

2.5

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?