Lesson 2: Computer System Structure Flashcards

1
Q

set of integrated devices that input, output, process, and store data and information

A

Computer System

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

basic, complete and functional hardware and software setup with everything needed to implement computing performance

A

Computer System

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

Four Main Structural Elements of a Computer System (PMIS)

A

Processor, Main Memory, I/O Modules, System Bus

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

[Main Structural Elements of a Computer System] controls the operation of the computer and performs data processing functions

A

Processor

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

[Main Structural Elements of a Computer System] commonly known as central processing unit (CPU)

A

Processor

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

[Main Structural Elements of a Computer System] stores data and programs which is typically volatile

A

Main Memory

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

[Main Structural Elements of a Computer System] moves data between the computer and its external environment

A

I/O Modules

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

[Main Structural Elements of a Computer System] provides communication among processors, main memory and I/O modules

A

System Bus

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

startup sequence that starts the operating system of a computer when it is turned on

A

Booting

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

the initial set of operations that the computer performs when it is switched on

A

Boot Sequence

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

program whose task is to load a bigger program, such as the operating system

A

Boot Loader

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

Stages of Linux Boot Process (BMGKIR)

A

BIOS
MBR
GRUB
Kernel
Init
Runlevel

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

What does BIOS stand for?

A

Basic Input/Output System

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

What does BIOS do?

A

—Performs some system integrity checks
—Searches, loads, and executes the boot loader program
—Loads and executes the MBR boot loader

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

What does MBR stand for?

A

Master Boot Record

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

Where is MBR located?

A

First sector of the bootable disk

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

Three components of MBR (PPM)

A

Primary boot loader info (first 446 bytes)
Partition table info (next 64 bytes)
MBR validation check (last 2 bytes)

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

What does MBR do?

A

Loads and executes the GRUB boot loader

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

What does GRUB stand for?

A

Grand Unified Bootloader

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

What does GRUB do?

A

—displays a splash screen, waits for few seconds, if you don’t enter anything, it loads the default kernel image as specified in the grub configuration file
—loads and executes Kernel and initrd images

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

What does Kernel do?

A

—mounts the root file system as specified in the “root=” in grub.conf
—executes the /sbin/init program

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

what does initrd stand for?

A

Initial RAM Disk

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

What is initrd?

A

—used by kernel as temporary root file system until kernel is booted and the real root file system is mounted
—contains necessary drivers compiled inside, which helps it to access the hard drive partitions, and other hardware

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

What does Init do?

A

—looks at the /etc/inittab file to decide the Linux run level
—identifies the default initlevel from /etc/inittab and uses that to load all appropriate program
—execute ‘grep initdefault /etc/inittab’ on your system to identify the default run level

25
Available run levels
0 – halt 1 – Single user mode 2 – Multiuser, without NFS 3 – Full multiuser mode 4 – unused 5 – X11 6 – reboot
26
What is the default run level?
3 or 5
27
Stages of Normal PC Boot Process (SBIL)
Startup of PC BIOS to POST Identify boot device Load OS
28
Categories of Booting Process (HS)
Hard (Cold) Booting Soft (Warm) Booting
29
[Categories of Booting Process] when computer starts form the very beginning or completely dead state, can be considered as a self-test power-on mode for computers
Hard (Cold) Booting
30
[Categories of Booting Process] restarting the computer and allows the system to load OS again, which means that the system is already turned on from the beginning. Mostly, performing a soft boot up when the PC was not shut down properly or in case of any technical issue while operating it.
Soft (Warm) Booting
31
Two Fundamental Approaches to OS Interface (CG)
Command-line Interface (CLI) Graphical User Interface (GUI)
32
[Two Fundamental Approaches to OS Interface] allows users to directly enter commands to be performed by the operating system
Command-Line Interface (CLI)
33
[Two Fundamental Approaches to OS Interface] allows users to interface with the operating system via icons or graphics by means of point-and-click operations
Graphical User Interface (GUI)
34
Some Advantages of GUI (CUM)
CONFIRM: visually acknowledges and confirms each type of activities performed by the users UNDERSTAND: easy to understand MULTITASKING: enables the users to perform a number of tasks at the same time
35
Rough categories of I/O devices (SUCO)
Storage User Interface Communications Other
36
How devices communicate with the computer
Signals sent over wires or air
37
How devices connect with the computer
Ports
38
common set of wires connecting multiple devices
Bus
39
include rigid protocols for the types of messages that can be sent across the bus and the procedures for resolving contention issues
Bus
40
Bus Types Commonly Found in a Modern PC (PESD)
PCI Bus Expansion Bus SCSI Bus Daisy-chain Bus
41
[Bus Types Commonly Found in a Modern PC] connects HIGH-SPEED HIGH-BANDWIDTH DEVICES to the memory subsystem and the CPU
PCI Bus
42
[Bus Types Commonly Found in a Modern PC] connects SLOWER BANDWIDTH DEVICES, which typically deliver data one character at a time with buffering
Expansion Bus
43
[Bus Types Commonly Found in a Modern PC] connects a number of SCSI devices to a common SCSI controller
SCSI Bus
44
[Bus Types Commonly Found in a Modern PC] a string of devices is connected to each other like beads on a chain, and only one of the devices is directly connected to the host
Daisy-chain Bus
45
Communicate with devices associated with each port
Registers
46
Registers may be 1-4 bytes in size and may include...? (IOSC)
Data-IN Register Data-OUT Register Status Register Control Register
47
[Registers] read by the host to get input from the device
Data-in Register
48
[Register] written by the host to send output
Data-out Register
49
[Register] has bits read by the host to ascertain the status of the device
Status Register
50
[Register] has bits written by the host to issue commands or to change settings of the device
Control Register
51
Another technique for communicating with devices in which certain portion of the processor’s address space is mapped to the device and communications occur by reading and writing directly to/from those memory areas
Memory-Mapped I/O
52
suitable for devices which must move large quantities of data quickly
Memory-Mapped I/O
53
can be used either instead of or more often in combination with traditional registers
Memory-Mapped I/O
54
when does potential problem exists with memory-mapped I/O
if a process is allowed to write directly to the address space used by a memory-mapped I/O device
55
T or F: The processor (CPU) can load instruction only from memory.
True
56
Where does general purpose computers run their programs from?
Main memory (RAM)
57
What is the most common secondary storage?
Magnetic disk
58
Hierarchy of Storage-Device (RCMS-MOM)
Registers Cache Main memory Solid-state disk Magnetic disk Optical disk Magnetic tapes