Python Programming Quiz

Python Programming Quiz

Professional Development

45 Qs

quiz-placeholder

Similar activities

LV 2.1 Engine System Quiz

LV 2.1 Engine System Quiz

Professional Development

45 Qs

Dataflow Testing Quiz

Dataflow Testing Quiz

Professional Development

50 Qs

Knowledge test V3

Knowledge test V3

Professional Development

40 Qs

PK Scania NTG

PK Scania NTG

Professional Development

40 Qs

Software Engineering Quiz

Software Engineering Quiz

Professional Development

50 Qs

Eindexamen Heftruckcertificering

Eindexamen Heftruckcertificering

Professional Development

50 Qs

Engine Types 152

Engine Types 152

Professional Development

45 Qs

Pre-Assessment | DBMS | FT Batch 3 | Prof. Kiran Kumar K V

Pre-Assessment | DBMS | FT Batch 3 | Prof. Kiran Kumar K V

Professional Development

50 Qs

Python Programming Quiz

Python Programming Quiz

Assessment

Quiz

Engineering

Professional Development

Hard

Created by

Dr BHUVANESWARI S EEE Teaching

Used 1+ times

FREE Resource

45 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who developed Python?

Dennis Ritchie

Guido van Rossum

James Gosling

Bjarne Stroustrup

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true about Python?

Python is an interpreted language

Python is a compiled language

Python is a low-level language

Python is a hardware-dependent language

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code? print("Hello\nWorld")

Hello World

Hello

World

Hello\nWorld

Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code if the user enters 5? x = input("Enter a number: ") print(type(x))

<class 'int'>

<class 'str'>

<class 'float'>

Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code?

x = 10

y = x

x = 20

print(y)

10

20

Error

None

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is used to display output in Python?

display()

echo()

print()

output()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which extension is used for Python files?

.py

.java

.c

.exe

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?