Comp Organization GeeksForGeeks 1-5 Flashcards

Issues in comp design, comp system level hierarchy, comp architecture and comp organization, & basic computer instructions

1
Q

The basic components of a computer include

A

the central processing unit (CPU), memory (RAM), storage (hard drive or solid-state drive), input devices (keyboard, mouse, etc.), output devices (monitor, printer, etc.), and various peripheral devices (such as USB drives or external hard drives).

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

CPU

A

CPU is often considered the brain of the computer, as it performs most of the processing and calculations required for a computer to function.

brain of the computer and performs the bulk of the processing tasks.

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

RAM

A

RAM is the temporary memory that stores data and instructions while the computer is running, while storage is the long-term memory where data is stored even when the computer is turned off.

Memory, also known as RAM, is where data and instructions are temporarily stored while the computer is running.

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

input devices

A

allow users to input data or commands into the computer, while output devices display the results of the computer’s processing.

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

peripheral devices

A

additional components that can be added to a computer to enhance its functionality.

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

computer

A

electronic device that can perform tasks based on instructions provided to it. It consists of hardware components such as the central processing unit (CPU), memory, input/output devices, and storage devices.

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

Input/output devices

A

such as a keyboard, mouse, and monitor, allow users to interact with the computer and receive information from it.

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

storage devices

A

such as a hard drive or solid-state drive, store data and programs permanently on the computer.

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

Transistors

A

They only understand binary language whose vocabulary contains only two letters or states or symbols i.e. 0 and 1, True and False, On and off. To maintain the states transistors are used.

Transistors are tiny device that are used to store 2 values 1 and 0 or on and off.
If the transistor is on we say that it has a value 1, and if it is off the value is 0.

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

a memory chip contains hundreds of millions or even billions of transistors, each of which can be switched on or off individually. As transistor can store 2 distinct values, we can have millions of different values stored on a memory chip consisting entirely of 0’s and 1’s. But how a transistor get its value ?

A

When a very little amount of electric current passes through transistor it maintains the state of 1 and when there is no electric current then the transistor has the state of 0. Then how it’s all connected to computer ? This 0’s and 1’s forms the building block of computer. With the combinations of 0 and 1 we create a whole new language For example, 0 can be written as 0,

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

What is software ?

A

Software is a set of instructions that tells the computer what to do, when to do, and how to do. Example are, paint that we use in Microsoft, WhatsApp and games, all are the types of different software.

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

Separate instructions are provided for the + operator so the computer knows how to do addition when it encounters + sign. So who converts this code? Instead of who we can ask what converts the code? And answer to that question is a software called interpreter that interprets our language code into binary code. Interpreter converts our code into machine language that can be understood by computer.

A

Suppose we want to add 2 number and want to know what 2 + 2 is 4. Then we must give the computer instructions,

Step-1: take 2 value.
Step-2: store that 2 value
Step-3: add 2 value by using + operator
Step-4: save the answer

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

Now the question is how we give our input ?

We give our input with the use of hardware for example like scanner, keyboard, mouse. When we give input through hardware, the software interprets it into machine language and then it is processed and our output is shown.

A

Process: If we want to display letter ‘A’ on screen we first will open notepad. Then we will press Capslock key or shift key to make letter capital, after that we will press letter ‘a’. And our screen will show the letter ‘A’.

Under the hood process: When we pressed the capslock or shift key the software tells that whatever following this should be printed on the screen and after we have pressed the letter a which is small letter, the software first converts it into binary like it had converted the shift or capslock key and then after the computer understands it prints A on the screen.

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

binary code

A

Computers communicate and process information using a binary code, which is a system of ones and zeroes. Each binary digit (or bit) represents a simple “on” or “off” state, and combinations of bits can represent more complex information.

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

algorithms

A

An algorithm is a set of instructions or steps that a computer program follows to solve a problem or complete a task. Algorithms are used to perform a wide range of tasks, from sorting data to searching for patterns.

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

programming languages

A

Programming languages are used to write computer programs. There are many different programming languages, each with its own syntax and set of rules.

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

hardware vs. software

A

Hardware refers to the physical components of a computer, such as the CPU, memory, and storage devices. Software, on the other hand, refers to the programs and instructions that tell the hardware what to do.

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

networks

A

Computers can be connected together in networks, which allow them to communicate and share resources. Networks can be wired or wireless, and can be used for tasks such as sharing files, accessing the internet, or playing multiplayer games.

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

user interfaces

A

User interfaces are the means by which humans interact with computers. They can be graphical, such as a desktop or mobile operating system, or text-based, such as a command line interface.

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

Personal computers (PCs)

A

These are the most common type of computer and are designed for personal use. PCs include desktops, laptops, and tablets.

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

Servers

A

Servers are designed to manage and distribute resources and data to multiple users or devices. They are often used in businesses or organizations to store and share data and run applications.

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

mainframes

A

Mainframe computers are large, powerful machines that are designed to handle massive amounts of data and perform complex operations. They are often used in large corporations or government agencies.

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

supercomputers

A

Supercomputers are extremely powerful computers that are designed to process data at extremely high speeds. They are often used for scientific research and other specialized applications.

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

embedded systems

A

Embedded systems are small computers that are built into other devices, such as appliances, cars, and medical devices. They are designed to perform specific functions and operate without human intervention.

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

wearable computers

A

Wearable computers are small, portable devices that are worn on the body, such as smartwatches or fitness trackers. They are designed to track data and provide information on the go.

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

processor

A

The processor is the brain of the computer, and it carries out all the instructions and calculations required by the system.

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

memory

A

The memory or RAM (Random Access Memory) stores data temporarily for the processor to access quickly.

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

storage

A

Storage devices like hard disks, solid-state drives, or external drives provide long-term storage for data and files.

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

input devices

A

Input devices like keyboards, mice, scanners, and cameras enable the user to provide data and instructions to the computer.

30
Q

Output devices

A

Output devices like monitors, printers, and speakers display the results of the computer’s processing.

31
Q

operating system

A

The operating system manages the computer’s resources, controls the hardware, and runs application programs.

32
Q

networking

A

Networking capabilities allow computers to communicate and share resources with other computers and devices.

33
Q

software

A

Software is the set of instructions that tell the computer what to do, and it can range from simple applications to complex programs.

34
Q

graphics and sound

A

Graphics and sound capabilities enable the computer to display and manipulate images and play sounds and videos.

35
Q

connectivity

A

Connectivity features like USB, Wi-Fi, Bluetooth, and Ethernet enable the computer to connect to other devices and the internet.

36
Q

Advantages of computers

A

Increased efficiency and productivity: Computers can perform tasks much faster and more accurately than humans, allowing for increased efficiency and productivity in various industries.

Storage and organization of information: Computers can store large amounts of data and organize it in a way that is easily accessible and searchable.

Improved communication: Computers enable people to communicate easily and instantly with others, regardless of their location.

Access to information and resources: The internet provides access to a vast amount of information and resources that would otherwise be difficult or impossible to obtain.

Automation of repetitive tasks: Computers can automate repetitive and mundane tasks, freeing up time and resources for more important work.

37
Q

Disadvantages of computers

A

Dependence on technology: Over-reliance on computers can lead to problems if they break down or malfunction, leading to loss of productivity and data.

Security risks: Computers can be vulnerable to viruses, malware, and hacking, leading to data breaches and other security risks.

Social isolation: The overuse of computers can lead to social isolation and reduced face-to-face interaction, leading to social and emotional problems.

Environmental impact: The production and disposal of computers can have a negative impact on the environment due to the use of resources and the creation of electronic waste.

Job displacement: Automation and the use of computers can lead to job displacement in certain industries, requiring workers to adapt to new skill sets or find new employment.

38
Q

Computer design

A

structure in which components relate to each other. The designer deals with a particular level of system at a time and there are different types of issues at different levels. At each level, the designer is concerned with the structure and function. The structure is the skeleton of the various components related to each other for communication. The function is the activities involved in the system.

39
Q

Issues in computer design

A

Assumption of infinite speed:
It can’t be assumed the infinite speed of the computer as it is not practical to assume the infinite speed. It creates problems in designers’ thinking as well.

Assumption of infinite Memory:
Like the speed of the computer, memory also can’t be assumed infinite. Storage is always finite and this is an issue in computer design.

Speed mismatch between memory and processor:
Sometimes it is possible that the speed of memory and processor does not match. It may be memory speed is faster or processor speed is faster. A mismatch between memory and processor leads to create problems in designing.

Handling of bugs and errors:
Handling bugs and errors are huge responsibility of any computer designer. Bugs and errors lead to the failure of the computer system. Sometimes these errors may be more dangerous.

Multiple processors:
Designing a computer system with multiple processors leads to the huge task of management and programming. It is a big issue in computer design.

Multiple threads:
A computer system with multiple threads is always a threat to the designer. A computer with several threads should be able to multi-tasking and multi-processing.

Shared memory:
If there are several processes to be executed at a time then all the processes share the same memory space. It should be managed in a specific way so that collision does not happen.

Disk access:
Disk management is the key to computer design. There are several issues with disk access. It may be possible that the system does not support multiple disk access.

Better performance:
It is always an issue. A designer always tries to simplify the system for better performance in reducing power and less cost.

Performance: One of the biggest challenges in computer design is optimizing performance. Designers need to balance factors such as processing power, memory capacity, and input/output speed to create a system that is fast and efficient.

Power consumption: As computing devices become more ubiquitous, power consumption has become a critical design consideration. Designers need to create systems that are energy-efficient to reduce the impact on the environment and improve battery life.

Security: With the growing amount of sensitive data being stored and processed on computing devices, security is a major issue. Designers need to build in strong encryption and authentication measures to prevent unauthorized access and data breaches.

Compatibility: As computing devices become more diverse, ensuring compatibility across platforms and devices is a key challenge. Designers need to create systems that can run seamlessly on a variety of operating systems and hardware configurations.

User experience: The user experience is a critical consideration in computer design. Designers need to create intuitive interfaces and experiences that are easy to use and navigate.

Reliability: Computing devices are expected to work reliably and consistently. Designers need to create systems that are resilient and can operate without failure for extended periods of time.

40
Q

Computer system level hierarchy

A

combination of different levels that connects the computer with the user and that makes the use of the computer. It also describes how the computational activities are performed on the computer and it shows all the elements used in different levels of system.

41
Q

Level 6
Level 5
Level 4
Level 3 System software
Level 2 machine
Level 1
Level 0 Digital Logic

A

User, executable programs
High Level lang, C++ & Java
Assembly lang and code
Operating system
instruction set architecture
control, microcode
circuits, Gates

42
Q

C0mputer system level hierarchy (7 levels):

Level-0:
It is related to digital logic. Digital logic is the basis for digital computing and provides a fundamental understanding of how circuits and hardware communicate within a computer. It consists of various circuits and gates etc.

Level-1:
This level is related to control. Control is the level where microcode is used in the system. Control units are included in this level of the computer system.

Level-2:
This level consists of machines. Different types of hardware are used in the computer system to perform different types of activities. It contains instruction set architecture.

A

Level-3:
System software is a part of this level. System software is of various types. System software mainly helps in operating the process and it establishes the connection between hardware and user interface. It may consist operating system, library code, etc.

Level-4:
Assembly language is the next level of the computer system. The machine understands only the assembly language and hence in order, all the high-level languages are changed in the assembly language. Assembly code is written for it.

Level-5:
This level of the system contains high-level language. High-level language consists of C++, Java, FORTRAN, and many other languages. This is the language in which the user gives the command.

Level-6:
This is the last level of the computer system hierarchy. This consists of users and executable programs.

43
Q

Levels of hierarchy:
1. Hardware level
2. Firmware level
3. Operating system level
4. Application level

A
  1. This is the lowest level in the hierarchy and includes all the physical components of the computer system such as the CPU, memory, storage devices, input/output devices, and other peripherals.
  2. This level includes the software that is stored in non-volatile memory, such as the BIOS or firmware on other devices, and is responsible for initializing and controlling the hardware.
  3. This level includes the software that manages the resources of the computer system, provides a user interface, and runs application programs. Examples of operating systems include Windows, macOS, and Linux.
  4. This level includes the software applications that run on the operating system and perform specific tasks such as word processing, spreadsheet calculations, or playing games.
44
Q

features of the computer system level hierarchy are:

  1. Abstraction
  2. Modularity
  3. Interoperability
  4. Scalability
  5. Security
A
  1. Each level in the hierarchy provides a level of abstraction from the underlying hardware, allowing software developers to write programs that are independent of the specific hardware components in the system.
  2. Each level in the hierarchy can be designed and developed independently, allowing for easier maintenance and upgrades.
  3. The different levels in the hierarchy are designed to work together seamlessly, allowing for software applications to run on different hardware platforms and operating systems.
  4. The hierarchical design allows for the addition of new components and functionality, making it possible to scale up or down the system as needed.
  5. The different levels in the hierarchy can be isolated from each other, providing a layered approach to security and reducing the risk of security breaches.
45
Q

Advantages of the computer system level hierarchy:

A

Modularity: The hierarchical approach to organizing computer systems allows for greater modularity, which can make it easier to develop, test, and maintain individual components.

Standardization: The use of standard interfaces and protocols between layers of the hierarchy can make it easier to integrate new components into a system and to reuse existing components in new contexts.

Abstraction: Each layer of the hierarchy can provide a higher level of abstraction, allowing programmers and users to interact with the system at a higher level of complexity without having to deal with the details of lower-level components.

Scalability: The hierarchical approach can make it easier to scale a system to handle larger workloads by adding more resources or components at different levels of the hierarchy.

46
Q

Disadvantages of the computer system level hierarchy:

A

Overhead: The additional layers of abstraction and communication between components can introduce additional overhead and complexity, which can reduce overall system performance.

Dependencies: Changes to one layer of the hierarchy can have ripple effects on other layers, which can make it difficult to modify or update a system without causing unintended consequences.

Inefficiency: In some cases, the hierarchical approach can lead to inefficiencies in the use of system resources, as components at different levels may not be optimized to work together efficiently.

Complexity: The hierarchical approach can make it difficult for users and developers to understand and navigate the system, especially as the number of components and layers increases.

47
Q

computer architecture

A

design of the internal workings of a computer system, including the CPU, memory, and other hardware components. It involves decisions about the organization of the hardware, such as the instruction set architecture, the data path design, and the control unit design

48
Q

computer architecture

A

design of the internal workings of a computer system, including the CPU, memory, and other hardware components. It involves decisions about the organization of the hardware, such as the instruction set architecture, the data path design, and the control unit design. optimizing the performance of a computer system and ensuring that it can execute instructions quickly and efficiently.

49
Q

Computer organization

A

operational units and their interconnections that implement the architecture specification. It deals with how the components of a computer system are arranged and how they interact to perform the required operations. Computer organization is concerned with the physical implementation of the architecture design and includes decisions about the interconnection and communication between components, such as the bus structure, memory hierarchy, and input/output systems.

50
Q

Computer Organization comes after the decision of Computer Architecture first.

A

Computer Organization is how operational attributes are linked together and contribute to realizing the architectural specification. Computer Organization deals with a structural relationship.

51
Q

Difference between computer architecture and computer organization:

Computer Architecture

A

Difference between computer architecture and computer organization:

Computer Organization

52
Q

Difference between computer architecture and computer organization:

Computer Architecture

A

Difference between computer architecture and computer organization:

Computer Organization

53
Q

Difference between Computer Architecture and Computer Organization:

Computer Architecture

Architecture describes what the computer does.

functional behavior of computing systems

high-level design issues

hardware

series of instrucctions, addressing modes, and registers

for design, architecture is fixed first

Instruction Set Architecture (ISA)

Comprises logical functions such as instructions set, registers, data types, and addressing modes

The different architectural categories found in our computer systems are as follows:
Von-Neumann Architecture
Harvard Architecture
Instruction Set Architecture
Micro-architecture
System Design

Makes computer hardware visible

Architecture coordinates the hardware and software of the system.

Software developer is aware of it

Examples- Intel and AMD created the x86 processor. Sun Microsystems and others created the SPARC processor. Apple, IBM, and Motorola created the PowerPC.

A

Difference between Computer Architecture and Computer Organization:

Computer Organization

Organization describes how it does it

Structural relationship

low-level design issues

indicates performance

Implementation of architecture is called organization

organization decided after architecture

also called microarchitecture

consists of physical units like circuit designs, peripherals and adders

CPU organization is classified into three categories based on the number of address fields:
Organization of a single Accumulator.
Organization of general registers
Stack organization

Details how well the computer performs

handles segments of the network in a system

Software programmer doesnt have to be aware of it

Organizational qualities include hardware elements that are invisible to the programmer, such as interfacing of computer and peripherals, memory technologies, and control signals.

54
Q

Basic computer instructions

A

elementary operations that a computer system can perform. These instructions are typically divided into three categories: data movement instructions, arithmetic and logic instructions, and control instructions.

55
Q

Data movement instructions

A

used to move data between different parts of the computer system. These instructions include load and store instructions, which move data between memory and the CPU, and input/output (I/O) instructions, which move data between the CPU and external devices.

56
Q

Arithmetic and logic instructions

A

used to perform mathematical operations and logical operations on data stored in the system. These instructions include add, subtract, multiply, and divide instructions, as well as logic instructions such as AND, OR, and NOT.

57
Q

Control instructions

A

control the flow of instructions within the computer system. These instructions include branch instructions, which transfer control to different parts of the program based on specified conditions, and jump instructions, which transfer control to a specified memory location.

58
Q

The basic computer has 16-bit instruction register (IR) which can denote either memory reference or ________.

A

register reference or input-output instruction

59
Q

Memory reference

A

These instructions refer to memory address as an operand. The other operand is always accumulator. Specifies 12-bit address, 3-bit opcode (other than 111) and 1-bit addressing mode for direct and indirect addressing.

15 14 12 11 0
I | OPCODE | MEMORY ADDRESS

Example – IR register contains = 0001XXXXXXXXXXXX, i.e. ADD after fetching and decoding of instruction we find out that it is a memory reference instruction for ADD operation.
Hence, DR ← M[AR]
AC ← AC + DR, SC ← 0

60
Q

Register Reference

A

These instructions perform operations on registers rather than memory addresses. The IR(14 – 12) is 111 (differentiates it from memory reference) and IR(15) is 0 (differentiates it from input/output instructions). The rest 12 bits specify register operation.

15 14 12 11 0
0 | 1 1 1 | REGISTER OPERATION

Example – IR register contains = 0111001000000000, i.e. CMA after fetch and decode cycle we find out that it is a register reference instruction for complement accumulator.
Hence, AC ← ~AC

61
Q

Input/Output

A

These instructions are for communication between computer and outside environment. The IR(14 – 12) is 111 (differentiates it from memory reference) and IR(15) is 1 (differentiates it from register reference instructions). The rest 12 bits specify I/O operation.

15 14 12 11 0
1 | 1 1 1 | I/O Operation

Example – IR register contains = 1111100000000000, i.e. INP after fetch and decode cycle we find out that it is an input/output instruction for inputing character. Hence, INPUT character from peripheral device.

62
Q

Essential PC directions are the principal tasks that a PC can perform. These directions are executed by the focal handling unit (central processor) of a PC, and they structure the reason for additional perplexing tasks. A few instances of essential PC directions include:

A

1.Load: This guidance moves information from the memory to a computer processor register.

2.Store: This guidance moves information from a computer chip register to the memory.

3.Add: This guidance adds two qualities and stores the outcome in a register.

4.Subtract: This guidance deducts two qualities and stores the outcome in a register.

5.Multiply: This guidance duplicates two qualities and stores the outcome in a register.

6.Divide: This guidance isolates two qualities and stores the outcome in a register.

7.Branch: This guidance changes the program counter to a predefined address, which is utilized to execute restrictive and genuine leaps.

8.Jump: This guidance changes the program counter to a predefined address.

9.Compare: This guidance looks at two qualities and sets a banner demonstrating the consequence of the examination.

10.Increment: This guidance adds 1 to a worth in a register or memory area.

63
Q

The set of instructions incorporated in16 bit IR register are:

A

Arithmetic, logical and shift instructions (and, add, complement, circulate left, right, etc)

To move information to and from memory (store the accumulator, load the accumulator)

Program control instructions with status conditions (branch, skip)

Input output instructions (input character, output character)

64
Q

symbol hexcode
AND 0xxx 8xxx
ADD 1xxx 9xxx
LDA 2xxx Axxx
STA 3xxx Bxxx
BUN 4xxx Cxxx
BSA 5xxx Dxxx
ISZ 6xxx Exxx
CLA 7800
CLE 7400
CMA 7200
CME 7100
CIR 7080
CIL 7040
INC 7020
SPA 7010
SNA 7008
SZA 7004
SZE 7002
HLT 7001
INP F800
OUT F400
SKI F200
SKO F100
ION F080
IOF F040

A

description
Add mem word to AC
Add mem word to AC
Load mem word to AC
Store AC content in mem
Branch unconditionally
branch/save return adress
increment and skip if 0
clear AC
clear E(overflow bit)
complement AC
Complement E
circulate right AC and E
circulate left AC and E
increment AC
skip next instruct if AC>0
skip next instruct if AC<0
skip next instruct if AC=0
skip next instruct if E=0
Halt computer
input character to AC
output character from AC
skip on input flag
skip on output flag
interrupt On
interrupt Off

65
Q

symbol hexcode
AND 0xxx 8xxx
ADD 1xxx 9xxx
LDA 2xxx Axxx
STA 3xxx Bxxx
BUN 4xxx Cxxx
BSA 5xxx Dxxx
ISZ 6xxx Exxx
CLA 7800
CLE 7400
CMA 7200
CME 7100
CIR 7080
CIL 7040
INC 7020
SPA 7010
SNA 7008
SZA 7004
SZE 7002
HLT 7001
INP F800
OUT F400
SKI F200
SKO F100
ION F080
IOF F040

A

description
Add mem word to AC
Add mem word to AC
Load mem word to AC
Store AC content in mem
Branch unconditionally
branch/save return adress
increment and skip if 0
clear AC
clear E(overflow bit)
complement AC
Complement E
circulate right AC and E
circulate left AC and E
increment AC
skip next instruct if AC>0
skip next instruct if AC<0
skip next instruct if AC=0
skip next instruct if E=0
Halt computer
input character to AC
output character from AC
skip on input flag
skip on output flag
interrupt On
interrupt Off

66
Q

Uses of Basic Computer Instructions :

Some of the key uses of basic computer instructions include:

A

Data manipulation: Basic computer instructions are used to manipulate data stored in the computer system, including moving data between memory and the CPU, performing mathematical operations, and performing logical operations.

Control flow: Basic computer instructions are used to control the flow of instructions within the computer system. This includes branching to different parts of the program based on specified conditions and jumping to a specific memory location.

Input/output operations: Basic computer instructions are used to transfer data between the computer system and external devices, such as input devices (e.g. keyboard, mouse) and output devices (e.g. display screen, printer).

Program execution: Basic computer instructions are used to execute computer programs and run software applications. These instructions are used to load programs into memory, move data into and out of the program, and control the execution of the program.

System maintenance: Basic computer instructions are used to perform system maintenance tasks, such as memory allocation and deallocation, interrupt handling, and error detection and correction.

67
Q

Difference between Computer Architecture and Computer Organization:

Computer Architecture

Architecture describes what the computer does.

functional behavior of computing systems

high-level design issues

hardware

series of instrucctions, addressing modes, and registers

for design, architecture is fixed first

Instruction Set Architecture (ISA)

Comprises logical functions such as instructions set, registers, data types, and addressing modes

The different architectural categories found in our computer systems are as follows:
Von-Neumann Architecture
Harvard Architecture
Instruction Set Architecture
Micro-architecture
System Design

Makes computer hardware visible

Architecture coordinates the hardware and software of the system.

Software developer is aware of it

Examples- Intel and AMD created the x86 processor. Sun Microsystems and others created the SPARC processor. Apple, IBM, and Motorola created the PowerPC.

A

Difference between Computer Architecture and Computer Organization:

Computer Organization

Organization describes how it does it

Structural relationship

low-level design issues

indicates performance

Implementation of architecture is called organization

organization decided after architecture

also called microarchitecture

consists of physical units like circuit designs, peripherals and adders

CPU organization is classified into three categories based on the number of address fields:
Organization of a single Accumulator.
Organization of general registers
Stack organization

Details how well the computer performs

handles segments of the network in a system

Software programmer doesnt have to be aware of it

Organizational qualities include hardware elements that are invisible to the programmer, such as interfacing of computer and peripherals, memory technologies, and control signals.

68
Q

Uses of Basic Computer Instructions :

Some of the key uses of basic computer instructions include:

A

Data manipulation: Basic computer instructions are used to manipulate data stored in the computer system, including moving data between memory and the CPU, performing mathematical operations, and performing logical operations.

Control flow: Basic computer instructions are used to control the flow of instructions within the computer system. This includes branching to different parts of the program based on specified conditions and jumping to a specific memory location.

Input/output operations: Basic computer instructions are used to transfer data between the computer system and external devices, such as input devices (e.g. keyboard, mouse) and output devices (e.g. display screen, printer).

Program execution: Basic computer instructions are used to execute computer programs and run software applications. These instructions are used to load programs into memory, move data into and out of the program, and control the execution of the program.

System maintenance: Basic computer instructions are used to perform system maintenance tasks, such as memory allocation and deallocation, interrupt handling, and error detection and correction.

69
Q

Issues of Basic Computer Instructions :

A

Complexity: Basic computer instructions can be complex and difficult to understand, particularly for novice programmers. This can make it challenging to write efficient and effective code.

Limited functionality: While basic computer instructions are versatile and can perform a wide range of tasks, they are still limited in their functionality. This can make it challenging to perform more complex operations and can require programmers to write additional code to accomplish their goals.

Compatibility: Basic computer instructions can be specific to a particular computer system or architecture, which can make it challenging to write code that is compatible with different systems. This can require programmers to write separate code for each system, which can be time-consuming and inefficient.

Security: Basic computer instructions can be vulnerable to security threats, such as buffer overflows and code injection attacks. This can make it challenging to write secure code and can require additional measures to be taken to protect the system.

Maintenance: Basic computer instructions can be difficult to maintain, particularly as systems become more complex and code becomes more extensive. This can require significant resources to maintain and update the code, which can be challenging for organizations with limited resources.

70
Q

Issues of Basic Computer Instructions :

A

Complexity: Basic computer instructions can be complex and difficult to understand, particularly for novice programmers. This can make it challenging to write efficient and effective code.

Limited functionality: While basic computer instructions are versatile and can perform a wide range of tasks, they are still limited in their functionality. This can make it challenging to perform more complex operations and can require programmers to write additional code to accomplish their goals.

Compatibility: Basic computer instructions can be specific to a particular computer system or architecture, which can make it challenging to write code that is compatible with different systems. This can require programmers to write separate code for each system, which can be time-consuming and inefficient.

Security: Basic computer instructions can be vulnerable to security threats, such as buffer overflows and code injection attacks. This can make it challenging to write secure code and can require additional measures to be taken to protect the system.

Maintenance: Basic computer instructions can be difficult to maintain, particularly as systems become more complex and code becomes more extensive. This can require significant resources to maintain and update the code, which can be challenging for organizations with limited resources.

70
Q

Difference between Computer Architecture and Computer Organization:

Computer Architecture

Architecture describes what the computer does.

functional behavior of computing systems

high-level design issues

hardware

series of instrucctions, addressing modes, and registers

for design, architecture is fixed first

Instruction Set Architecture (ISA)

Comprises logical functions such as instructions set, registers, data types, and addressing modes

The different architectural categories found in our computer systems are as follows:
Von-Neumann Architecture
Harvard Architecture
Instruction Set Architecture
Micro-architecture
System Design

Makes computer hardware visible

Architecture coordinates the hardware and software of the system.

Software developer is aware of it

Examples- Intel and AMD created the x86 processor. Sun Microsystems and others created the SPARC processor. Apple, IBM, and Motorola created the PowerPC.

A

Difference between Computer Architecture and Computer Organization:

Computer Organization

Organization describes how it does it

Structural relationship

low-level design issues

indicates performance

Implementation of architecture is called organization

organization decided after architecture

also called microarchitecture

consists of physical units like circuit designs, peripherals and adders

CPU organization is classified into three categories based on the number of address fields:
Organization of a single Accumulator.
Organization of general registers
Stack organization

Details how well the computer performs

handles segments of the network in a system

Software programmer doesnt have to be aware of it

Organizational qualities include hardware elements that are invisible to the programmer, such as interfacing of computer and peripherals, memory technologies, and control signals.

71
Q

Uses of Basic Computer Instructions :

Some of the key uses of basic computer instructions include:

A

Data manipulation: Basic computer instructions are used to manipulate data stored in the computer system, including moving data between memory and the CPU, performing mathematical operations, and performing logical operations.

Control flow: Basic computer instructions are used to control the flow of instructions within the computer system. This includes branching to different parts of the program based on specified conditions and jumping to a specific memory location.

Input/output operations: Basic computer instructions are used to transfer data between the computer system and external devices, such as input devices (e.g. keyboard, mouse) and output devices (e.g. display screen, printer).

Program execution: Basic computer instructions are used to execute computer programs and run software applications. These instructions are used to load programs into memory, move data into and out of the program, and control the execution of the program.

System maintenance: Basic computer instructions are used to perform system maintenance tasks, such as memory allocation and deallocation, interrupt handling, and error detection and correction.