COMPUTER PROGRAMMING FUNDAMENTALS
WHAT IS PROGRAMMING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
READ
|
|
WRITE
|
|
START
|
|
END IF
|
Detailed explanation-1: -Explanation: Start is not a Keyword. Other words like read, write, if, else, etc are keywords and convey a special meaning.
Detailed explanation-2: -At its core pseudocode is the ability to represent six programming constructs (always written in uppercase): SEQUENCE, CASE, WHILE, REPEAT-UNTIL, FOR, and IF-THEN-ELSE. These constructs-also called keywords-are used to describe the control flow of the algorithm.
Detailed explanation-3: -Pseudocode literally means ‘fake code’. It is an informal and contrived way of writing programs in which you represent the sequence of actions and instructions (aka algorithms) in a form that humans can easily understand. You see, computers and human beings are quite different, and therein lies the problem.
Detailed explanation-4: -Common pseudocode notation WHILE – a loop (iteration that has a condition at the beginning) FOR – a counting loop (iteration) REPEAT – UNTIL – a loop (iteration) that has a condition at the end. IF – THEN – ELSE – a decision (selection ) in which a choice is made.
Detailed explanation-5: -a machine-level code. a random number. a flow chart. Structured English to communicate the logic of a program.