Python End of Topic Quiz

Python End of Topic Quiz

8th Grade

15 Qs

quiz-placeholder

Similar activities

Accessing the Internet

Accessing the Internet

9th - 10th Grade

15 Qs

Quiz on List and Tuples

Quiz on List and Tuples

University

16 Qs

Quiz Pemrograman Perangkat Bergerak 2

Quiz Pemrograman Perangkat Bergerak 2

12th Grade - University

20 Qs

Grade 11 Term 4 Practice 2

Grade 11 Term 4 Practice 2

11th Grade

10 Qs

CHỦ ĐỀ A. MÁY TÍNH VÀ XÃ HỘI TRÍ THỨC P1

CHỦ ĐỀ A. MÁY TÍNH VÀ XÃ HỘI TRÍ THỨC P1

10th Grade

20 Qs

Micro:bit assessment 1

Micro:bit assessment 1

7th - 8th Grade

10 Qs

conditional constructs in Java

conditional constructs in Java

10th Grade

10 Qs

CSS 10 - QUIZ

CSS 10 - QUIZ

10th 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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Computers