Python End of Topic Quiz

Python End of Topic Quiz

8th Grade

15 Qs

quiz-placeholder

Similar activities

WJEC GCSE ICT Unit 1 E-Mail

WJEC GCSE ICT Unit 1 E-Mail

9th - 10th Grade

13 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

Adventure game project

Adventure game project

7th - 8th Grade

12 Qs

E-Commerce

E-Commerce

University - Professional Development

16 Qs

DCN5511: Chapter 5 - 7

DCN5511: Chapter 5 - 7

University

15 Qs

Java: repetition control structure for & while

Java: repetition control structure for & while

10th - 12th Grade

10 Qs

Cyber Security KS4

Cyber Security KS4

8th - 12th Grade

15 Qs

DPS Jorhat - Robotics Skill Assessment

DPS Jorhat - Robotics Skill Assessment

6th - 8th Grade

20 Qs

Python End of Topic Quiz

Python End of Topic Quiz

Assessment

Quiz

Computers

8th Grade

Practice Problem

Hard

Created by

M Tripathi

Used 9+ times

FREE Resource

AI

Enhance your content in a minute

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

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

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?