theme 1 ai Flashcards

1
Q

The Arithmetic and Logic Unit; ALU, Control Unit, and Registers

A

ALU (Arithmetic and Logic Unit) performs mathematical and logical operations.
Control Unit manages the execution of instructions.
Registers:
Program Counter (PC): Keeps track of the memory location of the next instruction.
Accumulator (ACC): Stores results of operations.
Memory Address Register (MAR): Holds the address of the memory location to read from or write to.
Memory Data Register (MDR): Contains data being read from or written to memory.
Current Instruction Register (CIR): Stores the current instruction being executed.

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

Buses

A

Data Bus: Transfers data between the CPU and memory.
Address Bus: Carries addresses of memory locations.
Control Bus: Carries control signals like read/write signals.

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

Factors Affecting CPU Performance

A

Clock Speed: The higher the clock speed, the faster the CPU can execute instructions.
Number of Cores: Multiple cores allow for parallel processing, enhancing performance.
Cache: A larger cache improves the CPU’s ability to access frequently used data.

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

Pipelining in Processors

A

Von Neumann: A single memory stores both data and instructions.
Harvard: Separate memories for data and instructions, improving speed.
Contemporary: Evolved architectures with various improvements.

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

Differences between CISC and RISC Processors

A

CISC (Complex Instruction Set Computer) has complex instructions.
RISC (Reduced Instruction Set Computer) has simpler, faster instructions.
CISC is versatile but slower; RISC is efficient but may require more instructions.

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

GPUs and Their Uses

A

GPUs (Graphics Processing Units) are not just for graphics; they excel at parallel processing.
Used in scientific simulations, machine learning, and cryptocurrency mining.

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

Application of Input, Output, and Storage Devices

A

Different devices cater to specific problems.
Input devices like keyboards and mice gather data.
Output devices like monitors and printers display or produce results.
Storage devices store data for future use.

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

Types of Storage Devices

A

Magnetic: Hard drives, store data on spinning disks.
Flash: SSDs, use NAND flash memory for faster access.
Optical: DVDs, CDs, use lasers to read data.

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

RAM and ROM

A

RAM (Random Access Memory) is volatile memory used for active data and programs.
ROM (Read-Only Memory) is non-volatile memory with firmware or boot code.

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

Virtual Storage

A

Virtual storage extends RAM with disk space.
Allows running more programs than can fit in physical RAM.
Slower than RAM but avoids running out of memory.

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

What is the need for, function, and purpose of operating systems?

A

Operating systems are essential software that manage computer hardware and software resources, providing a stable and consistent way for applications to interact with the hardware. They perform tasks like managing memory, processes, software and hardware communication, user interfaces, and file systems.

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

What are paging, segmentation, and virtual memory in memory management?

A

Paging: Divides memory into fixed-size units called pages, allowing non-contiguous memory allocation, thus reducing fragmentation.
Segmentation: Divides memory into variable-sized segments, reflecting the logical division of data (like code, stack, and data segments).
Virtual Memory: Extends physical memory by using disk storage, enabling larger programs to run and isolation between processes.

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

What are the different scheduling algorithms used in operating systems?

A

Round Robin: Time-sharing, fixed time quantum.
First Come First Served: Queue-based, non-preemptive.
Multi-Level Feedback Queues: Multiple queues for different priority tasks, dynamic adjustment.
Shortest Job First: Executes shortest tasks first.
Shortest Remaining Time: Preemptive, executes job with the shortest remaining time.

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

What are distributed, embedded, multi-tasking, multi-user, and Real-Time operating systems?

A

Distributed OS: Manages a group of distinct computers and makes them appear as a single computer.
Embedded OS: Designed for operating in embedded computer systems (like washing machines, televisions).
Multi-tasking OS: Enables more than one process to run concurrently.
Multi-user OS: Allows multiple users to use the computer resources simultaneously.
Real-Time OS: Guarantees processing of events or data by a specific moment in time.

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

What are virtual machines in the context of systems software?

A

Virtual machines are software emulations of physical computers. They provide functionality needed to execute entire operating systems or serve as a platform for running intermediate code. They isolate and manage resources for different applications or processes.

16
Q

What are utilities in the context of software applications?

A

Utilities are software programs that perform specific, limited tasks that are usually related to managing system resources. Examples include disk defragmenters, antivirus software, and backup tools.

17
Q

What are linkers and loaders, and what is their use in software development?

A

Linkers: Combine various pieces of compiled code into a single executable.
Loaders: Load the executable files into memory for execution.
Use of Libraries: Libraries are collections of pre-compiled routines that a program can use. Linkers manage the use of these libraries in the final executable.

18
Q

What are linkers and loaders, and what is their use in software development?

A

Linkers: Combine various pieces of compiled code into a single executable.
Loaders: Load the executable files into memory for execution.
Use of Libraries: Libraries are collections of pre-compiled routines that a program can use. Linkers manage the use of these libraries in the final executable.

19
Q
A
20
Q
A