COMPUTER SCIENCE FINAL EXAM
QUESTIONS AND CORRECT ANSWERS
2025-2026 (FULLY COVERED)
Define the word "program". - ANS -A set of instructions to achieve a specified goal.
Explain why programming in machine language is undesirable - ANS -Programming is 1s and 0s
is very tedious and problematic.
What language uses commands with mnemonic names and hexadecimal numbers? - ANS -
Assembly language
What is the name of the translator used by Assembly Language? - ANS -Assembler
List 2 of Grace Hopper's accomplishments. - ANS -Developed program translators & Developed
COBOL
Explain the difference between an interpreter and a compiler. - ANS -Compilers translates the
entire file and then execute.
Interpreters translate each line and execute each line
What is a "low-level" language? - ANS -Close to computer language
What is a high-level language? - ANS -Close to human language
, Why do we not simply use English, or any other human language, to program a computer? -
ANS -English is too ambiguous
What was the first successful programming language for the mathematics and scientific
Community language? - ANS -FORTRAN
What does FORTRAN stand for? - ANS -Formula Translator
What community was COBOL created for? - ANS -business
A program is made up of words, which usually are called what? - ANS -Keywords
What is the first Java syntax rule? - ANS -Use only keywords known by the Java compiler.
List the 3 categories of keywords. - ANS -Reserved words, pre-defined identifiers and user-
defined identifiers
List 3 examples of Java Reserved Words - ANS -public, static, void
Java has a large number of libraries that enhance the basic Java language. These libraries
contain
special program modules that perform a variety of tasks to simplify the life of a programmer.
What
are these modules called? - ANS -methods
List 2 examples of Predefined Identifiers. - ANS -print and println
QUESTIONS AND CORRECT ANSWERS
2025-2026 (FULLY COVERED)
Define the word "program". - ANS -A set of instructions to achieve a specified goal.
Explain why programming in machine language is undesirable - ANS -Programming is 1s and 0s
is very tedious and problematic.
What language uses commands with mnemonic names and hexadecimal numbers? - ANS -
Assembly language
What is the name of the translator used by Assembly Language? - ANS -Assembler
List 2 of Grace Hopper's accomplishments. - ANS -Developed program translators & Developed
COBOL
Explain the difference between an interpreter and a compiler. - ANS -Compilers translates the
entire file and then execute.
Interpreters translate each line and execute each line
What is a "low-level" language? - ANS -Close to computer language
What is a high-level language? - ANS -Close to human language
, Why do we not simply use English, or any other human language, to program a computer? -
ANS -English is too ambiguous
What was the first successful programming language for the mathematics and scientific
Community language? - ANS -FORTRAN
What does FORTRAN stand for? - ANS -Formula Translator
What community was COBOL created for? - ANS -business
A program is made up of words, which usually are called what? - ANS -Keywords
What is the first Java syntax rule? - ANS -Use only keywords known by the Java compiler.
List the 3 categories of keywords. - ANS -Reserved words, pre-defined identifiers and user-
defined identifiers
List 3 examples of Java Reserved Words - ANS -public, static, void
Java has a large number of libraries that enhance the basic Java language. These libraries
contain
special program modules that perform a variety of tasks to simplify the life of a programmer.
What
are these modules called? - ANS -methods
List 2 examples of Predefined Identifiers. - ANS -print and println