MCQ
IF marks >= 60 THEN grade = Pass ELSE grade = Fail. A student has 45 marks. What is the value of grade?
Unit-2 Computational Thinking and Algorithms
A Pass
B Fail
C 45
D Marks
Explanation

Since 45 is not greater than or equal to 60, the ELSE branch sets grade to Fail.