Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
83 views

I BCA I SEM - Programming With C - Syllabus

Uploaded by

talha292006
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
83 views

I BCA I SEM - Programming With C - Syllabus

Uploaded by

talha292006
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

I BCA I SEM

Programming with C

Unit - 1 (15 Hrs)


Introduction to C Programming: Overview of C; History and Features of C; Structure
of a C Program with Examples; Creating and Executing a C Program; Compilation
process in C.
C Programming Basic Concepts: C Character Set; C tokens - keywords, identifiers,
constants, and variables; Data types; Declaration & initialization of variables; Symbolic
constants.
Input and output with C: Formatted I/O functions - printf and scanf, control stings and
escape sequences, output specifications with printf functions; Unformatted I/O
functions to read and display single character and a string - getchar, putchar, gets and
puts functions.
C Operators & Expressions: Arithmetic operators; Relational operators; Logical
operators; Assignment operators; Increment & Decrement operators; Bitwise operators;
Conditional operator; Special operators; Operator Precedence and Associatively;
Evaluation of arithmetic expressions; Type conversion.

Unit – 2 (15 Hrs)


Control Structures: Decision making Statements - Simple if, if_else, nested if_else,
else_if ladder, Switch Case, goto, break & continue statements;
Looping Statements - Entry controlled and exit controlled statements, while, do-while,
for loops, Nested loops.
Derived data types in C: Arrays: One Dimensional arrays - Declaration, Initialization
and Memory representation; Two Dimensional arrays - Declaration, Initialization and
Memory representation.

Unit – 3 (15 Hrs)


Strings: Declaring & Initializing string variables; String handling functions - strlen,
strcmp, strcpy and strcat; Character handling functions - toascii, toupper, tolower,
isalpha(), isnumeric() etc.
Pointers in C: Understanding pointers - Declaring and initializing pointers, accessing
address and value of variables using pointers; Pointers and Arrays; Pointer Arithmetic;
Advantages and disadvantages of using pointers;

Unit – 4 (15 Hrs)


User Defined Functions: Need for user defined functions; Format of C user defined
functions; Components of user defined functions - return type, name, parameter list,
function body, return statement and function call; Categories of user defined functions
- With and without parameters and return type.
User defined data types: Structures - Structure Definition, Advantages of Structure,
declaring structure variables, accessing structure members, Structure members
initialization, comparing structure variables, Array of Structures; Unions - Union
definition; difference between Structures and Unions.
Text Books:
1. C: The Complete Reference, By Herbert Schildt.
2. C Programming Language, By Brain W. Kernighan 3. Kernighan & Ritchie: The C
Programming Language (PHI)
Reference Books:
1. P. K. Sinha & Priti Sinha: Computer Fundamentals (BPB)
2. E. Balaguruswamy: Programming in ANSI C (TMH)
3. Kamthane: Programming with ANSI and TURBO C (Pearson Education)
4. V. Rajaraman: Programming in C (PHI – EEE)
5. S. Byron Gottfried: Programming with C (TMH)
6. Yashwant Kanitkar: Let us C
7. P.B. Kottur: Programming in C (Sapna Book House)
Course Code: CAC02P Course Title: C Programming Lab
Course Credits: 02 Hours/Week: 04
Total Contact Hours: 52 Formative Assessment Marks:10 (25%)
Exam Marks: 40 (25%) Exam Duration: 04

Programming Lab
Part A:
1. Program to read radius of a circle and to find area and circumference
2. Program to read three numbers and find the biggest of three
3. Program to demonstrate library functions in math.h
4. Program to check for prime
5. Program to generate n primes
6. Program to read a number, find the sum of the digits, reverse the number and check
it for
palindrome
7. Program to read numbers from keyboard continuously till the user presses
999 and to find the sum of only positive numbers
8. Program to read percentage of marks and to display appropriate message
(Demonstration
of else-if ladder)
9. Program to find the roots of quadratic equation (demonstration of switch Case
statement)
10. Program to read marks scored by n students and find the average of marks
(Demonstration of single dimensional array)
11. Program to remove Duplicate Element in a single dimensional Array
12. Program to perform addition and subtraction of Matrices

Part B:
1. Program to find the length of a string without using built in function
2. Program to demonstrate string functions.
3. Program to demonstrate pointers in C
4. Program to check a number for prime by defining isprime( ) function
5. Program to read, display and to find the trace of a square matrix
6. Program to read, display and add two m x n matrices using functions
7. Program to read, display and multiply two matrices using functions – check for
compatability
8. Program to read a string and to find the number of alphabets, digits, vowels,
consonants,
spaces and special characters.
9. Program to Reverse a String using Pointer
10. Program to Swap Two Numbers using Pointers
11. Program to demonstrate student structure to read & display records of n students.
12. Program to demonstrate the difference between structure & union.
13. Files
Note: Student has to execute a minimum of 10 programs in each part to complete the
Lab course

You might also like