Python Inbuilt functions

Quiz
•
Computers
•
12th Grade
•
Hard
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
Similar Resources on Wayground
15 questions
Python Basics

Quiz
•
KG - University
15 questions
Scope of Variables in Python

Quiz
•
1st Grade - Professio...
16 questions
Python programming

Quiz
•
6th - 12th Grade
10 questions
Python Exception Handling

Quiz
•
10th - 12th Grade
10 questions
Quiz1_HPB2021_2010t1

Quiz
•
1st - 12th Grade
10 questions
Random functions

Quiz
•
12th Grade
20 questions
Python Basics & Syntax

Quiz
•
10th - 12th Grade
15 questions
Basic Python Coding

Quiz
•
11th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
6 questions
Maier - AMDM - Unit 1 - Quiz 1 - Estimation

Quiz
•
12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade
21 questions
9th Grade English Diagnostic Quiz

Quiz
•
9th - 12th Grade
7 questions
Characteristics of Life

Interactive video
•
11th Grade - University