005 C & C++ Programming and Java Programming Essentials_120hr
005 C & C++ Programming and Java Programming Essentials_120hr
Essentials
Proprietary
17.Utilize iteration statements (loops) such as while, do-while, and for loops
in Java programs.
18.Implement advanced iteration techniques using break and continue
statements.
19.Enhance programming skills through practice programs that use loops.
20.Understand and use nested loops for solving complex programming tasks.
Proprietary
18.Apply break and continue statements within loops and understand their
impact on loop execution.
19.Solve various programming problems using loops, such as finding prime
numbers, generating Fibonacci series, and more.
20.Implement nested loops in Java programs and solve complex problems like
printing tables and factorials.
Course Syllabus:
Proprietary
Scope Rule of Functions
Calling Convention
One Dicey Issue
Advanced Features of Functions
Function Declaration and Prototypes
Call by Value or Call by Reference
An Introduction to Pointers
Pointer Notation
Function Calls
Basics of Call by value and call by reference
Conclusions
Recursion
Recursion and Stack
Adding Functions to the Library
7. The C Preprocessor
1. Features of C Preprocessor
2. Preprocessor and Macro Directives
3. Macros with Arguments and Macros versus Functions
4. Various Directives
8. Arrays
About Array
Usage of Arras
Pointers and Arrays
Passing an Entire Array to a Function
Two Dimensional Arrays
Initializing a 2-Dimensional Array
Memory Map of a 2-Dimensional Array
Pointers and 2-Dimensional Arrays
Pointer to an Array 295
Passing 2-D array to a Function
Array of Pointers
Three-Dimensional Array
Proprietary
9. Pupating on Strings
What are Strings?
Pointers and Strings
Standard Library String Functions
Two-Dimensional Array of Characters
Array of Pointers to Strings
Limitations of Array of Pointers to Strings
10. Structures
Why Use Structures?
Declaring a Structure
Accessing Structure Elements
Array of Structures
Additional Features of Structures
Uses of Structures
Proprietary
Redirecting the Output
Redirecting the Input & Both Ways at Once
Proprietary
Drawing Shapes
Types of Pens
Types of Brushes
Code and Resources
Freehand Drawing, the Paintbrush Style
Capturing the Mouse
Device Context, a Closer Look
Displaying a Bitmap
Animation at Work
WM_CREATE and On Create( )
WM_TIMER and On Timer( )
Points to remember
Proprietary
Program memory area at run time
Memory representation of data & function objects
26. Functions
Function Prototypes
Function Overloading
Default Arguments in Functions
Operator Overloading
Inline Functions
Proprietary
Static, virtual and friend Functions
31. Inheritance
More Inheritance
Some More Inheritance
Multiple Levels of Inheritance
Multiple Inheritance
Constructors in Multiple Inheritance
Proprietary
A Word of Caution
Private Inheritance
Protected Inheritance
Functions That Are Not Inherited
Incremental Development
Proprietary
One More Use Of friend Function
friend Classes
A Word of Caution
Smart Pointers
More Smart Pointers
Pointers to Members
The explicit Keyword
The mutable Keyword
Namespaces
Using A Namespace
RTTI
When to Use RTTI
Typecasting in C++
35. Templates
Function Templates
A Template Based Quick Sort
Class Templates
A Linked List Class Template
Tips about List Class Template
Proprietary
Features of OOPs - Abstraction and Polymorphism
3. Data Types, Variables, Literals and Coding
Data types in Java - Integers, floating-point, characters, Boolean
Concept of variables, their declarations
Literals - Integer, floating-point, character, Boolean, strings
How to Write java code, compile and execute?
Explanation of System class and printing method
First Java Program using Notepad
Explanation of important terms like main(), public, void, static
Comments in Java
Understanding command line arguments
Sample program of command line arguments
Using parseInt() with command line arguments
Using parseFloat() with command line arguments
4. Writing programs in Netbeans & its options
Introduction to IDEs
Components of Netbeans
Creating a project in Netbeans
Exporting & importing projects
Intro to Eclipse IDE
Intro to IntelliJ IDE
Online IDEs
First Java Program using NetBeans
Second Java program in NetBeans
Understanding concatenation
Coding examples of concatenation
Using Command Line arguments in Java program written in NetBeans
5. Reading the Values of Various Data Types
Reading values from keyboard using Scanner class object
Tricks to prevent the skipping of String input value
Implicit type casting
Explicit type casting
Sample programs
Formatting output using printf()
More about formatting output
Formatting dates
6. Operators
Operators in Java
Precedence and associativity of operators
Examples of precedence and associativity
Sample programs illustrating usage of arithmetic operators
Sample programs illustrating usage of relational operators
Sample programs illustrating usage of logical operators
Sample programs illustrating usage of unary operators
Sample programs illustrating usage of ternary operator
Compound assignment operators with sample programs
Proprietary
7. Control Structures - If and Switch Case
Programming Construct Sequence
Sample programs of sequence
if statement
Sample programs of if
if else if ladder
Sample programs of if else if ladder
Nested if
Sample programs of nested if
Overview of switch case construct
Sample programs of switch case
Difference between if and switch case
Practice program - Switch Case - To find out salary of employee
8. Iteration (Looping)
Basics of loops and while loop
sample programs of while loop
while loop pre-tested property
Basics of do...while loop
while loop post-tested property
Basics of for loop
Sample programs of for loop
for loop pre-tested property
9. More about Iteration, break and continue
1. More features of for loop
2. Infinite loops
3. Using break statement
4. Using continue statement
5. Practice program - Factorial
6. Practice program - Reverse a number
7. Practice program - Palindrome number
8. Practice program - Armstrong number
10. Honing the Programming Skills using Loops
Practice program - Prime number
Practice program - Biggest among n numbers
Practice program - finding the square roots of a range of numbers
Practice program - finding the power of numbers
Practice program - generating Fibonacci series
Practice program - printing ASCII set
Practice program - Number guessing game
11. Honing the Programming Skills using Nested Loops
Introduction to nested loops
Second sample program of nested loops
Third sample program of nested loops
Fourth sample program of nested loops
Fifth sample program of nested loops
Practice program - Printing multiple tables
Proprietary
Practice program - Asking the user whether to continue printing factorials
Practice program - Asking the user whether to continue printing tables
12. Methods of Integer and Float classes
Explanation of Integer methods - compareto, toString, valueOf
Programs of compareTo, toString, valueOf
Explanation of Integer methods - doubleValue, floatValue, equals
Programs of doubleValue, floatValue, equals
Explanation of Integer methods - Signum, Min, Max, parseInt
Programs of Signum,Min, Max, parseInt
Explanation of Integer methods - intValue, sum
Programs of intValue, sum
Explanation of float methods - compareTo, toString
Programs of compareTo, toString
Explanation of valueOf, doublevalue, equals, parseFloat
Programs of valueOf, doubleValue, equals, parseFloat
13. Concept of Arrays
The basic concept of arrays
Declaring an array dynamically using two methods
Traversing array elements
Array name-reference to the array
Using for each format of the for loop
Merging two arrays
Getting the absolute values of array elements
Array of strings
14. Searching & Sorting Techniques
Linear Search Logic and algorithm
Linear search program
Logic of Binary search
Algorithm of binary search
Program of binary search
Flow of Logic of Bubble sort
Algorithm of bubble sort
Bubble sort program
Flow of logic of selection sort
Algorithm of selection sort
Selection sort program
Using sort method of Array class
15. Double Dimensional Arrays
Basics of double dimensional arrays
First sample program of 2-D arrays
Second sample program of 2-D arrays
Third sample program of 2-D arrays
2-D arrays with different number of columns
Matrix addition - logic and algo
Program of matrix addition
Logic of matrix multiplication
Proprietary
Algorithm of matrix multiplication
Program of matrix multiplication
16. Functions (Methods)
Basics of functions
Components of a function
Understanding actual & formal parameters - explanation
Understanding actual & formal parameters - sample program
Second sample program
To return or not to return a value - sample programs
Scope of variables in functions
Facts about return statement
17. Array Passing and Recursion
Passing an array to a function - Explanation
Passing an array to a function - example code
Getting average age in an array
Returning array reference
Basics of recursion
Basics of stacks
Algo to push into a stack
Algo to pop from a stack
Factorial program through recursive function
18. Java Coding for Classes and Objects
Practical coding of classes and objects
Area of rectangle
Area of circle
Hospital billing
Income tax calculation
Creating an object within the class itself
19. References, Garbage collection & Method Overloading
Array of references to objects - Company employees' example
Array of references to objects - Exam result example
The concept of null reference
Assigning reference to another reference variable
Automatic Garbage Collection
Method Overloading (Compile-time polymorphism)
Method overloading - Rainfall recording data
20. Constructors, Documentation Comments, This Keyword
Constructors in Java
Default constructors
Constructor overloading
Constructor overloading - contd.
Documentation comments
this keyword
21. Getters and Setters, Static Members
Basics of getters and setters
Using getters and setters for Office_rooms class
Proprietary
Automatic creation of setter getter code
Generating setters and getters for Pet_dogs class
Generating setters and getters for Pet_dogs class
static members of a class
Counting number of objects - static members
22. Packages in Java
Basics of Packages
Access specifiers (Visibility modes) in Java
Understanding default and private members practically
Same package classes in different programs
same package classes in different programs - contd.
Working in different packages
usage of import keyword of Java
usage of import keyword of Java - contd.
23. Method Signatures, Abstract Classes, Interfaces
Method signatures
Creating abstract classes
Abstract class Trainers
The basics of interfaces
Practical coding of interfaces
Interface for areas and circumference
An interface extending another interface
24. Inheritance
Introduction to Inheritance
Syntax of applying inheritance and Method overriding
Writing the Java code for Inheritance
Multi-Level inheritance
Behaviour of constructors in inheritance
Practical example of constructors without arguments in inheritance
Practical example of constructors with arguments in inheritance
25. Using Final Keyword, Abstract Methods, Polymorphism
Final classes
Final methods
Assigning reference of sub-class object into super class reference variable
Abstract methods
Basics of Polymorphism
Practical implementation of Polymorphism
26. Exception Handling
Basics of exception handling
Uncaught exceptions
Catching exceptions using try .... catch blocks
Printing Exception Class Reference Variable
Multiple catch blocks
calling a method from within try block
calling a method from within try block - Execution
Using super class Exception
Proprietary
27. Exception Handling (continued)
Handling NullPointerException
Handling NumberFormatException
throw: throwing an exception manually
throws: handling checked exceptions
Nested try block
28. Java Collection Framework (JCF)
Introduction to data structures
Basics of Collections and ArrayList traversal using Iterator interface
Traversing ArrayList elements using for each loop
Storing user-defined objects and retrieving them using Iterators interface
Storing user-defined objects and retrieving them using foreach loop
Storing and retrieving objects of nations' capitals
Using toArray() method of ArrayList class
Basics of linked lists
Explanation of logic of traversal of nodes using algorithm
Programs of LinkedList Collection
Programs of stacks
Basics of trees
Adding numeric elements in a TreeSet
Adding string elements in a tree TreeSet
Removing an element from a TreeSet
Searching an element from a TreeSet
Basics of queues
Explanation of insertion operation of a queue using algorithm
Explanation of deletion operation of a queue using algorithm
Programs of queues
ListIterator interface - Traversing collection elements in both directions
Using sort method of Collections class
Sorting user-defined objects
Hashset explanation and example
Hashset with numeric values
Applying size and contains methods of HashSet class
Applying remove() method of HashSet class
Applying clear() and isEmpty() methods of HashSet class
LinkedHashset class
Proprietary