Introduction To Computing
Introduction To Computing
Evolution to Computers
What is Computer?
Supercomputers
Mainframe Computer
Mini-Computers
Microcomputer
11
TYPES OF COMPUTERS
Supercomputer
Mainframe Computer
• Traditional Types
of Computers
• First computers,
introduced in 1950s
• Very expensive
• Typically supported
100 to 500 users
• Used by government and large businesses.
• Used for very large processing tasks
12
TYPES OF COMPUTERS 13
Minicomputers
• Traditional Types of
Computers
• Typically supported
10 to 100 users
• Smaller and less
expensive than
mainframes
• More powerful and
more expensive than
microcomputers.
• Similar to mainframes, they are used by business
and government to process large amounts of
information.
TYPES OF COMPUTERS
14
Microcomputers
Known as Personal Computer (PC)
Continued…
14
TYPES OF COMPUTERS
• Portable (Notebook/Laptop)
- smallest microcomputers
• Desktop
- compact microcomputer systems
that fit on a desk
• Workstation/Server
- largest type of microcomputer
Capabilities of Computers
Speed:
computer operates on data and commands at incredibly fast speed.
Storage:
computer can store enormous amount of data and information in its
memory.
Reliability:
computers made of modern technology rarely breakdown
and when they do, they are easily repaired.
Consistent:
if you input the same data into the computer using the same program,
will give you the same result all the time.
Communicate:
people can connect with others by the use of computers.
Lesson 2
Components of a
Computer System
Computer System
• A computer system is a
set of integrated devices
that input, output,
process, and store data
and information.
• A system of
interconnected
computers that share a
central storage system
and various peripheral
devices such as a
printers, scanners, or
routers.
The Computer System Unit
Processor
Memory processor
Adapter cards
Sound card
Video card ports memory
Ports
Drive bays
Power supply
sound card
video card
Elements/Parts of a Computer
• Hardware
• Software
20
Parts
Parts ofofa a Computer
Computer
Hardware
1. Input Devices
2. Output Devices
3. Storage Devices
Input Devices
• Input basically means getting data into the
computer to be processed.
Ex.
Keyboard
Mouse
Microphone
Scanner
Bar Code Reader
Joystick
Touch Pad
Trackball
Light Pen
Touch Screen
Output Devices
Ex.
Monitor
Printer
Speakers
Fax
Headphones
Storage Devices
• Storage devices are both input and output devices in one.
• Holds data, instructions, and information for future use
• A storage device is a place to keep data that has been
processed so that it can be retrieved at a later time to be used
again.
Ex.
Hard Disk
Floppy Disk
CD’s/DVD’s
Flash Memory
Two Types of Storage
Devices
• Primary storage
– temporarily stores data and program instructions during
processing or the Storage for running programs and
current data
• Secondary storage
– devices store data and programs when they are not being
used in processing. Long-term program & data storage.
Primary Storage
• Primary storage is a category of computer
storage, often called main memory.
Three functions:
Stores all or part of the program that is
being executed.
Stores the operating system programs that
manage the operation of the computer.
Holds data that the program is using.
Types of primary storage
devices include:
Software
31
Two Types of Software
• Application Software
• System Software
Application Software
Examples:
word processors, spreadsheets, and database
programs, Photoshop, Filmora, Sony Vegas, Encarta,
Worldbook Encyclopedia, Solitair, Warcraft, Print shop,
Quicken
System Software
Examples:
DOS, Windows 95, 98, ME, NT, XP, Vista,
Windows 7,Unix, Linux, MAC system OS 6,7,8,9,10
System Software (cont.)
Types of System Software:
• Operating System (OS)- is a program that enables the
computer hardware to communicate and operate with the
computer software. Basically responsible for the
coordination, management and sharing of hardware
resources and tasks in the computer.
•
The Operating System
When you turn on the computer, the CPU
automatically begins executing instructions stored
in ROM. The operating system (OS) loads from the
disk into part of the system’s memory.
39
The Operating System (cont.)
The OS loads the application program into memory
and remains in memory, so it can provide services
to the application program—display on-screen
menus, communicate with the printer,
and perform other common actions.
40
The Three Elements of an OS
• Providing a user
interface
• Running applications
• Support for built in
utility programs.
• Control to the
computer hardware
Components of OS
• Process Management
• Memory management
• I/O Device management
• Network management
• Network services
• User Interface
Types of OS
Example:
The Palm OS for Palm
handheld computers
Single-User, Multi Task
• Single user multi-
tasking OS allows user
to perform one or more
than one task at same
time
• Type of operating
system:
most people use on
their desktop and laptop
computers today
Single-User, Multi Task Example
Microsoft Windows:
•Windows is a series of
operating systems developed
by Microsoft.
•Each version of Windows
includes a graphical user
interface, with a desktop that
allows users to view files and
folders in windows
Single-User, Multi Task Example
MacOS X:
•Mac OS is a line of operating systems created by Apple Inc.
•OS X is version 10 of the Apple Macintosh operating system.
•OS X was described by Apple as its first “complete revision” of
the OS since the previous version is OS 9.
• Written in C++ ,c, objective -C
Lesson 3
Data Security
Lesson 3
Introduction to
Automata Theory
What is Automata Theory?
52
Why we study Automata Theory
• It allows us to think systematically about what machine
do without going into hardware details.
• Learning of Language and Computational techniques.
• Designing of theoretical models for machine
• Course Requirement
A
al/ ma bstra
t
en cts ch ct
m ine
u nda subje s
F re
Co
State
(A pioneer of automata theory)
54
Theory of Computation: A
Historical Perspective
• N. Chomsky, Information
and Control, Vol 2, 1959
56
Image source: Nowak et al. Nature, vol 417, 2002
The Chomsky Hierarchy
• A containment hierarchy of classes of
formal languages
Regular Context-
(DFA) free Context-
Recursively-
(PDA) sensitive
enumerable
(LBA)
(TM)
57
The Central Concepts
of Automata Theory
58
Alphabet
An alphabet is a finite, non-empty set of
symbols
• We use the symbol ∑ (Greek letter sigma) to
denote an alphabet
• Examples:
– Binary: ∑ = {0,1}
// important as this is the language
//which the computer understands.
– All lower case letters: ∑ = {a,b,c,..z}
– Alphanumeric: ∑ = {a-z, A-Z, 0-9}
– DNA molecule letters: ∑ = {a,c,g,t}
59
Strings
A string or word is a finite sequence of
symbols chosen from ∑ or from alphabet.
• Empty string is (or “epsilon”)