CMPT 201 Computer Science II for Engineers

Slides:



Advertisements
Similar presentations
Agenda Definitions Evolution of Programming Languages and Personal Computers The C Language.
Advertisements

Copyright © 2002 W. A. Tucker1 Chapter 1 Lecture Notes Bill Tucker Austin Community College COSC 1315.
CSE Spring 2015 INTERMEDIATE PROGRAMMING
C Programming for engineers Teaching assistant: Ben Sandbank Home page:
Introduction to Computer Programming in C
Instructor: Tina Tian. General Info Office: RLC 203A Office Hours: Tuesday, Friday 1:00 – 2:00 PM.
Class 1: What this course is about. Assignments Reading: Chapter 1, pp 1-33 Do in Class 1: –Exercises on pages 13, 14, 22, 28 To hand in in Class 2: –Exercises.
CSC 171 – FALL 2004 COMPUTER PROGRAMMING LECTURE 0 ADMINISTRATION.
Objectives Machine language vs.. High-level language Procedure-oriented, object-oriented, and event- driven languages Background of Visual Basic VB Integrated.
CMSC 202 Computer Science II for Majors Fall 2009 Introduction.
CS190/295 Programming in Python for Life Sciences: Lecture 1 Instructor: Xiaohui Xie University of California, Irvine.
Introduction COMP104: Fundamentals and Methodology.
CS110/CS119 Introduction to Computing (Java)
COMP Introduction to Programming Yi Hong May 13, 2015.
CMSC 202 Computer Science II for Majors Object-Oriented Programming.
Instructor: Tina Tian. About me Office: RLC 203A Office Hours: Wednesday 1:30 - 4:30 PM or .
Chapter 3: Completing the Problem- Solving Process and Getting Started with C++ Introduction to Programming with C++ Fourth Edition.
CMPT 258 Database Systems Instructor: Tina Tian. General Information Office: RLC 203A Office Hour: Wednesday 1:30 - 4:30.
1 Agenda Administration Background Our first C program Working environment Exercise Memory and Variables.
COMP 171: Principles of Computer Science I John Barr.
ICS 102 Computer Programming University of Hail College of Computer Science & Engineering Computer Science and Software Engineering Department.
Chapter 11 An Introduction to Visual Basic 2008 Why Windows and Why Visual Basic How You Develop a Visual Basic Application The Different Versions of Visual.
CSCE 1040 Computer Science 2 First Day. Course Dr. Ryan Garlick Office: Research Park F201 B –Inside the Computer Science department.
Introduction to C++ Programming Language
Visual C++ Programming: Concepts and Projects
Guide to Programming with Python Chapter One Getting Started: The Game Over Program.
Class 1: What this course is about. Assignment Read: Chapter 1 Read: Chapter 1 Do: Chapter 1 ‘workbook’ pages not finished in class Do: Chapter 1 ‘workbook’
Chapter 11 An Introduction to Visual Basic 2005 Why Windows and Why Visual Basic How You Develop a Visual Basic Application The Different Versions of Visual.
Monday, Jan 6, 2003Kate Gregory with material from Deitel and Deitel CO 204 Object Oriented Programming 2003 Trent University Kate Gregory.
10/8: Software What is software? –Types of software System software: Operating systems Applications Creating software –Evolution of software development.
Programming in C++ Dale/Weems/Headington Chapter 1 Overview of Programming and Problem Solving.
Chapter 1 Computers, Compilers, & Unix. Overview u Computer hardware u Unix u Computer Languages u Compilers.
CSCE 1030 Computer Science 1 First Day. Course Dr. Ryan Garlick Office: Research Park F201 B –Inside the Computer Science department.
Chapter 1 09/04/13. Change Your Password  The command is: passwd In the lab first do : ssh -Y onyx  You will have to see me to change it, if you forget.
Winter 2016CMPE212 - Prof. McLeod1 CMPE212 Object Oriented Programming for Engineers Course Web Site: Lecture.
LESSON 1 Introduction to Programming Language. Computer  Comprised of various devices that are referred to as HARDWARE.  The computer programs that.
Copyright © 2014 Pearson Addison-Wesley. All rights reserved. Chapter 2 C++ Basics.
IST 210: ORGANIZATION OF DATA Introduction IST210 1.
Evolution of C and C++ n C was developed by Dennis Ritchie at Bell Labs (early 1970s) as a systems programming language n C later evolved into a general-purpose.
CMPT 238 Data Structures Instructor: Tina Tian. General Information Office: RLC 203A Office Hour: Tue and Fri 12:30 - 2:00PM.
Software Engineering Algorithms, Compilers, & Lifecycle.
CMPT 463 Artificial Intelligence Instructor: Tina Tian.
INC 161 , CPE 100 Computer Programming
Computer Engineering Department Islamic University of Gaza
Introduction to Computers and C++ Programming
CSCE 121, Sec 200 Fall 2012 Prof. Jennifer L. Welch.
CS101 Computer Programming I
Introduction to Computers and C++ Programming
ECE Application Programming
ECE Application Programming
Introduction to Visual Basic 2008 Programming
Computer Programming (CS-161)
LESSON 1 Introduction to Programming Language
CMPT 238 Data Structures Instructor: Tina Tian.
CSC215 Lecture Orientation.
CSE1320 INTERMEDIATE PROGRAMMING
Week 1 Gates Introduction to Information Technology cosc 010 Week 1 Gates
Programming COMP104: Fundamentals and Methodology Introduction.
CS1S467 GUI Programming Lab Introduction.
Lecture 1: Introduction
CS190/295 Programming in Python for Life Sciences: Lecture 1
Computer Science I CSC 135.
CSC215 Lecture Orientation.
CMPT 438 Algorithms Instructor: Tina Tian.
CSC215 Lecture Orientation.
Introduction to Computer Programming
An Introduction to Programming with C++ Fifth Edition
CMPT 420 / CMPG 720 Artificial Intelligence
ICS103 Programming in C 1: Overview of Computers And Programming
CMPT 238 Data Structures Instructor: Tina Tian.
Presentation transcript:

CMPT 201 Computer Science II for Engineers Instructor: Tina Tian

About me Email: tina.tian@manhattan.edu Office: RLC 203A Office Hours: Wednesday 11:00 - 1:00, Friday 1:45 - 2:45 Website: turing.manhattan.edu/~tina.tian/

About the Course Tuesday and Friday 11:00 - 12:15 RLC 107 Textbook: Gaddis 9th Edition (preferred) Gaddis 8th Edition Grading: 1st Midterm Exam (5th week) 15% 2nd Midterm Exam (10th week) 15% Final Exam 30% Homework Assignments 40%

Homework Assignments All are programming. Expect ~8 homework assignments Each homework may contain several programming problems.

Homework Assignments Hard copy electronic copy will not be accepted Source code Screen shot of output/test runs

Homework Assignments Homework is due a week after being announced. Collected before class begins (before 11 AM) No late work is accepted. Strict deadline! No homework is accepted after the class begins What if I couldn’t attend the class? What if I was late? Email me your homework (before 11AM) to show the timestamp Hand in a printed copy later

Advices Stay close to the computers and try out the example programs! Don’t copy code. Save your programs Google drive emails flash drive

About MS Visual Studio Integrated Development Environment (IDE) Used to develop console and graphical user interface (GUI) applications Supports C/C++, C#, VB, etc. Visual Studio Community (Free to download onto personal computers)

If you are using Mac.. Xcode https://developer.apple.com/xcode/ Free Compiler

About C++ High-level language e.g., C++, C, Java, Python, PHP, Visual Basic... Designed to be easy to read and write Low-level language e.g., assembly language ADD X Y Z Assembly language must be translated to machine language (zeros and ones) 0110 1001 1010 1011 Any high-level language program must be translated into machine language for the CPU to execute.

Compilers A program that translates a high-level language to a machine language Source code The original program in a high level language Object code The translated version in machine language

Linkers Some programs we use are already compiled A Linker combines Their object code is available for us to use For example: Input and output routines A Linker combines The object code for the programs we write and The object code for the pre-compiled routines into The machine language program the CPU can run

Algorithms Algorithm Program A sequence of precise instructions that leads to a solution Program An algorithm expressed in a language the computer can understand

Desktop testing: mentally going through the algorithm Testing: running the program on sample input data

Object Oriented Programming (OOP) Used for many modern programs Program is viewed as interacting objects Procedural vs. OOP

Some history of C++ C++ is derived from C. C developed by Dennis Ritchie at AT&T Bell Labs in the 1970s. Used to maintain UNIX systems a high-level language with many of the features of a low-level language Good for writing system programs, but hard to understand C++ developed by Bjarne Stroustrup at AT&T Bell Labs in the 1980s. Overcame several shortcomings of C Incorporated object oriented programming C remains a subset of C++

“Homework” Read Chapter 2 Download and install Visual Studio