
Chirag: Fundamentals of Computing S2 Exam Part 2 2021-22
Authored by Brenda Macaluso
Instructional Technology
9th - 12th Grade
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
You need to write a program where Karel will take a ball if there is a ball present, otherwise Karel should put down a ball. Which control structure do you need to use?
If Statement
If / Else Statement
While Loop
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Why should a programmer indent their code?
Helps show the structure of the code.
Easier for other people to understand by matching our code to each command.
All code inside a function should be indented.
All of the Above
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Debugging Basics has two main strategies. They are ?
Attention to Detail and Questioning Assumptions
Questioning Assumptions and Tricky Bugs
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What type of error do we have if the program doesn't start running?
Syntax Error
Runtime Error
Logic Error
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What type of error do we have when the program starts running, but doesn't do what it is suppose to do?
Syntax Error
Runtime Error
Logic Error
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What type of error is when the program starts running, but crashes when running?
Syntax Error
Runtime Error
Logic Error
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What is the proper function to call to print to the screen?
write
println
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?