1 CS150 Introduction to Computer Science 1 Professor: Chadd Williams

Slides:



Advertisements
Similar presentations
Introduction to Computer Programming Nai-Wei Lin Department of Computer Science and Information Engineering National Chung Cheng University.
Advertisements

ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Lecture 1: Overview of Computers & Programming
 Computer hardware components are the physical pieces of the computer.  The major hardware components of a computer are: – The central processing.
Topics What are computers? A little bit of history Computer basics Bilgisayar Kullanımı I.
Using Computers CS French Chapter 1.
CS150 Introduction to Computer Science 1 Professor: Chadd Williams.
Chapter 1: An Overview of Computers and Programming Languages J ava P rogramming: From Problem Analysis to Program Design, From Problem Analysis to Program.
Wednesday, 9/4/02, Slide #1 1 CS 106 Intro to CS 1 Wednesday, 9/4/02  Today: Introduction, course information, and basic ideas of computers and programming.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. COMPSCI 125 Introduction to Computer Science I.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
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.
CS 104 Introduction to Computer Science and Graphics Problems Basic Organization & Concepts 09/09/2008 Yang Song (Prepared by Yang Song and Suresh Solaimuthu)
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with C++ Early Objects Sixth Edition by Tony Gaddis, Judy Walters,
Computer Hardware.
1 8/28/06CS150 Introduction to Computer Science 1 Professor: Chadd Williams
Starting Out with C++: Early Objects 5/e © 2006 Pearson Education. All Rights Reserved Starting Out with C++: Early Objects 5 th Edition Chapter 1 Introduction.
CIS 260 Computer Programming I in C Prof. Timothy Arndt.
Introduction to Computers and Programming
CMSC 104, Version 9/01 1 Machine Architecture and Number Systems Topics Major Computer Components Bits, Bytes, and Words The Decimal Number System The.
CS102 Introduction to Computer Programming
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
The Study of Computer Science Chapter 0 Intro to Computer Science CS1510, Section 2.
Alternate Version of STARTING OUT WITH C++ 4 th Edition Chapter 1 Introduction to Computers and Programming.
Chapter Introduction to Computers and Programming 1.
CSC 125 Introduction to C++ Programming Chapter 1 Introduction to Computers and Programming.
1 Machine Architecture and Number Systems Topics Major Computer Components Bits, Bytes, and Words The Decimal Number System The Binary Number System Converting.
Configuration.
1 TOPIC 1 INTRODUCTION TO COMPUTER SCIENCE AND PROGRAMMING Topic 1 Introduction to Computer Science and Programming Notes adapted from Introduction to.
2nd Meeting Computer Essential. Can you named these parts of computer?
COP1220/CGS2423 Introduction to C++/ C for Engineers Professor: Dr. Miguel Alonso Jr. Fall 2008.
Chapter 1: Introduction to Computers and Programming.
The Study of Computer Science Chapter 0 Intro to Computer Science CS1510.
Introduction to Programming Using C Introduction to Computer Programming.
1 8/29/05CS150 Introduction to Computer Science 1 Professor: Shereen Khoja
CPSC- 120 Principle of Computer Science I Computer = Hardware + Software.
Introduction to Computer Architecture. What is binary? We use the decimal (base 10) number system Binary is the base 2 number system Ten different numbers.
Chapter 5 Computing Components. 5-2 Chapter Goals List the components and their function in a von Neumann machine Describe the fetch-decode-execute cycle.
Aug CMSC 104, LECT-021 Machine Architecture Some material in this presentation is borrowed form Adrian Ilie From The UNIVERSITY of NORTH CAROLINA.
CS 127 Introduction to Computer Science. What is a computer?  “A machine that stores and manipulates information under the control of a changeable program”
Machine Architecture and Number Systems
Beginning Snapshots Chapter 0. C++ An Introduction to Computing, 3rd ed. 2 Objectives Give an overview of computer science Show its breadth Provide context.
Problem Solving Techniques Using Pascal Allen C.-H. Wu Department of Computer Science Tsing Hua University Hsinchu, Taiwan 30043, ROC
A.Abhari CPS1251 Topic 1: Introduction to Computers Computer Hardware Computer components Connecting Computers Computer Software Operating System (OS)
Senem KUMOVA METİN // Fall CS 115 Introduction to Programming Introduction to Computing.
Computer Programming (1) Code & No.: CS 102 CREDIT HOURS: 5 UNIT Lecture 3.0 hours/week Lab: 2.0 hour/on every week a. This course introduces the students.
Chapter 1 Introduction. Components of a Computer CPU (central processing unit) Executing instructions –Carrying out arithmetic and logical operations.
1 Introduction to Computers, the Internet and World Wide Web.
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.
Introduction to Programming. Key terms  CPU  I/O Devices  Main memory  Secondary memory  Operating system  User interface  Application  GUI 
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.
COMPUTER HARDWARE & SOFTWARE INTRODUCTION TO LIBRARY & INFORMATION SCIENCES (5501) WORKSHOP SPRING 2013 By: Huma Malik Librarian, Preston University, Islamabad.
Chapter 1: Introduction to Computers and Programming
Computer Architecture and Number Systems
The Study of Computer Science Chapter 0
BASIC PROGRAMMING C SCP1103 (02)
Chapter 1: An Overview of Computers and Programming Languages
BASIC PROGRAMMING C SCP1103 (02)
Computer Architecture
The Study of Computer Science Chapter 0
Chapter 1: Introduction to Computers and Programming
The Study of Computer Science
The Study of Computer Science
Machine Architecture and Number Systems
Notes from Last Class Office Hours: GL Accounts?
Professor: Shereen Khoja
Computer Electronic device Accepts data - input
The Study of Computer Science Chapter 0
Machine Architecture and Number Systems
Presentation transcript:

1 CS150 Introduction to Computer Science 1 Professor: Chadd Williams

2 8/28/06CS150 Introduction to Computer Science 1 What is CS150?  CS150 is a programming course  You will learn o The mechanics of writing programs in C++ o How to solve complex problems using C++ o How to break a large problem into smaller, more manageable problems o How to formulate algorithms to solve problems  You do not need any previous programming or computer skills to take this course

3 8/28/06CS150 Introduction to Computer Science 1 How to Succeed in CS150  Don’t miss class. It is very difficult to pick up any material that you miss  Try and read ahead even if you don’t understand much  Start programming assignments early  Do as much on your own as possible. The more help you get the less sure of yourself you will become

4 8/28/06CS150 Introduction to Computer Science 1 How to Succeed in CS150  Read the assignments carefully and follow all directions  See me as soon as possible about any in class information that you are unclear on

5 8/28/06CS150 Introduction to Computer Science 1 Course Schedule  The course schedule I have given you is tentative. I expect to follow this schedule, but I may have to adjust it from time to time  The online schedule will be accurate and up to date. That is the schedule that you should refer to when studying or revising

6 8/28/06CS150 Introduction to Computer Science 1 Introduction to Computers and Programming Chapter 1

7 8/28/06CS150 Introduction to Computer Science 1 Topics  What are computers?  A little bit of history  Computer basics  Programming languages

8 8/28/06CS150 Introduction to Computer Science 1 What is a Computer?  What is your definition?  The most important thing to remember is that a computer is a machine that follows directions. In the case of programming, the machine is following your directions exactly  You need to be very specific about what you want the computer to do

9 Computer Systems  Hardware  Software 8/28/06CS150 Introduction to Computer Science 1

10 8/28/06CS150 Introduction to Computer Science 1 Hardware  Physical components of a computer o Central Processing Unit (CPU) o Main Memory (RAM) o Secondary Storage o Input Devices o Output Devices  Let’s look at each of these in detail

11 8/28/06CS150 Introduction to Computer Science 1 CPU  A CPU o Fetches instructions o Follows instructions o Produces results  A CPU consists of o Control unit: coordinates computer operations o ALU: performs arithmetic operations

12 8/28/06CS150 Introduction to Computer Science 1 Memory Address Contents H 400 RTV 001 STO 005 X 1005 ADD 003 -Memory is a sequence of storage cells -Memory cells are 1 byte in size -Bytes are groups of bits (8 usually) -Bits are 0 or 1 -Each memory cell has unique address -Contents can be data or instruction -Everything stored as strings of 0s & 1s -RAM is volatile

13 8/28/06CS150 Introduction to Computer Science 1 Secondary Storage  Not volatile  Disk drives o Hard disks o Floppy disks o Zip disks  Optical drives o CDs o DVDs

14 8/28/06CS150 Introduction to Computer Science 1 Input/Output Devices  Input: sends information to the computer from outside  Output: sends information from the computer to outside  Examples?

15 8/28/06CS150 Introduction to Computer Science 1 Software  Operating System  Application Software

16 8/28/06CS150 Introduction to Computer Science 1 Question  Can computers think?  Computers need a list of instructions to perform operations  These instructions are programs

17 8/28/06CS150 Introduction to Computer Science 1 Program  Program o Set of instructions directing a computer to perform a task  Programming language o A language used to write programs o Examples?

18 8/28/06CS150 Introduction to Computer Science 1 Programming Language  Machine language o Zeroes and ones o Machine dependent  High level language o Instructions look like everyday English o Each instruction can perform many machine language instructions

19 8/28/06CS150 Introduction to Computer Science 1 C++  Based on the C programming language  C++ is a high level programming language  One of today’s most popular programming languages  Used extensively in industry

20 8/28/06CS150 Introduction to Computer Science 1 Summary  Today we have looked at: o The history of computers o The hardware of computers o The software of computers o Concept of programming  Next time we will: o Learn how to write our first C++ program  Completed sections from the book o Pages1-12