WAEC Past Questions, Objective & Theory, Study 100% offline, Download app now - 127076
JAMB CBT Software 2025 - Free Download

2021 WAEC Computer Studies Theory Write a QBASIC program to grade any score entered from the keyboard as either "Poor"...

Computer Studies
WAEC 2021

Write a QBASIC program to grade any score entered from the keyboard as either "Poor" for a score that is below 50% or "Satisfactory" for a score that is equal to or above 50%. The program execution should stop as soon as a score that is less than zero is entered.

JAMB CBT Mobile App 2025 - Free Download
JAMB CBT 2025 - Candidates, Schools, Centres, Resellers - Get Ready!
JAMB CBT Software 2025 - Free Download
WAEC Past Questions, Objective & Theory, Study 100% offline, Download app now - 127076
Explanation

Qbasic Program to grade entered scores

10 REM program to grade entered scores
20 CLS
30 Score = 0
40 DO UNTIL score < 0
50 INPUT "Enter a score:"; Score
60 IF Score <50 THEN 
70 PRINT "Poor"
80 ELSE 
90 PRINT "Satisfactory"
100 END IF
110 LOOP
120 END

OR

REM PROGRAM TO GRADE ENTERED SCORES 
REM USING SELECT CASE...END STRUCTURE
CLS
DIM   SCORE AS INTEGER 
                       DO UNTIL Score < 0
                       INPUT "Enter a score:";Score
                       SELECT CASE (SCORE)
                       CASE 50 to 100
                       PRINT "SATISFACTORY"
                       CASE 1 TO 49
                       PRINT "POOR"
                       END SELECT
          LOOP
          END

OR 

REM PROGRAM FOR "GRADING SYSTEM"
CLS
Score = 0
                            DO UNTIL Score > = 0
                            INPUT Score
                            SELECT CASE (SCORE)
                            IF Score > = 0 THEN
                            IF Score < 50 THEN
                                          PRINT "poor"
                            ELSE
                            IF Score > = 50
                            THEN PRINT "satisfactory"
                            END IF
END IF
LOOP
END

OR

DIM     SCORE AS INTEGAR
            SCORE = 0
                          DO WHILE Score > = 0
                          INPUT "Enter a score:"; Score
                          SELECT CASE (Score)
                          CASE 50 TO 100
                          PRINT "SATISFACTORY"
                          CASE 0 TO 49
                          PRINT "POOR"
                          END SELECT
            LOOP
            END

OR

REM PROGRAM FOR "GRADING SYSTEM"
CLS 
Score = 0
                               DO     while score > = 0
                               INPUT Score
                               IF Score > = 0 THEN
                               IF Score < 50 THEN
                                              PRINT "poor"
                               ELSE
                               IF Score .> = 50 THEN
PRINT "satisfactory"
                               END IF
END IF 
LOOP
END


Report an Error Ask A Question Download App
JAMB CBT Software 2025 - Free Download
JAMB CBT 2025 - Candidates, Schools, Centres, Resellers - Get Ready!
JAMB CBT Mobile App 2025 - Free Download
WAEC Past Questions, Objective & Theory, Study 100% offline, Download app now - 127076

Contributions ({{ comment_count }})

Please wait...

{{ settings.no_comment_msg ? settings.no_comment_msg : 'There are no comments' }}

Quick Questions

Post your Contribution

Please don't post or ask to join a "Group" or "Whatsapp Group" as a comment. It will be deleted. To join or start a group, please click here

{{ quote.posted_by.display_name }}
{{ settings.form_textarea_description }}
 
JAMB CBT Software 2025 - Free Download
WAEC Past Questions, Objective & Theory, Study 100% offline, Download app now - 127076
JAMB CBT Mobile App 2025 - Free Download
JAMB CBT 2025 - Candidates, Schools, Centres, Resellers - Get Ready!
JAMB CBT 2025 - Candidates, Schools, Centres, Resellers - Get Ready!
JAMB CBT Mobile App 2025 - Free Download
JAMB CBT Software 2025 - Free Download
WAEC Past Questions, Objective & Theory, Study 100% offline, Download app now - 127076