Block Diagram and functional units of computer

PARAM હોય, તમારો phone હોય કે કોઈ પણ computer, બધા એક જ 5-unit ના diagram પર ચાલે છે: 2 છેડે input અને output, વચ્ચે CPU (control unit + ALU), અને નીચે memory.

10 min read · 10 cards · 2 checks

Read in: English · हिन्दी · ગુજરાતી


Theory

એક જ diagram, બધા માટે

Chirag screwdriver લઈને એક ધૂળ ખાધેલું cabinet ખોલે છે અને કહે છે: "જુઓ, motherboard, processor, RAM, hard disk. હવે આ બધા parts ને થોડી વાર ભૂલી જાવ. અહીં અંદર જે કંઈ તમે ક્યારેય જોશો, ₹50 crore ના supercomputer માં જે છે, અને તમારા phone માં જે છે, એ બધું જ 1940s માં દોરાયેલા એક જ diagram માં આવી જાય છે."

અને એની વાત સાચી છે. આ એક map શીખી લો, પછી કોઈ પણ machine તમને ઓળખીતી લાગશે. Exam પણ આ જ કહે છે: "draw and explain the block diagram" એ પાકો આવવાનો question છે.

Theory

એક restaurant નું kitchen

Waiter પાસેથી orders આવે છે (input). Head chef દરેક order વાંચીને kitchen ને direction આપે છે: "તું આ કાપ, તું આ તળ, હવે આને plate કર" (control unit). ખરેખર કાપવા-તળવાનું કામ રસોઈયાના હાથ કરે છે (ALU). Fridge અને store-room માં ingredients અને તૈયાર dish પડ્યા હોય છે (memory). Serving counter પરથી food બહાર જાય છે (output). કોઈ એક unit એકલી રસોઈ નથી બનાવતી; બધું head chef coordinate કરે છે.

Theory

Diagram પોતે

Exam માં એને બરાબર આ રીતે જ દોરો, arrows સાથે:

⎡ CPU ⎤

INPUT → ⎢ CU | ALU ⎥ → OUTPUT

⎣ (registers) ⎦

↕

MEMORY

Data અંદર આવે, CPU એને process કરે, અને result બહાર જાય. Memory અને CPU વચ્ચે સતત બંને બાજુ આપ-લે ચાલતી રહે છે: instructions અને data ઉપર જાય, અને result પાછા નીચે આવે.

Theory

દરેક unit શું કરે છે

  • Input unit: data ને અંદર લાવે, binary માં convert કરીને (keyboard, mouse, scanner).
  • CU (Control Unit): આ છે director. Instructions fetch કરે, અને દરેક unit ને કહે કે શું કરવાનું અને ક્યારે. પોતે કોઈ calculation નથી કરતું.
  • ALU (Arithmetic Logic Unit): આ છે worker. બધું arithmetic (+, -, ×, ÷) અને બધા logical comparisons (78 એ 65 કરતાં મોટું છે કે નહીં?).
  • Registers: CPU ની અંદર જ થોડાક નાના, સૌથી fast storage slots, જેમાં અત્યારે જેના પર કામ ચાલી રહ્યું છે એ પડ્યું હોય છે.
  • Memory unit: data અને instructions ને hold કરે; અને Output unit binary result ને પાછું માણસ સમજી શકે એવા form માં ફેરવે.

Quiz

જ્યારે computer check કરે કે marks 78 એ pass mark 35 કરતાં મોટા છે કે નહીં, ત્યારે આ comparison કઈ unit કરે છે?

  1. ALU
  2. Control Unit
  3. Memory unit
  4. Input unit
Show the answer

ALU

Comparisons એ logical operations છે, ALU માં જે L છે એ. ઘણા students ને એવું લાગે કે જ્યાં કંઈ "decide" કરવાનું આવે એ Control Unit નું કામ, પણ CU તો ખાલી traffic direct કરે છે; એ ક્યારેય calculate કે compare નથી કરતું. ALU બંને કરે છે, arithmetic પણ અને logic પણ. આ ભેદ exam માં વારંવાર પુછાય છે.

Think first

એક calculation ને trace કરો

તમે calculator app માં 5 + 3 type કરો છો અને = દબાવો છો. હવે મનમાં જ આ journey ને block diagram માંથી પસાર કરો: કઈ units એને touch કરે છે, અને કયા order માં?

Show the answer

Input (keys) 5, +, 3 ને binary માં મોકલે → memory એને hold કરે → CU instruction fetch કરીને ALU ને add કરવાનું કહે → ALU 8 compute કરીને એક register માં મૂકે → result memory માં જાય → output (screen) 8 બતાવે.

6 stop, secondના અમુક ભાગમાં, અને computer જે પણ operation કરે એ બધા માટે આ જ trace લાગુ પડે છે.

Watch out

3 જગ્યાએ marks સરકી જાય

એક: CU ને calculation નું કામ સોંપી દેવું ("CU processes data"). એ direct કરે છે; process તો ALU કરે છે. 2: diagram arrows વગર દોરવો, arrows જ તો data flow છે અને એ marks લઈ આવે છે. 3: CU અને ALU ની બાજુમાં "CPU" ને પણ એક unit તરીકે લખી દેવું. CPU એ તો પેલો box છે જેની અંદર CU + ALU + registers સમાયેલા છે, એ કોઈ ચોથો ભાઈ નથી.

Formula

Exam recipe: 5-marks વાળી version

Diagram બધા arrows અને labels સાથે દોરો. પછી દરેક unit માટે એક-એક ચોખ્ખી line: input (data in, binary), CU (directs, no calculation), ALU (arithmetic + logical operations), registers (fastest, inside CPU), memory (holds data + instructions), output (results in human form). Diagram + 6 lines = જ્યારે પણ આ પુછાય ત્યારે પૂરા marks.

Theory

આ map આખા subject ને ચલાવે છે

આ subject નું Unit 2 આ diagram ના વચ્ચેના ભાગ માં zoom કરે છે (processor, memory types, અને એમને જોડતા buses). Unit 3 છેડા પર zoom કરે છે (input અને output devices). આવતા semester નું C programming પણ આ જ diagram ને code માં ઉતારે છે: scanf input આપે, expressions ALU માં ચાલે, printf એ output છે. આગળના દરેક topic ને આ map સાથે જોડી દેજો.

Summary

Key takeaways

  • 5 functional units: input, CU, ALU (+ CPU ની અંદર registers), memory, output.
  • Flow: input → CPU ↔ memory → output; diagram માં arrows જ marks લઈ આવે છે.
  • CU બધું direct કરે છે પણ calculate કંઈ નથી કરતું.
  • ALU બધું arithmetic અને બધા logical comparisons કરે છે.
  • Registers એ CPU નું નાનું, સૌથી fast workspace છે.
  • યાદ રાખવાની hook: kitchen, head chef direct કરે, હાથ રસોઈ કરે, fridge store કરે.

Study this properly

This page is the lesson to read. In Gri-Learn the same topic is a graded deck: the self-checks are scored and your weak topics are tracked. Free to start.

Start this topic

Already have an account? Sign in

More from Introduction

Gri-Learn · syllabus-mapped B.C.A. lessons in English, Hindi and Gujarati

Block Diagram and functional units of computer · Introduction to Computers · Gri-Learn