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
-
Common Language Runtime
-
Command Line Runtime
-
Custom Language Runtime
-
None
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.
-
Financial sector and engineering
-
Graphic design and education
-
None of these
-
Procedural
-
OOPs
-
Both
-
None
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.
-
Php Extension Repository language
-
Pharmacy Education Related Language
-
Practical Extraction and Report Language
-
Pretty Excellent Synchronization
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.
-
Java-Script and HTML
-
Java-Script and XML (Ajax)
-
C++ and XML
-
PHP and XML
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.