You can run an algorithm like you can run code. (1 point)ResponsesTrueTrueFalseFalseQuestion 2Which of these scenarios is BEST suited for a switch case statement?(1 point)Responsesdetermining whether it's raining or notdetermining whether it's raining or notchoosing whether a number is odd or evenchoosing whether a number is odd or evendetermining the rate for a ferry based on vehicle typedetermining the rate for a ferry based on vehicle typechoosing a random number between 1 and 100choosing a random number between 1 and 100Question 3Which of these is NOT a factor in improving an algorithm’s efficiency?(1 point)Responsesnumber of lines of codenumber of lines of codenumber of loopsnumber of loopstime to runtime to runmemorymemoryQuestion 4Which type of loop is BEST suited for displaying the names of 10 students in a class from a file?(1 point)Responseswhile loopwhile loopdo...while loopdo...while loopswitch case statementswitch case statementfor loop

1 answer

Here are the responses 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

If you have any more questions or need further explanation, feel free to ask!