
CodeMonkey Final Exam G6
Authored by Teacher Romeo
Computers
6th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What does an if statement do in a chatbot program?
Runs a block of code only if a condition is true
Repeats code in a loop
Displays text on the screen
Ends the chatbot conversation
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is used to define a function/method in Python?
def
func
define
function
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the correct way to define a class in Python?
class MyClass:
define class MyClass:
class = MyClass:
MyClass class:
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you check the length of a string in Python?
length()
size()
len()
count()
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is a while loop used for in Python?
To run a block of code only once
To repeat a block of code as long as a condition is True
To define a function
To check if two values are equal
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is a chatbot?
It is a program designed to simulate a conversation in a human-like manner.
A type of social media platform
A human assistant that answers phone calls
A programming language
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the purpose of the send_message() function in a chatbot?
To send a message to the user
To read user input
To delete old messages
To read the user's input and returns it as text
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
Systems Architecture
Quiz
•
KG - 9th Grade
12 questions
KT GHK2 Tin 7
Quiz
•
6th - 8th Grade
20 questions
Computer Network Quiz (Year 6)
Quiz
•
6th Grade
20 questions
Microsoft Excel
Quiz
•
KG - Professional Dev...
16 questions
Robotic /coding exam
Quiz
•
6th - 8th Grade
20 questions
P5 Online Video Conference
Quiz
•
5th - 6th Grade
20 questions
unit 3 TMK
Quiz
•
6th Grade
16 questions
P6 S1 practice for final
Quiz
•
6th 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