(1) Basics Flashcards

1
Q

Definition Data

A

Raw facts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Definition Information

A

Data with context or meaning

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How is information represented in digital computers?

A

In digital computers, information is represented as Bits. A Bit is the smallest unit of storage used in computing and the quantity of information required to distinguish two mutually exclusive states (0 and 1) from each other

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How can we store strings?

A
  1. Split up into letters

2. Code letters with numbers (ASCII)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How can we store images?

A
  1. Split up into pixels
    - Save pixel positions
    - Code colors of pixels as numbers (RGB)
  2. Store in binary format
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How can we store sound?

A
  1. Sample sound amplitude

2. Quantize as numbers (PCM)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which basic components does a computer have?

A
  • Memory
  • The Arithmetic-Logic-Unit (ALU)
  • The Control Unit
  • Input/Output Devices
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Definition Memory

A
  • Stores the program and the data (stored program architecture)
  • Stores the state of our computation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Definition Arithmetic-Logic-Unit

A
  • Performs the arithmetic and logic operations

- It is the “brain” of the computer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Definition Control Unit

A
  • Orchestrates the execution of the program
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Definition Input/Output Devices

A
  • Transfer data between peripheral devices and memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What types of memory exist and what are their characteristics?

A

Internal Memory:

  • Typically fast, not that large and volatile (requires energy)
  • Examples: RAM, Caches, Registers

External Memory:
- Typically large, slow but persistent (keeps content without power)
Examples: SSD, HDD

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the key concept of the von Neumann architecture?

A
  • Data and program are stored in the same memory

- Operations (program) are fetched from memory and executed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Definition Program

A

A series of instructions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which different levels of abstractions exist for programs?

A
  • High-level programming language (y = 4 + 3)
  • Assembler (add #4,#3,2198)
  • Machine language (01110101010)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Definition Machine Language

A

Binary representation of a computer‘s

instruction set

17
Q

Definition Assembly Language

A

Introduces mnemonics, symbolic addresses

18
Q

Definition High-level programming languages

A

Offer advanced constructs for data specification (decimal numbers, strings) and control flow

19
Q

How can high-level constructs be transformed to machine language?

A

Compiler or Interpreter