Skip to content

Programming in C ( Solved Syllabus )

UNIT 1

Logic Development: Data Representation, Flowcharts, Problem Analysis, Decision
Trees/Tables, Pseudo code and algorithms. Fundamentals: Character set, Identifiers and Key
Words, Data types, Constants, Variables, Expressions, Statements, Symbolic Constants.

Operations and Expressions: Arithmetic operators, Unary operators, Relational Operators,
Logical Operators, Assignment and Conditional Operators, Library functions.

UNIT 2

Data Input and Output: formatted & unformatted input output.
Control Statements: While, Do–while and For statements, Nested loops, If–else, Switch,
Break – Continue statements.

UNIT 3

Functions: Brief overview, defining, accessing functions, passing arguments to function,
specifying argument data types, function prototypes, recursion.

Strings: String declaration, string functions and string manipulation Program Structure Storage
Class: Automatic, external and static variables.

UNIT 4

Structures & Unions: Defining and processing a structure, user defined data types, structures
and pointers, passing structures to functions, unions.


Pointers: Understanding Pointers, Accessing the Address of a Variable, Declaration and
Initialization of Pointer Variables, Accessing a Variable through its Pointer, Pointers and
Arrays


File Handling: File Operations, Processing a Data File

Lab Practicals ( Solved )

Practical Name
1) Write a program to display your name. Write another program to print message with inputted name.
2) WRITE A PROGRAM to add two numbers
3) WRITE A PROGRAM to find the square of a given number.
4) WRITE A PROGRAM to calculate the average of three real numbers.
5)Write a program to Find ASCII Value of a Character
6) WRITE A PROGRAM to Find the Size of int, float, double and char
7) WRITE A PROGRAM to Compute Quotient and Remainder
8) WRITE A PROGRAM to accept the values of two variables
9) WRITE A PROGRAM to find the simple interest, inputs are amount, period in years and rate of interest
10) Basic salary of an employee is input through the keyboard. The DA is 25% of the basic salary while the HRA is 15% of the basic salary. Provident Fund is deducted at the rate of 10% of the gross salary(BS+DA+HRA). WRITE A PROGRAM to calculate the net salary
11) WRITE A PROGRAM to find area of a circle using PI as constant
12) WRITE A PROGRAM to find volume of a cube using side as input from user
13) WRITE A PROGRAM using various unformatted Input Functions
14) WRITE A PROGRAM to find area of rectangle and print the result using unformatted output Functions
15) WRITE A PROGRAM to find the larger of two numbers
16) WRITE A PROGRAM to find greater of three numbers using Nested If
17) WRITE A PROGRAM to find whether the given number is even or odd.
18) WRITE A PROGRAM to Generate Multiplication Table Using for loop
19) WRITE A PROGRAM to Generate Multiplication Table Using while loop
20) WRITE A PROGRAM to Make a Simple Calculator Using switch…case