Search Header Logo

Chapter 5

Authored by Micro Anything

Computers

9th Grade

Used 54+ times

Chapter 5
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you set variable?

var name = value ;

"String"

variable name = value;

"Write"

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command do you use to print a variable on the screen?

Console.Log ( " Value");

Console.Log ( Value);

Write ("Value");

Write(Value);

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you print a string on the console?

Console.Log ( " Value" + Value)

Console.Log ( Value)

Write( Value)

Write ( "Value")

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What value goes in the parameters for the "random" command?

(Min, Max)

(Max, Min)

( Most, Least)

random numbers

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does "promptNumb" do?

Asks the user for a value through a dialogue box and allows you to use that value for whatever you need.

Uses the value to make a promtNum.

Allows you to make a random Number.

Allows you to make a number from a value that the user writers in side the code.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are strings used for?

To print text and variables together.

To print variables

To combine strings and variables.

To allow for things to be printed.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What sign do you use to separate variables and Text in a single line of code?

+

-

" "

;

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?