0% found this document useful (0 votes)
3 views8 pages

Computer Science

The document provides an overview of various components and concepts in computer science, including the functions of address, data, and control buses, as well as the classification of computers based on size, function, data processing, and portability. It explains how data is stored on hard disks, types of networks, the OSI model, computer memory types, and differences between networks and the internet. Additionally, it covers robotics, GPS, optical fibers, and their respective workings and advantages.

Uploaded by

Afrasiyab Khan
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views8 pages

Computer Science

The document provides an overview of various components and concepts in computer science, including the functions of address, data, and control buses, as well as the classification of computers based on size, function, data processing, and portability. It explains how data is stored on hard disks, types of networks, the OSI model, computer memory types, and differences between networks and the internet. Additionally, it covers robotics, GPS, optical fibers, and their respective workings and advantages.

Uploaded by

Afrasiyab Khan
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

3 Buses of Computer: Address Bus, Data Bus, Control Bus – Explain What Each Is Used

For

Address Bus
It carries the address/location of data. It tells the computer where to read or write data in
memory.

Data Bus
It carries the actual data. It is used to transfer data between CPU, memory, and other devices.

Control Bus
It carries control signals. It tells the computer how and when operations should happen (read,
write, interrupt, etc.).

Functions of Each Part of Computer Block Diagram

Input Unit
Enters raw data and instructions into the computer.

Memory Unit
Stores data, instructions, and results temporarily or permanently.

Arithmetic and Logic Unit (ALU)


Performs all arithmetic (add, subtract, etc.) and logical (comparisons) operations.

Control Unit (CU)


Controls and coordinates all activities inside the computer.

CPU (Central Processing Unit)


Brain of the computer; processes data by using ALU and CU.

Output Unit
Shows the final result to the user.

Classification of Computer

On the Basis of Size


Microcomputer: Small computers for personal use.
Minicomputer: Medium-sized computers for small organizations.
Mainframe Computer: Very large computers used by big institutions.
Supercomputer: Extremely powerful computers used for complex scientific tasks.

On the Basis of Function


General-Purpose Computer: Performs many different kinds of tasks.
Special-Purpose Computer: Designed to do only one specific job.
On the Basis of Data Processing
Analog Computer: Processes continuous physical signals (like temperature, pressure).
Digital Computer: Processes data in binary form (0 and 1).
Hybrid Computer: Combines both analog and digital features.

On the Basis of Portability


Desktop Computer: Used at one fixed place.
Laptop Computer: Portable personal computer.
Tablet: Touch-screen portable device.
Wearable Computer: Small smart devices worn on the body.

How Data is Stored on a Hard Disk

Platter:
A hard disk has circular plates called platters where data is physically stored.

Track:
Each platter is divided into many circular rings called tracks.

Sector:
Each track is further divided into small slices called sectors; each sector stores a fixed amount of
data.

Cluster:
A group of sectors makes a cluster; data is saved in clusters, not in single sectors.

File Stored:
When a file is saved, the hard disk breaks it into pieces and stores those pieces in available
clusters on the platter.

Types of Network

LAN (Local Area Network)


Covers a small area like a room, building, or office; used to connect nearby computers.

MAN (Metropolitan Area Network)


Covers a city or large campus; connects multiple LANs within a metropolitan area.

WAN (Wide Area Network)


Covers a very large area like countries or continents; the internet is the biggest WAN.

What is Open System Interconnection (OSI) and describe its layers

Open System Interconnection (OSI):


A standard model that explains how data travels from one device to another in a network through
7 different layers, each performing a specific function.
Layers of OSI Model:

1. Physical Layer (Layer 1):


Deals with physical connection, cables, signals, voltage.
2. Data Link Layer (Layer 2):
Handles error detection, MAC address, frames, and reliable link between two devices.
3. Network Layer (Layer 3):
Manages logical addressing (IP address) and routing of data.
4. Transport Layer (Layer 4):
Provides end-to-end communication, error control, flow control (TCP/UDP).
5. Session Layer (Layer 5):
Manages sessions, opening and closing communication between devices.
6. Presentation Layer (Layer 6):
Converts data formats, encryption, compression.
7. Application Layer (Layer 7):
Provides services to users like email, web browsing, file transfer.

What is Computer Memory? Describe its units and discuss various types of memories.

Computer Memory:
Computer memory is a storage space where the computer keeps data, instructions, and results for
processing. It allows quick access to information needed by the CPU.

Units of Memory

 Bit: Smallest unit (0 or 1)


 Nibble: 4 bits
 Byte: 8 bits
 Kilobyte (KB): 1,024 bytes
 Megabyte (MB): 1,024 KB
 Gigabyte (GB): 1,024 MB
 Terabyte (TB): 1,024 GB

Types of Computer Memory


1. Primary Memory (Main Memory)

Used directly by CPU for fast access.

a. RAM (Random Access Memory) – Volatile

 SRAM: Fast, used in cache


 DRAM: Slower, used in main memory
o SDRAM
o DDR SDRAM (DDR1 to DDR5)

b. ROM (Read Only Memory) – Non-volatile

 PROM: Programmable once


 EPROM: Erasable using UV light
 EEPROM: Electrically erasable
 Flash ROM: Modern type used in BIOS

2. Secondary Memory (Storage Devices)

Used for long-term data storage.

 Magnetic Tape: Used for backup


 Magnetic Disk: Hard drives (HDD)
 Optical Disk: CD, DVD, Blu-ray
 Flash Memory: USB, SSD, memory cards

 Difference between Network and Internet

Network Internet

A network is a group of two or more Internet is a global network of


computers connected together to networks connecting millions of
share data, files, and resources. computers worldwide.

Covers a small or limited area such Covers a very large/global area,


as office, school, college, home. connecting the whole world.

Example: LAN in office, computer Example: Websites, email, social


lab, home Wi-Fi network. media, online banking.

Mostly privately owned and No single owner; managed globally


controlled by an organization or by different organizations (ISPs,
individual. ICANN, etc.).

Provides limited services like file Provides wide services like web
sharing, printer sharing, resource browsing, email, cloud storage,
sharing. e-commerce, video streaming.

Security risks are lower because it is Security risks are higher because it
private and limited. is open to the public and global.
Network Internet

Requires fewer devices (switch, router, Requires a vast infrastructure (ISPs,


cables). servers, satellites, undersea cables).

Speed is usually faster within a local Speed may vary due to global traffic
network. and ISP limits.

 These are the key differences suitable for CSS General Science.
 Difference between Program, Software, and Application

Program Software Application

A program is a set of Software is a Application is a type of


instructions written in a collection of software designed for the
programming language to programs that make end user to perform
perform a specific task. a computer useful. specific tasks.

Includes system
Example: MS Word,
Example: C program, Java software and
Photoshop, Web
program. application
browser.
software.

Performs multiple Performs user-oriented


Performs one specific functions as it tasks like writing,
function. contains many editing, drawing,
programs. browsing.

Managed by the
Written by programmers in
operating system for Runs on top of system
languages like C, C++,
overall computer software (OS).
Python.
working.

Controls hardware
Cannot work alone without Easy to use and directly
and provides platform
software environment. used by the user.
for applications.

What is Robotics

Robotics is a branch of science and engineering that deals with the design, construction,
operation, and programming of robots. It combines mechanical engineering, electronics, and
computer science to create machines that can perform tasks automatically or with minimal
human control.
How Communication Satellite Works

1. Uplink (Transmission from Earth to Satellite):


Ground station sends signals to the satellite using microwave transmitter.
2. Satellite Receiver:
The satellite receives the weak signal through its receiver.
3. Amplification:
The satellite amplifies the received signal to strengthen it.
4. Transponder:
The satellite changes the frequency of the signal to avoid interference.
5. Downlink (Transmission from Satellite to Earth):
The satellite sends the amplified signal back to Earth using a microwave transmitter.
6. Ground Station Receiver:
Earth stations receive the signal and send it to TV, internet, or communication networks.

What is GPS?

GPS (Global Positioning System) is a satellite-based navigation system that tells your exact
location, speed, and time anywhere on Earth.

Working of GPS (Simple Explanation)

1. GPS Satellites in Space:


Around 24–32 satellites orbit Earth and continuously send signals.
2. GPS Receiver on Earth:
Your mobile or car GPS receives these signals.
3. Distance Calculation:
The receiver measures how long each satellite’s signal takes to reach it.
(More time = farther away)
4. Triangulation:
Signals from at least 3 satellites find your exact position;
4 satellites give accurate time and altitude too.
5. Location Display:
The GPS device shows your location on the map, directions, routes, and tracking.

This is the simplest and CSS-friendly explanation.

Does GPS work the same way for all applications?

Yes, the basic working of GPS is the same for all applications.
All GPS-based services—Google Maps, car navigation, tracking apps, delivery apps, ride-hailing
apps—use the same process:
1. Satellites send signals
2. Your device receives the signals
3. Distance is calculated
4. Triangulation finds your location

The core GPS working never changes.

Only the use of location is different for each application:

 Google Maps: Shows routes and navigation


 Uber/Careem: Tracks driver and passenger location
 Food delivery apps: Tracks rider location
 Fitness apps: Measures running/walking routes
 Weather apps: Detect your city/location
 Car navigation systems: Guide to destinations

But the GPS mechanism behind all of them is the same.

Explain Optical Fibers

Optical fibers:
Thin, flexible glass or plastic strands used to transmit data as light signals over long distances
with very high speed.

How Optical Fibers Work (Simple):

1. Light enters the fiber from a laser or LED.


2. Total Internal Reflection:
Light bounces inside the fiber repeatedly without escaping.
3. Light travels long distances with very low loss.
4. At the other end, the light signal is converted back into
electrical signals.

Types of Optical Fibers:

1. Single-mode fiber:
Carries one light path; used for long-distance communication.
2. Multi-mode fiber:
Carries many light paths; used for short-distance networks.
Advantages:

 Very high-speed data transmission


 No electrical interference
 More secure and reliable
 Light, flexible, and carries large amounts of data

This is the simplest and CSS-friendly explanation.

Disadvantages of Optical Fibers

1. Expensive installation compared to copper cables.


2. Fragile — glass fibers can break easily.
3. Difficult to join (splicing) and requires special tools.
4. Requires skilled technicians for handling and maintenance.
5. Cannot carry electrical power (only light signals).
6. Sensitive to bending, which can cause signal loss.

You might also like