a) Differentiate between [4 marks]
(i) Flowchart and Pseudocode
(ii)Program documentation and program testing
(b) Give TWO differences between While…..Do and Repeat……Until [4 marks]
(c) List any THREE qualities of a good program [3 marks]
(d) List any two programming languages used in artificial intelligence [2 marks]
(e) Write a Pascal recursive function that can be used to compute n! [5 marks]
(f) Declare a one-dimensional array variable that can be used to store a list of student registration numbers for 50 students taking COMP 103 [3 marks]
(g) What is the output of the following code [6 marks]
For i: = 1 to 4 Do
For j: = 3 Down TO 1 Do
Begin
x:=i*j;
Write (x);
For a custom-written paper on the above topic, place your order now!
What We Offer
• On-time delivery guarantee
• PhD-level professionals
• Automatic plagiarism check
• 100% money-back guarantee
• 100% Privacy and Confidentiality
• High Quality custom-written papers