Search Header Logo

SA3 Review

Authored by Pamela Castano

Computers

9th Grade

Used 6+ times

SA3 Review
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.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

name=___("What is your name?")

2.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

m = 1

______ m < 6:

print(m)

m += 1

3.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

r = 2

while r < 14___

print(r)

r += 2

4.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

s = 1

while s < 8:

____(s)

s += 1

5.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

g = 2

while g < 5:

print(g)

g ___ 2


(increment the value of variable g)

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In this code, what is the first value of sum after running the program?


n=5

sum=0

h=1

while h<=n:

sum=sum+h

h += 1

print("The sum is: ", sum)

1

3

6

15

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Using the same program, what is the last value of sum?

1

3

6

15

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?