Lesson plan / COMPUTER PROGRAMMING-II

Lesson Information

Course Credit 3.0
Course ECTS Credit 3.0
Teaching Language of Instruction İngilizce
Level of Course Bachelor's Degree, TYYÇ: Level 6, EQF-LLL: Level 6, QF-EHEA: First Cycle
Type of Course Compulsory
Mode of Delivery Face-to-face
Does the course require compulsory or optional work experience? Z
Course Coordinator
Instructor (s) Assist. Prof. Dr. SİNA APAK
Course Assistant

Purpose and Content

The aim of the course To understand how C++ improves C with object-oriented features. To learn how to write inline functions for efficiency and performance. To learn the syntax and semantics of the C++ programming language. To learn how to design C++ classes for code reuse. To learn how to implement copy constructors and class member functions. To understand the concept of data abstraction and encapsulation. To learn how to overload functions and operators in C++. To learn how containment and inheritance promote code reuse in C++. To learn how inheritance and virtual functions implement dynamic binding with polymorphism. To learn how to design and implement generic classes with C++ templates. To learn how to use exception handling in C++ programs.
Course Content Lesson 1 - The Computer. Covers the Central processor, memory, information representation and the operation cycle of the computer. Lesson 2 - Programming Languages. Covers the various levels of Programming Languages. Lesson 3 - Operating Systems. Covers the purpose of Operating systems and the major types. Lesson 4 - Preparing a Computer Program. Covers the steps that are carried out in going from a problem specification to having a well-tested and reliable program to solve the problem. About the design of programs. Lesson 5 - Algorithms. The basic constructs used in designing programs. Sequence, selection and repetition. Lesson 9 - Introduction to Structured Design. Top-down design of algorithms using sequence and selection only. Lesson 15 - Further Structured Design. Top-down design of algorithms using repetition. Lesson 20 - Top-down design using Functions. An introduction to problem-solving by splitting the problem into sub-problems whose solutions are implemented as functions. About C++ Lesson 6 - A simple C++ program. Looks at a simple C++ program and identifies features. Covers simple ideas about variables and their declaration and input and output. Lesson 7 - The Assignment statement. How values are assigned to variables. Lesson 8 - Further Assignment Statements & Control of Output. More forms of assignment statement and simple formatting of output. Lesson 10 - Conditions. How expressions that can be true or false are written in C++. Lesson 11 - The if statement. How conditional execution of a statement is carried out. Lesson 12 - The if-else statement. How a choice can be made between which of two statements to execute. Lesson 13 - Nested if and if-else statements. How multi-choice decisions can be made. Lesson 14 - The switch statement. An alternative way to implement multi-choice conditions. Lesson 16 - The while statement. The basic way to carry out repetition. Lesson 17 - The do-while statement. An alternative way to carry out repetition. Lesson 18 - The for statement. Repetition a set number of times or as a control loop variable takes a set of values. Lesson 19 - Streams and External Files. How to input and output data from and to external files. Lesson 21 - An introduction to User-defined functions in C++. How to design your own functions. Lesson 22 - Further User-defined functions. Returning information by parameters. Lesson 23 - Arrays. How to work with large collections of indexed data.

Weekly Course Subjects

1void main or main() and Data Types and Basic Input/Output
2C++ Preprocessors and Operators in C++(Practice)
3Loops (Practice) Decision Making in C++(Practice) Execute both if and else simultaneously Switch statement in C++(Practice)
4Functions in C++(Practice)
5Arrays in C/C++(Practice)
6Strings in C++(Practice)
7Pointers in C++(Practice)
8References in C++
9Introduction to OOP in C++
10class in c++
11Standard Template Library (STL)
12Inheritance
13Virtual Functions
14project presentation

Resources

1-programming languages c++ deitel