0% found this document useful (0 votes)
10 views

B54 Programming in C and C++ 20230628

This document provides information about a course on Programming in C and C++. It details the objectives of the course, eligibility requirements, duration, course content and structure, reference materials, practical assignments, and sample questions. The course aims to teach fundamental C and C++ programming concepts like variables, loops, functions, pointers, arrays, structures and more.

Uploaded by

Vijay Varma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

B54 Programming in C and C++ 20230628

This document provides information about a course on Programming in C and C++. It details the objectives of the course, eligibility requirements, duration, course content and structure, reference materials, practical assignments, and sample questions. The course aims to teach fundamental C and C++ programming concepts like variables, loops, functions, pointers, arrays, structures and more.

Uploaded by

Vijay Varma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Information Booklet cum Syllabus

Of

Programming in C & C++

Revision-I

July 2023

National Institute of Electronics and Information Technology


An Autonomous Scientific Society under
Ministry of Electronics and Information Technology, Government of India

NIELIT Gorakhpur
M.M.M.U.T. Campus, Deoria Road
Gorakhpur (U.P.) -273010
1

CONTENTS
Sl. No. Title Page No.

1. About the course 2

2. NIELIT 2
3. Objective of Course 2
4. Job Role of Course 3
5. Eligibility 3
6. Duration of Course 3
7. Practical/ Tutorial 3
8. Course Details 3-5
9. Reference Books / Study Material 5
10. Practical Assignments 6-8

11. Sample Questions 8-9

Programming in C and C++


2

1. About Course
This course is designed to provide acquire the Knowledge of C and C++ Programming
Language, after the course students will be able to: Build basic programs using
fundamental programming constructs like variables, conditional logic, looping, functions
Pointers, Array, File handling, OOPs Concepts. Work with user input to create fun and
interactive programs.

2. NIELIT
National Institute of Electronics and Information Technology, NIELIT, (Erstwhile
DOEACC Society) is an autonomous scientific society of the Ministry of Electronics &
Information Technology, Government of India. The Society is registered under the
Societies Registration Act, 1860. NIELIT was set up to carry out Human Resource
Development and related activities in the area of Information, Electronics &
Communications Technology (IECT). NIELIT is engaged both in Formal & Non-Formal
Education in the areas of IECT besides development of industry oriented quality
education and training programmes in the state-of-the-art areas. NIELIT has endeavored
to establish standards to be the country’s premier institution for Examination and
Certification in the field of IECT. It is also one of the National Examination Body, which
accredits institutes/organizations for conducting courses in IT and Electronics in the non-
formal sector.

3. Objective of Course
The objectives of this course are to make the student understand programming language,
programming, concepts of Loops, reading a set of Data, stepwise refinement, Functions,
Control structure, Arrays. After completion of this course the student is expected to
analyze the real-life problem and write a program in ‘C’ language to solve the problem.
The main emphasis of the course will be on problem solving aspect i.e. developing proper
algorithms. And to make students familiar with the concept of Object-Oriented
Programming & its implementation.
After completing the module, the learner will be able to:
• Understand the C Language and describe its features.
• Understand the concept of C Program & make program by using Control Structure.
• Able to understand the User Defined Function and create the UDF.
• Understand the Pointers and File Handling in C.
• Understand the concept of OOPs.
• Understand the concept Class & Objects
• Able to understand about the Constructor, Destructor, Encapsulation, Abstraction,
• Polymorphism, and Inheritance

Programming in C and C++


3

2. Job Roles of Course


After successful completion of the qualification the candidates shall be employed in the
industries for following occupations:
• Assistant Programmer
• Trainer/Faculty
• And also make Career in Software Development

3. Eligibility
10th Pass, Basic Knowledge of Computer.

4. Total duration of the Course


60 Hours (Theory: 30 Hrs, Practical/Tutorial: 30 Hrs)

5. Course Details
7.1. Course Outline and Objective of Each Unit
S. Unit Name Duration Duratio Total Learning Objectives
No. (Theory) n Learni
in Hours (Practic ng
al) in Hrs.
Hours
1 Introduction 2 1 3 After completion of this unit of
to C module, Learner will be able to
Language • Understand Basic of C
Programming Compare
it’s with other
programming language
understand Data type.
• Able to make Program by
accepting user input.

Programming in C and C++


4

2 Variable, 2 2 4 After completion of this unit of


Keyword, module, Learner will be able to
Datatypes & • Understand the
Types of Operators and
Operator expressions in C.
• Able to make Program by
using different types of
operator in C.

3 Control 4 4 8 After completing this unit,


Statement in Learner will be able to understand
C • Able to make Program by
(Conditional using conditional and
statement, switch statement
switch • Understand the concept of
statement,
Loop, Nested Loop and
Looping
able to make program
statement,
break Based on loop & nested
statement, loop.
continue
statement)
4 Array 2 2 4 After completing this unit,
Learner will be able to understand
• Know very well about
Array and Types of
Array.
• Able to make program by
using Array
5 String 1 2 3 After completing this unit,
Handling in Learner will be able to understand
C • String in C.
6 Pointers 2 2 4 After completing this unit,
Learner will be able to understand
• Know very well about
Pointers in C
• Types of Pointers in C
7 Structure and 2 1 3 After completing this unit,
Union Learner will be able to understand
• Understand the concept of
Structure & Union.

Programming in C and C++


5

8 Functions 3 3 6 After completing this unit,


(Types of Learner will be able to understand
functions, • User Defined Function
return and Lambda Function
statement, • Understand the concept of
Types of arguments.
arguments, • Understand the concept of
recursion) local & global variables.
• Able to make program by
using recursion.
9 File 2 1 3 After completing this unit,
input/output Learner will be able to understand
operations • Able to read/write data
from a file.
10 Self 2 2 4 After completing this unit,
Referential Learner will be able to understand
Structures and • Understand the concept of
Linked Lists Self Referential
Structures.
• Able to make program
through linked list
11 Introduction 1 1 2 After completing this unit,
to C++ and Learner will be able to understand
Programming • Understand the concept of
Basics C++.
• Able to understand
programming basics of
C++
12 Pointers in 1 1 2 After completing this unit,
C++ Learner will be able to understand
• Know very well about
Pointers in C++
• Types of Pointers in C++
13 OOPs 2 2 4 After completing this unit,
Concepts, Learner will be able to understand
Concepts of • Concept OOPs.
Class, • Understanding Class and
Objects, object.
Constructor & • Features of OOPs like
Destructor Constructor & Destructor

Programming in C and C++


6

14 Concepts of 2 2 4 After completing this unit,


Inheritance, Learner will be able to understand
Polymorphism • Understanding concepts of
and Virtual Virtual Functions.
Functions • Features of OOPs like
Inheritance &
Polymorphism.
15 Graphics 3 3 6 After completing this unit,
Programming Learner will be able to understand
with Projects • Understanding concepts of
Graphics in C and C++.

30 30 60

Programming in C and C++


7

7.2. Detailed Syllabus

Unit Name Contents Hrs.

Introduction to C • Introduction of Programming 03


Language • Execution of program
Variable, Keyword, • Operators, Data types, Constants, Identifiers 04
Datatypes & Types of • Managing Input and Output with examples,
Operator
Control Statement in C • Concept of if, if...else, elseif clause, Switch 08
(Conditional statement, statement with examples
switch statement, Looping • while loop, for loop, break and continue,
statement, break statement, return statements.
continue statement) • Nesting of loops
Array • Concepts of Array 04
• Types of Array
String Handling in C • String Handling in C. 03
Pointers • Creating and Initializing of Pointer 04
• Types of Pointers
Structure and Union • Concepts of Structure and Union 03
Functions (Types of • Concept of Functions with Examples 06
functions, return statement, • Types of arguments
Types of arguments, • Recursive Functions.
recursion)
File input/output operations • Introduction to File Handling 03
• File Operations.
Self Referential • Concepts of Self Referential Structures. 04
Structures & Linked Lists • Program through linked list
Introduction to C++ and • Concepts of C++ 02
Programming Basics • Basic Programming through C++
Pointers in C++ • Uses of Pointers in C++ 02
• Types of Pointers in C++

OOPs • Object Oriented Programming Concepts 04


Concepts, Concepts of • Concepts of Classes, Objects, Constructor and
Class, Objects, Constructor Destructor
& Destructor
Concepts of Inheritance, • Concepts of Virtual Functions 04
Polymorphism and Virtual • Inheritance and Polymorphism
Functions

Programming in C and C++


8

Graphics Programming with • Concepts of Graphics in C and C++. 06


Projects • Uses of Graphics Header File

6. Reference Books/Study Material


• Let Us C by Yashwant Kanetkar
• Ansi C by Balaguru Swami
• Let Us C++ By Yashwant Kanetkar

Programming in C and C++


9

7. Practical Assignments

Assignment 1.
• Write a program to print "Hello, This is My First C Language".
• Program to read two numbers and print their quotient and remainder.
• Program to take the temperature in Celsius and convert it to Fahrenheit.
• Program to read height in centimeters and then convert the height to feet and inches
• Program to add two numbers.
• Program to print odd numbers within a given range.
• Program for Program to find area of a circle.
• Program for Simple interest calculation.
• Program to reverse three digits number without using loop.
• Program to exchange the values of two numbers without using a temporary variable.
• Program to calculate gross salary where gross salary=Basic+HRA+DA
o In this HRA is 16% of Basic, DA is 12% of Basic

Assignment 2.
• Write a program to find maximum between two numbers using if else.
• Write a program to find maximum among three number
• Program to Take in the Marks of 5 Subjects and Display the Grade.
• Program to check Armstrong Number use three digit number.
• Write a program to check whether a number is positive, negative or zero.

Assignment 3.
• Program to calculate factorial of a given number
• Program to find the sum of digits in a number.
• Program to count the number of digits in a number.
• Program for n-th Fibonacci number.

Assignment 4.
• Create a function to calculate the area of Circle.
• Create a function to find out factorial of a number.
• Create a function to find the reverse of a number.
• Create a function to calculate the arithmetic operation.

Programming in C and C++


10

Assignment 5.
• Find Out Length of String.
• Program to Check Palindrome of string.
• Program to count No. of vowels of string.
• By using String Function Count a substring in main string

Assignment 6.
• Function to calculate remainder.
• Find the Square of a number using function.
• Program to add number from 1 to 6 by using Function recursion.
• Program to Calculate Factorial Value By Using Recursion Function.

Assignment 7.
• Program to check the file is Exist or not.
• Program to Read text from File. (File Must be created before reading) at default location.
• Write a program to save the output of program in a file.

Assignment 8.
• Create a Program to calculate sum of two numbers by Using OOPs Concept.
• Create a constructor to take input as a Function.
• Create a class that derived from base class by using derived class object access the base class
method.

Programming in C and C++

You might also like