Computer Programming
Computer Programming
Course Content
Objective
Hundreds of computer languages are in use today, C/C ++ is one of them. It is one of the most powerful, general
purpose high level programming language. It is a versatile language. This language can be sued for almost any
programming task. The purpose of including this subject in DIT course is to enable the students to develop
application programs in various fields such as business, education, accounting, database management etc.
Week-01
Day -01 Day-02
1. What is Language 1. What is C and C++ Language
2. Types of Language 2. Advantages of C Language
3. What is Programming Language 3. What is the weakness of C Language?
Day-03
1. History of C Language Day-04
2. Difference between C and C++ 1. Structure of C/C++ Program
2. Give an example of C and C++ Program
Day-05 Day-6
3. What is Character Set in C/C++? 1. Practice Labs
4. What are Reserved words in C/C++
Wekk-02
Day-07 Day-08
1. What is User define Words 1. What is C/C++ Operator
2. What is Variable 2. What is C/C++ Expressions
3. Types of Variables 3. What is C/C++ Statements
Day-10 Day-11
1. What is C/C++ comments 1. What is the Size of Operator?
2. What is C/C++ Libraries 2. Declaring Variable and Constants
3. What is C/C++ Data Type 3. Assignment and Multiple Assignment Operator
Day-12 Day-13
1. How to Assign String data 1. Practice Labs
2. Priority of Operator
3. Types of Casting Operator
Week-03
Day-14 Day-15
1. What is the Increment and Decrement 1. What is the Printf () Function
Operator 2. What is clrser () Function
2. Compound Assignment Operator 3. What is cout () Function
3. Give an example of Increment and Decrement 4. What is Putsch () and Putchar () Character
Operator Function
Day-16 Day-17
1. What is the Puts () String Function 1. What is Transfer of Control Protocol?
2. What is the Scanf () Function 2. Relational Operator
3. What is the gets () Function 3. Condition Operator
4. What is getchar (), getch () and getch ()
Function
5. Input using Cin
Day-18 Day-19
1. Multiple Choice Statement (Switch / Case / 1. Practice Labs
Break / Default)
Week-04
Day-20 Day-21
1. What is Loop 1. Trigonometric Function
2. Types of loop 2. Sin () cos () tan () etc
3. For Loop 3. Arithmetic Functions
4. While Loop 4. Abs () sqrt () log () exp () ceill () floor () pow
5. Do while Loop () pow 10 () random () rand () etc
5. String Functions
6. Strlen () Strlwr () strupr () strrev ()
strncpy () strecat () strncat () etc