Python End of Topic Quiz

Python End of Topic Quiz

8th Grade

15 Qs

quiz-placeholder

Similar activities

Lists in Python

Lists in Python

11th - 12th Grade

20 Qs

Intermediate Python

Intermediate Python

University

15 Qs

Python List Comprehension Review

Python List Comprehension Review

9th - 12th Grade

10 Qs

Python variables and Data types

Python variables and Data types

10th - 12th Grade

10 Qs

Python Loops Quiz (for loop and while loop)

Python Loops Quiz (for loop and while loop)

10th Grade

10 Qs

Python Next Steps Homework Quiz

Python Next Steps Homework Quiz

8th - 10th Grade

20 Qs

ITIPT01 Quiz No 1

ITIPT01 Quiz No 1

University

20 Qs

Y9 - T2 - L6 - HOMEWORK

Y9 - T2 - L6 - HOMEWORK

9th Grade

20 Qs

Python End of Topic Quiz

Python End of Topic Quiz

Assessment

Quiz

Computers

8th Grade

Hard

Created by

Meenal Tripathi

Used 9+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which arithmetic operator will you use in the following program to multiply 10 by 5 and print the result?

print(10 _ 5)

×

/

*

**

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of this program?

210

Syntax error

210 30

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When a user inputs an answer, it should be stored in a suitably named ...?

file

variable

data type

list

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The PIN code is a six-digit code used by the Indian Postal Department.

What is the data type of the variable 'x' if it stores this code as x = "462016"?

int

string

float

number

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given the list color_list = ["Red", "Blue", "Green", "Black"], what will be the output of print(color_list[1], color_list[3])?

Red Green Black

Blue Black

Blue Black Syntax Error

Blue Black IndexError: list index out of range

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following options will output 'HELLO, WORLD!' when the variable a is set to "Hello, World!"?

a.upper()

print(a.upper)

a.upper()

print(a.upper())

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of this program?

Pass

Enter your score

It will throw a syntax error

Fail

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?