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

C Syllabus

This document provides details of the course "Fundamentals of Computer Programming-I" including the course code, credits, type of course, pre-requisites, frequency of offering, brief syllabus, course outcomes, unit-wise details, recommended books and references, practical content including experiments, and a guided project. The course introduces fundamental programming concepts in C language and helps students develop logic to write code for solving problems.

Uploaded by

Gaurav Rohilla
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

C Syllabus

This document provides details of the course "Fundamentals of Computer Programming-I" including the course code, credits, type of course, pre-requisites, frequency of offering, brief syllabus, course outcomes, unit-wise details, recommended books and references, practical content including experiments, and a guided project. The course introduces fundamental programming concepts in C language and helps students develop logic to write code for solving problems.

Uploaded by

Gaurav Rohilla
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

CSL106 Fundamentals of Computer Programming-I

COURSE TEMPLATE

1. Department: Department of Computer Science and Engineering

2. Course Name: 3. Course Code 4. L-T-P 5. Credits


Fundamentals of Computer Programming-I CSL106 2-0-4 4

6. Type of Course
Programme Core √ Programme Elective Open Elective
(Check one):

7. Pre-requisite(s), if any: NIL

8. Frequency of offering (check one): Odd √ Even Either semester Every semester

9. Brief Syllabus:

This course introduces the intrinsic concepts of programming language that helps the students to mutate from one
language to another in future. It provides the sagacity of procedural programming approach applied in C
programming language. It fully covers fundamental programming techniques with the most common library
functions and the usage of the preprocessor. Through this course, students will be able to fathom all the pivotal
concepts, syntax and semantics of C language as well as data types offered by the language They will be able to
write the code of a program by developing logic with progression to writing pseudo codes, designing flowcharts and
finally developing management projects.

Total lecture, Tutorial and Practical Hours for this course (Take 15 teaching weeks per semester): 90

Practice
Lectures: 30 hours
Tutorials : 20 hours Lab Work: 40 hours

10. Course Outcomes (COs)


Possible usefulness of this course after its completion i.e. how this course will be practically useful to him once
it is completed

Understand the working of a computer system with its all peripherals, and master the conversion
CO 1
from one base of number system to another base

Analyze the problem and apply logic to design programs and learn the basic concepts of
CO 2
programming.

Develop the logic to write code and comprehend the basic programming constructs such as loops
CO 3
used in C language to write structured programs.

CO 4 Address the concepts of functions, pointers, arrays and strings in C


Apply concepts of structures, pre-processor directives and files to develop management system
CO 5

11. UNIT WISE DETAILS No. of Units:5


CSL106 Fundamentals of Computer Programming-I

Unit Number: 1 Title: Introduction to Computers and Number Systems No. of hours: 5
Content Summary:
Introduction to Computer Fundamentals: Parts of computer, Generations, Types, Applications, I/O devices,
Number Systems with their importance and exercises, Computer Networks, basic architecture and topologies,
Types of Programming languages and current technologies used in Real scenarios.
Unit Number: 2 Title: Hands-on Pseudocodes, Flowcharts, Algorithms No. of hours: 3
Content Summary:
Pseudocodes, and Flowcharts with exercises, Practice on Pseudocodes, and moving to algorithms, Introduction to
Programming, Programming Languages, Assembler, Compiler, Interpreter, Linker, and Loader.

Unit Number: 3 Title: Introduction to C and Loops in C No. of hours: 7


Content Summary:
Introduction to C, data types, variables, operators, Implementing expressions, introduction to loops, control flow,
sequential, selection (if-else, switch) iterative control statements (for), Do, while, Jumping statements.

Unit Number: 4 Title: Functions, Pointers, Arrays, Strings in C No. of hours: 8


Content Summary:
Function definition and declaration in C, Call by value and call by reference, Recursion with implementation.
Pointers in C, Arrays and Strings.
Unit Number: 5 Title: Structures, File management in C No. of hours: 7
Content Summary:
Structures in C, Storage classes with their importance, Using pointers in Structures with implementation, File
Management in C, File operations
12. Brief Description of Self-learning components by students (through books/resource material etc.):

Translators (Compiler, Interpreter, Assembler, Linker and Loader)


13. Books Recommended:
Text Books:
• Byron S. Gottfried, "Programming with C", McGraw-Hill, 4th Edition
• Yashwant Karnetkar, "Let Us C", BPB Publications, 16th Edition
Reference Books:
• J.B. Dixit, “Fundamentals of Computers & Programming in C”, Laxmi Publications, 2nd Edition
• Yashwant Karnetkar, “Test your C Skills”, BPB Publications, 5th Edition

Reference Websites: (nptel, swayam, coursera, edx, udemy, lms, official documentation weblink)

• https://nptel.ac.in/courses/106104128/ (Introduction to Programming in C)


• https://lmsncu.ncuindia.edu/course/view.php?id=1193 (Fundamentals of Computer Programming-I)

Practice (Tutorial/Case Studies/ Industry Visit/Field Work) Content

Sr. No. Topic Unit covered


1. Conversions from one Number System to another 1
2. Designing Flowcharts, Pseudocodes and Algorithm 1
3. Loops 3
4. Programs using Functions, Arrays and Strings 4
5. Program using pointers and structures 5
CSL106 Fundamentals of Computer Programming-I

Practical Content

Sr. No. Title of the Experiment Software/Hard Unit Time


ware based covered Required
1. a) Write a program that reads a floating-point Turbo C 2 1 hour
number and then displays the right-most digit of the compiler
integral part of the number

b) Given an integer number, write a program that


displays the number as follows:
First line: all digits
Second line: all except first digit
Third line: all except first two digits
…………
Last line: The last digit
2. a) The marks obtained by a student in 5 different Turbo C 2,3 1 hour
subjects are input through the keyboard. The student compiler
gets a division as per the following rules: Percentage
above or equal to 60 - First division Percentage
between 50 and 59 - Second division Percentage
between 40 and 49 - Third division Percentage less
than 40 - Fail Write a program to calculate the
division obtained by the student.

b) Write a program to check whether a triangle is


valid or not, when the three angles of the triangle are
entered through the keyboard. A triangle is valid if
the sum of all the three angles is equal to 180
degrees.
3. a) Program to find factorial of a number using while Turbo C 3 1 hour
loop and for loop compiler

b) Write a program in C to print the table of a given


number which is multiplied from 1 to 10 using for
loop
4. a) Write a C Program using functions to check Whether a Turbo C 4 1 hour
Number can be Expressed as Sum of Two Prime compiler
Numbers

b) Write a C Program using functions to convert Binary


Number to Decimal and vice-versa

5. a) C program to swap two numbers using pointers Turbo C 4 1 hour


compiler
b) C program to reverse an array using pointers
6. a a) Write a C program to find the largest number in an Turbo C 4 2 hours
array. compiler
DoD 1: The size of the array should be given by the
user. It has to be 1-D array.
CSL106 Fundamentals of Computer Programming-I

DoD 2: The elements of the array should also be


given by the user.
DoD 3: The largest element of the array should be
printed as an output

b) Write a C program to print every element at even


position in an array
7. a) Write a C program to check whether a string is a Turbo C 4 1 hour
palindrome or not with and without using library compiler
functions
8. a) Write a program to create a menu for a library in Turbo C 5 1 hour
which the following can be done. compiler
1 - Display book information
2 - Add a new book
3 - Display all the books in the library of a particular
author
4 - Display the number of books of a particular title
5 - Display the total number of books in the library
6 - Issue a book
DODs
i) Create a structure containing book information like
accession number, name of author, book title and
flag to know whether book is issued or not.
ii) If we issue a book, then its number gets
decreased by 1 and if we add a book, its number
gets increased by 1.
9. Guided Project Turbo C 3,4,5 6 hours
For Example: Bank Management System, Bus Ticket compiler
Reservation system

Value Added Experiments

(i) a) Write a program in C to print the alphabet E, Turbo C compiler 3 2 hours


using dollar ($)
Definition of Done: The output contains the
height of 7 characters and width of 6 and 5
characters.

b) Write a program in C to print the following


pattern
1
2 3
4 5 6
7 8 9 10
(ii) a) Write a program in C to input the Turbo C compiler 3 1 hour
seconds and output the number of
hours, minutes and seconds
b) Write a program to print the following
pattern:
1
1 2
1 2 3
CSL106 Fundamentals of Computer Programming-I

1 2 3 4
(iii) a) Write a C Program to Find the Sum of Natural Turbo C compiler 4 2 hours
Numbers using Recursion

b) Write a C program to print Fibonacci series upto a


given term using functions and recursion

(iv) a) C program to demonstrate example of double Turbo C compiler 4 1 hour


pointer (pointer to pointer)

(v) a) Write a C program to transpose the matrix. Turbo C compiler 4 3 hours


DoD 1: The order of the matrix should be
provided by the user.
DoD 2 : The elements of the matrix should
also be provided by the user.
DoD 3: The original matrix should be
displayed.
DoD 4: The transposed matrix should then be
displayed.

b) Write a program to multiply two matrices

c) Write a program to add and subtract two


matrices
(viii) a) Write a C program to convert string in Turbo C compiler 4 3 hours
lowercase to uppercase.

b) Write a C program to concatenate two strings


with and without using library functions

c) Write a program to reverse the string with or


without using library functions

(ix) a) Write a program to read two complex Turbo C compiler 5 2 hours


numbers and perform addition, subtraction of
these two complex numbers.
a) Define a structure “complex”.
b) Display the result

b) Write a program using structures to add two


distances in inch-feet system

(x) a) C Program to Find the Number of Lines in a Turbo C compiler 5 1 hour


text file.
(xi) a) C Program to read contents of file using Turbo C compiler 5 1 hour
fscanf(), fgetc() and fgets().

(xii) Unguided Project: Turbo C compiler 3,4,5 9 hours


Examples: Quiz Game, School Bus
Management System, Telephone Directory
Record Management System, Blood Bank
Management System
CSL106 Fundamentals of Computer Programming-I

Project (To be done as individual/in group): Yes/No : Yes (In groups of 2 students)

Evaluation Scheme

TYPE OF ALLOT
S. No. PARTICULAR PASS CRITERIA
COURSE TED

End Term Project RANGE


25%
OF Must Secure 30% Marks Out of
Project Based Minor Test 15%
MARK Combined Marks of Minor Test Plus
1 Course (L-T- Major Test 30%
P/L-T-0/L-0-P/L- S Major Test with Overall 40% Marks
Class Test/ Assignment 15%
0-0)
Online Test 5% in Total.

Class Participation 10%


Evaluation Through
Class
Tests/Practice/Assignm
ents/Presentation/Quiz

You might also like