Unit 4 Assessment Review

Unit 4 Assessment Review

9th - 12th Grade

25 Qs

quiz-placeholder

Similar activities

CHỦ ĐỀ A. MÁY TÍNH VÀ XÃ HỘI TRÍ THỨC P1

CHỦ ĐỀ A. MÁY TÍNH VÀ XÃ HỘI TRÍ THỨC P1

10th Grade

20 Qs

CSS GRADE 9 - QUIZ PECs and EM

CSS GRADE 9 - QUIZ PECs and EM

9th Grade

20 Qs

Written Works 4 (ICT A)

Written Works 4 (ICT A)

11th Grade

20 Qs

Y9 Creative iMedia RO81 Quiz Part 1

Y9 Creative iMedia RO81 Quiz Part 1

9th Grade

21 Qs

Primary storage

Primary storage

9th - 11th Grade

20 Qs

CSS 10 - QUIZ

CSS 10 - QUIZ

10th Grade

20 Qs

Trò chơi ôn tập GKI tin 12  lần 2

Trò chơi ôn tập GKI tin 12 lần 2

12th Grade

20 Qs

Data Manipulation IGCSE (Introduction to database) Grade 10

Data Manipulation IGCSE (Introduction to database) Grade 10

10th - 11th Grade

20 Qs

Unit 4 Assessment Review

Unit 4 Assessment Review

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Aziza Munem

Used 124+ times

FREE Resource

AI

Enhance your content in a minute

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

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the last thing printed by the following program?

10

20

30

60

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We want to simulate constantly flipping a coin until we get 3 heads in a row. What kind of loop should we use?

For Loop

While Loop

Loop and a half

Infinite Loop

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many times will the following program print "hello"?

10

11

9

This code will loop infinitely

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The following code continually asks the user for a password until they guess the correct password, then ends. But there is one problem.

Which of the following will fix this program?

Change the True in line 3 to be password != SECRET_PASSWORD so that the program doesn’t loop infinitely

Change the True in line 3 to be password == SECRET_PASSWORD so that the program doesn’t loop infinitely

Add a break; statement after line 6 so that the program doesn’t loop infinitely

Put line 7 inside of an else statement

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the following program print when run?

4

5

4

5

6

5

4

6

5

4

0

2

6

4

6

5

6

5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the value of the boolean variable can_vote at the end of this program?

True

False

Yes

none, there is a syntax error in this code

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of this program?

0

5

True

Nothing will print

Create a free account and access millions of resources

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?