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. Java

  2. Perl

  3. Interpreter

  4. Assembly language

  5. Translator

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

An assembly language is a low-level programming language. An assembler is a program for converting instructions written in low-level symbolic code into machine code.

Multiple choice
  1. In this type of language, programs can be divided into objects.

  2. Prime focus is on functions and procedures that operate on data.

  3. Data moves freely around the systems from one function to another.

  4. Program structure follows Top Down Approach.

  5. In this type of language, large programs are divided into small programs called functions.

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

Object is a feature of object oriented language. Objects are not available in structured programming languages.

Multiple choice
  1. Query language

  2. Relational algebra

  3. Tuple relational calculus

  4. DML precompiler

  5. DBA

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

This is a procedural query language that consists of a set of operations that takes one or two relations as input and produces a new relation as their result.

Multiple choice
  1. a and b

  2. b and c

  3. a and d

  4. b, c and d

  5. a, b and d

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

Both of statement (a) and (d) are incorrect about C language. a) C language was developed at Bell Laboratories in 1972 by Dennis Ritchie. d) C language is a structure oriented programming language.