
Tutorial 3: Strings, variables, if-else, while loops
Quiz
•
Computers, Other
•
University
•
Hard

Alison K
Used 1+ times
FREE Resource
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'
8.
MULTIPLE CHOICE QUESTION
10 sec • 10 pts
How many print statements will be executed before the program stops?
1
3
4
5
Similar Resources on Wayground
10 questions
Kiểm tra 15 phút Tin học 10 - DA - Bài 26,27,28
Quiz
•
10th Grade - University
10 questions
Chapter 2: The Digital Economy
Quiz
•
University
10 questions
Tes Formatif Kuliner Diatetik
Quiz
•
University
10 questions
Cakes
Quiz
•
University
10 questions
QUIZ Sekolah Kesehatan 2024
Quiz
•
University
10 questions
Python - Diccionarios - GSL
Quiz
•
University
10 questions
Post Test #4 - Python Fundamental #3
Quiz
•
University
10 questions
BAKING TECHINIQUES
Quiz
•
1st Grade - Professio...
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms
Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University
20 questions
La Hora
Quiz
•
9th Grade - University
7 questions
Cell Transport
Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University