Home / Quizzes / STI College (multiple campuses) / BSIT101 / BSIT101 - Computer Programming - QUIZ BSIT101 - Computer Programming - QUIZ BSIT101 · Computer Programming
STI College (multiple campuses)
Questions 10 Questions Practice 10 questions on BSIT101 - Computer Programming at STI College (multiple campuses). Free AI-generated quiz on uNotes — track your score, retake anytime.
Questions 1 In Activity 1, which Java class is imported to allow the program to read input from the user?
2 Based on the code in Activity 1, what is the minimum average grade required to display 'Passed'?
3 In Activity 1, which method is used to read integer values for the grades?
4 In Activity 2, what keyword is used to provide a response when the user input does not match any of the defined cases?
5 In the switch-case structure in Activity 2, what is the purpose of the 'break' statement?
6 According to the source code for Activity 2, what is the price of 'CRISPY PATA' (a1)?
7 How does the Activity 2 program handle both uppercase ('A1') and lowercase ('a1') inputs for the meal selection?
8 In Activity 2, which variable is used to store the total cost of the drinks ordered?
9 In Activity 1, if a student's average grade is exactly 75.0, what will the output be?
10 Which Scanner method is used in Activity 2 to read the meal choice as a String?