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

Programming in C Syllabus

The document provides an overview of the syllabus for a course on Programming in C/C++. It covers various topics like the history and origins of C/C++, basic programming concepts, variables and data types, operators, control structures, functions, arrays, pointers, structures, file handling and object-oriented programming concepts. The syllabus is divided into two types - Type 1 provides a brief introduction to each topic, while Type 2 lists the topics with their approximate time allocation, giving an overview of the course structure and coverage.

Uploaded by

Ananda Siddhan
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
106 views

Programming in C Syllabus

The document provides an overview of the syllabus for a course on Programming in C/C++. It covers various topics like the history and origins of C/C++, basic programming concepts, variables and data types, operators, control structures, functions, arrays, pointers, structures, file handling and object-oriented programming concepts. The syllabus is divided into two types - Type 1 provides a brief introduction to each topic, while Type 2 lists the topics with their approximate time allocation, giving an overview of the course structure and coverage.

Uploaded by

Ananda Siddhan
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 7

Programming in C/C++

Syllabus

Type 1
Introduction
History

Origin

Use of C/C++

Why C/C++

Basics

Comments

I/O statements

Structure of C/C++

Simple Program

Variables
Scope of Variables

Defining

Naming

Storing

Initialization

Declaration

Identifiers

Global & Local variables


Data types/Constants
Int

Float

Double

Char

String

Typecasting

Operators/Expressions
Assignment operators

Arithmetic Operators

Relational Operators

Conditional Operators

Logical Operators

Bitwise Operators

Operator Overloading

Statements & Looping


Simple-If

If-else

Else-if

If-else ladder

Nested-If

Switch statement

For

While

Do-While
Goto

Break

Continue

Oop’s Concept
Introduction

Object

Class

Encapsulation

Inheritance

Polymorphism

Constructor

Destructor

Functions
Introduction

Structure of functions

Types

Advantages

Function Defining

Function Calling

Function Overloading

Recursive Function

Library Function

Array
Introduction

Initialization
String

Declaration

Multidimensional Array

Array & pointer

File
Introduction

File I/O operation

File open

Read

Write

Close

File Stream

Pointers
Introduction

Pointer Declaration

Call by Value

Call by Reference

Pointer to Arrays

Pointer & Structures

Pointer to Pointer

Structure & Union


Introduction

Initializing Structure

Declaring structure

Defining structure
Accessing the member of function

Nested Structures

Exceptions

Try blocks

Catch blocks

Throw expressions

Exception Handling

More
Enumerators

Typedef

Abstract Class

Friend Function

Type 2

1. Introduction to Problem Solving: 3 Hrs

Flow charts, tracing flow charts, Problem solving methods, Need for computer Languages, Sample
Programs written in C

2. C Language preliminaries:

C character set, Identifiers and keywords, Data types, Declarations, Expressions, statements and
symbolic constants

3. Input-Output:

getchar, putchar, scanf, printf, gets, puts, functions.

4. Pre-processor commands:
#include, #define, #ifdef

5. Preparing and running a complete C program: 3 Hrs

6. Operators and expressions:

Arithmetic, unary, logical, bit-wise, assignment and conditional operators

7. Control statements: 5 Hrs

While, do-while, for statements, nested loops, if else, switch, break, Continue, and goto statements,
comma operators

8. Storage types:

Automatic, external, register and static variables.

9. Functions: 5 Hrs

Defining and accessing, passing arguments, Function prototypes, Recursion, Library functions, Static
functions

10. Arrays:

Defining and processing, Passing arrays to a function, Multi dimensional arrays.

11. Strings: 6 Hrs

Defining and operations on strings.

12. Pointers: 7 Hrs

Declarations, Passing pointers to a function, Operations on pointers, Pointer Arithmetic, Pointers and
arrays, Arrays of pointers function pointers.

13. Structures: 6 Hrs

Defining and processing, Passing to a function, Unions, typedef, array of structure, and pointer to
structure

14. File structures:

Definitions, concept of record, file operations: Storing, creating, retrieving, updating Sequential,
relative, indexed and random access mode, Files with binary mode(Low level), performance of
Sequential Files, Direct mapping techniques: Absolute, relative and indexed sequential files (ISAM)
concept of index, levels of index, overflow of handling.
15. File Handling:
File operation: creation, copy, delete, update, text file, binary file.

You might also like