Question Detail

COS 102 Concept & Properties of Algorithm lecture 3 Week4 Objective Question

Question

What is the primary purpose of Pseudocode?
Options
A To provide a formal syntax for computer execution.
B To serve as a debugging tool for complex programs.
C To help 'think out' a program before writing actual code and be easily convertible to a programming language.
Correct Answer
D To replace flowcharts entirely in algorithm representation.
Correct Answer

Option C is the correct answer.

Detailed Explanation

Page 29, under 'Why do you need it?', states that pseudocode 'Helps to 'think out' a program before writing it' and 'May be converted easily into a corresponding programming language code.'

Hint

Consider the 'Why do you need it?' section for Pseudocode on page 29.

Question Info