Python Programming Quiz

Python Programming Quiz

1st Grade

27 Qs

quiz-placeholder

Similar activities

Pemrograman 2

Pemrograman 2

1st Grade

25 Qs

Python for grade 5

Python for grade 5

1st - 11th Grade

30 Qs

PS Unit 4 Iteration Quiz Review

PS Unit 4 Iteration Quiz Review

1st Grade - Professional Development

30 Qs

Python L1 Programming Challenge

Python L1 Programming Challenge

1st - 12th Grade

30 Qs

Y9 Python

Y9 Python

KG - University

26 Qs

ICT Y2 Unit 1 and 2 Quiz

ICT Y2 Unit 1 and 2 Quiz

1st Grade

24 Qs

fb quiz

fb quiz

1st - 5th Grade

26 Qs

Year 7 Python - MCA

Year 7 Python - MCA

1st Grade

22 Qs

Python Programming Quiz

Python Programming Quiz

Assessment

Quiz

Computers

1st Grade

Hard

Created by

2111CS040096 KUMAR

Used 1+ times

FREE Resource

27 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the correct output of the following Python command:

10

40

50

400

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an immutable data type in Python?

Set

List

Tuple

Dictionary

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an invalid identifier in the Python programming language?

none

False

true

For

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the correct output of the following Python arithmetic expression:

-171

172

-170

170

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Traditionally the end of a stack from where PUSH(additional) and POP(deletion) take place, of popularly known as :

FRONT

TOP

LIFO

FIFO

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following Python code? sentence = "Hello, how are you?" print(sentence.replace("Hello", "Hi"))

Hi, how are you?

Hello, how are you?

Hi, how are Hello?

Hi, Hello are you?

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following Python code?

World

World!

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?