Flashcards: Understanding Machine, Assembly, and High-Level Languages — 18 cards

All cards

1Question

Machine language — definition?

Answer

Binary instructions directly executed by the CPU.

2Question

Assembly language — role?

Answer

Uses mnemonics to represent machine instructions.

3Question

High-Level Languages — advantage?

Answer

Portable and easier to program across different hardware.

4Question

Compiler vs Interpreter — difference?

Answer

Compiler translates entire code before execution; interpreter translates line-by-line at runtime.

5Question

Loading — process?

Answer

Copying executable into memory for running.

6Question

Linking — purpose?

Answer

Combines object files, resolves references.

7Question

Relocation — function?

Answer

Adjusts addresses when loading at different memory locations.

8Question

Macros — role?

Answer

Automate code expansion before compilation.

9Question

Debugger — purpose?

Answer

Interactively find and fix program errors.

10Question

Process — definition?

Answer

Program in execution with resources and state.

11Question

Process Control Block — stores?

Answer

All info about a process, including state and resources.

12Question

Context Switch — mechanism?

Answer

Saves current process state, restores next process.

13Question

Interprocess Communication — purpose?

Answer

Enable data exchange and synchronization between processes.

14Question

Shared Memory — method?

Answer

Processes access common memory region for data sharing.

15Question

Message Passing — method?

Answer

Processes send/receive messages to communicate.

16Question

Operating System — role?

Answer

Manages hardware/software resources and acts as intermediary.

17Question

System Calls — function?

Answer

Request services from the OS.

18Question

Booting — process?

Answer

Starting the computer and loading the OS.

Test yourself with the quiz

Test your knowledge with 9 questions on Understanding Machine, Assembly, and High-Level Languages.

1. What is the key characteristic of machine language as described in the source?

2. What is the effect of using symbolic mnemonics in assembly language on the programming process?

Take the quiz →

Read the revision sheet

Review the complete course in the revision sheet for Understanding Machine, Assembly, and High-Level Languages.

See revision sheet →

Similar courses

Create your own flashcards

Import your course and AI generates flashcards in 30 seconds.

Flashcard generator