Computer Science > EXAM > STRUCTURED PROGRAMMING (PASCAL) (Module I) (All)
Question ONE COMPULSORY (a). (i). Explain the term Computer Program. (2 Marks) (ii). Explain machine programming Language. (4 Marks) (iii). State any FOUR disadvantages of machine programm ... ing language. (4 Marks) (b). Explain any FOUR features of fourth generation languages. (8 Marks) Question TWO (a). Explain the FIVE data types in pascal programming language. (10 Marks) (b). Write a pascal program to calculate the value of x in the quadratic equation. ax 2 bx c 0 Where x 2a Implement using the following conditions. If b2 4ac Ø If b 2 4ac Ø If b 2 4ac Ø then Equation has two equal values. then Equation has two distinct values. then Equation has no roots. (10 Marks) (c). Design a simple program to enable a user to input THREE intergers. (3 Marks) [Show More]
Last updated: 2 years ago
Preview 1 out of 2 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Mar 23, 2023
Number of pages
2
Written in
All
This document has been written for:
Uploaded
Mar 23, 2023
Downloads
0
Views
47
Scholarfriends.com Online Platform by Browsegrades Inc. 651N South Broad St, Middletown DE. United States.
We're available through e-mail, Twitter, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·