

Course Overview This is the first part of a two-part series which is designed to teach non-C programmers the fundamentals of C++ programming. This series is based on ANSI C++ and is not environment or vendor-specific. This course will teach students the basic skills and knowledge necessary to be able to write, compile, and run basic C++ applications. Students will learn the language fundamentals, such as syntax, data types, and operators. In addition, they will learn how to create expressions and statements, apply flow control, and create and call functions. Learn To: - Identify the basic program structure in C++.
- Identify the different compilers.
- Identify the process of creating an executable program.
- Identify basic and complex data types used in C++.
- Identify the operators and the expressions in which they are used in C++.
- Identify the flow control statements in a C++ program.
- Use functions.
- Pass parameters to functions.
- Use overloading, inline, recursive, and template functions.
Content Emphasis Skills-Based Audience Application developers, application programmers, client/server developers, systems programmers, and software engineers are the types of people who would benefit from this course. Students should be experienced in at least one structured (not C) programming language, with possible exposure to Object-Oriented concepts and principles. Participants will likely be COBOL programmers (or equivalent), 4GL programmers (e.g., Visual Basic, PowerSoft, etc.) or have limited experience with other Object-Oriented languages (e.g., SmallTalk, Eiffel, etc.) They should also have a detailed understanding of the general process of structured software design and development. Total Learning Time 6 - 8 Hour(s)
Course Contents Unit 1: Fundamentals of C++ Duration: 2 - 3 Hour(s) - Identify the features of C++.
- Identify the parts of a C++ program.
- Match the C++ preprocessor directives with their uses.
- Sequence the steps in the creation of an executable file from a C++ source code file.
- Match the data types with their functions.
- Identify the appropriate variable declaration for a specified scenario.
- Identify the type of constant to be used in a specified scenario.
- Initialize an array for a specified scenario.
- Calculate the result of manipulating the value of a variable by using a pointer.
- Identify the appropriate structure declaration for a specified scenario.
- Calculate the result of manipulating a reference.
Unit 2: Operators and Flow Control Statements Duration: 2 - 3 Hour(s) - Identify valid C++ expressions.
- Calculate the output of an expression that uses arithmetic operators.
- Calculate the output of an expression that uses relational operators.
- Calculate the output of an expression that uses logical operators.
- Match special operators with their functions.
- Calculate the result produced by a program containing an if statement.
- Insert the missing lines of code in a switch statement.
- Identify the while statement that will produce the specified result.
- Debug the program to rectify the errors in the specified do statement.
- Identify the for statement that is to be used for the specified result.
- Identify the functions of the jump statements in a program written in C++.
Unit 3: Functions in C++ Duration: 2 Hour(s) - Sequence the code of a function definition to generate a required output.
- Identify the result of a program by analyzing the scope of a variable within a program.
- Match the storage class specifiers with their functions.
- Identify the function call that completes a program to the desired output.
- Select the valid overloaded functions from a specified list.
- Calculate the result of a program that uses function pointers.
- Identify the advantages of using an inline function.
- Debug a program to rectify the error in the recursive function.
- Select a template function definition that is programmed to perform a specified operation.
Course Overview This is the second part of a two-part series which is designed to teach non-C programmers the fundamentals of C++ programming. This series is based on ANSI C++ and is not environment or vendor-specific. This course introduces the skills needed to be able to begin to use C++'s Object-Oriented (OO) features. Students will hearn how to create, use, and extend classes, as well as how to populate those classes with members and functions. They will also learn how to instantiate objects, incorporate error handling, and perform simple I/O. Learn To: - Identify the features of object-oriented programming.
- Declare a class.
- Create an object to a class.
- Invoke and access member functions.
- Identify the function of a pointer.
- Manipulate member functions.
- Declare special member functions.
- Inherit a class from a given base class.
- Use different types of polymorphism.
- Design and invoke different types of classes.
- Convert one data type to another non-fundamental data type.
- Develop efficient applications by using standard libraries and exception handling techniques.
- Identify the steps in the development life cyce.
Content Emphasis Skills-Based Audience Application developers, application programmers, client/server developers, systems programmers, and software engineers are the types of people who would benefit from this course. Students should be experienced in at least one structured (not C) programming language, with possible exposure to Object-Oriented concepts and principles. Participants will likely be COBOL programmers (or equivalent), 4GL programmers (e.g., Visual Basic, PowerSoft, etc.) or have limited experience with other Object-Oriented languages (e.g., SmallTalk, Eiffel, etc.) They should also have a detailed understanding of the general process of structured software design and development. Participants should have taken the first part of this series, course 13209. Total Learning Time 6 - 8 Hour(s)
Course Contents Unit 1: Classes: Fundamentals Duration: 2 - 3 Hour(s) - Match object-oriented programming features with their definitions.
- Identify a class declaration with the specified private and public data members and functions.
- Identify the definition of the member function of a class with the specified return type and arguments.
- Identify the code to access the specified public class members of a class.
- Identify the features of the this pointer.
- Identify the class declaration that depicts overloading.
- Identify the code that invokes the specified constructors of a class.
- Identify the code that overloads a specified operator.
- Match the statement to invoke an implicit member function with the task performed by the implicit member function.
- Identify the header of a member function definition for a specified scenario.
Unit 2: Classes: Advanced Concepts Duration: 2 - 3 Hour(s) - Match the depictions of different types of inheritance with their names.
- Identify the access specifications of the available class members to a derived class, with specified access control to the base class.
- Identify the definition of a derived class to initialize the base class members.
- Identify the code that represents the overriding of a base class member function.
- Identify the differences between static and dynamic binding.
- Identify the code that declares a virtual member function.
- Identify the declaration of a class containing a pure virtual member function.
- Identify the class definition to depict a given class composition relationship.
- Identify the set of class declarations that represents a virtual base class.
- Complete the code to declare a friend function to access the private members of a given class.
- Complete the code to declare a friend class to access the private data members of a given class.
- Identify the features of a nested class.
- Identify the code to implement a template class.
- Identify the class declaration to convert a fundamental data type to be user-defined data type.
- Idenitfy the code to convert a user-defined data type to a given data type.
Unit 3: Efficient Applications: Development Duration: 2 Hour(s) - Identify a code that uses the specified standard C++ library functions.
- Identify the code that performs standard I/O operations by using the member functions of cin and cout objects of iostream library.
- Match the output formatting methods with their descriptions.
- Identify the code to perform read and write operations on a text file.
- Identify the code that performs a specific operation on a binary file.
- Identify the code that uses try and catch blocks to handle exceptions.
- Identify the code that uses multiple try and catch blocks to handle the specified exceptions.
- Identify the code for an exception handling mechanism in a class.
- Identify the appropriate code to implement exception handling by using the standard exception class.
- Identify the code that rectifies the specified type of exception handling problem.
- Match the actions performed in different stages of object oriented software development life cycle with the stages.
- Identify the features of component based development.
|