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. Control worlds

  2. Reserved words

  3. Control structures

  4. Reserved keys

  5. None of these

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

Reserved words are terms that programming languages set aside for specific purposes and cannot be used as identifiers or variable names. Examples include 'if', 'while', 'class', and 'return'. Control structures and control worlds are not the correct terminology.

Multiple choice
  1. Database

  2. COM

  3. Platform independent

  4. Platform dependent

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

Java is famous for its 'Write Once, Run Anywhere' capability, which makes it platform-independent.

Multiple choice
  1. Common Business oriented language

  2. Computer oriented Business Operations language

  3. Common Business Operations Language

  4. None of the above

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

COBOL stands for Common Business Oriented Language. It was one of the earliest high-level programming languages and is still widely used in business, finance, and administrative systems.

Multiple choice
  1. Assembly Language

  2. Machine Language

  3. HLL

  4. 4GL

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

Assembly language uses mnemonics (short codes like MOV, ADD, SUB) to represent machine-level instructions, making it easier for humans to read than pure binary machine code.