Python programming -recap

Python programming -recap

7th - 10th Grade

12 Qs

quiz-placeholder

Similar activities

For loop

For loop

8th Grade

10 Qs

prep1-revision

prep1-revision

7th Grade

12 Qs

4.6.4 Logic Gates

4.6.4 Logic Gates

10th Grade - Professional Development

15 Qs

Wee Word Intro

Wee Word Intro

7th - 12th Grade

12 Qs

THE PHOTOSHOP WINDOW

THE PHOTOSHOP WINDOW

7th - 8th Grade

10 Qs

UNIT 1.8 ELCE

UNIT 1.8 ELCE

10th Grade

14 Qs

Access - Lesson 14

Access - Lesson 14

9th - 12th Grade

10 Qs

ICT 10 : Introduction to Adobe Illustrator(CS5)

ICT 10 : Introduction to Adobe Illustrator(CS5)

10th Grade

10 Qs

Python programming -recap

Python programming -recap

Assessment

Quiz

Computers

7th - 10th Grade

Hard

Created by

Shiv K

Used 258+ times

FREE Resource

AI

Enhance your content in a minute

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

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command will display the text 'Hello world!' on the screen?

print(Hello world!)

print "Hello world!"

print("Hello world!")

print = "Hello world!"

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command will correctly ask the user for their age?

age = input("How old are you?")

age = input(How old are you?)

input("How old are you?") = age

How old are you = input()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which decision statement will be triggered if the variable x is less than 20?

if x > 20:

if x <> 20:

if x == 20:

if x < 20:

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these tests whether the variable x is the same as 'Hello'?

x = "Hello"

x != "Hello"

x == "Hello"

x <> "Hello"

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following program?

Yes

No

Error

No output

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following program?

Yes

No

Error

No output

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following program?

1 to 10 numbers

1 to 5 numbers

1

5

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?