Sy Fundamentals Flashcards

(43 cards)

1
Q

What is the Program Counter (PC) in the CPU?

A

Holds address of the next instruction to fetch.

The Program Counter is a register that keeps track of the address of the next instruction to be executed. It updates after each instruction is fetched or can be loaded with a new address if there is a jump or branch in the program.

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

What does the Control Unit (CU) do?

A

Manages instructions and data flow.

The Control Unit decodes and executes instructions by directing the flow of data within the CPU. It ensures that the correct data is retrieved from memory and sent to the appropriate components (e.g., ALU, registers).

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

What is the role of the Arithmetic Logic Unit (ALU)?

A

Performs arithmetic and logical operations.

The ALU is responsible for carrying out all basic arithmetic operations (e.g., addition, subtraction) and logical operations (e.g., comparisons, AND/OR operations) in the CPU.

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

What are Registers in the CPU?

A

Fast storage for data and instructions.

Registers are small, ultra-fast memory locations within the CPU. They store data and instructions that the processor is currently using, allowing quick access during computations.

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

What is Cache in the CPU?

A

Fast memory close to the CPU.

Cache memory stores frequently accessed data and instructions, speeding up the CPU by reducing the time spent retrieving data from slower main memory (RAM).

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

What are Buses in the CPU?

A

Pathways for data transfer.

Buses are electrical pathways that transfer data, instructions, and control signals between different components of the computer, such as between the CPU and RAM.

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

What does the Clock in the CPU do?

A

Dictates CPU refresh rate (MHz).

The clock is an internal timing mechanism that dictates how many cycles per second the CPU executes operations, typically measured in megahertz (MHz). It sets the pace at which data is processed.

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

What is the purpose of the Program Counter (PC) register?

A

Holds the address of the next instruction.

The Program Counter register stores the address of the next instruction that needs to be fetched for execution. After each instruction is executed, the PC is updated to point to the next instruction.

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

What does the (MAR) do?

A

Memory Address Register- Holds address of data to be fetched.

The MAR holds the address in memory from where data is to be read or written. It communicates with the memory unit to access the specified location.

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

What is the (MDR) used for?

A

Memory Data Register- Holds data fetched from memory.

The MDR temporarily stores data that is read from memory or data that is about to be written to memory, allowing the CPU to process it.

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

What is the function of the (CIR)?

A

Current Instruction Register-Holds decoded instruction.
Also know as “IR”

The CIR stores the current instruction that is being decoded and executed by the CPU. It helps ensure that the CPU is working on the correct instruction at all times.

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

What is the role of the (ACC)?

A

Accumulator-Stores ALU results.

The Accumulator is used by the ALU to store intermediate results of arithmetic and logical operations. It acts as temporary storage for values being processed.

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

What is the role of the Kernel in the OS?

A

Manages hardware and system resources.

The kernel is the central part of the operating system, responsible for interacting directly with hardware, managing system resources (CPU, memory, I/O devices), and ensuring that all processes are executed effectively.

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

What does Memory Management in the OS do?

A

Allocates memory to programs.

The memory management component of the OS handles the allocation and deallocation of memory for processes, ensuring that each program gets the necessary memory and avoids conflicts.

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

What does the Input/Output layer of the OS manage?

A

Manages communication with peripherals.

The I/O layer enables communication between the OS and external hardware devices such as keyboards, printers, and storage devices, ensuring data is transferred correctly.

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

What does the File Management System do in the OS?

A

Handles file storage and permissions.

The file management system is responsible for organizing, storing, and accessing files on storage devices, and ensuring proper access control and file permissions for users and applications.

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

What is the User Interface layer of the OS?

A

Provides interaction between user and OS.

The User Interface (UI) layer allows users to interact with the OS through graphical (GUI) or command-line interfaces (CLI), enabling users to perform tasks like file manipulation and program execution.

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

What is the ‘Ready’ state in the Kernel?

A

Process waits for CPU time.

In the ‘Ready’ state, a process is waiting to be assigned CPU time. The process is ready to execute but is waiting for the OS to schedule it.

19
Q

What is the ‘Running’ state in the Kernel?

A

Process is executed by CPU.

The process is currently being executed by the CPU. It has been assigned a time slice or CPU time by the scheduler.

20
Q

What is the ‘Waiting’ state in the Kernel?

A

Process paused, waiting for I/O.

Blocked.

A process is in the ‘Waiting’ state when it cannot proceed because it is waiting for an event, such as input/output completion or resource availability.

21
Q

What is Round Robin scheduling?

A

Each process gets equal time slices.

Round Robin scheduling is a fair CPU scheduling method where each process gets a fixed time slice, and the CPU cycles through the processes in a round-robin manner.

22
Q

What is First Come First Served scheduling?

A

Processes handled in order of arrival.

In First Come First Served (FCFS) scheduling, processes are executed in the order they arrive in the ready queue, without any prioritization.

23
Q

What is a TSR ?

A

(Terminate and Stay Resident)-Software that remains in memory to respond to events.

TSR programs do not fully exit after execution; they stay in memory to handle events like system interruptions or can be activated again without reloading.

24
Q

What is the role of a device driver?

A

Allows OS to communicate with hardware devices.

A device driver acts as a translator between the OS and hardware devices, enabling the OS to send and receive data from devices like printers, scanners, and network adapters.

25
What is Print Spooling?
Queues print jobs to allow CPU to continue working. ## Footnote Print spooling temporarily holds print jobs in a queue, allowing the CPU to continue processing other tasks while the printer finishes printing each job one at a time.
26
What are Back-Up Files?
.bak and .wbk files are safe to delete. | Incremental, Diferental, Archive. ## Footnote Back-up files, such as .bak and .wbk, are copies of files created for recovery purposes. They are not necessary for normal operation and can be deleted if space is needed.
27
What is (DMA)?
Direct Memory Access-Allows hardware to access RAM directly. ## Footnote DMA enables hardware components like disk drives and network adapters to directly access the system's RAM for fast data transfer without involving the CPU.
28
What is the function of the Operating System Software?
Controls hardware and system resources. ## Footnote The operating system software manages hardware, runs applications, and provides services such as memory management, I/O processing, and user interfaces.
29
What is the function of Application Software?
Performs user-specific tasks. ## Footnote Application software is designed to perform specific tasks or solve particular problems for the user, such as word processing, image editing, or web browsing.
30
What is the role of Utility Software?
Maintains or optimizes the system. ## Footnote Utility software helps maintain the health of a system by providing tools for system cleanup, optimization, backup, and troubleshooting.
31
What is the role of Security Software?
Protects against threats. ## Footnote Security software, such as antivirus programs and firewalls, defends against malware, unauthorized access, and other cybersecurity threats.
32
What is PROM ?
(Programmable Read-Only Memory)-One-time programmable, non-erasable. ## Footnote PROM is a type of memory that can be programmed once, but cannot be erased or reprogrammed. It is often used for firmware storage (BIOS)
33
What is EPROM ?
(Erasable Programmable Read-Only Memory)-Erasable with UV light. ## Footnote EPROM can be erased using ultraviolet light and then reprogrammed. It is used in applications where the firmware needs to be updated periodically.
34
What is EEPROM ?
(Electrically Erasable Programmable Read-Only Memory)-Electrically erasable, byte/block-based. ## Footnote EEPROM can be erased and reprogrammed electrically at the byte or block level. It is often used for storing configuration settings and data that need frequent updates.
35
What is SRAM ?
(Static Random-Access Memory)-Static, fast memory. -VOLTILE ## Footnote SRAM retains its data as long as power is supplied and does not require refreshing, making it faster and more reliable than DRAM. (**CPU Cache**)
36
What is DRAM (Dynamic Random-Access Memory)?
Needs refreshing, volatile. ## Footnote DRAM stores data in capacitors that need to be periodically refreshed to maintain the data, making it slower than SRAM.
37
What is ROM?
(Read-Only Memory)-Non-erasable, stores BIOS. ## Footnote ROM is permanent memory that stores critical system instructions such as the BIOS, which is needed for booting up the computer.
38
What Are: Partitions, Volumes, Cluster, File System.
Think of a physical drive like a bookshelf: - **Partition** = different sections on the shelf. (can have difference OS on different partition). - **Volume** = one usable section with books (formatted). - **Cluster** = one book slot. - **File system** = the way the books are labeled and arranged.
39
What is POST
Power On Self Test
40
Thrashing:
Thrashing: Excessive paging, degrading performance.
41
Paging:
Paging: Splits memory into fixed-size pages; allows virtual memory.
42
Absolute:
Absolute: Full path from root (e.g., C:\Users\John\file.txt)
43
Relative:
Relative: From current directory (e.g., .\file.txt)