Code HS Exam 2023 Questions and Answers with complete solution
Code HS Exam 2023 Questions and Answers with complete solution Which command does Karel no know in Lesson 1.1? Ans turnRight( ); What doe the turnLeft( ); command do? Ans rotates Karel 90 degrees to the left What is the best turnRight( ); function to rotate 90 degrees? Ans function turnRight( ){ turnLeft( ); turnLeft( ); turnLeft( ); } How many times should a regular function be called? Ans As many times as you want How many times should a start function be defined? Ans Once How many times should the start function be called? Ans None Why do we use functions in our programming? Ans break down the program into smaller parts, make our program easier to understand, avoid repeating code What is top down design? Ans a way of designing your program by starting with the biggest problem and breaking it down into smaller pieces that are easier to solve Writing comments always effects the outcome of your code (true or false) Ans false Comments are used to translate your code into plain English so others and yourself can understand it more easily (true or false) Ans true What signifies the beginning and end of a comment? Ans /* and */
Written for
- Institution
- Code HS
- Course
- Code HS
Document information
- Uploaded on
- February 14, 2023
- Number of pages
- 6
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
code hs exam 2023 questions and answers with complete solution
Also available in package deal