Computer Knowledge

Programming Languages and Compilers

2,284 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. 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.

Multiple choice
  1. A structure allocates one common storage space for all its members.

  2. A union allocates storage space for all its members separately.

  3. A structure occupies lower memory space than union.

  4. We can access only one member of union at a time.

  5. All of the above

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

The statement is true about union. We can access only one member of union at a time because union allocates one common storage space for all its members.