Python programming -recap

Python programming -recap

7th - 10th Grade

12 Qs

quiz-placeholder

Similar activities

Latihan Soal PTS Kelas 6 Semester 1

Latihan Soal PTS Kelas 6 Semester 1

10th Grade

10 Qs

KD 3.1_Aplikasi Pengolah Angka / Spreadsheet

KD 3.1_Aplikasi Pengolah Angka / Spreadsheet

10th Grade

15 Qs

Input, output and storage de

Input, output and storage de

8th Grade - Professional Development

14 Qs

MODULE 9 PRE-TEST

MODULE 9 PRE-TEST

10th Grade

10 Qs

ICT 9 Quiz 1

ICT 9 Quiz 1

9th Grade

10 Qs

7.02 going online

7.02 going online

4th - 9th Grade

10 Qs

hardware and software(g3)

hardware and software(g3)

2nd - 10th Grade

10 Qs

Microbit Features Activity

Microbit Features Activity

6th - 8th Grade

9 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?