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

PYTHON QUIZ-1 2024-25

Quiz
•
Computers
•
University
•
Medium
Ruchi Talwar
Used 6+ times
FREE Resource
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Similar Resources on Quizizz
40 questions
3rd Year August Quiz

Quiz
•
University
36 questions
AP CS A unit 1

Quiz
•
11th Grade - University
30 questions
Python MCQ for II Sem

Quiz
•
University
30 questions
String

Quiz
•
10th Grade - University
30 questions
PYTHON

Quiz
•
University
30 questions
Coding Club_SNSCE Quiz (28-04-2023)

Quiz
•
University
40 questions
Semester Final 2025

Quiz
•
10th Grade - University
30 questions
BASIC PYTHON

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade