Which of the following Python pre-defined functions could be used to return the ASCII value of a character?
H SDD - Pre-defined functions (revision)

Quiz
•
Computers
•
10th Grade
•
Medium
G Alexander-Doyle
Used 19+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ORD
LEN
CHR
ROUND
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following Python pre-defined functions could be used to return the character which matches an ASCII value?
ORD
LEN
CHR
ROUND
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following Python pre-defined functions could be used to return the number of characters in a string
ORD
LEN
CHR
ROUND
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct output from the following code:
21th Mar 2022
21th Ma 22
21st Mar 22
21th Mar 22
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would the correct output for the following code be?
String = "Falkirk High School"
print(String[8:10] + " " + String[0:7])
Hi Falkirk
Hi School
Fa High Sc
Hi kirk H
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following Python pre-defined functions could be used to convert a floating point number to a whole number?
ORD
LEN
INT
ROUND
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following Python pre-defined functions could be used to convert a floating point number to a whole number?
ORD
LEN
INT
ROUND
8.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following pieces of code would return the output 2?
print(ord("!"))
print(int(2.34543))
print(14%7)
print(14%6)
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following pieces of code would return the output 5?
print(12%9)
print(14%8)
print(14%9)
print(12%6)
Similar Resources on Quizizz
10 questions
python quiz

Quiz
•
6th Grade - Professio...
10 questions
Python lists & file operations

Quiz
•
10th Grade
10 questions
Ôn tập B24. Xâu kí tự

Quiz
•
10th Grade
10 questions
Pyhton

Quiz
•
9th - 10th Grade
10 questions
PYTHON (FOR LOOP)

Quiz
•
1st - 10th Grade
11 questions
KIỂU XÂU - PYTHON

Quiz
•
10th Grade
10 questions
Mastering String Operations in Python

Quiz
•
9th Grade - University
10 questions
Python Math

Quiz
•
1st - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade