stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Karel Review (Lessons 5 - 10) Flashcards | StudBud
Explore
/
Karel Review (Lessons 5 - 10)
Karel Review (Lessons 5 - 10)
11 terms
·
StudBud Administration
·
1,213 plays
Imported from external platform
Flashcards
11 cards
F
Practice quiz
P
Host live
L
Questions
11
Answers
1
Managing complexity by leaving out unnecessary details in order to focus on relevant concepts is called _______.
Commands
Abstractions
Comments
Notes
2
The
For Loop
allows you to ____.
None of these
Repeat a section of code.
Repeat a section of code a fixed number of times
Repeat a section of code an infinite number of times
3
When we have a mistake in our program, it is called a(n) _____.
problem
bug
debug
error
4
How many times should the start function be defined in a program?
1
0
2
However many you like
5
Why do we use functions in programming?
Break down our program into smaller parts
Avoid repeating code
All of the above
Make our program easier to understand
6
What is a code comment?
A way to teach Karel a new word
A place to write whatever you want in your cod
A way to give notes to the reader to explain what your code is doing
A message to your teacher in code
7
Calling a function specifies the instructions for a new action
False
True
8
How many times should
you call
the start function in a program?
3
2
However many times you like.
1
9
Why do we use if/else statements in JavaScript
To either do something if a condition is true or do something else
To repeat something while a condition is true
To repeat something for a fixed number of times
To break out of some block of code
10
A _________ is a function that returns a true or false answer.
statement
condition
function
11
Top down design is a way of designing your program by starting with the biggest problem and breaking it down into smalle
Digital design
Top design
Looping
Top down design