©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. COMPSCI 125 Introduction to Computer Science I.

Slides:



Advertisements
Similar presentations
4/23/2015Engineering Problem Solving with C++ second edition, J. ingber 1 Engineering Problem Solving with C++, Etter/Ingber Chapter 1.
Advertisements

 Computer hardware components are the physical pieces of the computer.  The major hardware components of a computer are: – The central processing.
ENGR2216 FORTRAN PROGRAMMING FOR ENGINEERS. Chapter 1 The computer CPU MEMORY INPUT/OUTPUT DEVICES DATA REPRESENTATION BINARY SYSTEM OCTAL & HEXADECIMAL.
Introduction to Computer Science CS 21a: Introduction to Computing I Department of Information Systems and Computer Science Ateneo de Manila University.
16/13/2015 3:30 AM6/13/2015 3:30 AM6/13/2015 3:30 AMIntroduction to Software Development What is a computer? A computer system contains: Central Processing.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design First Edition by Tony Gaddis.
Chapter 01 Introduction Chapter 0 Introduction. Chapter 02 History of Computing - Early Computers Abacus (ancient orient, still in use) Slide rule (17C,
COMPSCI 125 Spring 2011 Section What is computer science? … the study of the theoretical foundations of information and computation and their implementation.
©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. slide 1 CS 125 Introduction to Computers and Object- Oriented Programming.
Introduction Extended and Concise Prelude to Programming Concepts and Design Copyright © 2003 Scott/Jones, Inc.. All rights reserved. 1 Introduction.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. COMPSCI 125 Introduction to Computer Science I.
©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. slide 1 CS 125 Introduction to Computers and Object- Oriented Programming.
Introduction to Computers and Programming. Some definitions Algorithm: –A procedure for solving a problem –A sequence of discrete steps that defines such.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 1 Introduction to Object-Oriented Programming and Software Development.
Chapter 1 Background Fundamentals of Java.
Topic 1: Introduction to Computers and Programming
©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 4 th Ed Chapter Chapter 0 Introduction to Computers and Programming.
CIS 260 Computer Programming I in C Prof. Timothy Arndt.
Course: Introduction to Computers
Chapter 1: Introduction To Computer | SCP1103 Programming Technique C | Jumail, FSKSM, UTM, 2005 | Last Updated: July 2005 Slide 1 Introduction To Computers.
Introduction to Computers. Are Computers Important? OF COURSE!
Introduction to Computers and Python. What is a Computer? Computer- a device capable of performing computations and making logical decisions at speeds.
The Study of Computer Science Chapter 0 Intro to Computer Science CS1510, Section 2.
Chapter 1: Introduction to Visual Basic.NET: Background and Perspective Visual Basic.NET Programming: From Problem Analysis to Program Design.
©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 4 th Ed Chapter Chapter 0 - Introduction to Computers and Programming.
CS 21a: Intro to Computing I Department of Information Systems and Computer Science Ateneo de Manila University.
CS 1 •This is Computer Science 1. •Who is Professor Adams?
Computer Hardware and Software Chapter 1. Overview Brief History of Computers Hardware of a Computer Binary and Hexadecimal Numbers Compiling vs. Interpreting.
The Study of Computer Science Chapter 0 Intro to Computer Science CS1510.
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 I: Introduction to Computer Science. Computer: is a machine that accepts input data, processes the data and creates output data. This is a specific-purpose.
Chapter 1 The Big Picture.
Microprocessor Fundamentals Week 1 Mount Druitt College of TAFE Dept. Electrical Engineering 2008.
Visual C++ Programming: Concepts and Projects
Fundamental Programming: Fundamental Programming K.Chinnasarn, Ph.D.
Mrs. Ulshafer August, 2013 Java Programming Chapter 1.
Chapter 1 Introduction.
School of Computer Science & Information Technology G6DICP Introduction to Computer Programming Milena Radenkovic.
Computer Architecture And Organization UNIT-II General System Architecture.
Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION.
Internal Lab Registeration labreg/lab/signup.aspxhttp:// labreg/lab/signup.aspx
Development of Computers. Hardware 1. Original concept: Charles Babbage 1840’s 2. 4 basic components of a computer system: input store mill output (Now:
CS 127 Introduction to Computer Science. What is a computer?  “A machine that stores and manipulates information under the control of a changeable program”
Beginning Snapshots Chapter 0. C++ An Introduction to Computing, 3rd ed. 2 Objectives Give an overview of computer science Show its breadth Provide context.
Computer Systems. Bits Computers represent information as patterns of bits A bit (binary digit) is either 0 or 1 –binary  “two states” true and false,
Chapter 1 Introduction. Components of a Computer CPU (central processing unit) Executing instructions –Carrying out arithmetic and logical operations.
Chapter 4 Software. Introduction Program: is a set of sequence instructions that tell the computer what to do. Software: is a collection of programs,
CS 101 INTRODUCTION TO COMPUTING * image from The Central Eglinton Community Centre website.
Introduction To Computers
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.
Computer Basics Just How Does a Computer Work?
1 Chapter 1 Background Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
Chapter I: Introduction to Computer Science. Computer: is a machine that accepts input data, processes the data and creates output data. This is a specific-purpose.
INTRODUCTION TO COMPUTERS. A computer system is an electronic device used to input data, process data, store data for later use and produce output in.
Introduction to Computers
Computer Science II Chapter 1.
An Overview of the Computer System
Chapter 1: An Overview of Computers and Programming Languages
Chapter 1 Introduction.
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
CS 21a: Intro to Computing I
Looking Inside the machine (Types of hardware, CPU, Memory)
An Overview of the Computer System
Computer Science I CSC 135.
Chapter 0 Introduction Introduction Chapter 0.
Presentation transcript:

©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. COMPSCI 125 Introduction to Computer Science I

©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. What is Computer Science? *What do you think it is? *Why is it useful?

©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Computer Science topics Software Engineering Algorithms Data Structures Operating Systems Computer Architecture Programming Languages Theory of Computation Computer Graphics Networks and security Databases

©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. What is this course about? object-oriented concepts objects and classes interfaces and inheritance polymorphism problem solving program design and implementation graphics and user interfaces the Java programming language

©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Course Objectives After you have completed this course you should be able to design object-oriented solutions to programming problems implement working programs with good coding and documentation style explain concepts such as algorithms, encapsulation, inheritance

©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. Textbook An Introduction to Object-Oriented Programming with Java by C. Thomas Wu

©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 0 Introduction to Computers and Programming Languages

©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. History of Computers Idea of computers has been around since 1823 when Charles Babbage built his Difference Engine Mark I was a computer built with mechanical relays in the 1930's ENIAC (1946) was the first electronic computer - built with vacuum tubes John von Neuman suggested stored- program computer which is model for most computers still

©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. History of Computers Starting in the late 1950s, computers built with transistors Starting in the 1960s, integrated circuits allowed computers to become small (desktop computers) and inexpensive (personal computers) Currently, the smallest computers consist of an IC embedded into another device

©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 5 basic components in computer

©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Five parts to the computer 1. CPU the heart of the computer 2. Memory RAM, ROM 3. Storage devices Disk drives, CD-ROM 4. Input and Output Devices keyboard, mouse display, printer 5. Communication Devices modem, network cards

©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Computers based on binary numbers computer memory built of switches that can be either on or off Two possible states can be represented with two digits - 0 and 1 a sequence of these binary digits (bits) makes a base 2 (binary) number

©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Binary Numbers *Similar to decimal numbers, position of a digit gives power of 2 by which that digit needs to be multiplied = 1x x x x2 -1 *Easy to see how to represent integers 25 = = *How to represent the decimal point in real numbers? use a special format that is kind of like scientific notation fixed number of bits for mantissa and exponent

©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Software *Computer hardware needs software to be useful *Early computers ran one program at a time a human operator loaded and then ran each program in turn *Now we want multiple programs and/or multiple users concurrently an operating system is a program that manages the running of users and programs

©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Software *Software consists of instructions that tells a computer what to do *Each type of CPU has a set of instructions that it understands *There are various types of software operating system system utilities applications *Part of what you'll learn in this class is how to write small applications

©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Programming Languages Inside a computer, everything is stored in binary form the CPU understands binary instructions Long strings of binary digits are hard for people to read and write without mistakes Programming languages are easier for people to read and write they can be converted into binary by a program called a compiler

©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Desirable properties for a programming language Easy for people to learn Not too difficult to translate into machine language Simple rules Unambiguous Complete Can program anything you need to

©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Java *Java is an object-oriented programming language from Sun *This is the language you will be using to write your applications *In the next chapter, we'll learn more about object-oriented programming and the software development process