PYTHON QUIZ-1 2024-25

PYTHON QUIZ-1 2024-25

University

35 Qs

quiz-placeholder

Similar activities

String

String

10th Grade - University

30 Qs

Computer Pretest1(Python Grade7_t1)

Computer Pretest1(Python Grade7_t1)

3rd Grade - University

30 Qs

Java Programming

Java Programming

University

40 Qs

Quiz 1 - PF101 - Python Numbers and String

Quiz 1 - PF101 - Python Numbers and String

University

30 Qs

Python quiz 1

Python quiz 1

7th Grade - Professional Development

30 Qs

python

python

University

30 Qs

JAVA BASIC 3

JAVA BASIC 3

University

35 Qs

9th Grade - IT Programming - 2nd Cycle Exam

9th Grade - IT Programming - 2nd Cycle Exam

9th Grade - University

40 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?