PYTHON QUIZ-1 2024-25

PYTHON QUIZ-1 2024-25

University

35 Qs

quiz-placeholder

Similar activities

3rd Year August Quiz

3rd Year August Quiz

University

40 Qs

Semester Final 2025

Semester Final 2025

10th Grade - University

40 Qs

Java Quiz

Java Quiz

11th Grade - University

34 Qs

C Programming Quiz

C Programming Quiz

University

30 Qs

python39-02

python39-02

University

30 Qs

Their Python Exam

Their Python Exam

9th Grade - Professional Development

31 Qs

Python Fundamentals Concept Checkup

Python Fundamentals Concept Checkup

9th Grade - University

38 Qs

Exception Handling

Exception Handling

University

39 Qs

PYTHON QUIZ-1 2024-25

PYTHON QUIZ-1 2024-25

Assessment

Quiz

Computers

University

Medium

Created by

Ruchi Talwar

Used 6+ times

FREE Resource

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following function convert a string to a float in python?

int(x [,base])

long(x [,base] )

float(x)

str(x)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code : print(9//2)

4.5

4.0

4

Error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function overloads the >> operator?

more()

gt()

ge()

None of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is overloaded by the or() function?

||

|

//

/

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the expression : 3*1**3

27

9

3

1

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code? print(3 ** 3)

9

27

81

6

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the expression not(10 == 10) evaluate to?

True

False

Error

None of the above

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?