
Python Quiz 1 (UPB2021)
Quiz
•
Computers
•
9th - 12th Grade
•
Easy
Karen Kikuchi
Used 3+ times
FREE Resource
Enhance your content in a minute
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The correct syntax of the len function for string x:
x.len()
len[x]
LEN[]
len(x)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The correct syntax for converting the string x to uppercase is :
X.upper()
upper(x)
x.UPPER[ ]
x.upper()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The correct syntax for converting the string myname to lowercase is :
myNAME.lower[ ]
myname.lower( )
myname.upper( )
myname_lower(12 )
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To remove the spaces present at start and end of the string, you can use
split()
len()
strip()
remove()
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Let x= "Python", the output of
print(x[0])
print(x[1])
print(x[2])
PYT
P
y
t
T
h
o
n
oh
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What letter will be printed on the screen after running this code:
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the following code, "city" is an example of a what?
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
25 questions
Computer Knowledge
Quiz
•
11th - 12th Grade
25 questions
evaluation 2
Quiz
•
10th Grade
30 questions
TIK dan Informatika Kelas 10 (UH-1)
Quiz
•
10th Grade
25 questions
ADMINISTRASI SISTEM JARINGAN - Penilaian Tengah Semester (Remidi dan Susulan)
Quiz
•
11th Grade
25 questions
Unit 2 - Turtle Graphics Quiz for Python Computer Programming I
Quiz
•
9th - 12th Grade
30 questions
Programming Techniques
Quiz
•
8th - 10th Grade
25 questions
Latihan Soal Teknologi Handphone
Quiz
•
12th Grade
25 questions
Ulangan INFORMATIKA BAB _ Kelas 9
Quiz
•
9th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
