0% found this document useful (0 votes)
24 views1 page

C syllabus

Uploaded by

deviifet2015
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)
24 views1 page

C syllabus

Uploaded by

deviifet2015
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
You are on page 1/ 1

23CS1301 Problem Solving using C Programming

(Common to all branches)

UNIT I INTRODUCTION TO COMPUTER AND PROBLEM SOLVING 9


Overview of Computers: Types, Generations, Characteristics, Basic computer Organization –Programming
methodologies –Problem solving techniques: Algorithms - Flowcharts – Pseudo codes –Structuring the
logic: Sequential, selection and repetitive structure.
Activities: Design an algorithm, flowchart and pseudo code for calculation of Simple Interest,Factorial and
Fibonacci sequence.

UNIT II C AND CONTROL STATEMENTS 9


Introduction to C and Control Statements: The life cycle of a C program – features of C - Data -Variables –
Declaring, assigning and printing variables – Data Classification: integer, float and character types –
constants – operators and expressions – Control Structures: decision making and looping statements – Input
and output functions
Activities: Programs to check whether a number is even or odd, leap year, Palindrome, Armstrong
number and prime number.

UNIT III ARRAYS AND FUNCTIONS 9


Arrays: Declaring and initializing 1D array - Two dimensional arrays – Multidimensional arrays. Functions:
Basics, The anatomy of a function – Types of functions based on arguments and return types – Passing 1D
and 2D arrays as arguments to functions – Calling function from another function– recursive functions -
Variable scope and lifetime - Storage classes.
Activities: Implementation of traversing, searching, insertion and deletion operation in an array, Generate
Fibonacci Series using Recursion

UNIT IV POINTERS AND STRINGS 9


Pointers: Memory access and pointers, pointer basics, declaring, initializing and dereferencing a pointer,
parameter passing mechanisms, operations on pointers. Strings: Basics, declaring and initializing strings –
pointers for string manipulation – string handling functions: standard and user defined functions – character
oriented functions, Two dimensional array of strings.
Activities: Program to illustrate the concept of Pass by Value and Pass by Reference and Program tocheck
whether a given character is a vowel or consonant.

UNIT V USER-DEFINED DATA TYPES 9


Structure basics –declaring and defining a structure - attributes of structures – nested structures –arrays as
structure members – arrays of structure – Passing structures as arguments to functions -Unions – Bit Fields -
Enumerated type.
Activities: Create and manipulate student’s record using structure and pointers and Program to calculate the
difference between two time periods.

TEXT BOOK:
1. Sumitabha Das, “Computer Fundamentals and C Programming”, 1st Edition, McGraw Hill,
2020.
REFERENCES:
1. Yashavant Kanetkar, "Let us C", 16th Edition, BPB Publications, 2020.
2. Reema Thareja., “Programming in C”, 2nd Edition, Oxford University Press, New Delhi,
2020.
3. Balagurusamy E., "Programming in ANSI C", 7th Edition, Mc Graw Hill Education, 2017.

You might also like