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

  2. Processing

  3. Programming

  4. File

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

Coding refers to the process of writing instructions in a programming language that computers can execute. While programming is a broader term encompassing design and logic, coding specifically means writing the actual code. Processing is general computation, and file refers to data storage.

Multiple choice
  1. MS - OFFICE

  2. ORACLE

  3. JAVA

  4. FLASH

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

JAVA is a programming language. MS-OFFICE is application software, ORACLE is a database management system, and FLASH is animation software - none are programming languages themselves.

Multiple choice
  1. Peter notorn

  2. Patrick notron

  3. Dennis Ritchie

  4. David mark

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

Dennis Ritchie created the C programming language at Bell Labs in the 1970s. C became one of the most influential languages, serving as the foundation for many modern languages like C++, Java, and Python.

Multiple choice
  1. A programming language

  2. A run-time environment

  3. A class library

  4. all of the above

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

Java encompasses multiple components: the programming language syntax, the Java Virtual Machine (JVM) runtime environment that executes Java bytecode, and the extensive Java Class Library frameworks that provide pre-built functionality.

Multiple choice
  1. Java

  2. Microsoft Windows

  3. C

  4. All of these are programming languages

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

The question asks which is NOT a programming language. Java and C are well-known programming languages. Microsoft Windows is an operating system, not a programming language. Therefore, Microsoft Windows is the correct answer as it is the only option that is not a language used for programming.

Multiple choice
  1. batch control language

  2. task control language

  3. job control language

  4. none of these

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

Job control language is a scripting language used on IBM mainframe operating system to instruct the system on how to run a batch job or start a sub system.

Multiple choice
  1. target

  2. source

  3. block

  4. none of these

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

Source code is the original programming code written by developers in a programming language (like C++, Java, Python) before it is compiled into machine-readable executable code. Source code is human-readable and contains the logic and instructions that define the software's behavior. Target code refers to the compiled or translated output that computers execute.