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
C
Correct answer
Explanation
The question is poorly framed - there's no single 'computer language of the Internet.' However, Java became historically significant for web applications due to platform independence and applets. BASIC and COBOL are older languages, Pascal is educational. The question likely expects 'Java' based on its web prominence.
C
Correct answer
Explanation
C++ was originally named 'C with Classes' by its creator Bjarne Stroustrup when he first developed the language at Bell Labs starting in 1979. The name was changed to C++ in 1983, with the '++' being from the C increment operator. 'C' and 'C+' were different languages/proposals, not earlier names of C++.
-
Sanskrit
-
English
-
French
-
Hindi
-
AT&T
-
bell atlantic
-
IEEE
-
microsoft
A
Correct answer
Explanation
The C programming language was developed at AT&T Bell Labs by Dennis Ritchie and Ken Thompson between 1969-1973. Bell Atlantic is a telecom company, IEEE is a professional organization, and Microsoft didn't exist then.
-
English
-
Binary
-
Trinary
-
java
B
Correct answer
Explanation
Computers work on binary language at the hardware level. Binary uses only two digits - 0 and 1 - which correspond to electrical states (off/on). All data and instructions are ultimately represented in binary, which the computer's processor can directly execute. Computers do not natively work on English, Trinary (base-3), or Java (which is a high-level programming language).
-
SmallTalk
-
Simula
-
Java
-
C++
B
Correct answer
Explanation
Simula, developed in the 1960s (Simula 67), is widely considered the first object-oriented programming language. It introduced objects, classes, inheritance, and subclasses. Smalltalk (1972) popularized OOP principles but came later. Java and C++ were developed in the 1990s, well after Simula established the OOP paradigm.
-
Machine Language
-
An algorithm
-
A debugged program
-
None of these
A
Correct answer
Explanation
A compiler converts high-level source code into low-level machine code that the computer processor can execute directly. An algorithm is a procedure, not a translation target. A debugged program is a result, not the compilation output.
-
Guido Von Rossum
-
Dennis Ritchie
-
Cjarne Stroustrup
-
Larry Wall
D
Correct answer
Explanation
Larry Wall, creator of Perl, made this famous quote about writing assembly-like code in any language, making option D correct. Guido Van Rossum (A) created Python, Dennis Ritchie (B) created C, and Bjarne Stroustrup (C) created C++ (note the typo in his name).
-
Machine Language
-
High Language
-
Assembly Language
-
None
A
Correct answer
Explanation
First generation computers (1940s-1950s) used machine language directly - the lowest-level binary code that computers execute. Assembly and high-level languages were developed later in second and third generations to make programming more human-readable.
D
Correct answer
Explanation
Linux is an operating system kernel and operating system family, NOT a computer programming language. C, Perl, and Fortran are all well-established programming languages used for various purposes - C for systems programming, Perl for text processing and scripting, and Fortran for scientific computing.
-
jPDL
-
BPEL
-
pageflow
-
BPMN
-
All of the above
E
Correct answer
Explanation
jBPM has evolved to support multiple process definition languages: jPDL (original), BPMN (current standard), BPEL for web services orchestration, and pageflow for web navigation flows. This versatility makes it widely applicable.
B
Correct answer
Explanation
The Linux kernel is primarily written in the C programming language, chosen for its efficiency, low-level access, and portability across hardware architectures. While some components may use assembly language for architecture-specific optimizations, C remains the core language. Linus Torvalds specifically selected C for its balance between high-level structure and low-level control. Option B correctly identifies C as the kernel's primary language.
-
written in java code
-
zero code tool
-
written in perl language
-
All of the above
A,B
Correct answer
Explanation
Intalio is a Business Process Management system built using Java code for its core functionality. It markets itself as a 'zero code tool' because business users can create processes through visual modeling without writing code. This dual nature - Java-based foundation but code-free user experience - makes both A and B correct statements. The claimed answer (A, B) correctly identifies these complementary characteristics.
-
FORTRAN, LISP, PASCAL, MODULA-2, ADA
-
JAVA, JAVASCRIPT
-
VISUAL BASIC, VISUAL C, VISUAL JAVA
-
NONE OF THESE
C
Correct answer
Explanation
Visual Basic, Visual C, and Visual Java are Microsoft Windows-specific development products. FORTRAN, LISP, Pascal, Modula-2, and Ada are all available on Linux through GCC and other compilers. Java and JavaScript are fully supported on Linux. The Visual Studio products are Windows-only.
-
File Translation
-
Format Translation
-
Formula Translation
-
Floppy Translation
C
Correct answer
Explanation
FORTRAN is a programming language developed by IBM in the 1950s. The name comes from 'Formula Translation' because it was designed for scientific and engineering calculations involving mathematical formulas. 'File Translation' and 'Format Translation' are incorrect expansions.