Platform Technologies Flashcards
Component are the parts you can touch.
Computer Hardware
The smallest hardware that can still perform computation is the ________
Computer chip
is composed of semi-conductors and tiny wires laid out on top of thin wafers of silicon
Computer chip
is always required to execute any command or instruction
Software
can be configured to represent either a 0 or a 1 when electrical is supplied to them
semi-conductor
Sometimes referred to as machine code or object code, ____________ ____________ is a collection or binary digits or bits that computer reads and interprets.____________ is the only language of computer is capable to understand.
Machine Language
Limitations of machine language
- Machine dependent.
- Difficult to program.
- High error level when we write a program in this language.
- Difficult to modify the code
A ____________ can understand positional number system only where there are a few symbols
called digits and these symbols represent different values depending on the position they occupy in the
number
digital system
A value of each digit in a number can be determined using
The digit
● The position of the digit in the number
● The base of the number system (where base is defined as the total number of digits available in
the number system).
are command or programs written in machine code of a machine(computer) that it can recognize and execute
Machine instruction
Different instruction cycles :
Memory address registers(MAR)
Memory buffers registers(MBR)
Programs Counter(PC)
Instruction register(IR)
: It is connected to the address lines of the system bus. It specifies the
address in memory for a read or write operation.
Memory address registers (MAR)
t is connected to the data lines of the system bus. It contains the value to be
stored in memory or the last value read from the memory
Memory Buffer Register(MBR)
Holds the address of the next instruction to be fetched.
Program Counter (PC):
Holds the last instruction fetched
Instruction Register (IR):
Each phase of ___________ ______ can be decomposed into a sequence of elementary micro-operations. In the
above examples, there is one sequence each for the Fetch, Indirect, Execute and Interrupt Cycles.
Instruction Cycle
The ______________ is always followed by the Execute Cycle.
Indirect Cycle
The ___________ ______ is always followed by
the Fetch Cycle.
Interrupt Cycle
For both _______ ___ _______ _______ the next cycle depends on the state of the system.
fetch and execute cycles,
We assumed a
new 2-bit register called ______ ______ ________The _ _ _ designates the state of processor in terms of which
portion of the cycle it is in:
Instruction Cycle Code (ICC).
Von Neumann architecture’s?
Fixed Program Computers
Stored Program Computers
These can be programmed to carry out many different tasks,
applications are stored on them, hence the name
Stored Program Computers
Their function is very specific and they couldn’t be programmed, e.g.
Calculators
Fixed Program Computers –
It is also known as IAS computer and is having three basic units
- The Central Processing Unit (CPU)
- The Main Memory Unit
- The Input/output Device
A control unit (CU) handles all processor control signals. It directs all input and output flow, fetches code for
instructions and controlling how data moves around the system.
Control Unit –
The arithmetic logic unit is the part of the CPU that handles all the calculations the CPU may need, e.g.
Addition, Subtraction, Comparisons. It performs Logical Operations, Bit Shifting Operations, and Arithmetic
Operation.
Arithmetic and Logic Unit (ALU)
Main Memory Unit (Registers)
- Accumulator
- Program Counter (PC):
- Memory Address Register (MAR):
- Memory Data Register (MDR):
- Current Instruction Register (CIR)
- Instruction Buffer Register (IBR):
Program or data is read into main memory from the input device or secondary
storage under the control of CPU input instruction. Output devices are used to output the information from a
computer. If some results are evaluated by computer and it is stored in the computer, then with the help of
output devices, we can present it to the user
Input/Output Devices
Data is transmitted from one part of a computer to another, connecting all major internal
components to the CPU and memory, by the means of Buses
Buses
Type’s of buses
- Data buss
- Address buss
- Control buss
It carries data among the memory unit, the I/O devices, and the processor.
Data buss
It carries the address of data (not the actual data) between memory and processor.
Address buss
: It carries control commands from the CPU (and status signals from other devices) in order
to control and coordinate all the activities within the computer.
Control buss
Whatever we do to enhance performance, we cannot get away from
the fact that instructions can only be done one at a time and can only be carried out sequentially.
Both of these factors hold back the competence of the CPU.
Von neumann bottleneck
where machine language (binary digits) is the only format understood by the CPU.
Von Neumann Architecture
TYPES OF CPU ARCHITECTURE
1.CISC (Complex Instruction Set Computer)
2.RISC (Reduced Instruction Set Computer)
1Architecture with complex instructions, which can perform multiple operations in a single instruction.
.CISC (Complex Instruction Set Computer)
Architecture with simpler instructions in one clock cycle.
Architecture with more general-purpose registers and easier pipelining.
2.RISC (Reduced Instruction Set Computer)
COMPONENTS OF A CPU
Arithmetic Logic Unit (ALU)
Control Unit (CU)
Registers
is responsible for performing arithmetic (addition, subtraction) and logical operations (AND, OR, NOT).
Arithmetic Logic Unit (ALU)
manages the CPU’s operations, including controlling data flow between the CPU and other parts of the computer.
Control Unit (CU)
hold data temporarily during processing for quick access. Important registers include
Registers
Important registers include:
Program Counter (PC):
Instruction Register (IR):
Accumulator:
holds the address of the next instruction to be executed.
Program Counter
Holds the current instruction being executed.
Instruction Register (IR)
Stores intermediate results of calculations.
Accumulator
holds frequently accessed data and instructions, allowing faster processing compared to other types of memory
is the fastest type of memory in the hierarchy.
Cache
is responsible for carrying data and instructions between components.
Bus
Types of buses:
Address bus
Control bus
Data bus
carries memory addresses.
Address Bus
Transfers actual data between the components of the computer.
Data bus
Carries control signals.
Control Bus:
Main Functions of an Operating System (OS):
Resource Management
Process Management
Memory Management:
File Management:
I/O Management:
Manages CPU, memory, and storage allocation.
Resource Management
Creates, schedules, and terminates processes.
Process Management
Allocates and protects memory spaces.
Memory Management
Organizes files and directories.
File Management:
Controls communication between peripherals.
I/O Management
Types of Virtualization:
Operating System Virtualization
Hardware Virtualization
Containerization
Allows multiple operating systems on one physical machine.
Operating System Virtualization
Simulates hardware to create virtual machines (VMs).
Hardware Virtualization:
Isolates applications in containers, sharing the same OS kernel.
Containerization:
is the process by which a computer retrieves, interprets, and executes instructions.
fetch-decode-execute cycle
retrieves the next instruction from memory.
Fetch: The Control Unit (CU)
The CU decodes the instruction to understand what operation needs to be performed.
Decode:
performs the required operation (e.g., arithmetic or logic).
Execute: The Arithmetic Logic Unit (ALU)
Increasing cache memory or implementing pipelining can speed up instruction execution.
Improvement Suggestion:
_______ uses complex instructions, while _______ uses simpler instructions that execute in one clock cycle.
RISC
CISC
is better for simple tasks (word processing, web browsing) because it requires fewer resources and can process instructions more quickly, making it more efficient for basic operations.
RISC
allow multiple operating systems to run on one physical computer by creating isolated environments for each.
Virtual Machines (VMs)
manages the VMs, ensuring they remain separate.
hypervisor