Computer Knowledge

Programming Languages and Compilers

1,170 Questions

Programming languages and compilers involve the rules, syntax, and semantics used to write and execute software programs. Key areas include scripting languages, object oriented concepts, and parsing algorithms like top down parsers. Practice these computer science questions to build proficiency for technical and computer knowledge exams.

Object oriented languagesScripting languagesCompilers and parsersProgramming syntax

Programming Languages and Compilers Questions

Multiple choice
  1. High-level language

  2. Codes

  3. Programs

  4. Mnemonics

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Compilers and interpreters are software programs that translate high-level source code into machine-executable code.

Multiple choice
  1. ALGOL

  2. SNOBOL

  3. MIRANDA

  4. FORTRAN

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

ALGOL, SNOBOL, and FORTRAN were all languages used on early IBM mainframes. Miranda is a functional programming language developed much later (1985) and was not used on the IBM 7000 series.

Multiple choice
  1. C

  2. C++

  3. ADA

  4. FORTRAN

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

C++ is a well-known object-oriented programming language, being an extension of C with classes. C is a procedural language, and ADA and FORTRAN are also primarily procedural.