Representing Algorithms · CSEC Information Technology
23 past-paper questions on Representing Algorithms, part of Problem-Solving and Program Design, from every CSEC Information Technology paper on Quelpr.
- 11(a)4 marks· CSEC Information Technology · 2011 · Paper 2Copy and complete the trace table to show the result of the given algorithm: 1 last = 4 2 count = 0 3 While number = 3 to 7 Do 4 While (number <= last) DO 5 Count = Count + 1 6 End While 7 Output count
- 11(b)1 mark· CSEC Information Technology · 2011 · Paper 2What is the name of the structure from lines 3 to 6?
- 12(g)3 marks· CSEC Information Technology · 2011 · Paper 2Pseudocode and flowchart
- 9(b)9 marks· CSEC Information Technology · 2015 · Paper 2Draw a flowchart to represent the program.
- 4(c)1 mark· CSEC Information Technology · 2022 · Paper 2State the type of looping construct used in the pseudocode.
- 4(e)2 marks· CSEC Information Technology · 2022 · Paper 2Explain ONE other named looping construct that could be used in the program.
- 10(b)4 marks· CSEC Information Technology · January 2014 · Paper 2A water company awards a waiver of monthly water charges if: (i) Applicant is 65 years or older, AND (ii) Applicant must NOT be working. Copy and complete the truth table.
- 12(b)5 marks· CSEC Information Technology · January 2014 · Paper 2Draw a flow chart to check the engine size of a car and compute the luxury tax to be paid. Use the variable car_val to store the value of the car and the variable engine to store the size of the car engine.
- 9(a)7 marks· CSEC Information Technology · May/June 2013 · Paper 2Draw a flowchart to illustrate the following fragment of code: IF P > Q THEN PA = P - Q ELSE QA = Q - P
- Q461 mark · multiple choice· CSEC Information Technology · May/June 2017 · Paper 1To which of the following code structures does the IF_THEN_ELSE construct belong?
- Q491 mark · multiple choice· CSEC Information Technology · May/June 2017 · Paper 1Item 49 refers to the following algorithm. Write ("Enter price: ") (1) Read (price) (2) Vat := price * 15% (3) Write vat (4) Which line contains a processing statement?
- Q561 mark · multiple choice· CSEC Information Technology · May/June 2017 · Paper 1Which of the following statements includes loops?
- Q491 mark · multiple choice· CSEC Information Technology · May/June 2018 · Paper 1In representing algorithms, which of the following statements would be placed in the flow chart box shown below?
- Q511 mark · multiple choice· CSEC Information Technology · May/June 2018 · Paper 1Item 51 refers to the following algorithm. Read (A, B) If A<B Then Print(A); Which of the following tasks does the following algorithm perform?
- Q531 mark · multiple choice· CSEC Information Technology · May/June 2018 · Paper 1Item 53 refers to the following statements. (1) PRINT "ENTER an integer" (2) READ n (3) While n <> -1 DO (4) n = n - 1 (5) Print n (6) Endwhile Which of the following series of numbers represents the correct…
- Q581 mark · multiple choice· CSEC Information Technology · May/June 2018 · Paper 1Item 58 refers to the following algorithm.
I users for length, width
II length, width
area
\leftarrowlength * width III "Area of rectangle is", area Which of the following options can be used to replace I, II and… - Q461 mark · multiple choice· CSEC Information Technology · May/June 2019 · Paper 1Consider the following algorithm. a = 7 b = 9 a = b - a b = a + b Write a, b The output of this algorithm is
- Q511 mark · multiple choice· CSEC Information Technology · May/June 2019 · Paper 1Which of the following tasks does the following algorithm perform? Read (A, B) If A<B Then Print(A);
- Q561 mark · multiple choice· CSEC Information Technology · May/June 2019 · Paper 1The terms "END" and "STOP" used in algorithms are called
- 10(c)6 marks· CSEC Information Technology · May/June 2019 · Paper 2Complete (i) to (vi) in the table by stating the line number of the statement in the algorithm (or 'none') and drawing the corresponding flowchart symbol for each given step.
- 11(a)5 marks· CSEC Information Technology · May/June 2019 · Paper 2Draw a flowchart to illustrate the provided segment of the algorithm.
- 11(b)(i)4 marks· CSEC Information Technology · May/June 2019 · Paper 2Using the course registration algorithm, complete the decision table to determine how students should register for courses based on student type and registration status.
- 11(b)(ii)1 mark· CSEC Information Technology · May/June 2019 · Paper 2State the name of the table that shows the various options.