Welcome to the Pirmahal Forums.
You are Unregistered, please register to gain Full access.    
Header
 

Pirmahal Forums » General » General Chat » lec 2 (computer fundamentls)

Reply
LinkBack Thread Tools vBmenu Seperating Image Display Modes vBmenu Seperating Image
lec 2 (computer fundamentls)
Old 16-02-2007, 09:03 PM   #1 (permalink)
Member
Registered User
 
Status: Member
Join Date: Feb 2006
Location: pirmahal
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
asif is on a distinguished road
Default lec 2 (computer fundamentls)

What is a Computer?

It is device that performs
(a) Arithmetic operations (addition, subtraction, multiplication,
and division)
(b) Logical operations (comparisons--equal, less than, greater than, etc.)

It is the Central Processing Unit (CPU)


What is a Computer System?
Hardware -- CPU, Input/Output devices, Storage devices, etc.
Software -- Programs
Data
Trained People
Procedures


What does a Computer System Perform?
Input
Process
Output
Storage
Communication


Data Vs. Information

Data: Raw facts and Figures--Name, Hours, Pay rate, lettuce, tomatoes
Text data, numeric data, voice data, video data, etc.

Information: Processed data, Take home pay, Salad

Data and Information are relative words


Program

A series of meaningful instructions to solve a problem

Programs should have proper syntax and semantics
Syntax-- grammar, punctuation, etc. The monkey ate a banana.
Semantics -- meaning of the statement. The banana ate a monkey.

Programs are written in programming languages
Programming languages are not context sensitive like natural languages
The wild animal trainer was in town.
I saw a man on the hill with a telescope.


Types of Programming Languages
Machine--Binary Code
Low-Level
High-Level
Very-High Level
Object Oriented Programming (OOP)


Low-Level
Basic Assembly Language (BAL)
Machine specific
Faster execution
One to one relation between source code and object code except macros
Lotus 123, DOS etc are written in Assembly Language

Sample program
L 5, NUM1
L 6, NUM2
AR 5, 6
ST 5, RESULT
PUT RESULT


High-Level --English like
QBASIC, FORTRAN, COBOL, C, etc.
Machine independent.
Procedure oriented--”how” is emphasized over “what”
one to many ratio between source code and object code


Very High-Level
Fourth Generation (4GL), Focus, SQL, etc.
Problem oriented--”what” is emphasized over “how”

Object Oriented Programming Languages (OOP)
Ex: Small Talk, Actor (pure)
C++ (Hybrid)
Characteristics
Encapsulation
Inheritance
Polymorphism

A sample program in C++
10/10/96/ A sample C++ program illustrating output.
include <stream.h>
main ()

{ cout << “C++ is an improved c.\n”;
}


Programmer
Application Programmer--develops application programs
System Programmer-- develops systems programs
Maintenance programmer--maintains, updates programs


Computer Memory

Main Memory--temporary or volatile, contents disappear when the
power is switched off. (Random Access Memory, RAM)

Secondary memory -- tapes, disks, etc.


Hardware
Tangible devices, equipment, etc.
Input hardware
Processing hardware
Output hardware
Storage hardware
Communication hardware


Software
Intangible, programs
Systems
Applications


Why Computers?

Faster
Microsecond (one millionth of a second), nanosecond (one billionth
of a second), picosecond (one trillionth of a second ) speeds.

Huge storage capacity--
Megabyte (one million bytes or characters) or about 500 pages to
gigabytes (one billion bytes) or even a terabyte (trillion bytes)

Accurate

Reliable

Cost effective


Types of Computers
Microcomputers IBM 486, or a MAC
Workstations SUN, DEC
Minicomputers VAX
Mainframes -- IBM 4381
Supercomputers --Cray Y-MP, MPP 2568


Where are they used?
Business
Education
Government
Entertainment
Everywhere


Social Impact
Unemployment
Privacy
Crime
Dehumanizing
Errors


Why errors?
Program errors
Input errors (GIGO)
Communication problems
Poor Documentation
Poor Cost Estimates
Cyberphobia
Inadequate testing


Summary
What is a Computer?
What is a Computer system?
What does a Computer System Perform?
Data Vs. Information
Programs, Programming Languages, programmers
Computer Memory: (a) Primary, (b) Secondary
Computer Hardware & Software
Why Computers?, Types of Computers
Uses of Computers
Social Impact, Computer Errors
__________________
ایسی بجلیاں گریں، سارے خاب جل گئے۔
<<wafa>>
asif is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Free Computer Tutorials Links Zahir Rasheed Usefull Sites & Fun links 4 23-04-2010 11:56 AM
Computer windows in punjabi alian Fun Stuff and Jokes 0 13-03-2008 12:49 AM
The Spanish Computer sif Fun Stuff and Jokes 0 07-03-2008 07:00 PM
Computer Program with songs sif Fun Stuff and Jokes 0 17-02-2008 03:29 PM


All times are GMT +5. The time now is 07:00 PM.