Search Header Logo

StVirgils Python Loops and Conditionals Quiz

Authored by John Middendorf

Computers

8th Grade

Used 55+ times

StVirgils Python Loops and Conditionals Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

18 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • Ungraded

I have been working in:

GROK

TYNKER

BOTH

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the name of the programming language we are learning?

Scratch
Python
Pie thin
Scribble

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print("Hello world!")

SyntaxError
Hello world!
"Hello world!"
print(Hello world!)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following code do:
print("What is your name?")

Allow you to type in your name
Display the words 'What is your name?' on the screen
Allow you to enter information
Print your name to the screen

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What will this code do?

Print Numbers 1-11

Print Numbers 1-10

Print Numbers 2-10

Print Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output from the following code:
name = "Fred"
print("Hello " + name)

Hello Fred
Hello name
Name error
HelloFred

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these is NOT a loop in python?

for loop

while loop

nested loop

if loop

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?