subject
Computers and Technology, 08.06.2021 21:30 uhhgray

Time: 2 hrs i.
Course Code: CSC 121. Course Title: Elements of Computer Programming
INSTRUCTION: Answer Four (4) Questions only
Jlca
)
Define an Algorithm and explain its properties [3% marks!
(b) Write an Algorithm to withdraw money from a Savings Account using automated teller
machine; assume that the minimum balance allowed by the Bank is N2000. 15 masks)
(c) Draw a flowchart for the algorithm in lb.[3 marks)
(d) Use the FOR-TO-NEXT statement to write a program to compute the total and average
scores of 10 students offering 5 subjects per student. [6 marks]
2() Write the QBASIC expression for the following algebraic equations:
A = | Sin x - Tan y (3xy + 2(6x - 2y) ü. M = 2Sint
2Sin(x + y) Cox
ZGM : Sin *+Cos y
N = k/2222
iv. M=
[2 marks each)
(b) Given A=20; B = 16; C = A*B; D= VC Evaluate each of the following operations (6man
(i) S= (C > D) OR (D<A) (ii) X= NOT (CD) AND B<C (iii) Y = (B^2) MOD A
(iv) X = SQR (B*2) A
Distinguish between logical operation and relational operation (use examples to illustrate yo
marks)
3 (a) What is Error? Explain the different types of error in programming [6marks]
(b) Draw a flowchart to generate the sequence
[3 marks/
(c) Write a QBASIC program to find the difference between the sum of all even numbers and
iii.
c?
2ay
16
N
1
2'3
N
follodd numbere between 1 and
16 16marks​

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:10
How can i delete permalinks from a word press site?
Answers: 1
question
Computers and Technology, 23.06.2019 02:00
What is the main benefit of minimizing the ribbon in word? more options will be accessible through customized keystrokes. more of the document will be viewable without needing to scroll. fewer controls will be accessible to the user by using the mouse. fewer editing options will be available without entering a password.
Answers: 1
question
Computers and Technology, 23.06.2019 06:40
What are the three uses of a screw?
Answers: 2
question
Computers and Technology, 23.06.2019 07:30
What key should you press and hold to select and open multiple files at one time? enter alt control esc
Answers: 1
You know the right answer?
Time: 2 hrs i.
Course Code: CSC 121. Course Title: Elements of Computer Programming
INSTR...
Questions
question
Business, 30.04.2021 03:50
question
Mathematics, 30.04.2021 03:50
question
Mathematics, 30.04.2021 03:50
question
History, 30.04.2021 03:50
question
English, 30.04.2021 03:50
Questions on the website: 13722363