PYTHON QUIZ-1 2024-25

PYTHON QUIZ-1 2024-25

University

35 Qs

quiz-placeholder

Similar activities

Machine Learning Fundamentals Unit - 1

Machine Learning Fundamentals Unit - 1

University

30 Qs

PROLOG-Final Examination

PROLOG-Final Examination

University

30 Qs

Python

Python

KG - Professional Development

35 Qs

Cloud Computing

Cloud Computing

University

35 Qs

IOT_SARS

IOT_SARS

University

40 Qs

data mining

data mining

University

30 Qs

Database Management Systems - Final Examination

Database Management Systems - Final Examination

University

30 Qs

QUIZ 1 - HTML & Javascript

QUIZ 1 - HTML & Javascript

University

30 Qs

PYTHON QUIZ-1 2024-25

PYTHON QUIZ-1 2024-25

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Ruchi Talwar

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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?

Discover more resources for Computers