
Fundamentals of Comp Sci Midterm Review 2021
Authored by Janna Shelton
Computers
9th - 12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
39 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the proper format for a single line comment in Karel?
// This is a comment
/* This is a comment
This is a comment
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to define a turnRight function in Karel?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What makes the following command an invalid Karel command?
turnleft();
It should end in a colon rather than a semicolon
The l should be a capital L
It should start with a capital T
This command is correct
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In this code, how many times is the dance function called and how many times is it defined?
Called 1 time, defined 1 time
Called 1 time, defined 3 times
Called 3 times, defined 1 time
Called 3 times, defined 3 times
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can we teach Karel new commands?
For loop
While loop
Define a new function
The start function
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Karel starts at Street 1, Avenue 1, facing East in a 5x5 world. What will happen after this code runs?
Karel will end on Street 1, Avenue 2
Karel will end on Street 1, Avenue 7
This code won’t run because of a syntax error
Karel will crash into a wall
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What is wrong with this for loop?
The for loop uses commas instead of semicolons
It should say i++ instead of i + 1
The for loop is correct
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
40 questions
แบบทดสอบ Coding : Micro Python 1
Quiz
•
9th - 12th Grade
35 questions
DATABASE QUIZ
Quiz
•
9th - 12th Grade
40 questions
XII MM [DESAIN MULTIMEDIA INTERAKTIF] PAS
Quiz
•
12th Grade
40 questions
FE-Practice # 1
Quiz
•
12th Grade - University
34 questions
1.1.1. Structure and function of the processor
Quiz
•
12th Grade
38 questions
1.1 Architecture of CPU
Quiz
•
9th - 12th Grade
35 questions
Mid Tes HTML Quiz
Quiz
•
11th Grade
41 questions
Test próbny EE.09 (Bazy danych)
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
10 questions
Navigating Digital Citizenship and Online Safety
Interactive video
•
6th - 10th Grade
20 questions
Computer / Internet Companies
Quiz
•
9th Grade
10 questions
Exploring the Basics of Google Sheets
Interactive video
•
9th Grade
10 questions
Exponent Rules
Quiz
•
9th - 12th Grade
20 questions
JavaScript - Karel
Quiz
•
9th - 10th Grade