00 Computer Concepts All Lecture Slides - Watermark
00 Computer Concepts All Lecture Slides - Watermark
Expected Etiquettes
o You shall now become a
professional person. Demonstrate
behavior of a professional.
o Make yourself your parents and
then the organization proud with
your conduct and achievements.
o You will require class attendance
REGULARLY otherwise you shall
struggle to understand this subject.
Attending classes is for your own
good.
o Graphic Era lab exams of a very high
standard. You are expected to run
the code and answer viva-voice
questions.
7
Expected Etiquettes
o Very, Very important to learn
programming basics to secure a
good life and job.
o Execute the code on a
computer/smart phone then only
your understanding shall increase.
o You need to bring to my attention
any issues regarding the course at
the earliest to the attention of your
class teacher, anything you feel
should be looked into.
o Show professional behavior to your
teachers.
8
*****
1
Introduction to Computers
o Introduction to Computers
o Software & Hardware
o Input / Output Devices
o Computer memory
o RAM/ROM
o Understand bit, byte, KB, MB, GB
and their relations to each other
o Generation of computers
o Operating System
o Computer Networks
2
What is a Computer ?
COM PUTER
I NPUT OUTPUT
PROCESSI NG
HARDWARE SOFTWARE
Example:
The antivirus, chrome browser, Linux
OS that protects the computer system
is a type of Software.
2
* Courtesy ASUS
*
4
***
/* Most Humbly and Gratefully Acknowledge to all the Wonderful People making
Content Freely Available
Description : A stylized personal computer, with as many parts as possible
shown and labeled
Link :
https://commons.wikimedia.org/wiki/File:Personal_computer,_exploded_6.svg
License Type: Creative Commons Attribution 2.5 Generic license.
Author: User:HereToHelp
*/
* ASUS Motherboard used for representational purpose only. Image credits ASUS.
5
Types of Software's
It is a collection of It is a collection of
programs that programs written for
enable the users to a specific
interact with application. Like, we
hardware have library system,
components inventory control
efficiently system, etc
WorkStation / Server
*****
8
Software Utilities
Operating System
The primary goal of an operating system
is to make the computer system
convenient and efficient to use.
(Computer Usable)
An operating system ensures that the
system resources (such as CPU, memory,
I/O devices, etc) are utilized efficiently
i.e. Resource Manager.
For example, there may be many service
requests on a web server and each user
request need to be serviced. Similarly, there
may be many programs residing in the main
memory.
Therefore, the system needs to
determine which programs are active and
which need to wait for some I/O operation.
11
12
*****
1
Secondary memory
o Data and/or instructions stay
permanently. Not reliant on power.
o Cheaper and can store very large
data quantity.
o Certain device like pen drives etc
data is portable, copied from one
machine to another.
o Slower speed of access compared to
main memory.
o Memory is organized into a number
of partitions called as cells. Each cell
has an address. Just like a housing
colony.
5
Types of RAM
Static RAM (SRAM)
Flip Flop (latch) is used to represent 1
and 0’s
The word static indicates memory
refresh is not required. Simpler Design.
Faster and Used as cache memory
Highly Reliable
Expensive and Long life
Finds use in digital Cameras, high end
mobile phones.
Samsung 16GB
8
/* Most Humbly and Gratefully Acknowledge to all the Wonderful People making Content Freely Available
Description : File:Random vs sequential access.svg
Link : https://commons.wikimedia.org/wiki/File:Random_vs_sequential_access.svg
License Type: I, the copyright holder of this work, release this work into the public domain. This applies
worldwide.
Author: Me (User:Intgr)
*/
18
HARD DISK
o Thought of as Circular plates (called
as platters) stacked upon each other
with suitable gaps.
o Platters coated with magnetic
medium for data recording.
20
/* Most Humbly and Gratefully Acknowledge to all the Wonderful People making Content Freely Available
Description : Diagram of a computer hard disk drive
Link : https://commons.wikimedia.org/wiki/File:Hard_drive
https://commons.wikimedia.org/wiki/File:Hard_drive-en.svg
License Type: Creative Commons Attribution
Attribution-Share Alike 3.0 Unported license.
Author: Surachit
*/
21
Platter Structure
track (A), a geometrical sector (B),
(B) a
track sector (C) and a cluster of sectors
(D).
/*
Most Humbly and Gratefully Acknowledge to all the Wonderful People making Content Freely Available
Description: Disk structure showing a track (A), a geometrical sector (B), a track sector (C) and a
cluster of sectors (D). The term "sector" in the context of computer engineering usually refers to
(C).
Link: https://commons.wikimedia.org/wiki/File:Disk
https://commons.wikimedia.org/wiki/File:Disk-structure2.svg
Author: Heron2/MistWiz
License Terms: I, the copyright holder of this work, release this work into the public domain. This
applies worldwide.
*/
22
/* Most Humbly and Gratefully Acknowledge to all the Wonderful People making Content Freely Available
Description : hard drive geometry - cylinder/head/sector (per track) (CHS)
This is an information graphic about a common early method for giving addresses to each physical
block of data on a hard disk drive.
Link : https://commons.wikimedia.org/wiki/File:Hard_drive_geometry_
https://commons.wikimedia.org/wiki/File:Hard_drive_geometry_-_English_-_2019 _2019-05-30.svg
License Type: Creative Commons Attribution
Attribution-Share Alike 4.0 International, 3.0 Unported,orted, 2.5
Generic, 2.0 Generic and 1.0 Generic license
Author: Henry Mühlpfordt, png version from 2010: Bagok */
16
Cache Memory
Challenge is CPU is extremely fast. RAM
is unable to cope up with CPU speed.
Solution Cache memory. Placed
between CPU and RAM
CPU looks for Instructions and Data
FIRST in Cache memory then to RAM.
Cache memory much faster than RAM.
Made up of expensive SRAM (Static
RAM)
Very very small compared to RAM
Key concept is to HOLD frequently
used data and instructions to provide
faster access to CPU.
22
number [5]
Location 0 1 2 3 4
Value 45 65 99 0 33
Computer Languages
Machine Language
Assembly Language
High Level Language
• Word Size
• Number of Registers
• Little Endian Big Endian
• Harvard vs. Von Neumann
3
Assembly Language
Translators
Assembler
Compiler
Interpreter
Linker
Loader
Assembler
Compiler
Assembly Language
MOV A, B
Machine Language
0010 1100 0011
Interpreter
Linker
Loader
*****
1
Generation of computers
Background
o We live in an information age or the
age of Computers
Link: https://commons.wikimedia.org/wiki/File:Used_Punchcard_(5151286161).jpg
License : This file is licensed under the Creative Commons Attribution 2.0 Generic license.
Author : Pete Birkinshaw from Manchester, UK
Description : This card was used to load software into a mainframe computer. Each byte (the letter 'A', for
example) is entered by punching out a column of holes.
Link: https://commons.wikimedia.org/wiki/File:PaperTapes-5and8Hole.jpg
License : I, the copyright holder of this work, release this work into the public domain. This applies
worldwide.
Author : TedColes
Description : Five hole and eight hole perforated paper tape as used in telegraph and computer applications
4
UNIVAC 1
https://www.thocp.net/hardware/univac.htm
5
Link: https://commons.wikimedia.org/wiki/File:KL_CoreMemory.jpg
License : This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
Author : Konstantin Lanzet
Description : Core Memory Module
IBM 1401
https://commons.wikimedia.org/wiki/File:BRL61-IBM_1401.jpg
7
Link: https://commons.wikimedia.org/wiki/File:IBM_System360_Model_30.jpg
License : This file is licensed under the Creative Commons Attribution 2.0 Generic license.
Author : Dave Ross
Description : An entry-level IBM System/360 system, on display at the Computer History Museum.
9
Fourth Generation –
Microprocessors (1972 – 1989)
o Revolutionary Intel 4004 Processor
PDP-11
Link: https://commons.wikimedia.org/wiki/File:Pdp-11-40.jpg
License : This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported
license.
Author : Stefan_Kögl
Description : PDP11/40 as exhibited in Vienna Technical Museum
11
*****
1
o LAN, WAN
Descr:: An anchor chart (large poster for classroom display) which is based on the key Network theory content
from OCR's GCSE in Computer Science J276. Teaches: Network hardware devices, packet switching, VPNs,
Client Server Networks, Network Topologies, LAN vs WANS and Wifi vs Wired networks
License:: This file is licensed under the Creative Commons Attribution
Attribution-Share
Share Alike 4.0 International license.
Author: Mrlaulearning
Link: https://commons.wikimedia.org/wiki/File:Computer_Networks_anchor_chart.svg
7
Link: https://commons.wikimedia.org/wiki/File:Ethernet_NIC_100Mbit_PCI.jpg
Description: 100MBit Ethernet NIC PCI card
Author: afrank99
License: This file is licensed under the Creative Commons Attribution-Share Alike 2.0 Generic license.
8
Link: https://en.wikipedia.org/wiki/File:Sample
https://en.wikipedia.org/wiki/File:Sample-network-diagram.png
Descr: Depicts a sample, hypothetical network diagram.
Author: SilverStartalk
License: This work is licensed under the Creative Commons Attribution
Attribution-ShareAlike
ShareAlike 3.0 License
9
Network Switch
o Connects other devices together.
o Manage the flow of data across a
network by transmitting only to the
devices addressed.
https://commons.wikimedia.org/wiki/File:Netgear_Gigabit_Switch_5-port.jpg
Author Simon A. Eugster
License: This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
Description: A 5-port gigabit ethernet switch by Netgear. The LED above the red plug indicates an existing link (i.e. it is
connected to some other device), the yellow cable is unconnected.
10
Router
o At home provides Wi-Fi connectivity
and is connected to a modem.
Broadcasts information from the
internet to other devices, like
computers, phones, and tablets.
o In the networking scheme of things it
forwards data packets from one router
to another router through the networks
based on the address of the
destination.
Link: https://commons.wikimedia.org/wiki/File:Netgear-Nighthawk-AC1900-WiFi-Router.jpg
Description: A Netgear Nighthawk WiFi router, model AC1900. This is a wireless router first released in 2013
with a list price of $249. It is a dual band router with a 1GHz dual core
Author Evan-Amos
License: I, the copyright holder of this work, release this work into the public domain. This applies
worldwide.
11
Firewall
o A network security system that
monitors, controls to and from traffic
from the network based on rules of
security established. Acts as barrier
between a trusted network and an un-
trusted network, like the Internet.
Modem
o Stands for "modulator-demodulator" –
is a hardware device. Transforms Analog
signals coming from networks like
Telephone, Cables etc to Digital Signals
and vice versa.
https://commons.wikimedia.org/wiki/File:BSNL-ADSL_Modem.JPG
Description: Picture of BSNL ADSL Modem
Author: Lijorijo at Malayalam Wikipedia
License: This file is licensed under the Creative Commons Attribution 2.5 Generic license.
13
Proxy Server
o A server application that acts as an intermediary for requests
from clients seeking resources from servers that provides
those resources. A proxy server thus functions on behalf of the
client when requesting service, potentially masking the true
origin of the request to the resource server.
https://commons.wikimedia.org/wiki/File:CPT
https://commons.wikimedia.org/wiki/File:CPT-Proxy.svg
Author Milesjpool,
Description: Diagram of a blocked web request, and a successful request via a proxy
License: This file is licensed under
nder the Creative Commons Attribution
Attribution-Share
Share Alike 4.0 International license.
*****
4
Link : https://commons.wikimedia.org/wiki/File:Ethernet_LAN.svg
Author : T.seppelt, derivate work from File:Ethernet.png,
Description : ethernet network
License : This file is licensed under the Creative Commons Attribution
Attribution-Share
Share Alike 4.0
International license.
6
Link : https://commons.wikimedia.org/wiki/File:Lanwan.gif
License: This file is licensed under the Creative Commons Attribution-Share Alike 4.0
International license.
Author: Audit3
Description: Wide Area Network
1
Background
o A computer requires an Operating system
to become usable
o The Operating system to work must be
loaded into the main memory
o Booting involves getting the hardware
activated and….
o Broadly to load and hand over charge of
the Computer to the Operating System
o Very General and broad overview of the
Booting Process is provided. Technical
accuracy has been adjusted for conceptual
clarity.
Link : https://commons.wikimedia.org/wiki/File:Power_On_-_texture.jpg
Description: The power button of an ASUS laptop with surrounding concentric pattern.
*/
2
Step 0
o Switch on the Main Power Supply to
the Computer
o Switch on the PC/Laptop Power Button
Step 1
o CPU (Pre-Configured) goes to a
specific location in the RAM and
executes a Jump to the ROM BIOS
address
o The CPU first loads data from a ROM,
which executes a Power on Self Test
(POST). In this phase a diagnosis is
run to see if all the major hardware
components are working normally.
o Checks keyboard connection, video
cards, speakers, main memory; etc
Data is written and read back from
main memory to see if RAM is
functioning properly.
o For example informs through beeps
any known problems. Generally one
beep to say all is well or two beeps to
indicate some issue.
4
Step 2
o Only on successfully completing the
POST process, Bootstrap loader
executes.
o Its job is to locate and load the
Operating system into the Computer
Boot Strapping: Pick up one self or in
simple words self improvement by one’s
own efforts
1
Course Outcomes
Author: Videoplasty.com
Trophy Flat Icon.svg from Wikimedia Commons
License: Creative Commons Attribution-ShareAlike 4.0
Credit line example: "Trophy Flat Icon.svg from Wikimedia Commons by Videoplasty.com, CC-BY-
SA 4.0"
*****