Chapter 5

Chapter 5

9th Grade

10 Qs

quiz-placeholder

Similar activities

Fun with JavaScript #1

Fun with JavaScript #1

9th - 12th Grade

15 Qs

JS: Conditionals!

JS: Conditionals!

6th Grade - University

11 Qs

Python Testing

Python Testing

9th - 12th Grade

10 Qs

CSP Lists

CSP Lists

9th - 12th Grade

10 Qs

JRDL - JS Arrays and Objects

JRDL - JS Arrays and Objects

6th Grade - Professional Development

12 Qs

Computer Quiz

Computer Quiz

7th Grade - University

15 Qs

JAVA Math Operations

JAVA Math Operations

9th - 10th Grade

15 Qs

Python

Python

KG - Professional Development

13 Qs

Chapter 5

Chapter 5

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Micro Anything

Used 54+ times

FREE Resource

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?

+

-

" "

;

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?