
Tutorial 5 Quiz
Authored by Wongsathorn Tonkultorn
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output for print(foo(10))?
'A'
'B'
'C'
Error!
None of the answers are correct
Answer explanation
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output of print(foo(2))?
"AAA"
"ACA"
"AAB"
Error!
None of the answers is correct
Answer explanation
The correct output is "AA"
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output of print(foo())?
"CS1010E"
"CS10"
"CS1"
Error!
None of the answers is correct
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is printed for foo_print(x)?
"HEY"
"HI"
"HELLO"
Nothing
Error!
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is printed for foo_print(x)?
"HI"
"HELLO"
Nothing
Error!
Answer explanation
print(y) uses the global value y = "HELLO" to print
6.
MULTIPLE CHOICE QUESTION
45 sec • 3 pts
What is the output of hugs(5)?
"oxo"
"oxoxoxo"
"oxoxo"
"oxoxoxoxo"
Error!
7.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
What is the output of print(memorize("ABCD")?
"AABACADA"
"AABABCABCD"
"ABACBADCBA"
"ABACAD"
Huh?
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
15 questions
Partes de una PC
Quiz
•
7th Grade - University
10 questions
Microcontroller
Quiz
•
11th Grade - University
14 questions
Input, output and storage de
Quiz
•
8th Grade - Professio...
10 questions
CSE205-DCN-QUIZ-UNIT-5
Quiz
•
University
15 questions
Assessment 08
Quiz
•
University
15 questions
Monday Week#2
Quiz
•
University
10 questions
Bases de datos
Quiz
•
University
10 questions
Arquitectura de computadoras
Quiz
•
University
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
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University