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. A combination of computer hardware

  2. A program which translates from one high-level language to another

  3. A program which translates from a high-level language to a machine-level language

  4. A program which translates from a machine-level language to a high-level language

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

Option (3) is correct.

Multiple choice
  1. High-level language

  2. Microcode

  3. Interrupt

  4. Computer organization

  5. Instruction set architecture

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

An instruction set, or instruction set architecture (ISA), is the part of the computer architecture related to programming, including the native data types, instructions, registers, addressing modes, memory architecture, interrupt and exception handling, and external I/O. An ISA includes a specification of the set of opcodes (machine language), and the native commands implemented by a particular processor.