MID-TERM EXAMINATION IN LOGIC PROGRAMMING
1st Semester, AY 2023-2024
Name :
Course :
Score: __________________
Year & Section :
I. IDENTIFICATIONS (2 pts)
Directions: Identify the following statements and write the correct answer.
A __________________________ is a combination of all the components required to process and store data using a computer.
In a flowchart, a rectangle represents _______________________.
In flowchart, the decision symbol is a _____________________.
_______________________________ is a prefix that means false, and to code a program means to put it in a programming language.
The two most commonly used logic-planning tools are flowcharts and _____________________.
Using _______________________ involves writing down all the steps you will use in a program.
A computer system that manages the creation and execution of logic programs is called a _________________________.
A program with no syntax errors is translatable and can execute, but it still might contain ____________________ and produce incorrect output as a result.
_____________________________ is a style of programming in which programs take the form of sets of sentences in the language of Symbolic Logic.
____________________________ is the act of developing and writing programs.
____________________________ consists of the programs that tell the computer what to do.
____________________________ comprises the programs that you use to manage your computer.
The _____________________ of a computer program is the complete sequence of instructions that lead to a problem’s solution.
The ________________ of a language is its grammar rules.
Visual Basic, C++, and Java are all examples of computer _________________________.
II. TRUE OR FALSE
Direction: Write T if the statement is true. write false, if it's false.
A program with syntax errors can execute but might produce incorrect results.
A program with syntax errors cannot execute; a program with no syntax errors can execute but might produce incorrect results.
Although the syntax of programming languages differs, the same program logic can be expressed in different languages.
Flowcharting a program is a very different process if you use an older programming language instead of a newer one.
Software is the equipment, or the devices, associated with a computer. Hardware is computer instructions.
Most simple computer programs include steps that perform input, processing, and output.
The grammar rules of a computer programming language are its syntax.
Understanding the problem that must be solved can be one of the most difficult aspects of programming.
You write programs using a programming language such as Visual Basic or Java, and a translation program (called a compiler or interpreter) converts the statements to machine language, which is 0s and 1s.
You write programs using machine language, and translation software convert the statements to a programming language.