Search Header Logo

Python day1 quiz

Authored by Prof. Sahu

Computers

Professional Development

Used 1+ times

Python day1 quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following? print("Hello" + "World")

Hello + World
HelloWorld
Hello World
Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid variable name in Python?

1name
name_1
class
my-name

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to take input from the user?

get()
input()
scan()
read()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the type of 10.5 in Python?

int
str
float
double

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a reserved keyword in Python?

value
True
number
void

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to display output in Python?

show()
print()
output()
display()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of: x = int("5") print(x + 2)

7
52
Error
None

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?