0% found this document useful (0 votes)
1 views7 pages

C Program

The document outlines the C Programming course (7R104) for students in Artificial Intelligence, Machine Learning, Computer Engineering, and Information Technology programs. It details the course rationale, expected industry outcomes, learning outcomes, teaching-learning and assessment schemes, and practical experiences. Additionally, it includes suggested micro-projects and assignments to enhance students' programming skills in C, focusing on algorithm development, control statements, arrays, functions, and pointers.

Uploaded by

amrutap783
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)
1 views7 pages

C Program

The document outlines the C Programming course (7R104) for students in Artificial Intelligence, Machine Learning, Computer Engineering, and Information Technology programs. It details the course rationale, expected industry outcomes, learning outcomes, teaching-learning and assessment schemes, and practical experiences. Additionally, it includes suggested micro-projects and assignments to enhance students' programming skills in C, focusing on algorithm development, control statements, arrays, functions, and pointers.

Uploaded by

amrutap783
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

7R104 I C PROGRAMMING

Programme Name: Artificial Intelligence and Machine Learning / Computer Engineering / Information Technology
Programme Code: AN / CO / IT
Course Code Course Title Course Abbr. Semester
7R104 C Programming CPR FIRST
I. RATIONALE
This Course intends to develop programming skills in the students, using a popular structured programming language `C'. The students
will learn step by step procedure (i.e. flowcharting &Algorithm) of any program development process. The programming skills thus acquired
can be used for developing programs with programming features which in turn will help in developing practical applications for the scientific,
research and business purposes.

II. INDUSTRY / EMPLOYER EXPECTED OUTCOME


The aim of this course is to help the student to attain the following industry identified outcomes through various teaching learning
experiences: Develop structured, modular and memory efficient programs in ‘C’ using arrays, functions, pointers.

III. COURSE LEVEL LEARNING OUTCOMES (COs)


Students will be able to achieve & demonstrate the following COs on completion of course based learning
CO1 - Develop algorithm and draw the flowchart for ‘C’ Programming.
CO2 - Write Simple C Program
CO3 - Develop a program using decision and loop statement.
CO4 - Implement program using array
CO5 - Implement programs based on functions, structure and pointers.

IV. TEACHING-LEARNING & ASSESSMENT SCHEME

Learning Scheme Assessment Scheme


Actual
Contact
Hrs. / Theory Based on LL & TSL Based on
Course Course SL
Course Title Abbr Week Credits Paper Total
Code Category/s SLH NLH Practical
Duration Marks
FA- SA-
CL TL LL TH TH Total FA-PR SA-PR SLA
Max Max Max Min Max Min Max Min Max Min
7R104 C Programming CPR DSC 4 - 4 2 10 5 3 30 70 100 40 50 20 50# 20 25 10 225

Total IKS Hrs for Sem. : 0 Hrs


Abbreviations: CL- ClassRoom Learning , TL- Tutorial Learning, LL-Laboratory Learning, SLH-Self Learning Hours, NLH- Notional
Learning Hours, FA - Formative Assessment, SA -Summative assessment, IKS - Indian Knowledge System, SLA - SelfLearning
Assessment
Legends: @ Internal Assessment, # External Assessment, *# On Line Examination , @$ Internal Online ExaminationNote :

1. FA-TH represents average of two Progressive tests of 30 marks each conducted during the semester.
2. If candidate is not securing minimum passing marks in FA-PR of any course then the candidate shall be declared as
"Detained" in that course.
3. If candidate is not securing minimum passing marks in SLA of any course then the candidate shall be declared as fail and willhave
to repeat and resubmit SLA work.
4. Notional Learning hours for the semester are (CL+LL+TL+SL)hrs.* 15 Weeks
5. 1 credit is equivalent to 30 Notional hrs.
6. * Self learning hours shall not be reflected in the Time Table.
7. * Self learning includes micro project / assignment / other activities.

[Link] LEARNING OUTCOMES AND ALIGNED COURSE CONTENT

AN, CO, IT Page | 1 GPCSN


7R104 I C PROGRAMMING
Suggested
Theory Learning Outcomes Learning content mapped with Theory Learning Outcomes
[Link] Learning
(TLO's) aligned to CO's. (TLO's) and CO's.
Pedagogies.
TLO 1.1 Describe structure of Unit – I: Introduction to Flowcharts and Algorithms
C Program 1.1 History of C,General structure of C program, header files.
TLO 1.2 Describe steps for 1.2 Algorithm: Definition, steps for developing and writing algorithm Chalk Board/ White
writing algorithm. using pseudo codes. Board/ Hands-on
TLO 1.3 Draw flow chart to 1.3 Flowchart: Definition and Importance of flowchart, Symbols of Demonstration/
1 solve given problem logically Flowchart: Flow lines, Terminals, Input/Output, Processing Presentations
TLO 1.4 Describe guidelines Decision, Connection off-page connectors.
for developing flowchart. 1.4 Guidelines for preparing Flowchart, Flowchart structure: Sequence,
selection, repetition. Limitation of flowchart.
TLO 2.1 Choose appropriate Unit – II: Basics of C programming
data type for variable. 2.1 Character set
TLO 2.2 . Declare and define ‘C’ tokens, Keywords, and Identifiers,Data Types in C
variables. ,Storage Capacity range for data types, Modifiers and type conversion
TLO 2.3 Describe format 2.2Constants and Variables.
specifiers and escape 2.3 Format specifiers and escape sequences Chalk Board/ White
characters. 2.4 Input and Output statements in ‘C’: printf(), scanf(), use getc(), Board/ Hands-on
2 TLO 2.4 Write and execute putc(), getchar() and putchar() Demonstration
simple program in ‘C’ 2.5 Types of Operators and Expression: Arithmetic, Relational, Presentations
TLO 2.5 Use arithmetic, Assignment, Logical, conditional operators. Expressions.
relational and logical operators 2.6 Write, compile, execute a simple ‘C’ program Programming Errors
for forming expressions. in C: Syntax error, run time error, linker error, logical error, and
TLO 2.6 Format input and semantic error
output using ‘C’ statements.
TLO 3.1 Develop programs Unit – III: Control Statements in C
using decision making 3.1 Decision Statements: Simple If statement, If..else statement,
statements in ‘C’ language. Nested If else statement, elseif ladder and switch case statements
TLO 3.2 Describe 3.2 Unconditional branching: goto statement
unconditional branching goto. 3.3 Loop and nested loop Statements: for loop, While loop, 3.4 Do
TLO 3.3 while loop, Difference between for loop and while loop, while loop Chalk Board/ White
Develop programs using and Do while loop. Board/ Hands-on
3
structured loop control 3.5 Break, continue statements. Demonstration
statements in ‘C’ language Presentations
TLO 3.4 Differtiate between
while loop and do while.
TLO 3.5 Use break and continue
statements in loop.

TLO 4.1 Declare and define Unit –IV: Introduction to Arrays


array. 4.1 Definition, characteristics and types of arrays.
TLO 4.2 Develop programs 4.2 One Dimensional array: Declaration syntax, initialization and use. Chalk Board/ White
using 1-D array in ‘C’ language. 4.3 Two Dimensional Array: Declaration syntax, initialization and use. Board/ Hands-on
4 TLO 4.3 Develop programs 4.4 Advantages of arrays. Demonstration
using 2-D array in ‘C’ language Presentations
TLO 4.4 Enlist Advantages of
arrays

AN, CO, IT Page | 2 GPCSN


7R104 I C PROGRAMMING
TLO 5.1 Use library Unit V: Functions, Structures and Pointers
function. 5.1 Definition and types of function: Library and user defined functions.
TLO 5.2 Describe string 5.2 String Functions puts(), gets(),strlen(), strcmp(), strcpy(). Strrev(),
function. strcat()
TLO 5.3 Define user define 5.3 User Defined functions: Declaration, calling and definition.
function and its prototypes. 5.4 Function Prototypes: i) No return type - no parameter list
Chalk Board/ White
TLO 5.4 Describe Function ii) No return type- with parameter list
Board/ Hands-on
Prototypes iii)Return type-no parameter list
5 Demonstration
TLO 5.5 Describe Local and iv) Return type- with parameter list
Presentations
global variables. 5.5 Local and global variable.
TLO 5.6 Explain introduction 5.6 Introduction to Structures and Pointers Need of structure, definition,
to Structures and Pointers declaration. accessing members of structures.
TLO 5.7 Explain the concept of 5.7 array of structure,
array of strcutures. 5.8 Introduction and Features of Pointers,
TLO 5.8 Describe features of
pointers.
Curriculum for Progressive Test:
Progressive Test-1: Unit-1, Unit-2, and Unit-3: up to 3.1
Progressive Test-2: Unit-3: 3.2 onwards, Unit-4, and Unit-5: up to 5.3

V. LABORATORY LEARNING OUTCOME AND ALIGNED PRACTICAL / TUTORIAL EXPERIENCES.


Numb
Practical / Tutorial / Laboratory Learning Sr Laboratory Experiment / Practical Titles / Relevant
erof
Outcome (LLO) No Tutorial Titles COs
hrs.
LLO 1.1 Install and cite the turbo C ++ Help 1 Install Turbo C++ and study various Help options 2 CO1
Contents. given in it.
LLO 2.1 Design algorithm for given problem 2* Write algorithm for given problem statement (Any 2 CO1
statement. Four)
LLO 3.1 Identify the symbols of flowchart 3* Draw Flow Chart for given problem
LLO 3.2 Create flowchart for given problem. statement(Any four) 2 CO1
LLO 4.1 Use standard input output Header files 4 Write simple C program , compile and execute it. 2 CO2
LLO 4.2 Use input output statements
LLO 5.1 Select appropriate data types for variables. 5* Write a program for displaying the values of 2 CO2
LLO 5.2 Declare and initialize variables. variables with various data types.
LLO 6.1 Apply the arithmetic operators. 6* Write the program for arithmetic operators. 2 CO2

LLO 7.1 Use appropriate format specifiers. 7 Write a program for displaying formatted output on 2 CO2
the screen.
LLO 8.1 Use character input and output function. 8* Implement program to use getc(),putc(), getchar() 2 CO2
and putchar()
LLO 9.1 Solve errors occurred in program 9 Execute a C program to solve errors in a program 2 CO2

LLO 10.1 Identify the types of errors. 10 Write a program to find out Compile and run time 2 CO2
errors.
LLO 11.1 use simple conditional statement. Write a program for simple if statement such as
i)To check the given number is Positive.
11* ii) To check the given number is even 2 CO3

AN, CO, IT Page | 3 GPCSN


7R104 I C PROGRAMMING
LLO 12.1 use if else statement for a given problem. Write a program for if -else statement such as CO3
12* i)To check the given number is even or odd. 4
ii)To check condition of Leap year.
LLO13.1 use Nested if statement for a given problem Write a program for Nested if else statement such as CO3
statement. 13 i)To find the largest number amongst three. 4
ii)To find the grade of student.

Teacher should assign the suitable problem statement for implementing following concepts.

LLO14.1 Apply if else ladder for a given problem 14* Implement a program for if else Ladder statement 2 CO3
statement.
LLO15.1 Apply switch case for given problem 15 Implement a program for switch case statement. 2 CO3
statement.
LLO 16.1 Apply WHILE LOOP for given problem 16* Execute a program using while loop. 2 CO3
statement.
LLO 17.1 use DO-WHILE LOOP for the given 17 Execute a program using Do-while loop. 2 CO3
problem statement.
LLO 18.1 Apply FOR LOOP for given problem 18* Execute a program using For loop. 2 CO3
statement.
LLO 19.1 use break and Continue statement in loops. 19 Execute a program using break and continue 2 CO3
statements in loops.
LLO 20.1 use One Dimensional array. 20* Execute program to display 1-Dimensional array. 2 CO4

LLO 21.1 Use conditional statements in an array. 21 Implement a program to search a number in an array. 2 CO4

LLO 22.1 use 2 Dimensional array. 22* Execute program to display 2-Dimensional array. 4 CO4

LLO 23.1 Use 2 Dimensional array for mathematical 23 Execute a program for matrix addition. 4 CO4
problems.
LLO 24.1 Use Library functions of math.h 24 Implement program for library functions of math.h 2 CO5

LLO 25.1 Use Library function of String.h 25* Implement Program for following string functions. 2 CO5
puts(), gets(),strlen(), strcmp(), strcpy(). Strrev(),
strcat()
LLO 26.1 Design functions for given problem 26* Implement a program for user defined function 2 CO5
statement.
LLO 27.1 Apply various function prototype to design 27 4 CO5
Implement a program for with different prototypes.
functions.
LLO 27.2 Create user defined functions with i) No return type - no parameter list
different prototypes. ii) No return type- with parameter list
iii)Return type-no parameter list
iv) Return type- with parameter list
LLO 28.1 Create Structure data type. 28* 4 CO5
Execute a program for displaying structure members
LLO 28.2 Access values of members of structures.
and function.
LLO 29.1 Create Structure data type. 29 Execute a program for displaying the values of 2 CO5
LLO 29.2 Access values of members of structures. members in structure.
LLO 30.1 Access memory address using pointer. 30 Execute program to initialize and display values of 2 CO5
pointer.
Note: A suggestive list of LLOs is given the above table. A judicial mix of minimum 20 LLOs needs to be performed out of 30. The
LLOs which marked as ‘*’ are compulsory, so that the students reach the ‘Precision Level’ of Dave’s ‘Psychomotor Domain Taxonomy’
as generally required by the industry.

AN, CO, IT Page | 4 GPCSN


7R104 I C PROGRAMMING

VI. SUGGESTED MICRO PROJECT / ASSIGNMENT/ ACTIVITIES FOR SPECIFIC LEARNING


/ SKILLS DEVELOPMENT (SELF LEARNING)

Micro project

The micro-project has to be industry application based, internet-based, workshop-based, laboratory-based or field-based as suggested
by Teacher

1. Design a program for Simple Calculator. Implement all the four arithmetic operators in it.
2. Implement Bank Management System using C structure, create 3 modules user data, transaction, and display.
3. Implement School management system using C structure. Create 3 modules student data, grades, and teacher module.
4. Implement Library management system using C structures. Create 3 modules student data, book information and book
issue module.
5. Implement Employee management system using C structures. Create 4 modules Employee data, recruitment, department
data and display.
6. Implement Hospital Management system using C structures. Create 3 modules Patient data, admission discharge and
billing.
7. Implement Bus reservation system. create 3 modules, customer data, reservation/ cancellation and billing
8. Implement Cricket score board. Create 2 modules score acceptance and display.
9. Implement Telecom Billing system. Create 3 modules customer data, usage and bill generation.
10. Implement a program for display of Snake game.
Any new topic (other than mentioned list) related to the curriculum can be given for microproject.

Assignments

1. Need of programming languages and its types.


2. Prepare chart for Compilation process in C.
3. Implement program for matrix multiplication.
4. Study and compare various compilers
5. Describe the structure of a basic C program with an example.
6. Explain the need for programming languages and classify their types with examples.
7. Explain Data Types and Storage Classes in C.
8. Write a Program to Implement String Operations.
9. Demonstrate the Use of Pointers in C.
10. Study and Implement File Handling in C.
Self-Learning Activities:

1. Complete any one course related to Programming in C on Infosys Springboard


2. Develop C language code for relevant topics suggested by the teacher.
3. Practice reading and fixing buggy code to improve your understanding.
4. Intentionally create bugs (e.g., wrong loop condition) and try fixing them
5. Use platforms like: HackerRank, CodeChef, LeetCode

Note for Teacher: The marks distribution for self-learning activities should be decided by the teacher based on the nature and quality
of Micro-projects, Assignments, and/or other self-learning tasks.

VII. LABORATORY EQUIPMENT / INSTRUMENTS / TOOLS / SOFTWARE REQUIRED


Sr. Relevant LLO
Equipment Name with Broad Specifications
No Number
a) Computer System with all necessary Peripherals and Internet connectivity. b) Turbo C / any other
1 1.1 To 30.1
desktop application for C programs.

AN, CO, IT Page | 5 GPCSN


7R104 I C PROGRAMMING

VIII. SUGGESTED FOR WEIGHTAGE TO LEARNING EFFORTS & ASSESSMENT PURPOSE (Specification
Table)
[Link] Unit Unit Title Aligned COs Learning Hours R-Level U-Level A-Level Total Marks
1 I Introduction to Flowcharts and Algorithms CO1 10 2 6 4 12
2 II Basics of C programming CO2 12 4 4 4 12
3 III Control Statements in C CO3 14 4 6 4 14
4 IV Introduction to Arrays CO4 10 4 6 6 16
5 V Functions, Structures and Pointers CO5 14 4 6 6 16
Grand Total 60 18 28 24 70
Legends: R – Remember Level, U – Understand Level, A – Application Level

IX. ASSESSMENT METHODOLOGIES/TOOLS

Formative assessment (Assessment for Learning)

 Lab performance, Assignment rubrics, Progressive test.

Summative Assessment (Assessment of Learning)

 End term Lab. Performance (practical examination), Viva voce

X. SUGGESTED COS - POS MATRIX FORM


Program
me
Programme Outcomes (POs)
Specific
Outcome
Course s* (PSOs)
Outcomes PO-5
(COs) PO-1 Basic Engineering
and PO-2 PO-3 Design/ PO-4 Practices for PO-7 Life
PO-6 Project PSO- PSO-2
Discipline Problem Development Engineerin Society, Long
Management 1
Specific Analysis of Solutions gTools Sustainability Learning
Knowledge and
Environment
CO1 1 1 1 - - - 3 1 -
CO2 2 2 2 2 - - 2 2 -
CO3 3 3 3 3 - 2 2 3 -
CO4 1 1 1 1 - 1 2 1 -
CO5 3 3 3 3 - 2 2 3 2
CO6 1 1 1 1 - 1 2 1 1

XI. SUGGESTED LEARNING MATERIALS / BOOKS


Sr.
Author Title Publisher
No
Mcgraw Hill Publications ISBN 0070534772
E. Balaguruswamy Programming in ANSI ‘C’
1
Let us ‘C’ BPB Publication ISBN 9788183331630
Yashwant Kanetkar
2

AN, CO, IT Page | 6 GPCSN


7R104 I C PROGRAMMING
O'Reilly Media, Inc. ISBN: 9781449345013
David Griffiths, Dawn First C
3 Griffiths Head
Prentice Hall, Second Edition ISBN: 978-0131103627
Brian W. Kernighan & The C Programming Language
4 Dennis M. Ritchie
Oxford University Press, ISBN: 978-0195687910
Pradip Dey & Manas Ghosh Programming in C
5

XIII. LEARNING WEBSITES & PORTALS


Sr.
Link / Portal Description
No

1 [Link] C Programming

Control structures, flow control


2 [Link]
statements in C

3 [Link] Functions

4 [Link] Pointers

5 [Link] C Programming

6 [Link] C programming Course

AN, CO, IT Page | 7 GPCSN

You might also like