Fundamentals of Comp Sci Midterm Review 2021
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Janna Shelton
Used 3+ times
FREE Resource
Enhance your content in a minute
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
Create a free account and access millions of resources
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
Sistem Komputer
Quiz
•
10th Grade
38 questions
Examen Diagnóstico Páginas Web
Quiz
•
10th Grade
36 questions
Computer Systems
Quiz
•
8th - 9th Grade
40 questions
PAS TLJ KELAS 11
Quiz
•
11th Grade
40 questions
NILAI MAPEL ADMINISTRASI JARINGAN SMT GENAP KELAS 12
Quiz
•
12th Grade
40 questions
Kuiz Komputer Online
Quiz
•
6th - 10th Grade
40 questions
How Computers work
Quiz
•
9th Grade
35 questions
PTS Informatika Fase E
Quiz
•
9th - 12th Grade
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
