Search Header Logo

L8L9L10 If Functions

Authored by Ariel Cambas

Computers

6th Grade

Used 21+ times

L8L9L10 If Functions
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Declare a variable named "a"

var a;

vars a;

Var a;

vara;

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Create a variable named "a"

var a;

vars a;

Var a;

vara;

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Create a container for values named "a"

var a;

vars a;

Var a;

vara;

4.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Put an initial value inside the variable "a"

a = 1;

a = "some text";

a=true;

a=a+1;

5.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Create a variable named "a" AND put an initial value inside the variable "a"

var a = 1;

a = "some text";

var a=true;

a=a+1;

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

how do you change the value from the variable created here:

var cookies = 25;

cookie = 2;

cookies = 25;

var cookies = 12;

cookies = 21;

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Change the value inside the variable named "comment" to "it's a good day"

var comment = "what type of day is it";

comment="it's a good day";

Comment = "it's a good day";

comment="what type of day is it"+"it's a good day";

allComments="it's a good day";

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?