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
-
Coding
-
Processing
-
Programming
-
File
A
Correct answer
Explanation
Coding refers to the process of writing instructions in a programming language that computers can execute. While programming is a broader term encompassing design and logic, coding specifically means writing the actual code. Processing is general computation, and file refers to data storage.
-
MS - OFFICE
-
ORACLE
-
JAVA
-
FLASH
C
Correct answer
Explanation
JAVA is a programming language. MS-OFFICE is application software, ORACLE is a database management system, and FLASH is animation software - none are programming languages themselves.
-
Peter notorn
-
Patrick notron
-
Dennis Ritchie
-
David mark
C
Correct answer
Explanation
Dennis Ritchie created the C programming language at Bell Labs in the 1970s. C became one of the most influential languages, serving as the foundation for many modern languages like C++, Java, and Python.
-
A programming language
-
A run-time environment
-
A class library
-
all of the above
D
Correct answer
Explanation
Java encompasses multiple components: the programming language syntax, the Java Virtual Machine (JVM) runtime environment that executes Java bytecode, and the extensive Java Class Library frameworks that provide pre-built functionality.
-
Control worlds
-
Reserved words
-
Control structures
-
Reserved keys
-
None of these
B
Correct answer
Explanation
Option (2) is the correct answer.
-
4GLs
-
macro languages
-
object-oriented languages
-
visual programming languages
-
None of these
D
Correct answer
Explanation
Visual programming languages like VBA (Visual Basic for Applications) are built into user applications such as Microsoft Word and Excel. They allow users to automate tasks and customize application behavior through programming.
-
Java
-
Microsoft Windows
-
C
-
All of these are programming languages
B
Correct answer
Explanation
The question asks which is NOT a programming language. Java and C are well-known programming languages. Microsoft Windows is an operating system, not a programming language. Therefore, Microsoft Windows is the correct answer as it is the only option that is not a language used for programming.
B
Correct answer
Explanation
Programming languages on the .Net framework compile into an intermediate language known as MSIL.
-
batch control language
-
task control language
-
job control language
-
none of these
C
Correct answer
Explanation
Job control language is a scripting language used on IBM mainframe operating system to instruct the system on how to run a batch job or start a sub system.
-
application program
-
source program
-
assembler program
-
None of these
-
-
B
Correct answer
Explanation
It is a program written by a programmer, which is converted into an object program, written in machine language, by the compiler.
-
High level
-
Low level
-
Assembly
-
Machine level
-
Compiler
C
Correct answer
Explanation
Assembly consists of set of symbols and letters in which instructions are given to the computer.
-
Compiler
-
Linker
-
Interpreter
-
Loader
-
None of these
C
Correct answer
Explanation
It is a program which reads a source program and translates the source program instruction by instruction.
-
target
-
source
-
block
-
none of these
B
Correct answer
Explanation
Source code is the original programming code written by developers in a programming language (like C++, Java, Python) before it is compiled into machine-readable executable code. Source code is human-readable and contains the logic and instructions that define the software's behavior. Target code refers to the compiled or translated output that computers execute.
-
PROLOG
-
JAVA
-
FORTRAN
-
PRADESH
-
COBOL
D
Correct answer
Explanation
This is the correct answer.
-
PASCAL
-
COBOL
-
LISP
-
FORTRAN
-
SNOBOL
D
Correct answer
Explanation
FORTRAN was the first programming language.