CSE 107 Credit 4 2 Classes per week Lecture : 01.

Slides:



Advertisements
Similar presentations
Calera High School Dawn Bone
Advertisements

History of Computing.
History of Computers.
 Computer hardware components are the physical pieces of the computer.  The major hardware components of a computer are: – The central processing.
An Overview of the Computer System
History of the Micro-Computer. Group Question Get into a pair of two. You have three minutes to come up with two answers and make an educated guess at.
Chapter Chapter Goals Describe the layers of a computer system Describe the concept of abstraction and its relationship to computing Describe.
Introduction Extended and Concise Prelude to Programming Concepts and Design Copyright © 2003 Scott/Jones, Inc.. All rights reserved. 1 Introduction.
Introduction to Computer Systems
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. COMPSCI 125 Introduction to Computer Science I.
1 The development of modern computer systems Early electronic computers Mainframes Time sharing Microcomputers Networked computing.
Introduction to Computers Essential Understanding of Computers and Computer Operations.
History of Computers Computer Technology Introduction.
Information Technology Ms. Abeer Helwa. Computer Generations First Generation (Vacuum Tubes) -They relied on the machine language to perform operations.
1 6 Abacus An early device to record numeric values Blaise Pascal Mechanical device to add, subtract, divide & multiply Joseph Jacquard Jacquard’s Loom,
Chapter 1 The Big Picture Chapter Goals Describe the layers of a computer system Describe the concept of abstraction and its relationship to computing.
Chapter 01 Nell Dale & John Lewis.
Introduction to Computers and Python. What is a Computer? Computer- a device capable of performing computations and making logical decisions at speeds.
Learning Targets Identify the external parts of the computer Identify examples of input devices Identify examples of output devices Define basic computer.
Foundations of Social Media RTV 453. Legacy media vs. new media  Is Social Media a new form of media?  Is Interactive Media a different new form of.
Lecture 1 Introduction to computers & VB.Net. What is a Computer? Examples? A device capable of  Performing computation  Making logical decisions 
XP Practical PC, 3e Chapter 16 1 Looking “Under the Hood”
An Overview of Using Computers
INTRODUCTION TO COMPUTERS The personal computer was far from reality in Computer users were limited to specially trained operators and engineers.
Discussion Questions What defines a computer: What is the simplest definition of a computer you can come up with? What defines a modern computer? What.
Introduction Chapter 1. 1 History of Computers Development of computers began with many early inventions: The abacus helped early societies perform computations.
An Introduction to Computers August 12, 2008 Mrs. C. Furman.
Chapter 1 The Big Picture.
Generations Of Computer Copyright(c)2011 Presentation Point( om)
Course ILT Basics of information technology Unit objectives Define “information technology” (IT), distinguish between hardware and software, and identify.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and.
An overview of Computer System
Visual C++ Programming: Concepts and Projects
School of Computer Science & Information Technology G6DICP Introduction to Computer Programming Milena Radenkovic.
COMPUTER PROGRAMMING. Computer programming the objective of the module to gain the necessary skills to develop a computer program using one of the high.
Calculators are used to increase speed and accuracy of numerical computations The abacus has roots dating back over 5,000 years Mechanical calculators.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and.
An Overview of the Computer System lesson 1. This lesson includes the following sections: The Parts of a Computer System Looking Inside the Machine Software:
Multimedia and Computers Introduction to Computers.
There are many parts that work together to make a computer work. System Unit Computer Parts.
Beginning Snapshots Chapter 0. C++ An Introduction to Computing, 3rd ed. 2 Objectives Give an overview of computer science Show its breadth Provide context.
1 THE COMPUTER. 2 Input Processing Output Storage 4 basic functions.
Chapter 1 : Overview of Computer and Programming By Suraya Alias
Discussion Questions What defines a computer: What is the simplest definition of a computer you can come up with? What defines a modern computer? What.
Click once to reveal the definition. Think of the answer. Then click to see if you were correct. HARDWARE Physical parts of the computer.
The Computer System CS 103: Computers and Application Software.
Biorhythms, computers, music, and…. Group Question Get into a group of three people You have three minutes to come up with two answers and make an educated.
©2013 Pearson Education, Inc. Upper Saddle River, NJ. All Rights Reserved. Introduction to Computers and Computing.
CHAPTER 1 COMPUTER SCIENCE II. HISTORY OF COMPUTERS (1.1) Eniac- one of the worlds first computers Used more electricity than an entire city block of.
1 Chapter 1 Background Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
THE FIVE GENERATIONS OF COMPUTERS
Hardware and Software UCT Department of Computer Science Computer Science 1015F Hussein Suleman March 2009.
Introduction to Computers
Computer Science II Chapter 1.
Discussion Questions What defines a computer:
An Overview of the Computer System
The abacus has roots dating back over 5,000 years
TMC 1414 Introduction to Programming
Computer Technology Notes #3
Introduction to Computers and the internet
Looking Inside the machine (Types of hardware, CPU, Memory)
An Overview of the Computer System
An Overview of the Computer System
Computer Parts There are four main equipment functions of a computer system: Input, Processing, Storage and Output. Input: the transferring of information.
Computer Science I CSC 135.
Computer Parts There are four main equipment functions of a computer system: Input, Processing, Storage and Output. Input: the transferring of information.
History of Computers - Long, Long Ago
Logical Computer System
History of Computers - Long, Long Ago
Computer components.
Presentation transcript:

CSE 107 Credit 4 2 Classes per week Lecture : 01

 What is a Computer?  What is inside a computer?  Programming languages  What does it take to become a programmer?

 It is an electronic device that stores and process data.  It is all around us  It consists ◦ Hardware  Example: Motherboard, mouse, keyboard, CPU & etc. ◦ Software  Example: Window XP, MS Word…

 beads on rods to count and calculate  still widely used in Asia! Learn more: Click HereClick Here

 Napier’s Bones ◦ John Napier invented logarithms in 1917, which allows multiplication to be performed via addition ◦ The Napier’s Bones were invented to ease the calculation ◦ Napier’s Bones led directly to the invention of slide rule (1632). ◦ Slide rule also used in Mercury, Gemini and Apollo space program by NASA Napier’s Bones Slide Rule

 first stored program - metal cards  first computer manufacturing  still in use today!

 Difference Engine c.1822 ◦ huge calculator, never finished  Analytical Engine 1833 ◦ could store numbers ◦ calculating “mill” used punched metal cards for instructions ◦ powered by steam! ◦ accurate to six decimal places

 First Generation Electronic Computers used Vacuum Tubes  Vacuum tubes are glass tubes with circuits inside.  Vacuum tubes have no air inside of them, which protects the circuitry.

 first fully electronic digital computer built in the U.S.  Created at the University of Pennsylvania  ENIAC weighed 30 tons  contained 18,000 vacuum tubes  Cost a paltry $487,000

 Programmed UNIVAC  Recipient of Computer Science’s first “Man of the Year Award”

 1956 – Computers began to incorporate Transistors  Replaced vacuum tubes with Transistors

 Third Generation Computers used Integrated Circuits (chips).  Integrated Circuits are transistors, resistors, and capacitors integrated together into a single “chip”

  Integrated Circuit  Operating System  Getting smaller, cheaper

 The 4004 had 2,250 transistors  four-bit chunks (four 1’s or 0’s)  108Khz  Called “Microchip”

 Very Large Scale Integrated Circuit (VLSIC) ◦ Transistors, resistors, and capacitors  4004 had 2,250 transistors  Pentium IV has 42 MILLION transistors ◦ Each transistor 0.13 microns (10 -6 meters)

 MICROCHIPS!  Getting smaller and smaller, but we are still using microchip technology

 256 byte memory (not Kilobytes or Megabytes)  2 MHz Intel 8080 chips  Just a box with flashing lights  cost $395 kit, $495 assembled.

 IBM-Intel-Microsoft joint venture  First wide-selling personal computer used in business  8088 Microchip - 29,000 transistors ◦ 4.77 Mhz processing speed  256 K RAM (Random Access Memory) standard  One or two floppy disk drives

 Founded 1977  Apple II released 1977 ◦ widely used in schools  Macintosh (left) ◦ released in 1984, Motorola Microchip processor ◦ first commercial computer with graphical user interface (GUI) and pointing device (mouse)

 Early 1990s began penetration of computers into every niche: every desk, most homes, etc.  Faster, less expensive computers paved way for this  Windows 95 was first decent GUI for “PCs”  Macs became more PC compatible - easy file transfers  Prices have plummeted ◦ $2000 for entry level to $500 ◦ $6000 for top of line to $1500

 Great increases in speed, storage, and memory  Increased networking, speed in Internet  Widespread use of CD-RW  PDAs  Cell Phone/PDA  WIRELESS!!!

 Hardware ◦ Central Processing Unit (CPU)  Intel Duo Core, AMD& etc ◦ Memory  Hard disc, RAM ◦ Storage Devices  Pen Drive, CD, DVD, Diskette ◦ Input Devices  Key Board, Mouse, Scanner… ◦ Output Devices  Monitor, projector, speaker… ◦ Communication Devices  Modem, Wireless card, Switches and Hub, router…

 Software ◦ Also known as computer programs ◦ A collection of instruction for computer to operate ◦ Can be written in many types of languages ◦ Collections of important program to operate the basic operation of a computer is Operating System ◦ Example of OS: Microsoft Windows, DOS, OS X (MAC), UNIX and etc

 A programming language is a machine – readable artificial language to express computations that can be performed by a machine.  In simple term, the language that can instruct computer to perform certain operation!

Input device CPU (CU & ALU) Memory (RAM) Output device

Human Operating System Hey, do you hear me? High Level Language Low Level Language Chinese Bangla

C Language Operating System High Level Language Low Level Language MS Word Visual Basic Compiler

Operating System Low Level Language Compiler Computer alone  Dead Computer+OS  Alive Computer+OS+Compiler  Interact

 Basically there are 3 types of programming language: ◦ Machine languages ◦ Assembly languages ◦ High-level languages

 Basically machine cannot understand human language.  Computer only understand numbers.(Digital format)  Machines languages are machine- dependents, but it generally consists string of numbers (eventually will reduce to 1s and 0s)  Example: ◦ (Binary system) ◦

 Machine language is hard to understand and write.  An English-like abbreviations formed the basic languages.  A translator program called assemblers will later convert the assembly language to machine language  Example of assembly languages syntax: ◦ LOAD ◦ ADD ◦ STORE

 Assembly language is easier to use and learn compare to machine language, but it is still very tedious to write a complex program which involve a lot of operation.  High-level languages are developed, where single statements can accomplish substantial tasks.  It make programming more easier and fun.  Translator programs called compiler convert high-level language to machine language  Example of High-level language ◦ C, C++, JAVA, FOTRAN, COBOL, PYTHON, PHP….

Computer LanguagesSampleTranslator Program Machine Languages Assembly LanguageLOAD BASEPAY ADD OVERPAY STORE GROSSPAY Assembler High level languagesgrossPay = basePay + OverTimePay Compiler

 Graphical-based programming language with scripts  Only simple knowledge on logic is needed in programming  Example: ◦ Visual.NET (C, C++, C#, Basic) ◦ JAVA ◦ WEB Programming ◦ Multimedia programming (FLASH…)

 Need to know Math? ◦ Yes & No, you only need to know the simple arithmetic operation. The analytical skill is more important  The Importance of Design ◦ You need to design a solution for a problem  Importance of Patience ◦ Programming may be frustrating but very rewarding (in term of satisfactory and monetary)  Importance of precision ◦ You need to be able to think logically, precisely and in rigorous way!  Framing Problems Correctly ◦ Become a good problem solver, not a problem creator!

 Look at the example code  After reading it, code it, and run (execute) it, and then modify it!!  Write your own code ASAP!!  Seek out more sources

 Mr A just move to a new house, when his friend ask him what is his house number, he just tell his friend the range of housing number at his residential area is between 3 and 85, and 3 questions below: ◦ Guess if his house number is smaller than 39? ◦ Guess if the number can be perfectly divided by 4? ◦ Guess if the number can be square rooted?  Out of the 3 questions, only one answer should be “NO”. Find Mr. A’s house.

 If the first answer is “NO”, than Mr. A’s number will be greater than 39 and smaller than 85.  If the number can be divided by 4, and can be square rooted.  Then the only number is 64  If the answer for second or third question is no, then there will be more than one possible answer.