Skip to main content

Computer Science K to 12

Question 4 of 30

Printer iconPrint | Print All Questions

Competency 1—Knowledge of computational thinking and problem solving

DIRECTIONS: Read the question and select the best response.

Given the following program segment, select the minimum set of data required to test all cases.

    print "What was your score on the test?" 
    input score
    if (score ≥ 90)
        then print "Excellent!"
    else if (score ≥ 75)
        then print "Not too bad."
    else
        print "Study harder next time!"
Choose an answer
Enter to expand or collapse answer.Answer expanded
Correct Response: B.