You can run an algorithm like you can run code. (1 point)

Responses

True
True

False
False
Question 2
Which of these scenarios is BEST suited for a switch case statement?(1 point)
Responses

determining whether it's raining or not
determining whether it's raining or not

choosing whether a number is odd or even
choosing whether a number is odd or even

determining the rate for a ferry based on vehicle type
determining the rate for a ferry based on vehicle type

choosing a random number between 1 and 100
choosing a random number between 1 and 100
Question 3
Which of these is NOT a factor in improving an algorithm’s efficiency?(1 point)
Responses

number of loops
number of loops

number of lines of code
number of lines of code

memory
memory

time to run
time to run
Question 4
Which type of loop is BEST suited for displaying the names of 10 students in a class from a file?(1 point)
Responses

do...while loop
do...while loop

switch case statement
switch case statement

while loop
while loop

for loop
for loop

1 answer

Here are the answers to your questions:

Question 1: You can run an algorithm like you can run code.
Response: True

Question 2: Which of these scenarios is BEST suited for a switch case statement?
Response: determining the rate for a ferry based on vehicle type

Question 3: Which of these is NOT a factor in improving an algorithm’s efficiency?
Response: number of lines of code

Question 4: Which type of loop is BEST suited for displaying the names of 10 students in a class from a file?
Response: for loop

Similar Questions
  1. You can run an algorithm like you can run code. (1 point)Responses True True False False Question 2 Which of these scenarios is
  2. You can run an algorithm like you can run code. (1 point)Responses True True False False Question 2 Which of these scenarios is
  3. When comparing two numbers in Boolean, complete this code:a = 12 b = 8 (1 point) Responses a == b is true a == b is true a = b
  4. When comparing two numbers in Boolean, complete this code:a = 12 b = 8 (1 point) Responses a == b is true a == b is true a = b
more similar questions