,Introduction to Programming CPT 121
COURSE DEVELOPMENT TEAM
CPT 121
INTRODUCTION TO PROGRAMMING
Course Developer/Writers
Prof. O. S. Adewale
Mrs. Sapun Aksana, Popapenko Natalya
Computer Science Department
Federal University of Technology, Minna, Nigeria.
Course Editors
Mrs. O. A. Abisoye
Computer Science Department
Federal University of Technology, Minna, Nigeria.
ii
,Introduction to Programming CPT 121
COURSE GUIDE
Introduction
CPT 121: Introduction to programming is a 2 credit unit course for students studying
towards acquiring a Bachelor of Technology in Information Technology and other related
disciplines. The course is divided into 7 modules and 17 study units. It will first take a brief
review of the concepts of programming languages and fundamental programming
constructions. This course will then go ahead to deal with the next courses: object oriented
programming (part 1, 2). The course went further to deal with the concept of syntax and
semantics of a higher level language (C++). The course concluded by discussing some
concepts like encapsulation, fundamental data structures, software development
methodology, recursion.
The course guide therefore gives you an overview of what the course; CPT 121 is all about,
the textbooks and other materials to be referenced, what you expect to know in each unit, and
how to work through the course material.
What you will learn in this Course
The overall aim of this course, CPT 121 is to introduce you to the basic concepts of
programming languages C++ to enable students to understand the basics in the development
programming language of high level. This course highlights different programming
languages concepts and fundamental programming constructions. This course will introduce
you to the practical using of high level programming language.
Course Aim
The aim of this course is to introduce students to the basics and concepts of programming
languages. It is believed the knowledge will enable the student to understand the
functionalities and capabilities of programming language, fundamental programming
constructions.
Course Objectives
It is important to note that each unit has specific objectives. Students should study them
carefully before proceeding to subsequent units. Therefore, it may be useful to refer to these
objectives in the course of your study of the unit to assess your progress. You should always
look at the unit objectives after completing a unit. In this way, you can be sure that you have
done what is required of you by the end of the unit. However, below are overall objectives of
this course. On completing this course, you should be able to:
(i) Know about history and basic concept of programming languages
(ii) To develop fundamental programming constructs
(iii) To develop algorithms and problem solving .
(iv) Knowledge about fundamental data structures C++
iii
, Introduction to Programming CPT 121
(v) Machine levels organization
(vi) Software Development Methodology
(vii) Recursion and simple procedure of recursion
Working through this Course
To complete this course, you are required to study all the units, the recommended textbooks,
and other relevant materials. Each unit contains some self assessment exercises and tutor
marked assignments, and at some point in this course, you are required to submit the tutor
marked assignments. There is also a final examination at the end of this course. Stated below
are the components of this course and what you have to do.
Course Materials
The major components of the course are:
1. Course Guide
2. Study Units
3. Text Books
4. Assignment File
5. Presentation Schedule Study Units
Study Units
There are 15 study units and 7 modules in this course. They are:
Module 1. Programming Languages
Unit 1. Brief survey of programming paradigms
Unit 2. Overview of programming languages and compilation process
Module 2. Fundamental programming constructs
Unit 1. Syntax and semantics of programming language C/C++
Unit 2. Structures of simple programs
Unit 3. Function
Module 3. Algorithms and problem solving
Unit 1: Problem solving
Unit 2: Basic concept of an algorithm
Unit 3. Search and sorting algorithms
Module 4. Fundamental data structures
Unit1. Primitive data types
Unit2. Strings
Unit3. Help allocation
Module 5. Machine organization
Unit 1. Machine levels organization
Unit 2. Assembly language programming
Module 6. Software Development Methodology
iv
COURSE DEVELOPMENT TEAM
CPT 121
INTRODUCTION TO PROGRAMMING
Course Developer/Writers
Prof. O. S. Adewale
Mrs. Sapun Aksana, Popapenko Natalya
Computer Science Department
Federal University of Technology, Minna, Nigeria.
Course Editors
Mrs. O. A. Abisoye
Computer Science Department
Federal University of Technology, Minna, Nigeria.
ii
,Introduction to Programming CPT 121
COURSE GUIDE
Introduction
CPT 121: Introduction to programming is a 2 credit unit course for students studying
towards acquiring a Bachelor of Technology in Information Technology and other related
disciplines. The course is divided into 7 modules and 17 study units. It will first take a brief
review of the concepts of programming languages and fundamental programming
constructions. This course will then go ahead to deal with the next courses: object oriented
programming (part 1, 2). The course went further to deal with the concept of syntax and
semantics of a higher level language (C++). The course concluded by discussing some
concepts like encapsulation, fundamental data structures, software development
methodology, recursion.
The course guide therefore gives you an overview of what the course; CPT 121 is all about,
the textbooks and other materials to be referenced, what you expect to know in each unit, and
how to work through the course material.
What you will learn in this Course
The overall aim of this course, CPT 121 is to introduce you to the basic concepts of
programming languages C++ to enable students to understand the basics in the development
programming language of high level. This course highlights different programming
languages concepts and fundamental programming constructions. This course will introduce
you to the practical using of high level programming language.
Course Aim
The aim of this course is to introduce students to the basics and concepts of programming
languages. It is believed the knowledge will enable the student to understand the
functionalities and capabilities of programming language, fundamental programming
constructions.
Course Objectives
It is important to note that each unit has specific objectives. Students should study them
carefully before proceeding to subsequent units. Therefore, it may be useful to refer to these
objectives in the course of your study of the unit to assess your progress. You should always
look at the unit objectives after completing a unit. In this way, you can be sure that you have
done what is required of you by the end of the unit. However, below are overall objectives of
this course. On completing this course, you should be able to:
(i) Know about history and basic concept of programming languages
(ii) To develop fundamental programming constructs
(iii) To develop algorithms and problem solving .
(iv) Knowledge about fundamental data structures C++
iii
, Introduction to Programming CPT 121
(v) Machine levels organization
(vi) Software Development Methodology
(vii) Recursion and simple procedure of recursion
Working through this Course
To complete this course, you are required to study all the units, the recommended textbooks,
and other relevant materials. Each unit contains some self assessment exercises and tutor
marked assignments, and at some point in this course, you are required to submit the tutor
marked assignments. There is also a final examination at the end of this course. Stated below
are the components of this course and what you have to do.
Course Materials
The major components of the course are:
1. Course Guide
2. Study Units
3. Text Books
4. Assignment File
5. Presentation Schedule Study Units
Study Units
There are 15 study units and 7 modules in this course. They are:
Module 1. Programming Languages
Unit 1. Brief survey of programming paradigms
Unit 2. Overview of programming languages and compilation process
Module 2. Fundamental programming constructs
Unit 1. Syntax and semantics of programming language C/C++
Unit 2. Structures of simple programs
Unit 3. Function
Module 3. Algorithms and problem solving
Unit 1: Problem solving
Unit 2: Basic concept of an algorithm
Unit 3. Search and sorting algorithms
Module 4. Fundamental data structures
Unit1. Primitive data types
Unit2. Strings
Unit3. Help allocation
Module 5. Machine organization
Unit 1. Machine levels organization
Unit 2. Assembly language programming
Module 6. Software Development Methodology
iv