
Tutorial 3: Strings, variables, if-else, while loops
Quiz
•
Computers, Other
•
University
•
Practice Problem
•
Hard
Alison K
Used 1+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
Which of the following is the correct way to assign a value to a variable?
var == 848
var = 848
def var = 848
var is 848
2.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
What will be returned on the console?
sent, 'vanilla'
'My favorite ice cream flavor isvanilla'
'My favorite ice cream flavor is vanilla'
'My favorite ice cream flavor is' 'vanilla'
3.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
What will be returned on the console?
'sent' 'vanilla'
'My favorite ice cream flavor isvanilla'
'My favorite ice cream flavor is vanilla'
'My favorite ice cream flavor is' 'vanilla'
4.
MULTIPLE SELECT QUESTION
20 sec • 10 pts
print(tools[-4:])
print(tools[10:])
print(tools[10:13])
print(tools[10:14])
5.
MULTIPLE SELECT QUESTION
20 sec • 5 pts
len(tutor2) > len(tutor3)
len(tutor2) == len(tutor3)
tutor1[1] == tutor2[1]
tutor1[-1] == tutor2[5]
6.
MULTIPLE CHOICE QUESTION
10 sec • 10 pts
14 apples
'14 apples'
14 'apples'
'10 4 apples'
None of the above
7.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
What will be returned on the console?
'The weather today is nice'
'The weather today is bearable'
'The weather today is sad'
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
10 questions
Mobile Commerce P6
Quiz
•
University
10 questions
Cakes
Quiz
•
University
10 questions
QUIZ Sekolah Kesehatan 2024
Quiz
•
University
10 questions
BAKING TECHINIQUES
Quiz
•
1st Grade - Professio...
10 questions
Python Basics
Quiz
•
University
10 questions
Tes Formatif Kuliner Diatetik
Quiz
•
University
13 questions
Culinary Terms Quiz
Quiz
•
8th Grade - University
10 questions
Session 2
Quiz
•
University
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
