Question Detail

COS 102 introduction to programming Objective Question

Question

A programming language typically consists of:
Options
A Only binary instructions.
B A vocabulary and a set of rules (syntax).
Correct Answer
C Just a graphical user interface.
D Pre-compiled executable files.
Correct Answer

Option B is the correct answer.

Detailed Explanation

Page 15 states: 'Typically, a programming language consists of a vocabulary and a set of rules (called syntax) that the programmer must learn'.

Hint

Think about what is needed to form valid instructions in any language, be it human or computer.

Question Info