The diagram below shows the stages of translating and running a high-level program. (a) State what is meant by "source code". [1]

Assessment: Computer Science 0478 | Paper 2 Mock 01 | Algorithms, Programming and Logic Subject: Computer Science - 0478

Question 1 Report

The diagram below shows the stages of translating and running a high-level program.

diagram

(a) State what is meant by "source code". [1]

Answer Details

(a) "Source code" is the program written by the programmer in a high-level (or assembly) language before it is translated. [1]

It is the human-readable form of the program, containing keywords, variable names, and structures that make sense to the programmer. The source code must be translated by a compiler, interpreter, or assembler into machine code (object code) before the CPU can execute it. The diagram shows this translation pipeline: Source code -> Translator -> Object code (machine code) -> CPU.

Download The App On Google Playstore

Everything you need to excel in your exams

Green Bridge CBT Mobile App
Personalized AI Learning Chat Assistant
200,000+ Exam Questions Across IGCSE, JAMB, WAEC & NECO
Over 3,900 Lesson Notes
Offline Support - Learn Anytime, Anywhere
Green Bridge Timetable
Literature Summaries & Potential Questions
Track Your Performance & Progress
In-depth Explanations for Comprehensive Learning