ACM CLUB

ACM CLUB

Assessment

Quiz

Other

University

Practice Problem

Medium

Created by

Sharanya A

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What function is used to display output in python ?

display()

print()

show()

output()

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What will be the output of print("Hello, World!")?

Hello

"Hello, World!"

Hello, World!

World!

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

How do you print the value of a variable x?

print(x)

print x

output(x)

printVariable(x)

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the output of print(3 + 2)?

error

"3 + 2"

32

5

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What will be printed by print("Python" + " is fun")?

Pythonisfun

Python + is fun

Python is fun

 Error

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

How can you print a new line in python ?

print("")

print("\t")

print(" ")

print("\n")

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the output of print(7/2)?

3

3.5

7.0

3.0

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

Already have an account?