0% found this document useful (0 votes)
18 views2 pages

C Programming

The document outlines the syllabus for a course on Computer Programming Fundamentals using C, covering topics such as the structure of C programs, control flow statements, pointers, and file processing. It also includes a lab component with practical programming exercises related to the concepts taught in the course. Reference textbooks and additional resources are provided for further study.
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)
18 views2 pages

C Programming

The document outlines the syllabus for a course on Computer Programming Fundamentals using C, covering topics such as the structure of C programs, control flow statements, pointers, and file processing. It also includes a lab component with practical programming exercises related to the concepts taught in the course. Reference textbooks and additional resources are provided for further study.
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/ 2

Paper Title: Computer Programming Fundamentals Using C

Paper Code: DCA21102 Credits: 04 Internals: 25 External: 75

Unit-I

Introduction to C Programming Language- History, Features & Advantages, and Language Constructs.
Structure of a C program, Character Set & Tokens, Identifiers & Keywords, Constants & Variables,
Declaration & Scope of Variables, Data Types. Simple & Compound Statements, Input/output Statements,
Expressions & Operators-Arithmetic, Relational & Logical, Bitwise, Unary, Binary & Tertiary Operators.
Precedence and Association. Storage Classes-Auto, Extern, Static, Register.

Unit-II

Control Flow Statements-IF-Else Statements, Elself Ladder, Switch-Case Statement, Goto Label Statements.
Nesting of Control Flow Statements. Array-Declaration, One Dimensional and Multi-Dimensional arrays.
Structure– Declaration, Accessing Structure members, Nesting of Structures. Union- Declaration, Accessing
Union members, Array of Structures & Unions. Difference between Union and Structure.

Unit-III

Introduction to Pointers, Pointer arithmetic, Pointer to Pointer. Introduction to String. Functions- Advantages
& Signature. User Defined and Library Functions, Prototype of a function, Array as Function Argument,
Structure as Function Argument. Return Statement. Recursion. Pass by Value. Pass by Address.

Unit-IV

Introduction to Header Files & Standard Library. C Pre-Processor & Macros. Standard IO Statements. Format
Specifiers. File Processing in C and Command Line parameters.

Text Book: Brian Kernighan and Dennis Ritchie, “C Programming Language,” PHI

Reference Books:

1. Brian Kernighan and Dennis Ritchie, “ C Programming Language,” PHI


2. Yashwant Kanetkar, “ Let us, C”, BPB
3. E. Balaguruswami, “Programming in ANSI C”, Tata McGraw Hill.
4. Herbert Schild, “ C The Complete Reference”, Tata McGraw Hill.

Page 4 of 12
Paper Title: Lab-II for DCA21102
Paper Code: DCA21105 Credits: 03 Internals: 25 External: 50

Unit-I

1. Program to demonstrate the overflow and underflow of different numerical data types and their
resolution.
2. Program to draw star triangles of different shapes
3. Program to demonstrate the precedence & associativity of various operators
4. Program to find GCD & LCM of two numbers
5. Program to convert a given number in figures to words

Unit-II
1. Program to reverse the contents of a string using
a. Iteration
b. Recursion
2. Program to demonstrate the uses of passing structures to a function.
3. Program to create user-defined version of following functions
a. strlen
b. strrev
c. strcmp
d. strcat
4. Program to demonstrate the concept of pass by value and pas by address
5. Program to demonstrate the concept of passing 1D and 2D arrays to a function

Unit-III
1. Program to generate Fibonacci series using
a. Iteration method
b. Recursion
2. Program to copy a file from given source to destination
3. Program to develop a database of students with operations supported as
a. Showing a record of particular student
b. Deleting a student
c. Updating a student
d. Inserting a student
4. Program to demonstrate the concept of command line arguments

Page 9 of 12

You might also like