Python Inbuilt functions

Python Inbuilt functions

12th Grade

15 Qs

quiz-placeholder

Similar activities

Random functions

Random functions

12th Grade

10 Qs

Python Basics - yr 9

Python Basics - yr 9

9th - 12th Grade

18 Qs

Java Decision/Selection Self-Check

Java Decision/Selection Self-Check

9th - 12th Grade

20 Qs

DATA HANDLING

DATA HANDLING

11th - 12th Grade

10 Qs

Computer Science Unit 3 Test

Computer Science Unit 3 Test

9th - 12th Grade

15 Qs

Code.org Variables and Conditionals

Code.org Variables and Conditionals

9th - 12th Grade

20 Qs

Variables, Conditionals, & Functions Assessment

Variables, Conditionals, & Functions Assessment

9th - 12th Grade

20 Qs

CWA Java

CWA Java

10th - 12th Grade

13 Qs

Python Inbuilt functions

Python Inbuilt functions

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Bessie Carl

Used 9+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

seed()

sqrt()

factorial()

print()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python expression?

4.5

5

4

4.6

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

(x**y)**z

(x**y) / z

(x**y) % z

(x**y)*z

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python expression?

4.5

4.6

4.57

4.56

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python function?

import math

abs(math.sqrt(25))

Error

-5

5

5.0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python function?

sum(2,4,6)

sum([1,2,3])

Error 6

12 Error

12 6

Error Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the function shown below?

hex(15)

f

0xf

OXF

0xF

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?