0% found this document useful (0 votes)
3 views3 pages

Problem Solving Through c Programming-final

The document outlines a course on Problem Solving through C Programming, covering fundamental concepts such as data types, operators, and control structures. It includes detailed modules on arrays, functions, structures, pointers, and file handling, along with suggested experiments for practical application. By the end of the course, students will be able to implement modular C programs and analyze data storage techniques.

Uploaded by

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

Problem Solving Through c Programming-final

The document outlines a course on Problem Solving through C Programming, covering fundamental concepts such as data types, operators, and control structures. It includes detailed modules on arrays, functions, structures, pointers, and file handling, along with suggested experiments for practical application. By the end of the course, students will be able to implement modular C programs and analyze data storage techniques.

Uploaded by

tensonjose
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

PROBLEM SOLVING THROUGH C PROGRAMMING

Course Code: 25ENUEC108 Course Type: ESC

L:T:P: 3:0:2 Credits: 4

Total teaching hours: 40+20 Hours CIE + SEE Marks: 40 + 60

Teaching Department: Computer Science & Engineering

COURSE OBJECTIVES

● To explain the fundamental concepts of C programming, including data types, operators,


expressions, and input/output functions.
● To apply decision-making statements, loops, arrays, and string manipulation techniques to
solve programming problems.
● To apply functions, pointers, structures, and file handling techniques in developing C
programs.
● To analyze the implementation of arrays, functions, pointers, structures, and file
operations for efficient and modular program development.

COURSE CONTENTS

Module 1: Introduction to Computer and C Language (10 Hours)


Introduction to computers: Introduction to Computer System and problem solving, Program
Development steps, Introduction to Programming Languages, input and output devices,
Algorithm, Flowchart, Designing efficient programs. Evolution & Characteristics of C
Language, Structure of a C Program, C Compilation Model. Characters set, C tokens,
Keywords and identifiers, Constants, Variables, Data Types, Declaration of Variables,
Managing Formatted and Unformatted input/output functions. Operators and Expressions:
Arithmetic, Relational, Logical, Assignment, Increment/Decrement, conditional, Bitwise,
Special Operators. Arithmetic expressions, Evaluation of expressions, Precedence of
Arithmetic operators, Type conversions, Operator precedence and associativity.

Module 2: Decision Control and Looping Statements (10 Hours)


Decision making and Branching: Decision making with if statement, Simple if Statement, the
if...else statement, Nesting of if...else statements, the else...if ladder, the switch statement, the
ternary operator, the goto statement, break and continue statements. Decision making and
Looping: The while statement, the do...while statement, the for statement, Jumps in Loops.

Module 3: Arrays and Functions (10 Hours)


Declaration of arrays, accessing the elements of an array, storing values in arrays, Operations
on arrays, Passing arrays to functions, Two dimensional arrays, operations on two-
dimensional arrays, two-dimensional arrays to functions, multidimensional arrays. Example
Programs on arrays. Functions: Introduction using functions, Function definition, function
declaration, function call, return statement, passing parameters to functions, scope of
variables, storage classes, recursive functions. Introduction to strings: Declaring and
Initializing strings, String manipulation functions, String input and output functions.
Module 4: Structures, Files and Pointers (10 Hours)
Structures: Defining Structure, Declaration of Structure Variable, Accessing Structure
members, copying and comparing structure variable, operation on individual member, nesting
of structures, Array of structures. Application of pointers and function on Structures. Files:
Basic file operations: Open, Close, Read, Write. Introduction to pointers: declaration and
initialization of pointers, accessing the address of the variable, accessing the variable through
the pointer.

SUGGESTED LIST OF EXPERIMENTS

1. Use basic input/output function and arithmetic expression to develop working C


program.
2. Use arithmetic, relational, logical, and bitwise operator to develop working C program.
3. Develop C program using branching statement.
4. Develop C program using looping statement.
5. Use one-dimensional and two-dimensional array to develop working C program.
6. Use user-defined function with different parameter passing method to develop
working C program.
7. Develop C program using recursive function.
8. Use string manipulation function to develop working C program.
9. Use structure and array of structure to develop working C program.
10. Use pointer and basic file operation to develop working C program.

COURSE OUTCOMES

At the end of this course, students will be able to:

CO 1 Explain the fundamental syntax of the C language, including basic data types,
operators, expression evaluation, and the use of strings and structures.

CO 2 Apply decision-making constructs, loops, and conditional branching to solve


computational problems.

CO 3 Implement modular and reusable C programs using user-defined functions with


appropriate parameter passing and return mechanisms.

CO 4 Analyze data storage and memory management techniques using arrays,


pointers, structures, and file handling.

TEXTBOOKS

1. Balagurusamy, E. (2019). Programming in ANSI C (8th ed.). Tata McGraw Hill.


2. Jones, J. A., & Harrow, K. (1996). C programming with problem solving. Pearson.
3. King, K. N. (2008). C programming: A modern approach (2nd ed.). W. W. Norton &
Company.

REFERENCES & ONLINE RESOURCES


1. Kernighan, B. W., & Ritchie, D. M. (1988). The C programming language (2nd ed.).
Prentice Hall.
2. Khanna, R. (2011). Computer concepts and C programming (2nd ed.). New Age
International Publishers.
3. Lysator. (n.d.). Brian Kernighan's C programming tutorial.
[Link]
4. National Programme on Technology Enhanced Learning. (n.d.). Programming in C
(Course No. 106105085). [Link]

You might also like