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
-
Java-Script and HTML
-
Java-Script and XML (Ajax)
-
C++ and XML
-
PHP and XML
A
Correct answer
Explanation
PHP is a recursive acronym that originally stood for 'Personal Home Page' but now means 'PHP: Hypertext Preprocessor.' It's a server-side scripting language designed for web development, which explains the 'Hypertext' and 'Preprocessor' parts of its name.
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.
-
Cobol
-
Pascal
-
Fortran
-
None of the Above
B
Correct answer
Explanation
Niklaus Wirth developed Pascal in the late 1960s/early 1970s. It was named after mathematician Blaise Pascal and designed to teach structured programming. COBOL was developed by Grace Hopper's team, and FORTRAN by IBM.
-
lambda calculus
-
Lisp
-
Simula
-
Prolog
-
lambda calculus
-
Lisp
-
Simula
-
Prolog
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.
-
John Atanasov
-
Niklaus Wirth
-
Ken Thompson
-
B. Jayarman
B
Correct answer
Explanation
Niklaus Wirth designed Pascal in 1968-69 as a language for teaching structured programming. It was named after the French mathematician Blaise Pascal and influenced many later programming languages.
-
J.A. Baughman
-
Dennis Ritchie
-
A.Evans Jr
-
Ted Kaehler
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.
-
David Gelernter
-
James Gosling
-
David Kaminsky
-
Scott Wallace
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.
-
First Generation Computers
-
Second Generation Computers
-
hird Generation Computers
-
Fourth Generation Computers
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'.
-
Michael
-
Dennis MacAlistaire Ritchie
-
Peter Copeland
-
Craig Ritchie
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.
-
John Kemeny & Thomas Kurtz
-
Dennis Ritchie
-
Grace Hopper
-
Anders Hejlsberg
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.
-
Dennis Ritchie
-
Grace Hopper
-
John Backus
-
James Gosling
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.