CSIT 111 Final Exam Questions and Answers Graded A+
CSIT 111 Final Exam Questions and Answers Graded A+ A "Loop" statement is referred to as a(n) _____________. counted loop A "Loop" statement is used to execute a block of instructions repeatedly. True A boolean value is ____________. either true or false A chicken and penguin are initially separated by 2 meters. Does the following code change the state of the world? 0 meters - the penguin does not move A chicken and penguin are initially separated by 3 meters. In the following code, how far does the penguin move? 1.5 meters A chicken moves away from the penguin in the following code. The two are separated initially by 3 meters. How far does the chicken move? the code never ends - it is an infinite loop A computer program can be thought of as a way to tell another human being what the computer should do. True A Do in order or Do together can be nested inside a loop; by default Alice assumes that the instructions are to be executed in order. True A function can be used to check out a current condition in the world and make a decision about whether (or not) a method is called. Which control structure most likely uses the information returned from the function to evaluate whether (or not) to call a method? If/Else A function can be used to check out a current condition in the world and make a decision about whether (or not) a method is called. Which control structure most likely uses the information returned from the function to evaluate whether (or not) to call a method? If/Else A key component in a counted Loop is the condition--the number of times the instructions within the loop will be repeated. False A list is a collection of several items of the same type (such as Object or Color). True A list is one of the most popular ways to _______________. organize information A list search would most likely involve which control structures? for all in order, if A loop can execute only a whole number of times. True A method that does very little other than organizing the calls to other methods is known as __________. a driver A penguin and kangaroo are standing in the same place. The following methods are written. How far does the penguin walk when the following code is run? the code is an infinite loop A penguin and kangaroo are standing in the same place. The following methods are written. How far does the penguin walk when the following code is run? the code is an infinite loop A penguin is 3 meters away from a kangaroo. The following method, foo, is written. When the world starts, " first method" is called, which is empty. How far does the penguin move when the world is run? 0 meters - the penguin does not move A penguin is 3 meters away from a kangaroo. The following methods are written. How far away from each other are the penguin and the kangaroo after the following code is run? 0 meters - the penguin does not move A penguin is 3 meters away from a kangaroo. The following methods are written. How many methods are called as a result of the event "when the world starts"? 7 methods A penguin is 3 meters away from a kangaroo. The following methods are written. How many times will the "foo" method be called when the following code is run? 2 times A penguin is 4 meters away from a kangaroo.
Written for
- Institution
- CSIT 111
- Course
- CSIT 111
Document information
- Uploaded on
- June 7, 2024
- Number of pages
- 21
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
csit 111 final exam questions and answers graded
Also available in package deal