Introduction to Programming. COMP104 Introduction / Slide 2 Objectives * To learn fundamental...
-
date post
22-Dec-2015 -
Category
Documents
-
view
221 -
download
0
Transcript of Introduction to Programming. COMP104 Introduction / Slide 2 Objectives * To learn fundamental...
![Page 1: Introduction to Programming. COMP104 Introduction / Slide 2 Objectives * To learn fundamental problem solving techniques * To learn how to design a program.](https://reader030.fdocuments.net/reader030/viewer/2022032523/56649d7f5503460f94a622f3/html5/thumbnails/1.jpg)
Introduction to Programming
![Page 2: Introduction to Programming. COMP104 Introduction / Slide 2 Objectives * To learn fundamental problem solving techniques * To learn how to design a program.](https://reader030.fdocuments.net/reader030/viewer/2022032523/56649d7f5503460f94a622f3/html5/thumbnails/2.jpg)
COMP104 Introduction / Slide 2
Objectives
To learn fundamental problem solving techniques
To learn how to design a program
To learn to use the C++ programming language
![Page 3: Introduction to Programming. COMP104 Introduction / Slide 2 Objectives * To learn fundamental problem solving techniques * To learn how to design a program.](https://reader030.fdocuments.net/reader030/viewer/2022032523/56649d7f5503460f94a622f3/html5/thumbnails/3.jpg)
COMP104 Introduction / Slide 3 What Can We Do By the End of the Course?
Write C++ applications such as the following: Program a simple calculator Program simple computer games Program a simple text editor Program a small inventory system
for a small company You will be ready to take on part-time
programming jobs during Xmas break!
![Page 4: Introduction to Programming. COMP104 Introduction / Slide 2 Objectives * To learn fundamental problem solving techniques * To learn how to design a program.](https://reader030.fdocuments.net/reader030/viewer/2022032523/56649d7f5503460f94a622f3/html5/thumbnails/4.jpg)
COMP104 Introduction / Slide 4
What is C++?
C++ is a programming language. A computer program performs a specific task, and
may interact with the user and the computer hardware. Human work model:
Computer work model:
![Page 5: Introduction to Programming. COMP104 Introduction / Slide 2 Objectives * To learn fundamental problem solving techniques * To learn how to design a program.](https://reader030.fdocuments.net/reader030/viewer/2022032523/56649d7f5503460f94a622f3/html5/thumbnails/5.jpg)
COMP104 Introduction / Slide 5
What is C++?
The most popular programming languages: C++ (originally C) Basic Pascal Java Perl Cobol Scheme (Lisp) Smalltalk
The most common versions of C++: Microsoft Visual C++ Borland C++ g++ (for Unix machines)
![Page 6: Introduction to Programming. COMP104 Introduction / Slide 2 Objectives * To learn fundamental problem solving techniques * To learn how to design a program.](https://reader030.fdocuments.net/reader030/viewer/2022032523/56649d7f5503460f94a622f3/html5/thumbnails/6.jpg)
COMP104 Introduction / Slide 6
Why C++?
Bad News: C++ is not easy to learn
Good News: Lots of good jobs for programmers because
C++ is not easy to learn! Though C++ is not the easiest language
(Basic and Pascal are easier), it is not the hardest either (Scheme, Prolog, and Assembly languages are really difficult!)
![Page 7: Introduction to Programming. COMP104 Introduction / Slide 2 Objectives * To learn fundamental problem solving techniques * To learn how to design a program.](https://reader030.fdocuments.net/reader030/viewer/2022032523/56649d7f5503460f94a622f3/html5/thumbnails/7.jpg)
COMP104 Introduction / Slide 7
Who Uses C++?
Computer makers such as Sun, SGI, IBM, and HP Airport Computer chip manufacturers
like Motorola & Intel Software companies Banks Hong Kong Government Hospital Authority Telecommunications Universities
![Page 8: Introduction to Programming. COMP104 Introduction / Slide 2 Objectives * To learn fundamental problem solving techniques * To learn how to design a program.](https://reader030.fdocuments.net/reader030/viewer/2022032523/56649d7f5503460f94a622f3/html5/thumbnails/8.jpg)
COMP104 Introduction / Slide 8
Hardware Overview
Memory
CPU
InputDevices
OutputDevices
![Page 9: Introduction to Programming. COMP104 Introduction / Slide 2 Objectives * To learn fundamental problem solving techniques * To learn how to design a program.](https://reader030.fdocuments.net/reader030/viewer/2022032523/56649d7f5503460f94a622f3/html5/thumbnails/9.jpg)
COMP104 Introduction / Slide 9
Hardware Overview