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

Multiple choice
  1. Compiler

  2. Assembler

  3. Database software

  4. Interpreter

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. terminal table

  2. literal table

  3. identifier table

  4. reductions

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. Interpreter

  2. An assembler

  3. An operating system

  4. A compiler

Reveal answer Fill a bubble to check yourself
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.

 

Multiple choice
  1. Character Integrated Oriented

  2. Character Input-Output

  3. Console Input Output

  4. Console Indirect Output

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

This is the right option. Conio stands for Console Input Output.

 

Multiple choice
  1. Standard Input Output

  2. Stadio Input Output

  3. System Input Output

  4. Standard Integrated Oriented

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

This is correct. Stdio stands for Standard Input Output.

 

Multiple choice
  1. An operating system

  2. A computer language

  3. A language translator

  4. None of these

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

A language translator

Multiple choice
  1. line wise

  2. entire programme at once

  3. a set of programme at a time

  4. none of these

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. Java

  2. Visual Basic

  3. Fortran

  4. Oracle

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. Windows 98

  2. PASCAL

  3. FORTRAN

  4. C++

Reveal answer Fill a bubble to check yourself
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.