Ift 212 ( Computer Architecture And Organization) Flashcards

(34 cards)

1
Q

What is computer architecture and draw a diagram of von Newman computer

A

This is the study of the real between hardware software and instruction

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

What is a copy and what are its components

A

A cpu is the hard ware component of a computer system responsible for executing instructions and processing data

Components
Timing and control circuits
. ALU
. High speed register storage is a

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

What is a machine language

A

A machine language is a computers natural language that consists of a string of binary y numbers (0 and 1) and instructs the computer to perform its most basic operation one at a time.

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

Advantage and disadvantages

A

Advantage
. It uses the computer’s storage efficiency
. It takes less time to process than any other programming language

Disadvantage
. It is time consuming
. It is very tedious to write
. It is subject to human error
. It is expensive in program preparation and debugging stages

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

Low level language

A

Is one that is designed to be very close to the underlying computer hardware with little to no abstraction

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

What is an assembly language and assembler

A

. An assembly language is a low level language that is specifically to a computer’s architecture.

. An assembler is a utility program used to translate assembly language code into the target computer’s machine code.

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

What is high level language

A

Is a programming language designed for human readability and ease of use

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

Advantages and disadvantages of low level language

A

Advantages
1) it is more efficient than machine language
2) it is easier to use
3) it man be useful for security reasons

Disadvantage
1) it is designed to a particular processor
2) it is hard to get an assembler
3) it cannot what is be understood by the computer unless translated to machine code

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

What is a compiler

A

A compiler is a special program that is used to translate code written in high level language to machine code

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

Advantages and disadvantage o high level language

A
  • compilers are easy to get
  • it is easier to understand that any other programming language
  • is it easier to use than any other programming language

Disadvantage
* it takes more time to princess than any other programming language

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

What is data compression

A

It is the process of reducing the size of files and data in order to save space or speed up transmission

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

What are the types of data compression

A

1] lossless compression - maintains data integrity i.e after compression and decompression the resulting image is exactly the same as the uncompressed image

2] lossy compression- does not maintain data integrity i.e the decompressed image is similar but not exactly the same as the initial image.

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

list the characteristics of data compression methods

A

1]symmetric method- compresses and decompresses images data in the same amount of time.

2] asymmetric method- might take a long time to compress i age but decompression would be rapid.

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

what is instruction set

A

also known as instruction set architecture is a set of commands a computer processor can understand and execute.

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

what does the instruction set consist of

A

addressing mode, instructions, native datatypes, registers, memory architecture, interrupt, external I/O,exception handling

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

list the ISA component

A

1] storage cells - registers and memory
2] machine instruction set- set of possible operations
3] instruction format- size and meaning of fields within the instruction

15
Q

give examples of some instruction set and what they do

A

1] ADD- add two numbers
2] COMPARE- compare two numbers
3] IN- input information from a device e.g keyboard
4] JUMP- jump to a designated RAM address
5] JUMP if- condition statement to jump to a designated RAM address
6] LOAD- load data from the RAM to the cpu
7] OUT- output data to a device e.g monitor
8] STORE- save data in the RAM

15
Q

what does instructions need to specify and the diagram for the basic instruction life cycle

A

1] what operation to perform
2] where to find the operand or operands
3]place to store the result
4] location of the next instruction

16
Q

list the classes of instructions

A

1] data movement instructions - these are instructions that are used to transfer information from one location to another within a computer system e.g MOV, LOAD, STORE, IN/OUT

2] arithmetic and logic instructions- these are instructions that perform mathematical and logical operations on data e.g ADD,, SUB, MUL, AND, OR, NOT

3] branch/ control flow instruction- are instruction that change the flow of execution in a program based on certain condition. e,g JUMP IF, LOOP

17
Q

classification of instruction set

A

1] operand storage in CPU
2] number of explicit operands per instruction
3] operand location
4] operation
5] type and size of operand

18
Q

list the type of internal storage in the CPU

A

1] a stack- operands are implicitly on top of the stack
2] accumulator- one operand is implicitly the accumulator.
3] a set of registers- each operands are specific registers or memory locations

registers has been in use because
1]faster than memory
2] easy for compiler to use
3] can be used more effectively

19
Q

what is addressing mode

A

these are the ways architecture specify the address of the object they want to access

20
Q

why is choosing displacement field size important

what does the encoding of addressing modes depend on

A

because it directly affects instruction length

. addressing modes and the degree of independence between opcodes and modes

21
Q

how are addressing modes encoded

A

1]for small number of addressing mode or opcode/ addressing mode can be encoded in opcode

2] for a larger number of combination, typically a seperate address specifier is needed for each operand

22
what are the conventions for ordering the bytes within a word
. little endian . big endian
23
what is a subroutine call
this is an instruction that temporarily tells the CPU to jump to to a separate block of code {called a subroutine}execute it and the return to continue from where it left of.
24
what is memory hierarchy
it is the hierarchical arrangement of storage in current computer architecture where each level of the hierarchy is of higher speed, lower latency, and is of smaller size that the lower levels.
25
What is off line storage system
This stores data in electronic form ( usually optical or magnetic) on media that is not connected to the computer while the program that needs the data is running eg magnetic tape optical disk
26
What is near line storage medium
Data is store in a media that the system holds in a special jukebox device that can automatically mount the media when a program requests for it Hard storage copy is simply print out of some data
27
What is latency
Latency is the combined delay between input or command and the desired output
28
What is cycle time
Cycle time ( measures in nanoseconds) is the time between the start of one random RAM access to the time when to access can be started Cycle time consists of latency and transfer time
29
What is interleaving
It is the process of increasing memory throughput by dividing it into individual banks
30
What is fault tolerance and reliable computing
Deals with the numerous issues part aiming to different aspects of system development use and maintenance
31
List the two common ways tge industry expresses a systems ability to tolerate failure and explain
1) reliability - is the likelihood that a system will stay operational for the rest of a mission 2) availability- expresses the fraction of times a system is operational