9 Question solving and design

Nov 10, 2019

Hello SCIE programmers, this is Jack.
This part we are going to talk about question solving and design in theory paper and pre-release material.

Solutions to some common questions will be posted at the end of this article.

LIST OF KEY TERMS:

1.SEQUENCING

2.ITERATION

3.SELECTION

9.1 Sequencing

The term Sequencing means the execute order of a program is from up and down and line by line.(Common sense)

FOR EXAMPLE:

DECLARE num : INTEGER
num 50 THEN
  OUTPUT 'Hello World'
ELSE
  OUTPUT 'GUGUGU'
ENDIF
The output of the program is ten ‘Hello World’

EXPLANATION:

(common sense)
If variable larger than 50, output ”Hello World”.
Else, output “GUGUGU”.

9.4 Overall

Problem solving for IGCSE is fairly easy because the answer will not beyond these three terms.All you have to do is to read the question carefully and think carefully.

9.5 Answers for common question

A) EXCEPTION HANDLING

INPUT something
WHILE something is out of exception DO
  OUTPUT 'Erro message
  INPUT something
ENDWHILE

B) CALCULATE THE SUM IN AN INTEGER ARRAY

Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.