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. storage definition language

  2. query language

  3. the DML embedded in the general purpose language

  4. always an object oriented language

  5. always a non-procedural language

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

A host language is the DML embedded in the general purpose language.

Multiple choice
  1. client side

  2. server side

  3. client/server side

  4. none of above

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

PHP is a server-side scripting language that executes on the web server before sending HTML to the client's browser. Unlike JavaScript (client-side), PHP code runs entirely on the server and the browser never sees the PHP source.