D278 Exam Questions And Answers 2025
Update.
A computer program consists of... - Answer✔A computer program consists of instructions
executing one at a time. Basic instruction types are:
- Input
- Process
- Output
Input - Answer✔A program gets data, perhaps from a file, keyboard, touchscreen, network, etc.
Process - Answer✔A program performs computations on that data, such as adding two values
like x + y.
Output - Answer✔A program puts that data somewhere, such as to a file, screen, network, etc.
Algorithm - Answer✔A sequence of instructions that solves a problem is called an algorithm.
What is a flowchart? - Answer✔A graphical language for creating or viewing computer
programs.
What is the Coral language used for? - Answer✔Learning to program.
What is a program in Coral? - Answer✔A list of statements, each carrying out some action and
executing one at a time.
What is the role of an interpreter in Coral? - Answer✔Running a program's statements.
What do variables do in a program? - Answer✔Hold values, like a variable x holding the value 7.
What does x = 7 do in Coral? - Answer✔Assigns the variable x with the value 7.
What does a parallelogram represent in a Coral flowchart? - Answer✔An output statement,
written as: Put item to output
1