Intro to Computing-Module 2
Intro to Computing-Module 2
Intro to Computing
Module 2
1
Computer System
Part 1
2
What is a Computer?
A computer is an electronic device that manipulates information, or data. It has the ability to store, retrieve, and process
data. You may already know that you can use a computer to type documents, send email, play games, and browse the
Web. You can also use it to edit or create spreadsheets, presentations, and even videos.
3
What is a Computer?
• Computer once meant a person who did computations, but now the term almost universally refers to automated
electronic machinery.
• The first computers were used primarily for numerical calculations. However, as any information can be numerically
encoded, people soon realized that computers are capable of general-purpose information processing. Their capacity
to handle large amounts of data has extended the range and accuracy of weather forecasting. Their speed has allowed
them to make decisions about routing telephone connections through a network and to control mechanical systems
such as automobiles, nuclear reactors, and robotic surgical tools. They are also cheap enough to be embedded in
everyday appliances and to make clothes dryers and rice cookers “smart.” Computers have allowed us to pose and
answer questions that could not be pursued before. These questions might be about DNA sequences in genes,
patterns of activity in a consumer market, or all the uses of a word in texts that have been stored in a database.
Increasingly, computers can also learn and adapt as they operate.
4
Basic Computer Architecture
Computer architectures represent the means of interconnectivity for a computer's hardware components as well as the
mode of data transfer and processing exhibited. Different computer architecture configurations have been developed to
speed up the movement of data, allowing for increased data processing. The basic architecture has the CPU at the core
with a main memory and input/output system on either side of the CPU
5
Hardware, Software, Information Technology
Hardware represents the Tangible Parts and the software represents the Intangible Parts.
6
Types of computers
Supercomputers: powerful
computers designed to handle
billions of instructions very
quickly. They are very
expensive and are used for
complex operations such as
weather forecasting.
Supercomputer, any of a class of extremely powerful computers. The term is commonly applied to the fastest high-
performance systems available at any given time. Such computers have been used primarily for scientific and engineering
work requiring exceedingly high-speed computations. Common applications for supercomputers include testing
mathematical models for complex physical phenomena or designs, such as climate and weather, evolution of the
cosmos, nuclear weapons and reactors, new chemical compounds (especially for pharmaceutical purposes), and
cryptology. As the cost of supercomputing declined in the 1990s, more businesses began to use supercomputers for
market research and other business-related models.
7
Types of computers
Mainframes are a type of computer that generally are known for their large size, amount of storage, processing power
and high level of reliability. They are primarily used by large organizations for mission-critical applications requiring high
volumes of data processing. In general, there are a few characteristics of mainframes that are common among all
mainframe vendors: Nearly all mainframes have the ability to run (or host) multiple operating systems. Mainframes can
add or hot swap system capacity without disruption. Mainframes are designed to handle very high volume input and
output (I/O) and emphasize throughput computing. A single mainframe can replace dozens or even hundreds of smaller
servers.
8
Mainframe
9
Types of computers
• Personal computer (PC), a digital computer designed for use by only one person at a time. A typical personal computer
assemblage consists of a central processing unit (CPU), which contains the computer’s arithmetic, logic, and control
circuitry on an integrated circuit;
• There are two types of computer memory, main memory, such as digital random-access memory (RAM), and auxiliary
memory, such as magnetic hard disks and special optical compact discs, or read-only memory (ROM) discs (CD-ROMs
and DVD-ROMs); and various input/output devices, including a display screen, keyboard and mouse, modem, and
printer.
10
11
Types of computers
• A Portable computer is a computer that comes with a keyboard and display and one which can be easily relocated or
transported
• They have lower specifications and are not well suited for full-time usage as they are less ergonomic. However, they
take less space than desktop computers and come with most features found on a desktop.
• Laptops, Notebooks, & Netbooks are Basically, a fully loaded portable computer.
12
13
Main Parts of a Personal Computer
14
RAM vs ROM
A ROM chip is used primarily in the startup process of a computer, whereas a RAM chip is used in the normal operations
after the operating system is loaded. For example, a ROM chip is often used to store the BIOS program on the
motherboard. A RAM chip temporarily stores files in use on a computer, like a document you're writing, an image you're
editing, or data for a game you're playing.
15
RAM vs ROM
A ROM chip is a non-volatile storage medium, which means it does not require a constant source of power to retain the
information stored on it. By contrast, a RAM chip is volatile, which means it loses any information it is holding when the
power is turned off. Essentially, ROM is used for permanent storage, and RAM is for temporary storage.
16
RAM vs ROM
• A ROM chip stores several MB (megabytes) of data, usually 4 to 8 MB per chip, whereas a RAM chip can store multiple
GB (gigabytes) of data, ranging from 1 to 256 GB per chip.
• A good example of ROM is the computer BIOS, which is a PROM chip that stores the programming needed to begin
the initial computer startup process. Using a non-volatile storage medium is the only way to begin this process for
computers and other devices. ROM chips were also used in gaming system cartridges, like the original Nintendo,
Gameboy, Sega Genesis, and others.
• RAM chips are used in computers and other devices to store temporary information produced by programs quickly.
RAM is one of the fastest types of memory, allowing it to switch quickly between tasks. For example, the Internet
browser you are using to read this page is loaded into RAM and is running from it.
17
Hardware
The CPU is the primary component of a computer that processes instructions. It runs the operating system and
applications, constantly receiving input from the user or active software programs. It processes the data and produces
output, which may stored by an application or displayed on the screen.
18
Hardware
The CPU contains at least one processor, which is the actual chip inside the CPU that performs calculations. For many
years, most CPUs only had one processor, but now it is common for a single CPU to have at least two processors or
"processing cores." A CPU with two processing cores is called a dual-core CPU and models with four cores are called
quad-core CPUs. High-end CPUs may have six (hexa-core) or even eight (octo-core) processors. A computer may also
have more than one CPU, which each have multiple cores. For example, a server with two hexa-core CPUs has a total of
12 processors.
19
Input devices
• An input device is a term for a physical piece of hardware that connects to a primary device, such as a computer, in
order to provide user input.
• Input devices are generally a class of peripheral devices that connect to the primary device.
20
Input devices
21
Input devices
22
Input devices
23
Input devices
24
Input devices
25
Input devices
26
Input devices
27
Output devices
An output device is any peripheral that receives data from a computer, usually for display, projection, or physical
reproduction.
28
Output devices
29
Output devices
• The Impact printers use an electromechanical component to impact on the paper in order to print the letters over the
paper sheet. It is analogous to a mechanical typewriter. The mechanism used in these printers is known as the electro-
mechanical mechanism. It works at a slower speed as compared to the non-impact printers due to the involvement of
a mechanical device. (example: Dot Matrix Printer)
• The non-impact printers produce images or text without the use of the impact hammer or ink ribbon. It produces
negligible or no noises while printing as it does not use any electro-mechanical mechanism like impact printers. These
printers are capable of generating black & white and colour printouts. Furthermore, the quality of the printed material
is extremely better than the impact printers. However, it is incapable of producing multiple copies of the same
document simultaneously. (example: inkjet and laser printers)
30
Storage Devices
• A storage device is any type of computing hardware that is used for storing, porting or extracting data files and
objects. Storage devices can hold and store information both temporarily and permanently. They may be internal or
external to a computer, server or computing device.
• A storage device may also be known as a storage medium or storage media depending on whether it is seen as
discrete in nature (for example, “a hard drive” versus “some hard drive space.”)
31
Storage Devices
32
Storage Devices
• Zip disk – this is similar to the floppy disk but slightly larger. It
usually uses an external zip drive, and can hold from 100 to
250 MB.
• Data cartridge – similar to a cassette cartridge. This is
usually used for servers in network situations. It can hold up
to 70 GB. Newer versions also use magnetic or optical disks
or memory chips.
33
Storage Devices
34
Storage Devices
35
Storage Devices
36
Computer System
Part 2
37
Software
• Software, in its most general sense, is a set of instructions or programs instructing a computer to do specific tasks.
• Software is a generic term used to describe computer programs that run on PCs, mobile phones, tablets, or other
smart devices.
• Software is often used to describe all the functional aspects of a computer that do not refer to its physical
components (hardware). Scripts, applications, programs and a set of instructions are all terms often used to describe
software.
• Everything that “runs” on a computer, from an operating system, to a diagnostic tool, video game, or app can be
defined as software.
38
Operating System Software
39
Operating System Software
40
Operating System Software
41
Operating System Software
42
Operating System Software
43
One of the advantages of operating systems is that all of the
programs which are written for them have to operate in
common ways: for example, the PRINT command is always in
the same place. The programs have the same look and feel
about them, and because they do, users can move more
easily to other programs which use the same OS. Users
develop what is known as transferable skills.
44
The dominant operating system is Microsoft Windows. It has
about 90 per cent of the market. Mac OS has approximately
nine percent, leaving Linux with about one per cent. However,
because Linux is free of charge, and many companies and
open source developers are now producing good GUIs
(Graphical User Interface) for it, Linux may eventually replace
Windows.
45
Application Software
• Application software (app for short) is a program or group of programs designed for end users. Examples of an
application include a word processor, a spreadsheet, an accounting application, a web browser, an email client, a
media player, a file viewer, simulators, a console game or a photo editor.
46
Application Software
47
Utility Software
Utility programs, commonly referred to as just "utilities," are software programs that add functionality to your computer
or help your computer perform better. These include antivirus, backup, disk repair, file management, security, and
networking programs. Utilities can also be applications such as screensavers, font and icon tools, and desktop
enhancements. Some utility programs help keep your computer free from unwanted software such as viruses or
spyware, while others add functionality that allows you to customize your desktop and user interface. In general,
programs that help make your computer better are considered utilities.
48
Utility Software
• Anti-virus
utilities scan for computer viruses.
• Archivers
output a stream or a single file when provided with a directory or a
set of files. Archive utilities, unlike archive suites, usually do not
include compression or encryption capabilities. Some archive
utilities may even have a separate un-archive utility for the reverse
operation.
• Backup software
can make copies of all information stored on a disk and restore
either the entire disk (e.g. in an event of disk failure) or selected
files (e.g. in an event of accidental deletion).
49
Utility Software
• Clipboard managers
expand the clipboard functionality of an operating system .
• Cryptographic utilities
encrypt and decrypt streams and files.
• Data compression utilities
output a shorter stream or a smaller file when provided with a
stream or file.
50
Utility Software
• Debuggers
are used to test and “debug” other programs, mainly to solve
programming errors. Also utilized for reverse engineering of
software or systems.
• Disk checkers
can scan operating hard drive.
• Disk cleaners
can find files that are unnecessary to computer operation, or
take up considerable amounts of space. Disk cleaner helps the
user to decide what to delete when their hard disk is full.
51
Utility Software
• Disk compression
utilities can transparently compress/uncompress the contents
of a disk, increasing the capacity of the disk.
• Disk defragmenters
can detect computer files whose contents are scattered
across several locations on the hard disk, and move the
fragments to one location to increase efficiency.
52
Utility Software
• Disk partitions
can divide an individual drive into multiple logical drives, each
with its own file system which can be mounted by the
operating system and treated as an individual drive.
• Disk space
analyzers for the visualization of disk space usage by getting
the size for each folder (including sub folders) & files in folder
or drive. showing the distribution of the used space.
53
Utility Software
• File managers
provide a convenient method of performing routine data
management tasks, such as deleting, renaming, cataloging,
uncataloging, moving, copying, merging, generating and
modifying data sets.
• Registry cleaners
clean and optimize the Windows Registry by removing old
registry keys that are no longer in use.
54
Units of Data
• Bit
• Nibble
• Byte
55
Bit
The smallest unit of data in a computer is called Bit (Binary Digit). A bit has a single binary value, either 0 or 1. In most
computer systems, there are eight bits in a byte. The value of a bit is usually stored as either above or below a
designated level of electrical charge in a single capacitor within a memory device.
56
Nibble
57
Byte/Octet
• In most computer systems, a byte is a unit of data that is eight binary digits long. A byte is the unit most computers
use to represent a character such as a letter, number or typographic symbol (for example, “g”, “5”, or “?”). A byte can
also hold a string of bits that need to be used in some larger unit of application purposes (for example, the stream of
bits that constitute a visual image for a program that displays images or the string of bits that constitutes the machine
code of a computer program).
• In some systems, the term octet is used for an eight-bit unit instead of byte. In many systems, four eight-bit bytes or
octets form a 32-bit word. In such systems, instructions lengths are sometimes expressed as full-word (32 bits in
length) or half-word (16 bits in length).
58
Units of Data
59
Number System
• The number system is a way to represent or express numbers. You have heard of various types of number systems
such as the whole numbers and the real numbers. But in the context of computers, we define other types of number
systems. They are:
• The decimal number system
• The binary number system
• The octal number system and
• The hexadecimal number system
60
Decimal
61
Binary
62
Octal
63
Hexadecimal
64
ASCII
65
ASCII
66
67
68
EBCDIC
69
UNICODE
70
71
End of Module 2
72