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 qn3
  1. Common Language Runtime

  2. Command Line Runtime

  3. Custom Language Runtime

  4. None

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

CLR stands for Common Language Runtime, which is the execution engine of .NET that manages code execution, memory management, and other services. It is not related to command line or custom language runtimes.

Multiple choice perl
  1. Procedural

  2. OOPs

  3. Both

  4. None

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

Perl is a versatile programming language that supports both procedural programming (scripts with subroutines and control flow) and object-oriented programming (creating objects, classes, and using inheritance). While Perl was originally procedural, Perl 5 introduced full OOP support with packages, bless operator, and method invocation. The 'Both' option correctly captures Perl's dual nature.

Multiple choice general knowledge science & technology
  1. Php Extension Repository language

  2. Pharmacy Education Related Language

  3. Practical Extraction and Report Language

  4. Pretty Excellent Synchronization

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

PERL is officially known as Practical Extraction and Report Language. It was designed by Larry Wall for text processing and report generation, though some later retroactively expanded it to Pathologically Eclectic Rubbish Lister as a humorous backronym.

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.