Week 1 Flashcards

1
Q

Multiprogramming

A
  • Run multiple application at the same time
  • Protecting them from one another and sharing the CPU between them
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Hierarchical File System

A

Store data on disk persistently organized in a tree structure

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

Plug and Play Devices

A

Software that allows external devices to interact with applications

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

Virtual Memory

A

Store multiple applications in memory at the same time

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

Graphical User Interface

A
  • Allows users to develop, run, and interact with new applications.
  • Good user interface allows operating systems to evolve from office machiens into machines usable by home users
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Operating Systems (OS)

A

-A piece of software that is layered between applications and hardware, allowing multiple applications to share the same physical machine resources and gain access to external devices

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

Time-Sharing

A

The ability to share one physical compute resource among multiple applications.

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

Linux

A

An open-source operating system commonly used on both home and
server machines. Linux is closely modelled after its predecessor Unix

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

Unix

A

A well-known operating system developed by Bell Labs that has many
of the features used in modern operating systems, such as time-sharing, a Shell, and a hierarchical file system.

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

Ubuntu

A

A popular distribution of Linux that is considered easy to install and
easily usable by the non-expert

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

Virtualization

A

A method for dividing up physical compute resources into logical separate units usable by different users. The most common example is running multiple operating systems that share one physical machine.

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

Embedded Operating System

A

An operating system for small devices like sensor networks, or specialized hardware used in airplanes, home appliances, and other mobile devices.

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

Vagrant

A

A software that automates the process of installation of virtual machines.

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

Virtual Machine

A

A piece of software that emulates a physical machine, but is actually an application running on an existing operating system

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

Host OS

A

The operating system that runs on the actual hardware

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

Guest OS

A

The operating system that runs in the virtual machine.

17
Q

Virtual Box

A

An open-source software that enables us to run virtual machines

18
Q

Code Repository

A

A service that stores multiple versions of code, either in the cloud or locally on a server machine.

19
Q

Version control

A

The ability to manage and change across multiple versions of digital content, typically software

20
Q

Git

A

An open-source popular version control software.

21
Q

Pull (from code repository/Git)

A

Getting a version of software from a code repository

22
Q

Push (from code repository/Git)

A

Pushing locally committed software changes into a codoe repo

23
Q

Merge (in git repository)

A

Pulling in changes from a code repository and combining the changes with local changes, before pushing the combined

24
Q

What are the physical hardware in an OS?

A

Motherboard/GPU/external devices like mouse or keyboard

25
Q

What parts of the computer are part of the Operating System?

A

The kernel, compilers, editors, and shell

26
Q

What is the point of having an operating system?

A

It allows applications/user to iteract with the the underlying hardware

27
Q

What are system call APIs?

A

Commands that the user/code will use to make contact with the underlying system/OS

28
Q

What is a process?

A

A program in execution

29
Q

What is an Init Process?

A

The first process started up when you boot up the computer

30
Q

What is the system processes?

A

Other processes when your computer is booted. SSH server for log in

31
Q

What PID will the child get if fork is called in the parent?

32
Q

How to execuate a command with exec with bin/ls?

A

exec(“/bin/ls”)

33
Q

Explain the wait(&status) command

A

Wait is called and the parent pauses, status stores the termination return value of a child and once its status is returned the parent process resumes

34
Q

Explain exit(int status)

A

0 means exit success
1 means exit failure

Better to have #define EXIT_SUCCESS = 0
and have exit(EXIT_SUCCESS) instead

35
Q

Explain the kill(pid, sig) execution

A

Kill will send a signal(sig) to the process ID (pid)
Sig can be SIGKIL which will forcefully end a process or the default which is gracefully end a process

36
Q

What happens when a process is killed?

A

All of its resources and memory location is freed