If Karel starts at Street 5 and Avenue 1 facing South, what street and avenue will Karel be on after this code runs?
move();
move();
move();
turnLeft();
move();
Fundamentals CBa1
Quiz
•
Computers
•
9th Grade
•
Hard
khatija duplayee
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If Karel starts at Street 5 and Avenue 1 facing South, what street and avenue will Karel be on after this code runs?
move();
move();
move();
turnLeft();
move();
Street 8 and Avenue 1
Street 2 and Avenue 1
Street 5 and Avenue 4
Street 4 and Avenue 1
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function will teach Karel how to spin in a circle two times?
function spin() {
move();
move();
function spin() {
turnLeft();
turnLeft();
turnLeft();
turnLeft();
function spin() {
turnLeft();
turnLeft();
function spin() {
move();
move();
move();
move();
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times can you call the move() function when moving Karel forward?
0
1
2
However many times you like
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times should you call the start function when writing your program?
0
1
2
However many times you like
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a benefit of using functions in programming?
Breaking down the program into smaller parts
Avoiding code repetition
Improving program readability
All of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is it recommended to use functions in programming? (Select all that apply)
To divide the program into bigger, modular sections
To prevent redundant code
To enhance the overall clarity and comprehensibility of the program
All of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which characteristic distinguishes top-down design from other design approaches in programming?
It emphasizes breaking down the problem into smaller, more manageable pieces.
It focuses on creating visually appealing designs for web pages.
It prioritizes writing individual commands as the first step in programming.
It primarily relies on loops and classes to structure the program's execution.
20 questions
Basic JavaScript Review
Quiz
•
9th - 12th Grade
20 questions
CODEHS KAREL
Quiz
•
7th - 9th Grade
20 questions
Arrays in Java
Quiz
•
9th - 12th Grade
25 questions
CodeHS Javascript Unit 1 Quiz Review
Quiz
•
9th - 12th Grade
20 questions
JAVA FUNDAMENTALS
Quiz
•
9th - 12th Grade
20 questions
Unit 6. Mathematical Library Methods
Quiz
•
9th - 10th Grade
20 questions
APCSA Arrays
Quiz
•
9th - 12th Grade
20 questions
Functions With Parameters and Returns
Quiz
•
9th - 12th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade
25 questions
Spanish preterite verbs (irregular/changed)
Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)
Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance
Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1
Quiz
•
9th - 12th Grade
26 questions
June 19th
Quiz
•
4th - 9th Grade
27 questions
STAAR English 1 Review
Quiz
•
9th Grade
20 questions
Understanding Linear Equations and Slopes
Quiz
•
9th - 12th Grade