Week 5.1

Week 5.1

Professional Development

10 Qs

quiz-placeholder

Similar activities

Introduction to Computer

Introduction to Computer

Professional Development

10 Qs

Cycle 4: Session 6 General Review.

Cycle 4: Session 6 General Review.

Professional Development

12 Qs

M365 Security Pillar 1 (Identity & Access Management)

M365 Security Pillar 1 (Identity & Access Management)

Professional Development

10 Qs

aXQtMjktMTEtMjAyMg==

aXQtMjktMTEtMjAyMg==

Professional Development

10 Qs

ChatGPT for Work

ChatGPT for Work

Professional Development

10 Qs

SENZ AIOT SAVANTS - JV & JS

SENZ AIOT SAVANTS - JV & JS

Professional Development

10 Qs

Session #6 Quiz

Session #6 Quiz

Professional Development

13 Qs

Java Quiz#3(Local Variables)

Java Quiz#3(Local Variables)

Professional Development

10 Qs

Week 5.1

Week 5.1

Assessment

Quiz

Computers

Professional Development

Practice Problem

Medium

Created by

Poul Nichols

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between a while loop and a do-while

There is no difference

A do-while loop always executes at least once

A while loop always executes at least once

A do-while loop can only be used for counting

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to set up a while loop?

for

while

do

until

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of the following code snippet?

var count = 0; while (count < 5) {

document.write( count + "</br>");

count++; }

0

1

2

3

4

0 1 2 3 4

1 2 3 4 5

1

2

3

4

5

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of the following code snippet?

var i = 0;

do {

document.write(i + "<br>")

i++;

} while (i < 0);

0

0

1

2

3

4

5

An infinite loop

1

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code snippet?

document.write("5" + 5);

5

5

"5" + 5

"55"

10

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code snippet?

document.write(5 + 5);

5

5

"5" + 5

"55"

10

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which logical operator would you use to invert the truth value of a condition?

&&

||

!

==

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?