Question: SECTION B The terms given in the table below represent various types of statement used in programming. Write the numerals I, II , III, IV

SECTION B
The terms given in the table below represent various types of statement used in programming. Write the numerals I, II, III, IV, and V on separate lines in your answer booklet. Match EACH term with the CORRECT program statement and write that term next to the corresponding numeral in your answer booklet. (5 Marks)
\table[[Numeral,Program Statement,Term],[I,J5,Input Statement],[II,If (mark 50 write ("PASS");,Arithmetic Statement],[III,Ans :=AB;,Conditional Statement],[IV,A:=B;,Variable Name],[V,Read(a, b,c);,Assignment Statement]]
The algorithm below is incorrect. Place in the correct sequence and convert to a Pascal program.
Sum =A+B
Print "The sum is larger",Sum
Else
If Sum Product then
Input A,B
Product =A**2
Print "The Product is larger", Product
Endif
(8 Marks)
Write a pseudocode algorithm to read the number of days a person has been using a demo and display the message "Time Up" if the number of days exceeds 12.
(4 marks)
Draw a flowchart to read the height in inches and weight in pounds of an individual, and compute and print their BMI (body mass index). BMI =((weight / height)/ height
SECTION B The terms given in the table below

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!