H SDD - Pre-defined functions (revision)

Quiz
•
Computers
•
10th Grade
•
Medium
G Alexander-Doyle
Used 20+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following Python pre-defined functions could be used to return the ASCII value of a character?
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 Wayground
10 questions
on cuoi ki 2 tin 10 cde 5 python

Quiz
•
10th Grade
8 questions
KS3 Year 9 Python Quiz 02

Quiz
•
10th Grade
10 questions
Одновимірні масиви.

Quiz
•
10th Grade
12 questions
Python for loop

Quiz
•
4th - 12th Grade
9 questions
TIN 10_KTTX LẦN 3_15/4/2023

Quiz
•
10th Grade
12 questions
Java Strings

Quiz
•
9th - 12th Grade
10 questions
Python Variables

Quiz
•
7th - 12th Grade
11 questions
СОЧ-2, 10 класс Информатика 2 вариант

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade