
Python Exam 2
Quiz
•
Computers
•
9th Grade - Professional Development
•
Practice Problem
•
Medium
Aparna Chetty
Used 14+ times
FREE Resource
Enhance your content in a minute
31 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The first character in a string is at index 0.
T
F
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement Does Not describes a String in Python/Computer Science?
a sequence of characters
a series of 1's and 0's
a set of characters which are represented in/from the ASCII table by holding hte Alt- plus 4 digit decimal number
object existing in four dimensions
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the statement that will print the letter "s", given the variable declaration word = "windows"
print(word[-2])
print(word[-1])
print(word[2])
print(word[3])
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which print output is the result of the following code?
"w"
"s"
"o"
""(empty string)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following code will print "act".
word = "characteristics"
print(word[4:6])
T
F
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which choice will print the second half of the word "Consequences" (uences), given the following variable declaration?
word = "Consequences"
print(word[6:])
print(word[:6])
print(word[1:7])
print(word[7:1])
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Choose the correct print output for the following code:
name = "Alton"
print(name[::4]
"Atn"
"lo"
"on"
"An"
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
26 questions
Hacking quiz
Quiz
•
University
26 questions
UNIT 15 - Revision 2 - 10/10/21
Quiz
•
University
29 questions
Próbny EE.09
Quiz
•
10th Grade
33 questions
dasar desain grafis
Quiz
•
10th Grade
27 questions
variables , if … else, while and loop for_HKICO_Python
Quiz
•
12th Grade
27 questions
Flapo SRE Quizzzz
Quiz
•
Professional Development
28 questions
THIẾT KẾ BÀI TRÌNH CHIẾU LỚP 9
Quiz
•
9th Grade
34 questions
1.1.1. Structure and function of the processor
Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
