Docsity

Introduction to Computing: Lecture Notes for CS 101, Lecture notes of Computer Science

Partial preview of the text

Download Introduction to Computing: Lecture Notes for CS 101 and more Lecture notes Computer Science in PDF only on Docsity!

Lecture

Introduction

Instructor

Shahab Ansari

Email: [email protected]

Office: Opp. PSD Lab (FES)

Office Hours: 10:30 – 11:30 AM

Extension: 2554

Books

Dietal and Dietal, “How to Program C” 6 th^ Edition J J Parson and Dan Oja, “Computer Concepts” 7 th Edition

Tentative Evaluation Breakdown

Assignments/Projects 15 % Quizzes 15 % Midterm Exam 25 % Final Exam 45 %

Course Outline

Part I: 05 Lectures Computers & Applications, History of Computing, Introduction to Hardware and Software, Peripheral Devices, Data Representation, Number Systems, Conversion Methods, ASCII / Unicode, Microprocessors, Memory, Storage Devices………. Part II: 25 Lectures Algorithms: Flowcharts & Pseudocode, Assignment Operators, If Selection Statement, If… Else Selection Statement, Nested Control Structures, switch Multiple-Selection Statement, ………………………………………………….……….. Passing Arrays to Functions, Searching Arrays, Pointers, Library Functions and Header Files Details at : http://192.168.1.

Computers Today

A Tool for Entertainment

Multimedi

a

Games

Computer Revolution!

Wearable Computer

History of Computer

What is a Computer (- 1 - )

• A computer is a machine that

  • inputs (takes in) facts and information (known as _data_* )
  • then processes (does something to or with) it
  • can also store data
  • afterwards it outputs , or displays, the results for you to see

• * Data is all kinds of information, including,

pictures, letters, numbers, and sounds

What is a Computer (- 3 - )

• The defining feature of modern computers which

distinguishes them from all other machines is that they can

be programmed

  • a list of instructions (the program ) can be given to the computer e.g.,
    • add one number to another
    • move some data from one location to another
    • send a message to some external device, etc
  • it will store them (in memory )
  • and carry them out ( execute ) some time in future
    • Usually in the same order in which the instructions were given

History of Computer (- 1 - )

• The first use of the word " computer " was recorded in

  • referring to a person who carried out calculations , or computations!

• The word continued to be used in that sense until the

middle of the 20th century

  • before modern electronic computers were developed

History of Computer (- 3 - )

Chinese Abacus: for performing arithmetic processes

History of Computer (- 4 - )

Slide Rule: for performing multiplication, division, computing roots, logarithms, trigonometric functions