
Python Built-in Functions
Quiz by Sudha Krishnan
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Measure skills
from any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
With a free account, teachers can
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
20 questions
Show answers
- Q1print(abs(-23.5)) displays _______-23232423.530s
- Q2ord('+') displays _____4363426530s
- Q3print(ord('d')) displays _______10098969730s
- Q4chr(48) returns _____0Aaspace30s
- Q5bin(23) returns _____0b101100b110000b11110b1011130s
- Q6type('a') returns ______<class 'float'><class 'str'><class 'alp'><class 'int'>30s
- Q7id() function in python returns ______ of the variable in memory.namevaluetypeaddress30s
- Q8If lst = [20, 34, 56, 12] what does min(lst) return?5634201230s
- Q9If lst=[21, 76,98,23] then what is max(lst) ?2176error9830s
- Q10If lst=[10,20,30,40] then what does sum(lst) return?90100401030s
- Q11If x=25, then format(x,'b') returns _________1011111001101101101030s
- Q12If f=25.23456 what does format(f,'0.2f') return?25.2345625.23456025.2325.2430s
- Q13format(25, 'o') is ______3211001312530s
- Q14If n1=17.89, what is round(n1, 1)?1817.917.817.8930s
- Q15round(-18,3) returns ______-18.3-18-19.3-1930s