Chapter 1 Introduction to Computer Science

Slides:



Advertisements
Similar presentations
 Computer hardware components are the physical pieces of the computer.  The major hardware components of a computer are: – The central processing.
Advertisements

Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design First Edition by Tony Gaddis.
Computing Components 01/26/11. Announcements & Reminders Programs 1 due Friday, 9/2/11 What is my late policy? Proxy Codes for Labs  You should be able.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. COMPSCI 125 Introduction to Computer Science I.
1 Lesson 1 Computers and Computer Systems Computer Literacy BASICS: A Comprehensive Guide to IC 3, 4 th Edition Morrison / Wells.
Introduction to Computers and Python. What is a Computer? Computer- a device capable of performing computations and making logical decisions at speeds.
CS1430: Programming in C++ Section 2 Instructor: Qi Yang 213 Ullrich
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
1 CSC 1401 S1 Computer Programming I Hamid Harroud School of Science and Engineering, Akhawayn University
CSCI 125 & 161 Lecture 2 Martin van Bommel. Hardware vs Software Hardware - physical components you can see and touch –e.g. processor, keyboard, disk.
CS 1 •This is Computer Science 1. •Who is Professor Adams?
Topics Introduction Hardware and Software How Computers Store Data
Chapter Two Hardware Basics: Inside the Box. ©1999 Addison Wesley Longman2.2 Chapter Outline What Computers Do A Bit About Bits The Computer’s Core: CPU.
COP1220/CGS2423 Introduction to C++/ C for Engineers Professor: Dr. Miguel Alonso Jr. Fall 2008.
MAC OS – Unit A Page: 10-11, Investigating Data Processing Understanding Memory.
Lesson 2 — How Does A Computer Process Data?
An Introduction to Computers August 12, 2008 Mrs. C. Furman.
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley C H A P T E R 1 Introduction to Computers and Programming.
CPS120: Introduction to Computer Science Introduction to Computers.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages.
Mrs. Ulshafer August, 2013 Java Programming Chapter 1.
School of Computer Science & Information Technology G6DICP Introduction to Computer Programming Milena Radenkovic.
Liang, Introduction to C++ Programming, (c) Chapter 1 Introduction to Computers, Programs, and C++
Development of Computers. Hardware 1. Original concept: Charles Babbage 1840’s 2. 4 basic components of a computer system: input store mill output (Now:
Parts of the Computer System
1 CS1430: Programming in C++ Section 2 Instructor: Qi Yang 213 Ullrich
Beginning Snapshots Chapter 0. C++ An Introduction to Computing, 3rd ed. 2 Objectives Give an overview of computer science Show its breadth Provide context.
The Computer System CS 103: Computers and Application Software.
CS 1428 Foundations of Computer Science I. Two Main Components  Hardware  Physical media that uses electrical current to process instructions.  Software.
CS 125 Lecture 2 Martin van Bommel. Hardware vs Software Hardware - physical components you can see and touch –e.g. processor, keyboard, disk drive Software.
Three Ways Where Computers Beat People Computers are faster. Computers are more accurate. Computers do not forget.
COMPUTER SYSTEM A computer system is define as combination of components designed to process data and store files. A computer system consists of four.
 A computer is an electronic device that receives data (input), processes data, stores data, and produces a result (output).  It performs only three.
Chapter 1 An Overview of Computers and Programming Languages.
©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.
C++ Programming: From Problem Analysis to Program Design, Fifth Edition Chapter 1: An Overview of Computers and Programming Languages.
1 Chapter 1 Background Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
Introduction To Computer Programming – 1A Computer Parts, Words, and Definition Herriman High School.
Information Technology (IT). Information Technology – technology used to create, store, exchange, and use information in its various forms (business data,
Computer Graphics HARDWARE. Computers  Computers are automatic, electronic machines that –accept data & instructions from a user (INPUT) –store the data.
Java Programming: From the Ground Up
MEMORY BYTES. MEMORY BYTES MEMORY MEMORY OUR Internal External.
Computer Science II Chapter 1.
An Overview of the Computer System
Chapter 1: An Overview of Computers and Programming Languages
Chapter 1 The Big Picture
Topics Introduction Hardware and Software How Computers Store Data
Chapter 1 Introduction to Computers, Programs, and C++
Chapter 1: An Overview of Computers and Programming Languages
Overview of Computers and Programming Chapter 1
Chapter 1: Introduction to Computers and Programming
Introduction
About the Presentations
Chapter 1: An Overview of Computers and Programming Languages
C++ Programming: From Problem Analysis to Program Design
People use computers at…
COMPUTER MEMORY & DATA STORAGE
COMPUTER MEMORY & DATA STORAGE
Looking Inside the machine (Types of hardware, CPU, Memory)
Overview of Computers & Programming Languages
Introduction to Computing Lecture # 1
An Overview of the Computer System
Computer Science I CSC 135.
How do computers work? Storage.
Computers: Hardware and Software
Topics Introduction Hardware and Software How Computers Store Data
Programming What?! How?!.
Electronic Memory.
Computer components.
Presentation transcript:

Chapter 1 Introduction to Computer Science AP Computer Science Chapter 1 Introduction to Computer Science

1.1 Through 1.4 Nothing in life is obvious Computers are faster, more accurate, and don’t forget information What to do? Ask questions, listen to explanations (maybe more than once), read, practice and give effort

What else requires effort??????? Basketball, football, driving… This results in success

How do we succeed in APCS? Listen to teacher notes Reading chapter-Reading Quiz Getting help from another Type in program examples Observe the results Change some of the statements Observe what happens **Practice on your own-REREAD

What doesn’t work in APCS Cramming Having someone else do your work Copying assignments Getting excessive help **Suggestions from past students

Chapter 1 Lessons 1.5 Morse code, short and long signals (no record of signal, can miss pauses in between) **“Objects First” Activity

Lessons 1.6 Electronic memory uses on/off Magnetic hard drives have on/off 8 light bulbs create 256 different combinations (use 0 for off, 1 for on) Off,on,off,off,off,off,off,on 0 1 0 0 0 0 0 1 (8 bits = 1 byte)

Numbers in base ten and base two Base ten consists of numbers 0,1,2,3,4,5,6,7,8,9 then uses two digits like 10,11, Base two consists of numbers 0,1 then uses two digits like 10,11,

Base ten and Base two (on board) 2 x 102 + 6 x 101 + 1 x 100 101 base 2 = 1 x 22 + 0 x 21 + 1 x 20 = 5 base 10 **Extra practice 10 to 2; 2 to 10

Bits, bytes, and codes A single bulb can be on or off which is called a binary digit or bit (originally one vacuum tube) Eight lights or bits is a byte 1 byte can only represent 256 characters 11111111 (ASCII) 2 bytes is used for Unicode or 65,536 characters **Bit competition

Memory and Storage 1.7 Operating System provides user interface and manages CPU Motherboard – main board consisting of chips of silicon RAM – stores information temporarily (Random Access Memory) ROM – store permanent information (Read Only Memory) CPU – brains of the computer (Central Processing Unit)

Memory is measured in bytes KB–KiloByte 1,024 or 210 MB–MegaByte (1,048,576) or 220 GB–Gigabyte(1,073,741,824) or 230 TB-Terabyte(1,099,511,627,776)240 PB EB **Hw. Ex. 1.1-1.7

Secondary Storage 1.8/1.9 Hard drives, diskettes, tapes, CDs Tapes and disks store iron oxide particles that are magnetically charged + or – CDs are coded with areas that reflect and absorb light Hardware vs. software **Hw. 1.08-1.09

Programming 1.10 Program – lists a sequence of instructions that allows the computer to perform a desired task **Robot activity **Algorithms-driving instructions

1.10 Programming Languages Assembly language used mnemonics for instructions ex. Mov AX,1234 also used Hexidecimal Java is Object Oriented Programming (OOP) Originally called OAK released as Java in 1995 and used in APCS 2003 *Can run on any platform and compatible with web pages Python CS2

Lesson 1.11 Grace Hopper-Navy lieutenant who developed COBOL Low-level and High-level Languages FORTRAN – first successful programming language for the math and science community BASIC –college students Pascal, C, OOP

Other Languages, Hardware, Software C++ - OOP and old way Python in College/next year Read on your own about networking

Some Key Events in Computer History 1842, Ada Lovelace designs programs that work on Charles Babbage’s analytical machine 1954, Fortran (Formula Translator) invented and is first commercially successful programming language for engineers and mathematicians 1958/1962 First video game called Tennis for Two. 1959, COBOL (Common Business Oriented Language) Grace Hopper 1979, Visicalc, Wordstar 1981, MS-DOS, Microsoft

Base sixteen or hexidecimal 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F Any group of 4 base-2 digits corresponds to one base-16 digit 1111 base 2 = F base 16 Base conversions practice and quiz **Hw. 1.10-1.12 F F = 1111 1111