Computer Knowledge

Programming Languages and Compilers

2,284 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 general knowledge
  1. True

  2. False

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

COBOL (Common Business-Oriented Language) remains one of the most widely used programming languages in mainframe systems, particularly in banking, insurance, and enterprise legacy systems. Its design focuses on business data processing and remains crucial for many large organizations. Despite newer languages, COBOL continues to power critical mainframe applications worldwide.

Multiple choice general knowledge science & technology
  1. Java

  2. BCPL

  3. C

  4. PL/I

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

Dennis Ritchie created the C programming language at Bell Labs specifically to develop the UNIX operating system on the PDP minicomputer. C was designed as a high-level language that could still write efficient system software, making UNIX portable across different hardware platforms.

Multiple choice general knowledge science & technology
  1. J.A. Baughman

  2. Dennis Ritchie

  3. A.Evans Jr

  4. Ted Kaehler

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

Dennis Ritchie developed the C programming language at Bell Telephone Laboratories (Bell Labs) in the early 1970s. C was created for developing the UNIX operating system and became one of the most influential programming languages in history.

Multiple choice general knowledge science & technology
  1. David Gelernter

  2. James Gosling

  3. David Kaminsky

  4. Scott Wallace

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

Java was created by James Gosling at Sun Microsystems in 1995, originally called 'Oak' and then 'Green' before being named Java. Gosling developed the language as a platform-independent code for consumer devices. David Gelernter is known for work on parallel computing and tuple spaces.

Multiple choice general knowledge
  1. First Generation Computers

  2. Second Generation Computers

  3. hird Generation Computers

  4. Fourth Generation Computers

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

Third Generation Computers (1965-1971) used integrated circuits (ICs) and were the first to use structured programming languages like C, COBOL, and FORTRAN. Second Generation used assembly language, while Fourth Generation saw the rise of high-level languages and personal computing. First Generation used machine language with vacuum tubes. The option label 'hird' is a typo for 'Third'.

Multiple choice general knowledge science & technology
  1. Michael

  2. Dennis MacAlistaire Ritchie

  3. Peter Copeland

  4. Craig Ritchie

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

Dennis MacAlistaire Ritchie created the C programming language at Bell Labs in the early 1970s. C became one of the most influential programming languages and served as the foundation for many subsequent languages including C++, Java, and Python. Ritchie's work fundamentally shaped modern computing and software development.

Multiple choice general knowledge science & technology
  1. John Kemeny & Thomas Kurtz

  2. Dennis Ritchie

  3. Grace Hopper

  4. Anders Hejlsberg

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

Dennis Ritchie created the C programming language at Bell Labs in the early 1970s. John Kemeny and Thomas Kurtz created BASIC. Grace Hopper developed FLOW-MATIC and worked on COBOL. Anders Hejlsberg created Turbo Pascal and later C# and TypeScript.

Multiple choice general knowledge science & technology
  1. Dennis Ritchie

  2. Grace Hopper

  3. John Backus

  4. James Gosling

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

James Gosling created Java at Sun Microsystems in the mid-1990s. It was originally called 'Oak' and designed for interactive television. Dennis Ritchie created C. John Backus led the development of FORTRAN. Grace Hopper worked on COBOL and early programming language development.