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

HDS 1st Sem C Lang Syllabus

The document outlines the curriculum for a B.Sc. (Honours) in Data Science with a focus on Programming in C, detailing course objectives, unit-wise topics, and course outcomes. It covers fundamental concepts of C programming, including data types, control statements, functions, pointers, and file handling. Additionally, it provides a list of practical programming exercises for students to enhance their skills in C programming.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

HDS 1st Sem C Lang Syllabus

The document outlines the curriculum for a B.Sc. (Honours) in Data Science with a focus on Programming in C, detailing course objectives, unit-wise topics, and course outcomes. It covers fundamental concepts of C programming, including data types, control statements, functions, pointers, and file handling. Additionally, it provides a list of practical programming exercises for students to enhance their skills in C programming.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

r.

eiBIffiEffi
BHAVAN's vivBx,q,NANDA CoLLEGE
and Commerce
of Science' Humanities
Sa in ikPuri
to Osmania Universtty
Autonomous College ' Affiliated
Accreditei with 'A' grade bY NAAC

DataScience
PROGRAM NAME: B'Sc (Honours)
COURSE NAME: Programmrng
rn L

PPW:4
COURSE CODE: HDSl24 NO. OF CREDITS: 4
YEARJSEMESTER: I/I
the students to develop C Programs'
COURSE OBJECTIVE: To foster

UNIT-WISE COU RSE OBJECTIVES:


and basics ofC language'
CObl: To discuss the Computer fundarnentals
statements' anavs''strings'
;il;, i;;1il;" Vo op"tutiont' controlpolntt" urra aynamic memory allocation'
COb3: To explain the "tugt ori'n"iiont' data types and file concepts'
COb4: To construct structures' uniont' tnurn"tuted
to Software' Algorithms' Programmlng
UNIT-I: Computer Fundamentals' Introduction
Concepts and Basics of C'
is a computer' classification of
computers'
Computer Fundamentals: lntroduction-What
.n"rnory, and operational overview
of a CPU'
languages. compiling, Iinking and
loading a
Introduction to software: programming
programming concepts: Algorithm and flowcharts'
lllillT""" to Argorithms and "C'
structure of a program' concept
of a variable'
in
Basics of C: developing Oto*turn'
operators and expressions' and
type
data rypes. tokens. assignr:ient' initialization'
conversion in C.
Control Statements' Arrays and Strings'
UNIT-II: Input and Output Functions'
and output' fbrmatted input and
output
lnput and Output: Non-tbrmatted input
functions.
Controlstatements:Selectionstatements'theconditionaloperator'theswitchstatement'
special
do-while construct, goto statement,
iteration: while construct, for construct,
nested loops'
control statements: return, break' continue' array'
array: Declaration of a one-dimensional
Arrays and Strings: tlnt-ait"n'ionul array'
elements' working with one-dimensional
initializing integer arrays' u*""ing array printing' character
arrays: declaration' initialization'
Strings: One-dimensionat "hu'*tJ' functions
manipulation in the string, "nu'uttt'
fun"tion' in ctype'h' string manipulation;
in string.h. and working with
Multidimensional ArraYs Declaration' initialization, accessing'

CHAIRM
Boarrl cf Sti:'lies in CSE
flr.r' ,r " , i'r''. '.c&Engg.
c. .-,:,. - - . ' - . ,. . , i, .i . i-rb:d.
multidimensional arrays.
Array of Strings: Two-dimensional character array-initialization, manipulating string
arrays.

UNIT-III: Functions, Pointers and Dynamic Memory Allocation.


Functions: Concept of f'unction. using t'unctions: function prototype declaration, function
definition, function calling, call by value mechanism.
Storage classes: storage class specifiers for variables (auto, register, static and extem),
recursion.
Pointers in C: Introduction, address of operator (&). pointer: declaring a pointer,
initializing pointers, indirection operator and dereferencing, use ofpointers.
arrays and pointers: one-dimensional arrays and pointers, differences between array name
and pointer, pointers to pointers, array of pointers, pointer to array.
Dynamic Memory Allocation: Static memory allocation, dynamic memory allocation,
freeing memory, how malloc0 and free0 work.

UNIT-IV: User-defined Data Types, User-defined Variables and Files.


User-defined Data Types and Variables:
Structures: Declaring a structure and structure variables, accessing the members of a
structure, initialization of structures. nesting of structures' array of structures, arrays
within structure.
Union: Declaring a union and its members, accessing and initializing the members of a
union, structure versus union, enumeration types.
Files in C: Introduction, using files in C: declaration of file pointer, opening a file,
closing and flushing files. working with text files: character input and output, end of
file(eof1. detecting the end of tlle using the feof0 function.
Prescribed Book:
l. PradipDey. Manas Ghosh, Computer Fundamentals and Programming in C(2e). 2016
Reference Books:
I . Ivor Horton, Beginning C.
2. Ashok Kamthane, Programming in C.
3. Herbert Schildt. The Complete Relbrence C.
4. Paul Deitel, Harvey Deitel. C How To Program.
5. Byron S. Gonfiied. Theory and Problems of Programming with C.

6. Brian W. Kernighan, Dennis M. Ritchie, The C Programming Language.


7. B. A. Forouzan, R. F. Cilberg, A Structured Programming Approach Using C.

COURSE OUTCOMES: At the end of the course students will be able to:

COI: Develop Simple C programs.


C02: Implement different control statements.
CO3: Develop C programs using functions and pointers.
C04: Apply the concepts of slructures, unions. enumerated data types and files

-4tb- QDt-c--.-LA

Ctl.AIR}/[A.N naY:
.)
Rnrt'
*#tstffi
BHAVAN'S VIVEKANANDA COLLEGE
of Science. Humanities and Commerce
SainikPuri
Autonomous College ] Alflliated to Osmania University
Accredited rvith 'A' Grade by NAAC
PROGRAM NAME: B Sc (Honours) Data Science
COURSE NAME: PROGRAMMING IN.C'LAB

COURSE CODE: HDSl2,lP PPW: 2


YEAR/SEMESTER: l/l NO. OF CREDITS: I

l. Program to demonstrale arithmetic operalors.


2. Program to find the sum of digits ofa number.
3. Program to reverse ofa given number.
4. Program to check whether the given number is even or odd.
5. Program to display Fibonacci numbers.
6. Program to display the sum of harmonic series.
7. Program to demonstrate arithmetic operators using switch statement.
8. Program to find greatest ofthree numbers.
9. Program to display multiplication table ofa given number.
10. Program to display prime numbers between given range.
I l. Program to find the factorial ofa given number.
12. Program to check the given number is Armstrong or not.
13. Program to check the given number is Palindrome or not.
14. Program to check whether the given number is prime or not.
15. Program to find the roots ofa quadratic equation.
16. Program for sorting i) an integer array ii) strings.
17. Program to demonstrate i) Character t'unctions ii) String functions.
I8. Program lor matrix i) addition. subtraction ii) matrix multiplication.
19. Program to displal the transpose ofa given malrix.
20. Prograrn to display the trace ofa given matrix.
2l . Program to find factorial ofa given number using function.
22. Program to demonstrate i) call by value and call by address mechanisms.
ii) using recursion.
23. i) Program to demonstrate to declare a pointer and initialize a pointer.
ii) Program to demonstrate dereferencing operator.
24. Program to demonstrate passing i) an array to a lunction ii) arrays of pointers.
25. Program to demonstrate i) pointer to array ii) Dynamic Memory Allocation
functions.
26. Program to demonstrate Structures.
27. Program to demonstrate Nesting of Slructures.
28. Program to demonstrate i) array ofstructures ii) arrays within structures.
29. Program to demonstrate i) LJnion ii) Enumerated data types
30. Program to demonstrate basic text-llle l/0 operations.

wi.--{14

You might also like