Question Detail

COS 102 introduction to programming Objective Question

Question

What is the primary purpose of programming as described in the lecture?
Options
A To create a series of visual animations for entertainment.
B To write computer code to create a program, to solve a problem.
Correct Answer
C To design hardware components for new computers.
D To translate human spoken languages into machine code directly.
Correct Answer

Option B is the correct answer.

Detailed Explanation

According to page 6, 'Programming is writing computer code to create a program, to solve a problem.' It involves providing a series of instructions for the computer.

Hint

Think about what the core activity of a programmer is in relation to computers and problems.

Question Info