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
-
Compiler
-
Assembler
-
Database software
-
Interpreter
C
Correct answer
Explanation
Database software is application software designed for end-users to manage and organize data. Compilers, assemblers, and interpreters are system programming tools that help develop other software.
-
terminal table
-
literal table
-
identifier table
-
reductions
A
Correct answer
Explanation
In lexical analysis, the terminal table (or literal table) describes all literals and constants used in the source program. It stores token information for literals during the scanning phase. The identifier table tracks variables, reductions are part of parsing, and terminal table is the correct terminology for literals.
-
Assembler
-
Compiler
-
Interpreter
-
Browser
-
Interpreter
-
An assembler
-
An operating system
-
A compiler
D
Correct answer
Explanation
It is a computer program that translates the entire user written program (known as source program) into machine language ( known as object program) at once. It's so fast so it used convert C programs into machine language.
-
Character Integrated Oriented
-
Character Input-Output
-
Console Input Output
-
Console Indirect Output
C
Correct answer
Explanation
This is the right option. Conio stands for Console Input Output.
-
Standard Input Output
-
Stadio Input Output
-
System Input Output
-
Standard Integrated Oriented
A
Correct answer
Explanation
This is correct. Stdio stands for Standard Input Output.
C
Correct answer
Explanation
It stands for formula translation. It is developed for mathematical and scientific problems. This language is used for scientific and engineering applications where more calculation power is needed than storage and retrieve facilities.
-
An operating system
-
A computer language
-
A language translator
-
None of these
-
line wise
-
entire programme at once
-
a set of programme at a time
-
none of these
A
Correct answer
Explanation
Interpreters process source code line by line, translating and executing each statement before moving to the next. This differs from compilers, which translate the entire program into machine code before execution. The "line wise" option accurately describes this sequential processing.
D
Correct answer
Explanation
PL/SQL is a block-structured language.
C
Correct answer
Explanation
SQL is a limited language allows you to directly interact with the database and manipulate objects & data.
-
Python
-
C++
-
C#
-
ASP.NET
-
Java
D
Correct answer
Explanation
ASP.NET is a framework and not a programming language.
-
Java
-
Visual Basic
-
Fortran
-
Oracle
B
Correct answer
Explanation
Visual Basic was historically the most widely used language for Windows application development due to its tight integration with Windows API, ease of use, and Microsoft's strong support. Java is cross-platform, Fortran is for scientific computing, and Oracle is a database company, not a programming language.
-
Windows 98
-
PASCAL
-
FORTRAN
-
C++
A
Correct answer
Explanation
Windows 98 is an operating system, not a programming language. PASCAL, FORTRAN, and C++ are all well-established programming languages used for different applications - from scientific computing to system programming.