CS 150 Introduction to Computer Science 1. August 31, 2009

Similar documents
CS 150 Introduction to Computer Science 1

CS150 Introduction to Computer Science 1. What is CS150? Who Are We? CS150 is a programming course You will learn

Announcements. 1. Forms to return today after class:

Unit 2: Data Storage CS 101, Fall 2018

CSE115 / CSE503 Introduction to Computer Science I Dr. Carl Alphonce 343 Davis Hall Office hours:

CPSC 213. Introduction to Computer Systems. Introduction. Unit 0

Value of Having Laptop - How valuable was it having your own laptop to use in class? % % % % %

CS1 Lecture 2 Jan. 16, 2019

OO software systems are systems of interacting objects.

#101 Page: 1 Name: CS32 Midterm Exam. E01, W15, Phill Conrad, UC Santa Barbara

Computer Organisation IB Computer Science. Content developed by Dartford Grammar School Computer Science Department

Chapter 1: Introduction to Computers and Programming

CS1 Lecture 3 Jan. 22, 2018

COMPUTER SYSTEM. COMPUTER SYSTEM IB DP Computer science Standard Level ICS3U. COMPUTER SYSTEM IB DP Computer science Standard Level ICS3U

Welcome to... CS113: Introduction to C

Welcome to Solving Problems with Computers I

CS 126 Lecture P1: Introduction to C

Spring 2003 Instructor: Dr. Shahadat Hossain. Administrative Matters Course Information Introduction to Programming Techniques

Intro to Programming & C Why Program? 1.2 Computer Systems: Hardware and Software. Why Learn to Program?

CSC 101: Lab Manual#9 Machine Language and the CPU (largely based on the work of Prof. William Turkett) Lab due date: 5:00pm, day after lab session

Welcome to Computer Organization and Design Logic

Chapter 02: Computer Organization. Lesson 02: Functional units and components in a computer organization- Part 1: Processor

CS1 Lecture 3 Jan. 18, 2019

Midterm Examination - Answers October 25, 2012 In Class Instructor: Joseph Vybihal

Information Science 1

CPSC 121: Models of Computation

Introduction to Computer Systems

An Introduc+on to Computers and Java CSC 121 Spring 2017 Howard Rosenthal

Welcome to Computer Organization and Design Logic CS 64: Computer Organization and Design Logic Lecture #1 Winter 2018

Chapter 1: Why Program? Main Hardware Component Categories 8/23/2014. Main Hardware Component Categories: Why Program?

Review for the Final Exam CS 8: Introduction to Computer Science, Winter 2018 Lecture #15

CPSC 213. Introduction to Computer Systems. About the Course. Course Policies. Reading. Introduction. Unit 0

Programming 1. Lecture 1 COP 3014 Fall August 28, 2017

last time in cs recitations. computer commands. today s topics.

CS 378 (Spring 2003) Linux Kernel Programming. Yongguang Zhang. Copyright 2003, Yongguang Zhang

Outline. Computer Science 331. Course Information. Assessment. Contact Information Assessment. Introduction to CPSC 331

Computer Science 210: Data Structures

Storing Data: Disks and Files. Administrivia (part 2 of 2) Review. Disks, Memory, and Files. Disks and Files. Lecture 3 (R&G Chapter 7)

COSC 115A: Introduction to Web Authoring Fall 2014

Lesson 1. Introduction to Programming OBJECTIVES

Introduction. Arizona State University 1

MITOCW watch?v=0jljzrnhwoi

Review: Performance Latency vs. Throughput. Time (seconds/program) is performance measure Instructions Clock cycles Seconds.

CISC 110 Week 1. An Introduction to Computer Graphics and Scripting

CSE 141 Computer Architecture Spring Lectures 17 Virtual Memory. Announcements Office Hour

Python for Analytics. Python Fundamentals RSI Chapters 1 and 2

CHAPTER 1 Introduction to Computers and Java

This is an example of an that is not appropriate when communicating with your professor.

An Introduction to Computers and Java CSC 121 Spring 2015 Howard Rosenthal

IAE Professional s (02)

: Dimension. Lecturer: Barwick. Wednesday 03 February 2016

} Evaluate the following expressions: 1. int x = 5 / 2 + 2; 2. int x = / 2; 3. int x = 5 / ; 4. double x = 5 / 2.

CS 261 Fall Mike Lam, Professor. CPU architecture

Introduction to Computer Science. Homework 1

COMPUTER SCIENCE IN THE NEWS (TWO YEARS AGO) CS61A Lecture 16 Mutable Data Structures TODAY REVIEW: OOP CLASS DESIGN 7/24/2012

1. Textbook #1: Our Digital World (ODW). 2. Textbook #2: Guidelines for Office 2013 (GFO). 3. SNAP: Assessment Software

(I m not printing out these notes! Take your own.)

Spring 2018 El Camino College E. Ambrosio. Course Syllabus

Memory. Hakim Weatherspoon CS 3410, Spring 2013 Computer Science Cornell University

College Algebra. Cartesian Coordinates and Graphs. Dr. Nguyen August 22, Department of Mathematics UK

#1 #2 with corrections Monday, March 12 7:00pm to 8:30pm. Please do not write your U of C ID number on this cover page.

Levels in memory hierarchy

Week 1: Hello World! Muhao Chen

Chapter 1. Computer Technology Concept of Programming & Algorithm and Flow Charts

CSC258: Computer Organization. Memory Systems

COS 140: Foundations of Computer Science

Midterms Save the Dates!

COMPUTER SCIENCE UNIT 1: Understanding Computer Science

Introduction to C. Zhiyuan Teo. Cornell CS 4411, August 26, Geared toward programmers

CS 101, Mock Computer Architecture

EECS 282 Information Systems Design and Programming. Atul Prakash Professor, Computer Science and Engineering University of Michigan

Information Science 1

ProgressTestA Unit 5. Vocabulary. Grammar

Intro to UCD. COSC 480: User-Centered Design. Madeline E. Smith August 29, COSC 480: User-Centered Design. Fall 2016

Today s lecture is all about the System Unit, the Motherboard, and the Central Processing Unit, Oh My!

Memory. Lecture 22 CS301

Disks and Files. Jim Gray s Storage Latency Analogy: How Far Away is the Data? Components of a Disk. Disks

CS 241 Data Organization. August 21, 2018

Using the Computer for Essays

CSC 111 Introduction to Computer Science (Section C)

C H A P T E R 1. Introduction to Computers and Programming

C++ Programming Lecture 7 Control Structure I (Repetition) Part I

Two Types of Types. Primitive Types in Java. Using Primitive Variables. Class #07: Java Primitives. Integer types.

Outline. Announcements. Homework 2. Boolean expressions 10/12/2007. Announcements Homework 2 questions. Boolean expression

CSc 10200! Introduction to Computing. Lecture 1 Edgardo Molina Fall 2013 City College of New York

Programming 1. Lecture 1 COP 3014 Fall August 28, 2018

Lecture 17: Hash Tables, Maps, Finish Linked Lists

S.1 ICT Week Title Content Remarks. Distribute students eclass user accounts, iclass accounts and school login accounts.

CS 241 Data Organization using C

ECE 313 Computer Organization FINAL EXAM December 13, 2000

Diskrečioji matematika

Consolidation and Review

Course Syllabus. Course Information

Your First C++ Program. September 1, 2010

Insight Parent Portal : User Guide

PREREG - Autscape Non residential Full Day Programme (including evening) Registration Form

CS101 Lecture 25: The Machinery of Computation: Computer Architecture. John Magee 29 July 2013 Some material copyright Jones and Bartlett

Course Title: Computer Networking 2. Course Section: CNS (Winter 2018) FORMAT: Face to Face

CMPUT 101 with Solutions Quiz 2 (50 minutes) November 16, 2000

Administrivia. Minute Essay From 4/11

Transcription:

CS 150 Introduction to Computer Science 1 Professor: Douglas J. Ryan August 31, 2009 CS150 Introduction to Computer Science 1

8/30/09 Douglas J. Ryan http://zeus.cs.pacificu.edu/ryand ryandj@pacificu.edu Office 201 Strain Office hours: MWF 10:00am - 11:00am or by appointment

What is CS150? CS150 is a programming course You will learn Syntax (Grammar) The mechanics of writing programs in C++ Design Logical reasoning How do I solve this problem with a program? How do I break this into smaller, solvable problems? No previous programming skills needed!

8/30/09 CS150 Home Page

8/30/09 Tenative Course Schedule

8/30/09 Textbook & Software Book/Handouts Software Visual Studio 2008 You can get a free copy

BoxerApps 8/30/09 http://pacificu.edu/uis/generalinfo/tip_sheets.cfm

8/30/09 Message boards

How to Succeed in CS150 Don t miss class. Take notes Try and read ahead bring questions to class! Start programming assignments early they take much longer than you think Do as much on your own as possible. http://static.eway.com/catalog/1/ce05_127973_pfd.jpg 8/30/09 CS150 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 questions! Don t forget that you are at a small school! and you are paying for it!

How to send an effective email To: ryand@pacificu.edu From: hall4242@pacificu.edu Subject: CS150: Outside Meeting Time? Hi Doug, I m working on the programming assignment and I m stuck. I can't make your office hours on Wednesday, so can I set up an appt to meet with you sometime Wednesday afternoon. Thanks, Lesley

8/30/09 Homework! Homework assignment #1 Fill out the survey on the class web page Bring a printed copy to my office DUE: By Friday 4pm Be prepared to discuss your answers!

Introduction to Computers and Programming Chapter 1

What is a Computer? What is your definition? What is Computer Science?

Question Can computers think?

Program Program?? Programming language A language used to write programs Examples?

8/30/09 Programming Be very specific about what you want the computer to do The computer follows directions precisely

Programming Language Machine language Zeroes and ones CPU dependent High level language Instructions look like everyday English sort of Each instruction can perform many machine language instructions

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

Hardware Physical components of a computer Central Processing Unit (CPU) Main Memory (RAM) Secondary Storage Input Devices Output Devices Let s look at some of these in detail

Memory (RAM) Address 0 1 2 3 4 5 6 7 8 9 10 Contents -27.2 354 0.05-26 H 400 JMP 001 ADD 003 STO 005 X 1005 -Memory cells are 1 byte in size -Bytes are groups of 8 bits -Bits are 0 or 1 -Each memory cell has unique address -Contents can be data or instruction -RAM is volatile http://img.alibaba.com/photo/10989393/256_mb_ddr_333_cl2_5_pc2700_ram_chip_brand_new_chip.jpg

CPU A CPU Fetches instructions Performs instructions Produces results A CPU consists of Control unit: coordinates computer operations ALU: performs arithmetic operations integer unit floating point unit http://www.istockphoto.com/file_thumbview_approve/2238679/2/istockphoto_2238679_cpu_processor_isolated.jpg

Summary Today we have looked at: Course expectations The hardware of computers The software of computers Concept of programming Next time we will: Learn how to write our first C++ program Completed sections 1.1-1.3 from the book Pages1-12