CS101 Week 1 and 21
CS101 Week 1 and 21
Introduction
CS101L
School of Management Sciences
Section - 2
Instructor
Email: [email protected]
Faculty of Computer Science and Engineering
Office: S-01, 2rd Floor, New Academic Block
Office Hours: 1100-1400 (Mondays / Thursdays)
Course TA
• Course TA: TBD
• Lab TA : Sidra Ayesha
Books
Text books:
• Paul J. Deitel and Harvey M. Dietel, “ C++20 for Programmers ”, 9th Edition,
Deitel & Associates, Inc. (2022)
Reference books:
• Chakraborty, U., Banerjee, A., Saha, J. K., Sarkar, N., & Chakraborty, C. (Eds.).
(2022). Artificial intelligence and the fourth industrial revolution. CRC Press.
Attendance
• According to the institute’s policy, students are expected to
attend 100% of their registered classes.
Assignments 10-12
Quizzes 10-12
Term Project 8-10
Midterm 30
Final 40
Total 100
Note: Students may be awarded bonus points or extra credit for demonstrating
exceptional engagement during class discussions, including answering
particularly challenging questions. Bonus points will be allocated at the
instructor’s discretion and will be applied towards overall course performance
Course Execution
• 2 lectures of one hour every week
• 1 lab of three hours every week (CS 101 L)
Motivation
• Only 1 of 2 programming courses out of
approx. 40 courses
Computers Today
Searching
e-mail
Blog
Chat
Content Sharing
Ghulam Ishaq Khan Institute of Engineering Sciences and Technology, Topi
Lecture 01: Introduction CS 101: Introduction to Computing
Games
Ghulam Ishaq Khan Institute of Engineering Sciences and Technology, Topi
Lecture 01: Introduction CS 101: Introduction to Computing
Computer
• We know how to use a computer
History of Computer
Working
on,
rather
‘inside’ ,
ENIAC
kind of Computers
1 Microcomputers
– These are the most widely used and the fastest-growing type of
computers. There are two major categories:
– Desktop Computers are small enough to fit on top or along the
side of a desk and yet are too big to carry around.
• Personal Computers
• Workstations
– Portable Computers are small enough and light enough to move
easily from one place to another.
• Laptops: 10-16 pounds in weight
• Notebooks: 5-10 pounds in weight
• Subnotebooks: 2-6 pounds in weight
• Personal Digital Assistants: Also known as palmtop
computers and handheld PCs. They combine pen input,
writing recognition and communication capabilities
24
Ghulam Ishaq Khan Institute of Engineering Sciences and Technology, Topi
Lecture 01: Introduction CS 101: Introduction to Computing
2 Mainframe Computers
These are large computers.
They are capable of great processing speeds and data-
storing.
They are used by large organizations – business, banks,
government agencies etc – to handle millions of transactions.
For example, airline companies use mainframe computers to
process information about millions of travelers.
25
Ghulam Ishaq Khan Institute of Engineering Sciences and Technology, Topi
Lecture 01: Introduction CS 101: Introduction to Computing
3 Supercomputers
The most powerful type of computer is the supercomputer.
These machines are special, high-capacity computers used by
very large organizations.
For example, NASA uses supercomputers to track and control
space explorations.
Supercomputers are also used for oil exploration, simulations
and worldwide weather forecasting.
26
Ghulam Ishaq Khan Institute of Engineering Sciences and Technology, Topi
Lecture 01: Introduction CS 101: Introduction to Computing
People
• Most important part of any system
• Contact is …
– Direct
– Indirect
• Computer uses
– Business & Entertainment
– Education & Medicine
Software
• Programs
• Two major kinds of software
– System Software
– Application Software
Ghulam Ishaq Khan Institute of Engineering Sciences and Technology, Topi CE06_PP01-29
Page 9
Lecture 01: Introduction CS 101: Introduction to Computing
System Software
• A collection of programs
• Enables the application software to interact with the
hardware
• Background software that helps the computer manage its
own resources
Return
Application Software
• “End-user” software
• Two major categories
– General purpose
– Special purpose
Return
Hardware
Ghulam Ishaq Khan Institute of Engineering Sciences and Technology, Topi CE06_PP01-32
Page
Lecture 01: Introduction CS 101: Introduction to Computing
Types of Computers
• Supercomputers
• Mainframe computers
• Minicomputers
• Microcomputers
Supercomputers
High capacity
Used by very large organizations
Tracking space
Tracking weather
Return
Mainframe Computers
• Occupies specially wired, air-conditioned rooms
• Capable of great processing speeds and data storage
• Not as powerful as supercomputers
Return
Ghulam Ishaq Khan Institute of Engineering Sciences and Technology, Topi
Page
Lecture 01: Introduction CS 101: Introduction to Computing
Minicomputers
• Known as midrange computers
• Used by medium-size companies
• Used by departments of large companies
Return
Ghulam Ishaq Khan Institute of Engineering Sciences and Technology, Topi
Page
Lecture 01: Introduction CS 101: Introduction to Computing
Microcomputers
• Least powerful
• Widely used
• Four types of Microcomputers
Return
Ghulam Ishaq Khan Institute of Engineering Sciences and Technology, Topi
Page
Lecture 01: Introduction CS 101: Introduction to Computing
Handheld Tablet PC
Desktop Computers
• Are small enough to fit on top of or alongside a desk yet
are too big to carry around
Return
Ghulam Ishaq Khan Institute of Engineering Sciences and Technology, Topi
Page
Lecture 01: Introduction CS 101: Introduction to Computing
Return
Ghulam Ishaq Khan Institute of Engineering Sciences and Technology, Topi
Page
Lecture 01: Introduction CS 101: Introduction to Computing
Tablet PC
• Is a type of notebook computer that accepts your
handwriting. This input is digitized and converted to
standard text that can be further processed by programs
such as a word processor.
Return
Ghulam Ishaq Khan Institute of Engineering Sciences and Technology, Topi
Page
Lecture 01: Introduction CS 101: Introduction to Computing
Handheld
• Are the smallest and are also known as palm computers.
These systems typically combine pen input, writing
recognition, personal organizational tools, and
communications capabilities.
Return
Ghulam Ishaq Khan Institute of Engineering Sciences and Technology, Topi
Page
Lecture 01: Introduction CS 101: Introduction to Computing
Microcomputer Hardware
• System unit
• Input/output devices
• Secondary storage
• Communications
Ghulam Ishaq Khan Institute of Engineering Sciences and Technology, Topi CE06_PP01-43
Page
Lecture 01: Introduction CS 101: Introduction to Computing
Data
• Raw, unprocessed facts
• Processing creates information
• Stored electronically in files
– Document files
– Worksheet files
– Database files Presentation
– Presentation files
Database
Worksheet
Document
Document Files
• Created by word processors to save documents such as
memos, term papers,
and letters
Return
Ghulam Ishaq Khan Institute of Engineering Sciences and Technology, Topi
Page
Lecture 01: Introduction CS 101: Introduction to Computing
Worksheet Files
• Created by electronic spreadsheets to analyze things like
budgets and to predict sales
Return
Ghulam Ishaq Khan Institute of Engineering Sciences and Technology, Topi
Page
Lecture 01: Introduction CS 101: Introduction to Computing
Database Files
• Typically created by database management programs to
contain highly structured and organized data
Return
Ghulam Ishaq Khan Institute of Engineering Sciences and Technology, Topi
Page
Lecture 01: Introduction CS 101: Introduction to Computing
Presentation Files
• Created by presentation graphics programs to save
presentation materials. For example, a file might contain
audience handouts, speaker notes, and electronic slides.
Return
Ghulam Ishaq Khan Institute of Engineering Sciences and Technology, Topi
Page
Lecture 01: Introduction CS 101: Introduction to Computing
Knowledge Foundation
References
• http://en.wikibooks.org/wiki/Basic_Computing_Using_
Windows
• http://en.wikipedia.org/wiki/Computer
• http://www.cs.dartmouth.edu/farid/teaching/cs4/summ
er.08/notes/historyofcomputing/
• http://ftp.arl.mil/~mike/comphist/eniac-story.html
• http://ed-thelen.org/comp-hist/BRL-e-h.html
• http://en.wikipedia.org/wiki/Moore's_law
• http://en.wikipedia.org/wiki/Motherboard