Python Programming Test 2

Python Programming Test 2

7th Grade

30 Qs

quiz-placeholder

Similar activities

Parts of the Computer 5

Parts of the Computer 5

7th - 8th Grade

26 Qs

Lab Safety & School Policies

Lab Safety & School Policies

6th - 7th Grade

31 Qs

Review Informatika Klas 7

Review Informatika Klas 7

7th Grade

25 Qs

Parts of a Computer #2 - Cables and Ports

Parts of a Computer #2 - Cables and Ports

6th Grade - Professional Development

25 Qs

JS Begin

JS Begin

6th - 8th Grade

25 Qs

Windows Test Review

Windows Test Review

7th - 12th Grade

25 Qs

Uji Kompetensi Maze Solve

Uji Kompetensi Maze Solve

6th - 8th Grade

25 Qs

ÔN TẬP KTCK2 - TIN 9

ÔN TẬP KTCK2 - TIN 9

6th - 8th Grade

29 Qs

Python Programming Test 2

Python Programming Test 2

Assessment

Quiz

Computers

7th Grade

Practice Problem

Easy

Created by

Oluwadamilare Alonge

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the following is NOT a Python data type?

Integer

String

Function

Boolean

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What will be the output of print(10 % 3)?

0

1

2

3

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which function is used to get input from the user in Python?

output()

get_input()

input()

ask()

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the correct way to write a comment in Python?

// This is a comment

/* This is a comment */

# This is a comment

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the output of print(2 ** 3)?

5

6

8

9

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which keyword is used to create a loop that iterates over a sequence?

for

loop

repeat

while

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the output of the following code? if 5 > 3: print("Yes")

Yes

No

Error

Nothing

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?