ICT Programming and Logic All
Questions and Correct Answers. Newest
2026-2027 Rated A
A set of instructions that tells a computer what to do to accomplish a
particular task is called: - Ansa computer program.
Aaron would like to create a program that allows the user to find the
average of five numbers. He has asked for your help. Below is the
pseudocode Aaron has written:
Enter five numbers
Add the numbers entered
Multiply the sum of the numbers entered by 5
Display the result
After examining the code, you determine that: - Ansthe program needs to
divide the sum of the numbers entered by 5, not multiply.
Amber is programming a robot with a color sensor to follow a black curvy
line on a white floor. She has programmed the robot to move forward,
curving to the left if it senses black on the floor, and curving right if it does
not sense black. She is hoping this will allow the robot to follow the black
line. Which type of control structure has Amber written? - AnsSelection
Anna is asked to explain the differences between compiled and interpreted
languages in her programming class. Which statement would be her best
1
,response? - AnsCompiled languages usually execute faster than
interpreted languages.
Anne decides to learn Javascript. This language translates a number of
program instructions, waits for the computer to execute them and then
translates the next series until the program is fully executed. To do this, it
must use a(n): - Ansinterpreter
Basic mathematics taught in elementary school is a base 10 number
system (which makes it easy if you are using your fingers). Computers use
a different number system, known as: - Ansbase 2
Binary is based on which number system? - AnsBase 2
Candida has added the variable names needed by her program. She must
now assign an initial value to each variable. What is the term for assigning
this initial value? - AnsInitializing
Carrie is using object-oriented programming to code her latest video game.
In the game, she has objects that are little monsters. Each is unique in their
own way (size, color, etc.). To create each of these unique looking objects,
she needs to change the: - Ansproperties.
Charles is coding a role-playing game. He has created code that asks a
player for their name and assigns it to the "name" variable. Charles assigns
the first value for the variable as Player 1 until a player inputs their
2
, information. What is the term for assigning this value for the "name"
variable? - AnsInitializing
Charles is stuck. He knows that computers use zeros and ones in a
sequence to represent data, but he cannot remember the name of this
term. His teacher reminds him that it is referred to as: - Ansbinary.
Chris must use a Boolean operator in his programming class assignment.
Which operator is an example of a Boolean operator? - Ans&&
Computers organize the zeros and ones that represent an instruction into a
series of eight pieces. This series of eight ones or zeros is known as: -
Ansa byte.
Consider the following code:
turnRight ();
for (var count = 0; count < 5; count++) {
moveForward ();
}
The instruction code shown is an example of high-level: - Ansprogramming
language.
Consider the following example algorithm:
1. Set members to 0
2. For each pair of members in the group, add two to members
3. Continue until all members in the group are counted
4. Display members
3
Questions and Correct Answers. Newest
2026-2027 Rated A
A set of instructions that tells a computer what to do to accomplish a
particular task is called: - Ansa computer program.
Aaron would like to create a program that allows the user to find the
average of five numbers. He has asked for your help. Below is the
pseudocode Aaron has written:
Enter five numbers
Add the numbers entered
Multiply the sum of the numbers entered by 5
Display the result
After examining the code, you determine that: - Ansthe program needs to
divide the sum of the numbers entered by 5, not multiply.
Amber is programming a robot with a color sensor to follow a black curvy
line on a white floor. She has programmed the robot to move forward,
curving to the left if it senses black on the floor, and curving right if it does
not sense black. She is hoping this will allow the robot to follow the black
line. Which type of control structure has Amber written? - AnsSelection
Anna is asked to explain the differences between compiled and interpreted
languages in her programming class. Which statement would be her best
1
,response? - AnsCompiled languages usually execute faster than
interpreted languages.
Anne decides to learn Javascript. This language translates a number of
program instructions, waits for the computer to execute them and then
translates the next series until the program is fully executed. To do this, it
must use a(n): - Ansinterpreter
Basic mathematics taught in elementary school is a base 10 number
system (which makes it easy if you are using your fingers). Computers use
a different number system, known as: - Ansbase 2
Binary is based on which number system? - AnsBase 2
Candida has added the variable names needed by her program. She must
now assign an initial value to each variable. What is the term for assigning
this initial value? - AnsInitializing
Carrie is using object-oriented programming to code her latest video game.
In the game, she has objects that are little monsters. Each is unique in their
own way (size, color, etc.). To create each of these unique looking objects,
she needs to change the: - Ansproperties.
Charles is coding a role-playing game. He has created code that asks a
player for their name and assigns it to the "name" variable. Charles assigns
the first value for the variable as Player 1 until a player inputs their
2
, information. What is the term for assigning this value for the "name"
variable? - AnsInitializing
Charles is stuck. He knows that computers use zeros and ones in a
sequence to represent data, but he cannot remember the name of this
term. His teacher reminds him that it is referred to as: - Ansbinary.
Chris must use a Boolean operator in his programming class assignment.
Which operator is an example of a Boolean operator? - Ans&&
Computers organize the zeros and ones that represent an instruction into a
series of eight pieces. This series of eight ones or zeros is known as: -
Ansa byte.
Consider the following code:
turnRight ();
for (var count = 0; count < 5; count++) {
moveForward ();
}
The instruction code shown is an example of high-level: - Ansprogramming
language.
Consider the following example algorithm:
1. Set members to 0
2. For each pair of members in the group, add two to members
3. Continue until all members in the group are counted
4. Display members
3