Course 1 Week 3 I/O Management, User Space, Logs Flashcards

1
Q

What’s an example of I/O devices? 8 possible

A

hard disk drives, speakers, bluetooth headsets, network adapters, webcams, monitors, keyboards, mice

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

What does the kernel start up, and what does it manage in I/O management? 2 answers

A
  1. Starts up drivers to communicate with hardware
  2. Manages transfer of data in and out of devices
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Does I/O management just affect the user space?

A

No, in I/O management, the devices need to also be able to talk to each other

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

What does the kernel make sure of during I/O process? 2 answers

A
  1. Figures out most efficient method of transfer
  2. Tries to make sure data doesn’t have errors during process
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What’s the usual cause for a slow machine?

A

usually some sort of hardware resource deficiency

(Not enough RAM = can’t load many processes, CPU overloaded = can’t execute programs fast enough)

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

What blocks data from being received?

A

Too much input coming into the device or too much output going somewhere

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

What are 2 ways we can interact with our OS?

A
  1. Shell
  2. Graphical User Interface (GUI)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What’s the difference between a Shell interface and GUI?

A

Shell is usually text-based commands and GUI is the visual aspect of navigating an OS (like clicking icons, menus)

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

Do some shells have a GUI?

A

Yes

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

What is CLI Shell?

A

Command-Line Shell (text commands)

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

Define a “shell”?

A

a program that sends text commands to OS to execute

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

What is a power user?

A

Above average computer users (who often use the Shell to run commands)

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

Why should you learn to use the Shell when working with Linux?

A

Because you’ll be accessing (thousands of) computers remotely, easier to run a command line instead of clicking icons for every PC

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

How do Shells differ? Like OS? 2

A
  1. Some handle performance differently
  2. Some have different features

(same like different OS)

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

What’s the most common Shell in Linux?

A

BASH

(Born Again Shell)

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

How do computers speak to us? Explain what they are?

A

Logs

files that contain recorded system events, like a system diary

17
Q

What are some examples of Logs? 3

A
  1. Computer turns on
  2. Driver was loaded
  3. Error messages