Computer Science
Draw the structure of the components of a computer and briefly explain the following.
(a) Input Unit
(b) Output Unit
(c) Central Processing Unit
(d) Primary Memory
(e) Secondary Memory
Computer System
3 Likes
Answer

- Input Unit — An input unit takes/accepts input and converts it into binary form so that it can be understood by the computer. The computer input constitutes data and instructions.
Examples: Keyboard, mouse, scanner, and microphone. - Output Unit — Output unit is formed by the output devices attached to the computer. Output devices produce the output generated by the CPU in human readable form.
Examples: Monitor, printer, and speakers. - Central Processing Unit — CPU is the control centre or brain of a computer. It guides, directs, controls and governs all the processing that takes place inside the computer. The CPU consists of three components — ALU, CU and Registers.
- Primary Memory — The primary memory, also termed as main memory, is directly accessible to the CPU since all the work is done in the RAM and later on gets stored on the secondary storage. It is volatile, meaning it loses its data when the power is turned off. The types of primary memory are RAM and ROM.
- Secondary Memory — The secondary memory, also known as auxiliary memory, can be accessed by the CPU through input-output controllers or units. It is used to store a large amount of data permanently. It is non-volatile, meaning it retains data even when the computer is turned off.
Answered By
1 Like
Related Questions
Observe the code given below and answer the following questions. A triangle has three sides — a, b and c, and the values are 17, 23 and 30, respectively. Calculate and display its area using Heron's formula as
;
(a) Import the module — Statement 1
(b) Calculate s (half of the triangle perimeter) — Statement 2
(c) Insert function to calculate area — Statement 3
(d) Display the area of triangle — Statement 4
import ............... #Statement 1 a, b, c = 17, 23, 30 s = ............... #Statement 2 area = ............... (s*(s—a)*(s—b)*(s—c)) #Statement 3 print("Sides of triangle:", a, b, c) print(...............) #Statement 4
Meera wants to buy a desktop/laptop. She wants to use multitasking computer for her freelancing work which involves typing and for watching movies. Her brother will also use this computer for playing/creating games.
(i) Which of the following hardware has a suitable size to support this feature? Specify the reason.
- ROM
- RAM
- Storage
- All of these
(ii) Meera also wants to use this computer while traveling. What should her preference be — desktop or laptop?
(iii) If Meera has to run Python on her laptop, what should be the minimum RAM required to run the same?
(iv) What is the difference between RAM and storage? Do we need both in a computer?
Write a menu-driven program to implement a simple calculator for two numbers given by the user.
Write a program that inputs a list, replicates it twice and then prints the sorted list in ascending and descending orders.