Yusuf Family Website

[ Lecture 1 ] Lecture 2 ] Lecture 3 ] Lecture 4 ] Lecture 5 ] Lecture 6 ] Lecture 7 ] Lecture 8 ] Lecture 9 ] Lecture 10 ] Lecture 11 ] Lecture 12 ] Lecture 13 ] Lecture 14 ] Lecture 15 ] Lecture 16 ]

CP 107 Lecture 1

The purpose of lecture notes is to outline what the instructor intends to teach. It also gives the student any reading assignments and pre lab exercises that they have to do in preparation for the lab.  The material covered in the lecture and assignments given in lecture notes should help to prepare the student for the lab assignment.

 

For students who intend to use NHTI computers for the labs, all software will be installed and computers will be ready to use for the labs.

For students who wish to work on assignments using their own Personal Computer, a copy of Microsoft Visual C++ compiler is included with the text. The compiler must be installed before you can do the lab assignment.

If wish, you can download the Microsoft VC++ .NET 2005  Express Edition compiler (free for one year) from 

 Lecture 1

We will cover chapter 1 "Introduction to Computers and C++ Programming".

 

Objectives

bullet

History of computers.

bullet

Understand what we mean by computer hardware and computer software.

bullet

Understand what is a computer program.

bullet

An introduction to C++ programming language.

bulletTo understand C++ language's basic built in data types
bulletTo understand constants and variables
bullet

Able to use Microsoft Visual C++ 6 compiler.

bullet

Verify that your working environment works for you.

bullet

To be able to write a very simple computer program in C++.

bullet

To be able to use simple input and output statements.

bullet

To become familiar with fundamental data types.

bullet

Understand Variables and Constants.

bullet

Use computer to do simple math problems.

bullet

Try out compiler's debugging tools

 

 

Course Material

Lecture 1 Slide The slides were made using a different textbook, but I still plan to use them for this class.

 

Assignments for next week

Read Chapter 2, sections 2.1 & 2.2. 
My slides on Numbering Systems
Appendix 3 (Page 899 of Savitch text) "The ASCII Character Set"

 

Lab assignment 1 is due the next week

 

 

Lab Objectives

Able to use Microsoft Visual C++ 6, set up your programming environment

Compile and run a few sample programs

Edit source code, recompile and test

Learn how to use Microsoft Visual C++ 6 debugging tools 

 

The source code for the examples in the textbook can be downloaded. Instructions are in the textbook.

 

 

You can investigate on the web a tool called Winzip by doing a web search and reading some of the info on it. It is the student's responsibility to read and adhere to the licensing agreement(s) whatever they may be.  Winzip will "unzip" and "zip" collections of files in order to save space.  If a file is downloaded from the web and it is zipped, (has .ZIP as the file extension), using winzip will extract the compressed files into files that can be normally accessed.

http://www.winzip.com/

 

On systems with Windows XP, you can do without winzip utility.

 

 

Home

Questions or comments?  Send mail to MSaleemYusuf@Yahoo.com
Last modified: 09/01/07