Python Built-in Functions

Python Built-in Functions

11th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

File Handling in Python - Grade 12 CBSE

File Handling in Python - Grade 12 CBSE

12th Grade

15 Qs

File Handling

File Handling

12th Grade

10 Qs

Control statements in C++

Control statements in C++

9th - 12th Grade

15 Qs

Computer Science Quiz 02

Computer Science Quiz 02

10th Grade - University

19 Qs

Round-1 Technical Aptitude

Round-1 Technical Aptitude

11th Grade - Professional Development

20 Qs

AP Computer Science Principles - Unit 4: Variables, Conditionals

AP Computer Science Principles - Unit 4: Variables, Conditionals

9th - 12th Grade

10 Qs

ONE 6th FORM Introduction to Python Basics

ONE 6th FORM Introduction to Python Basics

11th Grade

15 Qs

Python(if/else masala)

Python(if/else masala)

10th - 11th Grade

10 Qs

Python Built-in Functions

Python Built-in Functions

Assessment

Quiz

Computers

11th - 12th Grade

Hard

Created by

rakhi pillai

Used 65+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

1. Which of the following functions is a built-in function in python?

a) seed()

b) sqrt()

c) factorial()

d) print()

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

2. Which keyword is used for function?

a) define

b) fun

c) def

d) function

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

3. What will be the output of the following Python expression?

round(4.576)

a) 4.5

b) 5

c) 4

d) 4.6

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

4. The function pow(x,y,z) is evaluated as:

a) (x**y)**z

b) (x**y) / z

c) (x**y) % z

d) (x**y)*z

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

5. What will be the output of the following Python function?


all([2,4,0,6])

a) Error

b) True

c) False

d) 0

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

6. What will be the output of the following Python expression?


round(4.5676,2)?

a) 4.5

b) 4.6

c) 4.57

d) 4.56

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

7. What will be the output of the following Python function?


any([2>8, 4>2, 1>2])

a) Error

b) True

c) False

d) 4 > 2

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?