0% found this document useful (0 votes)
0 views

CSE Principles of Programming Using C-Syllabus

The document outlines the course 'Principles of Programming using C', detailing its objectives, outcomes, and structure. It includes modules on computer architecture, C programming constructs, data structures, and file handling, along with lab assignments for practical application. The course aims to equip students with foundational programming skills and problem-solving techniques using the C language.

Uploaded by

garvagl1105
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)
0 views

CSE Principles of Programming Using C-Syllabus

The document outlines the course 'Principles of Programming using C', detailing its objectives, outcomes, and structure. It includes modules on computer architecture, C programming constructs, data structures, and file handling, along with lab assignments for practical application. The course aims to equip students with foundational programming skills and problem-solving techniques using the C language.

Uploaded by

garvagl1105
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/ 4

Principles of Programming using C

Course Code for the stream: 22POP13/23 Credits :3

L: P: T: S : 2:0:2 CIE Marks: 50

Exam Hours: 3 SEE Marks : 50

Course Type: Integrated

Course Objectives:

CLO 1.Elucidate the basic architecture and functionalities of a Computer


CLO 2.Apply programming constructs of C language to solve the real-world problems
CLO 3.Explore user-defined data structures like arrays, structures and pointers in implementing
solutions to problems
CLO 4.Design and Develop Solutions to problems using structured programming constructs such
as functions and procedures

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

Elucidate the basic architecture and functionalities of a computer and also recognize the
CO1
hardware parts.

CO2 Apply programming constructs of C language to solve the real world problem
Explore user-defined data structures like arrays in implementing solutions to problems
CO3
like searching and sorting
CO4 Explore user-defined data structures like structures, unions and pointers in implementing
solutions
CO5 Design and Develop Solutions to problems using modular programming constructs
using functions

Mapping of Course outcomes to Program outcomes:

PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12
CO1 2 1 - - - - - - - - - 1

CO2 2 2 - - - - - - - - - 1
CO3 2 2 - - - - - - - - - 1

CO4 2 2 - - - - - - - - - 1

CO5 2 2 - - - - - - - - - 1

Unit Course content Hours COs


Module-1:

Introduction to Computer- Introduction to Computer, Functional Units


of a Computer, Software types.
1 8 CO1
Introduction to C- Introduction to C language, Algorithm & Flowchart,
Structure of C program, C Tokens and Data types, Input/output statements
in C.

Module-2 :
Operators and Expression- Operators in C, Precedence and
Associativity, Evaluation of Expression, Type conversion and typecasting. CO2
2 8
Decision control and Looping statements: Introduction to decision
control, Conditional branching statements, iterative statements, nested
loops, break and continue statements, goto statement

Module-3:
Functions: Introduction to functions, function declaration, function call,
return statement, Categories of Functions, passing parameters to functions,
recursive functions.
3 8 CO3
Arrays: Introduction to 1D array, Declaration & Initialization of 1D
array, accessing the elements of an array, applications of 1D arrays,
passing arrays to functions, Introduction to 2D array, Declaration &
Initialization of 2D array, applications of 2D arrays.
Module-4:
Strings: Introduction to string, Declaration & Initialization of String,
string taxonomy, operations on strings, Miscellaneous string and character
8
CO4
functions, arrays of strings.
4
Pointers: Introduction to pointers, declaring pointer variables, Types of
pointers, arithmetic operations on pointers.

Module-5:

Structure, Union, and Enumerated Data Type: Introduction t o


5 structures, Unions, unions inside structures, Enumerated data type. 8 CO5

Files: Introduction to files, using files in C, reading and writing data files.
, Detecting end of file.

NOTE: 1. Questions for CIE and SEE not to be set from Self Study Component.

2. Assignment Questions should be only from Self Study Component.

Module 1: Types of Computer

Module 2: Evaluation of Expression

Module 3: Actual & Formal Parameters

Module 4: Real Time Implementation of Pointer


Module 5: To Copy the Content of One File to another File

Textbooks
1. Computer fundamentals and programming in c, “Reema Thareja”, Oxford University,
Second edition, 2017.

Reference Books:

1. E. Balaguruswamy, Programming in ANSI C, 7th Edition, Tata McGraw-Hill.


2. Brian W. Kernighan and Dennis M. Ritchie, The ‘C’ Programming Language, Prentice Hall of
India.
Web links and Video Lectures (e-Resources):
1. elearning.vtu.ac.in/econtent/courses/video/BS/15PCD23.html
2. https://nptel.ac.in/courses/106/105/106105171/ MOOC courses can be adopted for more clarity
in understanding the topics and verities of problem solving methods.
3. https://tinyurl.com/4xmrexre
Lab Assignments

1. Design and develop a C program that accepts three coefficients (a, b, and c) of a Quadratic
equation (ax2 +bx +c=0) as input and compute all possible roots and print the possible roots for a
given set of coefficients. Also print the message in case of zero valued coefficient/s.
2. An electricity board charges the following rates for the use of electricity: for the first 200 units 80
paisa per unit: for the next 100 units90 paisa per unit: beyond 300 units Rs. 1 per unit. All users
are charged a minimum of Rs. 100 as meter charge. If the total amount is more than400, then an
additional surcharge of 15% of total amount is charged. Design and Develop a program to read the
name of the user, number of units consumed and print out the charges.
3. Design and develop a C program to find the reverse of an integer number NUM and check whether
it is PALINDROME or NOT with suitable messages.
Ex: Num: 1234, Reverse: 4321, Not a Palindrome.
4. Design and develop a C program that reads N integer numbers and arrange them in ascending
order using Bubble Sort.
5. Design and develop a C program that reads N integer numbers and search a key element using
Binary searching Technique.
6. Design and develop a C program that reads two matrices A (m x n) and B(p x q) and Compute
product of matrices A and B. Read matrix A and matrix B in row major order. Print both the input
matrices and resultant matrix appropriately.
7. Design and develop a C program to implement the following operations without using library
functions. Display the results after every operation.
a. Read STRING s1 = “Dayananda”
b. Read STRING s2 = “Sagar”
c. Output the concatenated string STRING s3 = “DayanandaSagar”
8. Design and Develop a C function isprime (num) that accepts an integer argument and returns 1 if
the argument is prime, 0 otherwise. Write a C program that invokes this function to generate prime
numbers between the given range.
9. Design and Develop a C program to create a structure called Employee to maintain record of
details using an array of structures with four fields (Emp_name, Emp_id, Emp_age and Emp_sal).
Assume appropriate data type for each field. Print the Employee details in Tabular Format.
10. Write a C program using pointers to compute the sum, mean and standard deviation of all elements
stored in an array of n real numbers.

You might also like