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
-
Java & C
-
mxml & as
-
C & C
-
java & javascript.
B
Correct answer
Explanation
Flex applications use MXML (Markup Language) for UI layout and ActionScript (as) for logic. Java, C, and JavaScript are not the core languages used in Flex development.
-
Java & C
-
mxml & as
-
C & C
-
java & javascript.
B
Correct answer
Explanation
Flex uses MXML (Markup Language) for declarative UI layout and ActionScript for programmatic logic. Java, C, and JavaScript are not the core languages of Flex.
-
COBOL
-
JAVA
-
REXX
-
VS PASCAL
B
Correct answer
Explanation
IMS historically supports mainframe-era languages including COBOL, Assembler, PL/I, and REXX. VS PASCAL is also supported in IBM mainframe environments. Java, however, is not natively supported in traditional IMS environments - it emerged later as part of the J2EE ecosystem and requires different integration approaches like IMS Connect or JDBC adapters.
-
Dennis Ritchie
-
Edsger Dijkstra
-
James Gosling
-
Louis Pasteur
C
Correct answer
Explanation
Java was created by James Gosling at Sun Microsystems in the early 1990s, originally called 'Oak.' The language was designed to be platform-independent using the Java Virtual Machine (JVM). Dennis Ritchie developed C, Dijkstra was a computer science pioneer known for algorithms, and Louis Pasteur was a biologist, not a programmer.
-
object oriented programming language
-
programming language
-
scripting language
-
database
D
Correct answer
Explanation
Oracle is a relational database management system (RDBMS) - it is database software, not a programming language, object-oriented language, or scripting language. While Oracle does have PL/SQL (a procedural language extension), Oracle itself refers to the database platform and software, not a language.
B
Correct answer
Explanation
Oracle is a relational database management system (RDBMS), not a programming language. Oracle Corporation provides the Oracle Database software, and while it includes PL/SQL as a procedural extension, 'Oracle' itself refers to the database platform. Option A incorrectly classifies Oracle as a programming language.
-
COncentrated Behavioral Orientation language
-
COmmon Behavioral Orientation language
-
COmmon Business Oriented Language
-
COncentrated Business Orientated language
C
Correct answer
Explanation
COBOL stands for COmmon Business Oriented Language. This name reflects its original purpose - a language designed for business, data processing, and administrative applications. Options A, B, and D incorrectly expand the acronym with 'Concentrated' or misspell 'Orientated.'
-
Java
-
.Net
-
Java Tech
-
.Net Tech
-
Job Cal Language
-
Job Control Language
-
Jobcal Control Language
-
None of the above
B
Correct answer
Explanation
JCL stands for Job Control Language, which is used on IBM mainframe systems (particularly z/OS and MVS) to define and execute jobs. It tells the operating system what programs to run and what resources are needed. 'Job Cal Language' and 'Jobcal Control Language' are not correct expansions.
-
Diamond
-
Java Virtual Machine
-
Java iButton
-
None of these
B,C
Correct answer
Explanation
The Java Ring's core technology is the Java iButton, which contains a Java Virtual Machine (JVM). The JVM enables the iButton to run Java programs, making both B and C correct answers.
-
In high level language (C)
-
Assembly language (low level)
-
Machine Language
-
All of the above
A
Correct answer
Explanation
Unix was originally written in assembly but was rewritten in C in 1973, making it the first major OS written in a high-level language. This portability was revolutionary.
-
List Programming
-
LISt Programming
-
List Instruction Set Programming
-
List Information Set Programming
B
Correct answer
Explanation
LISP stands for LISt Processing, named because the language's primary data structure and fundamental building block is the linked list. It's one of the oldest high-level programming languages, designed specifically for symbolic computation and artificial intelligence research. The capitalized 'LIST' highlights its core programming paradigm.
-
Common Object Business Oriented Language
-
Complete Object Business Oriented Language
-
Common Object BASIC Oriented Language
-
Common Oriented Business Object Language
A
Correct answer
Explanation
COBOL stands for Common Business-Oriented Language, designed specifically for business, finance, and administrative systems. It was created to be easily readable by non-technical programmers, using English-like statements for business data processing. The language remains widely used in legacy enterprise systems today.
-
FORmula TRANslation
-
FORmula TRANslator
-
FORmal TRANslation
-
FORmal TRANslator
B
Correct answer
Explanation
FORTRAN stands for FORmula TRANslation, designed primarily for numerical and scientific computing. It was the first high-level programming language, created to make scientific calculations easier by translating mathematical formulas directly into executable code. The name reflects its core purpose of simplifying formula translation for scientists and engineers.
-
Begin All Program Symbolic Instruction Code
-
Beginners' All-purpose Symbolic Information Code
-
Beginners' All-purpose System Instruction Code
-
Beginners' All-purpose Symbolic Instruction Code
D
Correct answer
Explanation
BASIC stands for Beginners' All-purpose Symbolic Instruction Code, designed to make programming accessible to beginners while remaining versatile enough for general use. It was created to help students learn programming concepts without getting overwhelmed by complex syntax. The 'All-purpose' indicates it can handle various types of programming tasks.