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

Research 3

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
24 views3 pages

Research 3

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

New Syllabus

(Programming for Problem Solving-E1UA102C)


COURSE OUTCOMES (COs)

CO No. Course Outcomes


E1UA102C .1 Understand Problem solving approach using Flow charts, Algorithm and Apply
the Pseudo Code
E1UA102C .2 Analyze the given problem and use appropriate C program elements to solve it
E1UA102C .3 Develop C programs involving decisions, loops, functions, Structure and union
E1UA102C .4 Implement File handling Concepts for creating a file, reading a file, writing a
file, updating a file

COURSE CONTENT
(THEORY + PRACTICAL)

Topic Content
Introduction to Problem-solving, and Computer: Introduction to Components of
Computer System, Algorithm: Representation of Algorithm, Flowchart, Pseudo code
with examples, From algorithms to programs, source code, Syntax and logical errors
in compilation, object and executable code, Components of C language.

C Program for Problem-Solving: Basic structure of C program, executing a C


program. Constant, variable and data types, Type Conversion, Operators and
expressions, Managing Input and output operations.

Conditional Branching: Applying if and switch statements, nesting if and else, use of
break and default with switch, Iteration and loops: use of while, do while and for
loops, multiple loop variables, use of break and continue statements, Storage Classes:
automatic, external (global), static & registers
THEORY
Array and Function: Arrays: Array notation and representation, manipulating array
elements, multi-dimensional arrays. Character arrays and strings, Structure, union,
Array of structures.

Pointers, Function: Functions (including using built in libraries), Parameter passing in


functions, call by value, call by reference, Passing arrays to functions, Recursion.

Dynamic memory allocation: Introduction, malloc(), calloc(), realloc() and free().

File Handling: Introduction to file handling, File Modes, File Operations: open(),
close(), read(), write(), append()
BIBLIOGRAPHY
Textbook:
1. Let Us C: Authentic Guide To C Programming Language - 19th Edition - 2023 (Paperback,
Yashavant Kanetkar).
Book References:
1. Computer Concepts and Programming in C, E Balagurusamy, McGraw Hill
2. Brian W. Kernighan and Dennis M. Ritchie, The C programming Language, Prentice-Hall in
1988
Web References:
https://onlinecourses.nptel.ac.in/noc22_cs40/preview
https://www.w3schools.com/c/

List of Experiments
1. Develop a program about fundamental Data types C Programming.
(i.e., int, float, complex, bool and string types)
2. Write a C program that calculates the Simple Interest and Compound
Interest. The Principal, Amount, Rate of Interest and Time are entered
through the keyboard.
3. Write a C program to demonstrate various type conversions.
4. write a program that accepts marks of five subjects and finds
percentage and prints grades according to the following criteria:
Between 90-100%--------------Print ‘A’
80-90%---------------------------Print ‘B’
60-80%---------------------------Print ‘C’
Below 60%----------------------Print ‘D’

PRACTICAL 5. Write a C program that swaps values of two variables using a third
variable.
6. Write a C program to find the greatest of three numbers.
7. Write a C program that tells whether a given year is a leap year or
not.
8. Write a C program to find the factorial of a given number.
9. Write a C program to print sum of even and odd numbers from 1 to N
numbers.
10. Write a C program to print the Fibonacci series.
11. Write a C program to check whether the entered number is prime or
not.
12. Write a C program to find the sum of digits of the entered number.
13. Write a C program to find the minimum and maximum element of the
array.
14. Write a C program to add and multiply two matrices of order nxn.
15. Write a C program that finds the sum of diagonal elements of a mxn
matrix.
16. Write a program to calculate sum of first 50 natural numbers using
recursive function.
17. Define a function named fact () to calculate factorial of a number n.
18. Write a recursive function to generate Fibonacci series.
19. Write a program that illustrates use of local, global and static
variables
20. Write a program to find biggest among three numbers using pointer
21. Write a program to swap value of two variables using pointer.
22. Write a program to copy one string to another string with and without
using string handling function.
23. Write a program to concatenate, compare two strings and also find the
length of string.
24. Create a structure named company which has name, address, phone
and no of Employee as member variables. Read name of company, its
address, phone and no of Employee. Finally display these members’
value.
25. Write a program to show programming examples with union.

You might also like