Post UTME Past Questions Agent
WAEC and NECO CBT Software for Computers and Laptops - Candidates, Schools, Centres, Resellers - 100% Offline -Download Now

2016 WAEC Computer Studies Theory (a) State two BASIC programming keywords. (b) Write the following equations in BASIC format: (i)...

Computer Studies
WAEC 2016

(a) State two BASIC programming keywords.

(b) Write the following equations in BASIC format:

(i) I = PRT/100: (ii) Y= AX\(_2\) +BX+C; (iii) Y= MX + C

(c) Write a BASIC program that accepts mass and volume of a liquid as input from the User.

The program should compute.and display the density of the liquid. Density = mass volume

WAEC and NECO CBT Software for Computers and Laptops - Candidates, Schools, Centres, Resellers - 100% Offline -Download Now
Post UTME Past Questions Agent
WAEC and NECO CBT App for Mobile Devices - Candidates, Schools, Centres, Resellers - 100% Offline -Download Now
Explanation

(a) BASIC programming keywords: REM, LET, END, CLS, INPUT, IF, NEXT, DATS, GOSUB, RETURN, DIM, STOP, GOTO, READ etc.

(b)(i) I = P*R*T/100

(ii) Y =A"X ^2 +B X+C   OR    Y = A*X * X + B* X + C (ii) Y = M * X +C

(c) A Sample BASIC Program

10 CLS 20 REM BASIC program to calculate density of a liquid 30 INPUT

"Enter the mass of a liquid. MASS 40 REM Computation of values begins

50 LET DENSITY = MASS/VOLUME

60 PRINT "The density of a liquid":

DENSITY 70 END/STOP

10 CLS

20 REM BASIC program to calculate density of a liquid

30 INPUT "MASS"; M

40 INPUT "VOLUME"; V

50 LET DENSITY = M/V50

60 PRINT"DENSITY =" DENSITY

70 END


Report an Error Ask A Question Download App
Post UTME Past Questions Agent
WAEC and NECO CBT Software for Computers and Laptops - Candidates, Schools, Centres, Resellers - 100% Offline -Download Now
Your School's Whatsapp Group - Join Us now

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 }}
 
Post UTME Past Questions Agent
WAEC and NECO CBT Software for Computers and Laptops - Candidates, Schools, Centres, Resellers - 100% Offline -Download Now
WAEC and NECO CBT App for Mobile Devices - Candidates, Schools, Centres, Resellers - 100% Offline -Download Now
Your School's Whatsapp Group - Join Us now
Post-UTME Past Questions - Original materials are available here - Download PDF for your school of choice + 1 year SMS alerts
Post-UTME Past Questions - Original materials are available here - Download PDF for your school of choice + 1 year SMS alerts
Post UTME Past Questions Agent
WAEC and NECO CBT Software for Computers and Laptops - Candidates, Schools, Centres, Resellers - 100% Offline -Download Now
Your School's Whatsapp Group - Join Us now