Computer Awareness Study Material – Computer Architecture
Computer architecture deals with the functional behavior of a computer system as viewed by a programmer. It can also be described as the logical structure of the system unit that housed electronic components. The computer architecture forms the backbone for building successful computer systems.
Components of Computer
A computer consists of following main components
- Input/Output (I/O) Unit Central Processing Unit
- Memory Unit
Input Unit
The computer accepts coded information through input unit by the user. It is a device that is used to give required information to the computer, e.g. keyboard, mouse, etc.
An input unit performs the following functions
- It accepts the instructions and data from the user.
- It converts these instructions and data in computer in acceptable format.
- It supplies the converted instructions and data to the computer system for further processing.
Output Unit
This unit sends the processed results to the user. It is mainly used to display the desired result to the user as per input instruction, e.g. video monitor, printer and plotter, etc.
The following functions are performed by an output unit
- It accepts the results produced by the computer which are in coded form and hence cannot be easily understood by us.
- It converts these coded results to human acceptable, form.
- It supplies the converted results to the user.
Central Processing Unit (CPU)
It consists of set of registers, arithmetic logic unit and control unit, which together interpret and execute instructions in assembly language.
The primary functions of the CPU are as follows
- The CPU transfers instructions and input data from main memory to registers, i.e. internal memory.
- The CPU executes the instructions in the stored sequence.
- When necessary, CPU transfers output data from registers to main memory.
Central Processing Unit is often called the brain of computer. The CPU is fabricated as a single Integrated Circuit (1C) and is also known as microprocessor.
A CPU controls all the internal and external devices and performs arithmetic and logic operations.
The CPU consists of following main sub-systems
Arithmetic Logic Unit
ALU contains the electronic circuitry that executes all arithmetic and logical operations on the available data.
ALU uses registers to hold the data that is being processed.
Most ALUs can perform the following operations
- Logical operations (AND, NOT, OR, XOR)
- Arithmetic operations (addition, subtraction, multiplication and division).
- Bit-shifting operations (shifting or rotating a word by a specified number of bit to the left or right with or without sign extension).
- Comparison operations (=, <, <=,>,> =)
Registers
These are special purpose and high speed temporary memory units. Registers are not referenced by their address, but are directly accessed and manipulated by the CPU during execution. Registers store data, instructions, address and intermediate results of processing.
The number and size of registers vary from processor to processor.
Control Unit
CU coordinates with the input and output devices of a computer. It directs the computer to carry out stored program instructions by communicating with the ALU and the registers. It organises the processing of data and instructions.
The basic function of control unit is to fetch the instruction stored in the main memory, identify the operations and the devices involved in it and accordingly generate control signals.
Microprocessor
The microprocessor is the controlling element in a computer system and is sometimes referred to as the chip. Microprocessor is the main hardware that drives the computer. It is a large Printed Circuit Board (PCB), which is used in all electronic systems such as computer, calculator, digital system, etc. The speed of CPU depends upon the type of microprocessor used.
- Intel 4004 was the first microprocessor made by Intel in 1971 by scientist Ted Hoff and engineer Frederico Faggin.
- Some of the popular microprocessors are Intel core i7, Intel, Dual core, Pentium IV, etc.
Memory Unit
This unit is responsible to store programs or data on a temporary or permanent basis. It has primary memory (main memory) and secondary memory (auxiliary memory). The input data which is to be processed is brought into main memory before processing.
The needed instruction for processing and any kind of intermediate results are also stored in primary memory. Together with these, the final output is also stored in primary memory before transferring it to the output unit. Another kind of memory is referred as secondary memory of a computer system. This unit is used to permanently store data, programs and output. This unit does not deal directly with CPU.
Motherboard
The main circuit board contained in any computer is called a motherboard. It is also known as the main board or logic board or system board or planar board. The biggest piece of silicon housed in the system unit of a computer is motherboard.
All the other electronic devices and circuits of computer system are attached to this board like, CPU, ROM , RAM, expansion slots, PCI slots and USB ports. It also includes controllers for devices like the hard drive, DVD drive, keyboard and mouse. In other words, motherboard makes everything in a computer work together.
Interconnection of Units
CPU sends data, instructions and information to the components inside the computer as well as to the peripheral devices attached to it.
In other wouds, A bus is a set of wires used for interconnection, where each wire can carry one bit of data. In other words, bus is a set of electronic signal pathways that allows information and signals to travel between components inside or outside of a computer.
A computer bus can be divided into two types
1. Internal Bus The internal bus connects components inside the motherboard like, CPU and system memory. It is also called the system bus.
Internal bus includes following buses
- The command to access the memory or the I/O device is carried by the control bus.
- The address of I/O device or memory is carried by the address bus. The data to be transferred is carried by the data bus.
2. External Bus The external bus connects the different external devices; peripherals, expansion slots, I/O ports and drive connections to the rest of computer. It is also referred to as the expansion bus.
Instruction Cycle
The instruction cycle represents the sequence of events that takes place as an instruction is read from memory and executed.
A simple instruction cycle consists of the following steps
- Fetching the instruction from the memory.
- Decoding the instruction for operation.
- Executing the instruction.
- Storing in memory.
In above steps, step 1 and 2 instructions are same and known as fetch cycle and step 3 and 4 instructions are different and known as execute cycle.
Instructions Format
Computer understands instructions only in terms of 0’s and l’s, which is called the machine language. A computer program is a set of instructions that describe the steps to be performed for carrying out a computational task. The processor must have two inputs; instructions and data.
The instructions tell the processor what actions are needed to be performed on the data. An instruction is further divided into two parts; operation (op-code) and operand. The op-code represents action that the processor must execute and the operand defines the parameters of the action and depends on the operation.
Machine cycle is defined by the time, that takes to fetch two operands from registers and performs the ALU operation and stores the result in a register.
Pipelining improves execution speed by putting the execution steps of several instructions into parallel.
Sockets are the connecting points of chip on the motherboard.
Load instruction is used for loading data into CPU accumulator register from memory.
QUESTION BANK
1. On the motherboard, the connection points for chips are referred to as
- slots
- sockets
- ports
- lines
- None of these
2. Internal memory in a CPU is nothing but
- a set of registers
- a set of ALU
- microprocessor
- bus
- None of these
3. The word ‘computer’ usually refers to the central processing unit plus
- external memory
- internal memory
- input devices
- output devices
- None of these
4. Which of the following is a part of central processing unit?
- Printer
- Keyboard
- Mouse
- Arithmetic Logic Unit
- All of the above
5. Control unit of a digital computer is often called the
- clock
- nerve centre
- Both ‘1’ and ‘2’
- IC
- None of the above
6. The Central Processing Unit (CPU) in a computer consists of
- input, output and processing
- control unit, primary storage and secondary storage
- control unit, arithmetic logic unit, memory unit
- All of the above
- None of the above
7. A group of bits that tells the computer to perform a specific operation is known as
- instruction code
- micro-operation
- accumulator
- register
- None of the above
8. ……….. are special purpose and high speed temporary memory units.
- registers
- ALU
- CU
- CPU
- None of these
9. Memory unit that communicates directly with the CPU is called the
- main memory
- secondary memory
- auxiliary memory
- register
- None of the above
10. Where does computer add and compare data?
- Hard disk
- Floppy disk
- CPU chip
- Memory chip
- None of these
11. Pipeline strategy is called implement
- instruction execution
- instruction prefetch
- instruction decoding
- instruction manipulation
- None of the above
12. When machine instructions are being executed by a computer, the instruction phase followed by the execution phase is referred to as
- program cycle
- machine instruction
- instruction cycle
- task cycle
- machine cycle
13. Which computer memory is used for storing programs and data currently being processed by the CPU?
- Mass memory
- Internal memory
- Non-volatile memory
- PROM
- None of the above
14. Following are names of motherboard except
- system board
- main board
- planar board
- logic board
- computer board
15. The central processing unit is an example of
- peripheral
- output unit
- software
- program
- hardware
16. Which of the following include as type of input?
- data
- programs
- commands
- user response
- All of these
17. …….. selects, interprets and executes instructions in a CPU.
- Control unit
- ALU
- Memory
- Storage
- Input unit
18. CPU retrieves its data and instructions from
- secondary memory
- auxiliary memory
- main memory
- All of these
- None of these
19. …….. the raw facts from which……….. is derived.
- Data, information
- Data, output
- Input, information
- Output, input
- Information, message
20. The address of I/O device or memory is carried by the
- data bus
- expansion bus
- address bus
- system bus
- None of these
21. ………… is the process of carrying out commands.
- Fetching
- Storing
- Decoding
- Executing
- None of these
22. Pick the one that is used for logical operations or comparisons such as less than, equal to or greater than.
- ALU
- CU
- Input unit
- MU
- None of these
23. The………. is responsible for decision making mechanisms.
- CPU
- MU
- ALU
- CU
- None of these
24. Which of the following components is the most essential for the computer system to work?
- Input system
- Output system
- Storage system
- Monitor
- CPU
25. A(n)………. device is any device that provides information, which is sent to the CPU.
- input
- output
- CPU
- memory
- processing
26. Which of the following controls the machine cycle?
- Control unit
- Memory unit
- Logic unit
- Arithmetic unit
- None of these
27. Which of the following executes the computer commands?
- Arithmetic unit
- Logic unit
- Both ‘1’ and ‘2’
- Control unit
- None of these
28. The machine cycle includes
- fetch
- decode
- execute
- store
- All of these
29. Which instruction is used for loading data into CPU accumulator register from memory?
- Load
- Storage
- Machine
- Access
- Cycle
30. Computations and logical operations are performed by the
- RAM
- ALU
- register
- control unit
- None of these
31. Who invent the first microprocessor?
- Vint cerf
- Terence Percival
- Heorku
- Ted Hoff
- None of the above
32. The system unit
- coordinates input and output devices
- is the container that houses electronic components
- is a combination of hardware and software
- controls and manipulates data
- does the arithmetic operations
33. To measure the speed of the processor,…… is used.
- processing speed
- clock speed
- memory
- unit
- speed measurement
34. The CPU is made up of two smaller components
- ALU and CU
- ALU and RAM
- RAM and ROM
- RAM and CU
- None of these
35. The term……. designates equipment that might be added to a computer system to enhance its functionality.
- digital device
- system add-on
- disk pack
- peripheral device
- None of these
36. It is also called the brain of the computer, is responsible for processing data.
- Motherboard
- Memory
- RAM
- Central Processing Unit (CPU)
- None of the above
37. Which circuit board is used in all electronic systems such as computer, calculators, digital system?
- Architecture
- Printer
- Value
- Register
- None of these
38. Another name for a logic chip is
- PROM
- memory
- microprocessor
- ROM
- RAM
39. Microprocessors can be used to make
- computer
- digital system
- calculators
- All of these
- None of these
40. CPU stands for
- Computer Processing Unit
- Central Processing Unit
- Computer Protection Unit
- Central Processing Upload
- None of the above
41. The communication line between CPU, memory and peripherals is called a
- bus
- line
- media
- All of these
- None of these
42. The control unit controls other units by generating
- control signal
- timing signal
- transfer signal
- command signal
- None of these
43. The main circuit board of the system unit is
- computer program
- control unit
- motherboard
- RAM
- None of these
44. This component is required to process data into information and consists of integrated circuits.
- Hard disk
- RAM
- CPU
- ROM
- None of these
45. Which is not an integral part of computer?
- CPU
- Mouse
- Monitor
- UPS
- None of these
46. The load instruction is mostly used to designate a transfer from memory to a processor register known as
- accumulator
- instruction register
- program counter
- memory address register
- None of the above
47. The basic goal of computer process is to convert the data into
- files
- tables
- information
- graphs
- None of these
48. Arithmetic logic unit and control unit sections have special purpose locations called
- registers
- RAM
- BIOS
- I/O
- ROM
49. Which part of the computer is used for calculating and comparing?
- ALU
- Control unit
- Disk unit
- Modem
- None of these
50. The CPU comprises of control, memory and ….. units.
- microprocessor
- arithmetic/logic
- output
- ROM
- input
51. ‘C’ in CPU denotes
- Common
- Central
- Convenient
- Computer
- Circuitry
52. A microprocessor is the brain of the computer and is also called a
- microchip [RBI Grade B 2014]
- macrochip
- macroprocessor
- calculator
- software
53. If a processor has a word size of 32 bits compared to a processor with a word size of 16 bits, it can at a time.
- twice as much .
- half as much
- thrice as much
- the same amount
- a forth as much
54. Which of the following company developed the microprocessor?
- Intel
- IBM
- Microsoft
- Apple
55. What does ALU in computing denote?
- Application and Logic Unit
- Algorithm Logic Unit
- Arithmetic Layered Unit
- Arithmetic Legal Unit
- Arithmetic Logic Unit
56. The main circuit board in the computer that connects the parts of the computer is the
- motherboard
- father board
- match board
- hard drive
- special board
57. Which of the following manages computer resources?
- ALU
- BUS
- Control unit
- I/O unit
- Secondary memory
58. What is the responsibility of the logical unit in the CPU of a computer?
- To produce result
- To compare numbers
- To control flow of information
- To do Maths work
- None of these
59. Which of the following is not a function of the control unit?
- Read instructions
- Interpret instructions
- Execute instructions
- Direct operations
- Provide control signals
60. ………… is when the more power-hungry components, such as the monitor and the hard drive, are put in idle.
- Hibernation
- Power down
- Standby mode
- The shutdown procedure
- None of these
61. The portion of the CPU that coordinates the activities of all the other computer components is the
- motherboard
- coordination board
- control unit
- arithmetic logic unit
- None of these
62. Which among the following is an important circuitry in a computer system that directs the operation of the processor
- Memory
- Address Bus
- Accumulator
- ALU
- Control unit
63. What is the brain of the computer called?
- Keyboard
- Mouse
- CPU
- Printer
64. Processors contain a control unit and a/an :
- Control unit [SSC CGL 2016]
- Primary storage unit
- Input unit
- Arithmetic logic unit
ANSWERS
Leave a Reply