computer organisation Flashcards

1
Q

explain the machine instruction cycle

A

thats when a computer fetches the instruction from its memory and then executes it
first step in the fetch-execute cycle is fetching the instruction.
the CPU fetches this from the main memory (RAM) and stores
it in the CPU temporary memory, called the registers.
second step is decoding the instruction - CPU has codes like policemen do for what to do with the data.

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

explain it more detailed(the fetch execute computer cycle)

A
  1. fetch:
    PC -> MAR (the adress of the next instruction is copied onto the MAR from PC) -> RAM -> (data is fetched using the address from MAR and sent to the MDR) MDR -> CIR (the instruction is stored in the MDR which is the copied into the CIR) ->
  2. decode & execute:
    CU (the instructions are then sent to the CU which makes changes to the ALU, ALU then executes the instruction nd stores it in the accumulator if needed.) ->
  3. store:
    Accumulator (stores the results of the executed instruction)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

from where to where is the address bus?

A

from MAR to Memory

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

from where to where is the data bus?

A

from ALU or memory to the Instruction decoder

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

what are the features of the memory in CPU

A

no permanent (only registers)

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

RAM features?

A

volatile

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

what is primary storage?

A

cache and RAM

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

whats the secondary storage?

A

hard drive

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

what is offline storage?

A

CD-RW (cede)
USB thumb drive
tape drive

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

whats the hierarchy of operating system?

A

under all software there are application (7 types but never mentioned which ones so I assumed that that wont be on the test) software and system software (operating system, utilities, drivers and libraries)

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

what are the functions of an operating system

A

provides a user interface
does memory management
does peripheral management
allows multi-tasking
provides security

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

present user interface

A

(OS provides) a link between the user and the computer hardware
some types of user interfaces:
- graphical User Interfaces (GUIs) that have menus and icons,
- command Line Interfaces (CLIs) where the user types in codes,
- natural Language Interface (NLIs) where the user speaks to the
interface
- menu Based Interface (MBIs) which gives the user a selection of
options.

I ADVICE YOU TO GOOGLE EACH AND MAKE A SCETCH OF IT

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

present memory management

A

keeping track of storage divices like HDD and controlling which application has access to which area of memory (RAM)
each location in memory can be read, modified, and written to by the OS, when the memory location is full the OS sends a confirmation message. similarly, the OS provides file management services by sorting out where data is stored on the disk drives and memory.
The OS allows users to organise files in folders as well as to copy and delete files.
examples are file manager or finder on mac and memory manager

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

present peripheral management

A

keyboard, mouse, monitor and printers are controlled through device drivers.

a device driver is a software program which allows hardware devices to be used by the OS. They act as translators between the devices and the computer system.

example would printing

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

present multitasking

A

the OS coordinates the working of different programs by allocating the CPU time between different programs based on time and priority of the software application.

each task running is given a slice of time, or a turn on the CPU.

each task has to wait its turn unless it
is given a higher priority by the OS in which case it gets more or longer time slices.

exmple - threads (111222333) getting intertwined so that theyre in an even order (123123123) in the scheduler and then cpu deals with them in that order (so tehyre all dealt with at the same time)

17
Q

present security

A

usernames and passwords

examples
logining

18
Q

recap. list functions of the os

A

provides a user interface
does memory management
does peripheral management
allows multi-tasking
provides security

19
Q

outline the use of a range of applications software

A
20
Q

what are the common application softwares

A

word processors (programm for storing and managing plain text)
spreadsheets (same but with tables)
database management systems (DBMS)
email clients (programme to manage email but not like website)
web browsers
computer aided design (CAD)
graphic processing software

21
Q

what are the common features of applications

A

toolbars, menus, dialogue boxes and GUI components

22
Q

give me an example of certain parts of the interface that are provided by libraries in the OS and certain parts that are specific to each application

A

the menu bar and buttons are standard, but
the specifics/pictures are up to the individual application

23
Q

whats a bit

A

0 or 1

24
Q

whats a byte

A

eight bits

25
Q

whats a binary

A

two values possible

26
Q

whats a denary

A

ten values possible

27
Q

whats a hexadecimal

A

16 values possible

28
Q

what are the four general ways that the data may be represented in

A

a string
a number
a character
hex (colour code)

29
Q

difference between ascii and unicode

A

ascii (XXXX XXXX) only can represent 128 characters and unicode can like 143000 (XXXX XXXX XXXX XXXX)