Lecture 1 Flashcards

1
Q

Memory vs Storage

A

Memory is what computer uses to store/stock data temporarily…!

•While;

•Storage is where you save/put documents/data permanently…!

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

How does a user and an ICT engineer measure performance

A

A user of a computer measures its performance based on the time taken to execute a given job (program). On the other hand, an ICT engineer measures the performance of his system by the total amount of work done in a given tim

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

What is a computer

A

A computer is a machine designed to process, store, and retrieve data.

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

How does a computer display an image in the screen

A

Displaying an image on a screen is accomplished by moving an array of numbers to the video memory, each number representing a pixel of colour.

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

How does a computer play an mp3 audio file

A

To play an MP3 audio file, the computer reads an array of numbers from disk and into memory, manipulates those numbers to convert the compressed audio data into raw audio data, and then outputs the new set of numbers (the raw audio data) to the audio chip.

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

Mention the components of a computer

A

Hardware
Software
Liveware

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

Describe live ware

A

It represents the people who operate and interact with the computer system. This part makes decisions on how applications best suit their interest.

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

Describe live ware

A

It represents the people who operate and interact with the computer system. This part makes decisions on how applications best suit their interest.

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

Describe firmware

A

Firmware is a software permanently stored in the computer.

•It provides basic machine instructions that allow the hardware to function and communicate with other software running on a device.

Firmware provides low-level control for a device’s hardware.

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

Describe Processors

A

is an electronic device capable of manipulating data (information) in a way specified by a sequence of instructions.

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

What is a micro processor

A

A microprocessor (CPU) is a processor implemented (usually) on a single, integrated circuit

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

What is a micro controller

A

A microcontroller is a processor, memory, and some I/O devices contained within a single, integrated circuit, and intended for use in embedded systems.

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

What is a micro controller

A

A microcontroller is a processor, memory, and some I/O devices contained within a single, integrated circuit, and intended for use in embedded systems.

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

Why is the memory of a computer never empty

A

It always contains something, whether it be instructions, meaningful data, or just the random garbage that appeared in the memory when the system is powered up.

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

What is language architecture

A

The interface between the application programs and a high level langauge

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

What is instruction set architecture

A

It defines the interface between the basic machine instructions set and the runitme and I/O control

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

A different definition of computer architecture is built on four basic view points. what are they?

A

The structure,
The organisation,
The implementation, and
The performance.

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

What is structure

A

The structure defines the interconnection of various hardware components.

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

What is organization

A

The organisation defines the dynamic interplay and management of the various components.

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

What is implementation

A

The implementation defines the detailed design of hardwarecomponents.

21
Q

What is performance

A

The performance specifies the behaviour of the computer system

22
Q

What is computer architecuture

A

Computer architecture is a term used to refer to the design and organisation of the components that make up the computer system.

It includes the structure, the functionality and the interconnections among the components of the computer.

23
Q

Mention the types of computer architecutre

A

Von Neumann Architecture,
Harvard Architecture,
Modified Harvard Architecture, and
RISC & CISC Architectures.

24
Q

Describe the Von Neumann Architecture

A

This is the traditional architecture that most computers follow since 1940s. It is named after its inventor John Von Neumann.

– It consists of a CPU, memory, input/output devices and a bus system for communication.
– It uses a sequential execution model where instructions and data are stored in the same memory.

25
Q

Mention types of registers

A

Accumulator
Program Counter
Current Instruction Register
Memory Address Register
Memory Buffer Register

26
Q

Describe accumulator

A

This is a very special register that is used as a temporary store and also accumulates intermediate results.

27
Q

Describe program counter

A

All operations inside the CPU involve a fetch-decode-execute cycle being repeated over and over again. It is the job of the program counter to keep count of the place from which the next instruction is to be fetched.

When the instruction has been fetched, the PC automatically increases by one.

28
Q

Describe CIR

A

An instruction register (IR) is the part of a CPU’s control unit that stores the instruction currently being executed or decoded.

When an instruction is fetched from the memory it has obviously got to be put somewhere and it is the job of the current instruction register to store this instruction.

29
Q

Describe the Memory Address Register

A

This is a register that contains the address of the data that is being accessed in the main memory i.e. the address of the selected word in the memory.

30
Q

Describe the Memory Data Register

A

This is the register that holds the contents of the last selected word read from, or written to the main memory.

31
Q

Descrbie the Memory Buffer Registe

A

Memory Buffer Register stores instruction and data received from the memory and sent from the memory.

32
Q

How is instructions and data stored in the Havard Architecute

A

The instructions and data have different memory spaces with separate address, data, and control buses for each memory space.

33
Q

Mention key features of the von neumann archtiecture

A

A shared memory for storing both instructions and data. This allows for easier implementation and the possibility of self-modifying code.

A single data bus and a single address bus which means that instructions and data use the same communication path, resulting in the system fetching one item at a time.

A sequential execution model, in which instructions are executed one after another, in a linear fashion.

34
Q

Pros of the harvard architecture

A

It allows for simultaneous access to both and this results in improved performance.

It also features increased security

Harvard Architecture is to implement microcontrollers andDigital SignalProcessors (DSPs), where speed and efficiency are crucial factors.

35
Q

Describe the modified harvard architecute

A

This is a hybrid one, it combines features of both Von Neumann and Harvard Architectures.

It leads to the implementation cache memory for instructions and data, enhancing parallelism and performance.

It offers increased flexibility and are used as models for Modern processors, such as those found in personal computers and smartphone.

36
Q

Describe the RISC architecutre

A

AReduced Instruction Set Computeris a type of microprocessor architecture that utilises a small, highly-optimised set of instructions rather than the highly-specialised set of instructions typically found in other architectures.

37
Q

What is pipelining

A

Pipelining is a technique that allows for simultaneous execution of parts, or stages, of instructions to more efficiently process instructions

38
Q

Describe Complex Instruction Set Computer

A

Complex Instruction Set Computer (CISC) processors, on the other hand, provide a larger and complex instruction set that encapsulates multiple operations in a single instruction, but potentially require longer processing time.

39
Q

What is abus

A

A bus is a physical group of signal lines that have a related function.
Buses allow for the transfer of electrical signals between different parts of the computer system and thereby transfer information from one device to another.

40
Q

What is a data bus

A

the data bus is the group of signal lines that carry data between the processor and the various subsystems that comprise the computer.

41
Q

What is a width of bus

A

The “width” of a bus is the number of signal lines dedicated to transferring information.

42
Q

What is address bus

A

The address bus carries the address, which points to the location in memory that the processor is attempting to access.

43
Q

What is control bus

A

The Control bus - carries control signals from the processor to other components.

44
Q

Mention the six basic types of access that a processor can perform with external chips

A

write data to memory
write data to an I/O device
read data from memory
read data from an I/O device
read instructions from memory
perform internal manipulation of data within the processor.

45
Q

What is the formula for processor frequency

A

System bus frequency* multiplier

46
Q

Mention the categories of processors

A

32 bit - x86
Hybrid - x86-64
64Fbit- x64 or IA64

47
Q

What are interrupts

A

Interrupts (also known as traps or exceptions in some processors) are a technique of diverting the processor from the execution of the current program so that it may deal with some event that has occurred.

48
Q

Mention the categories of interrupts

A

Hardware interrupts
Software interrupts

49
Q
A