Programming in C  (Eng)

220 Original price was: ₹220.154Current price is: ₹154.
Categories: ,

1040234540

                                             Programming in C                                                    Practicum
Unit I BASICS OF ‘C’ LANGUAGE AND OPERATORS
Character set in ‘C’ – Key words and Identifiers – Data types –
Variables: Declaration, Assigning values to variables – Input and
Output functions [printf() and scanf()]– C Operators: Arithmetic,
Logical, Assignment, Relational, Increment/Decrement, Conditional
(ternary), Bitwise and Special operators

Unit II BRANCHING AND LOOPING STATEMENTS
Conditional Branching Statements: Simple if statement, if-else and
if-else-if ladder statement – Switch Case statement
Unconditional Branching Statements: goto, break & continue
statement-Entry Controlled Loops (while loop and for loop) – Exit
Controlled Loops (do-while loop)

Unit III ARRAYS AND STRINGS
Arrays: Definition and Need of array – syntax, declaration and
initialization of One Dimensional (1D), Two Dimensional (2D) arrays
Strings: Definition of string – syntax, declaration and initialization of
string variables, String handling functions: strlen(),
strcpy(),strrev(),strcat(), strcmp() – accessing strings using gets() and
puts() functions

Unit IV POINTER AND STRUCTURE
Pointer: Definition of a pointer – Pointer variable declaration and
initialization – applications of pointers
Structure: Basic template of a structure (syntax) – Structure Variable
declaration: within Structure template, after Structure template –Array
within structure and Array of structure (basic concepts only) –
Difference between array and structure

Unit V FUNCTIONS AND FILE MANAGEMENT USING ‘C’
Functions: Inbuilt functions – User Defined functions: Function
Prototype, Function Definition and Function Call – Call by Value method
– Call by Reference method
File management: Opening, Reading, Writing, and closing a file using
C programs

 

Ex.No Study Experiment Hours

1
To study the general structure of a ‘C’ program
Suggested Links:
https://www.geeksforgeeks.org/structure-of-c-program/

https://data-flair.training/blogs/basic-structure-of-c-
program/

1

2
To study the execution process of a ‘C’ program
Suggested Links:

https://www.sarthaks.com/2319663/explain-program-
execution-process-in-c

https://www.geeksforgeeks.org/compiling-a-c-program-
behind-the-scenes/

1

3
To study the basics of algorithm and flowchart
Suggested Links:

https://www.edrawsoft.com/explain-algorithm-
flowchart.html

https://www.tutorialspoint.com/basics_of_computer_scienc
e/basics_of_computer_science_algorithm_flowchart.htm

1

4
To study the commonly used header files in ‘C’
programming
Suggested Links:

https://www.geeksforgeeks.org/header-files-in-c-cpp-and-
its-uses/

Header Files in C

1

5
To study various ‘C’ IDE/compilers (Turbo C / gcc / Online
compilers)
Suggested Links:

https://www.javatpoint.com/best-compiler-for-c-
programming

https://www.geeksforgeeks.org/best-ides-for-c-c-plus-plus-
developers/

Ex.No Name of the Experiment Hours
1
Write and Execute a C Program to convert a given
temperature in degree Celsius to Fahrenheit

45

2 Write and Execute a C program to implement Ohm’s law
3
Write and Execute a C program to calculate the equivalent
resistance of THREE resistors connected in series
4
Write and Execute a C program to calculate the equivalent
capacitance of THREE capacitors connected in series
5
Write and Execute a C Program to find whether the given
integer is even or odd
6
Write and Execute a C Program to find whether the given
number is positive or negative or zero
7
Write and Execute a C Program to perform various
arithmetic operations using switch-case statement
8
Write and Execute a C Program to find the sum of first ten
natural numbers using “while” loop
9
Write and Execute a C Program to print a pyramid star
pattern (an equilateral triangle) using “for” loop
10 Write and Execute a C program to find the sum of elements
in an 1D array
11 Write and Execute a C program to check whether the given
string is a palindrome using string handling functions
12
Write and Execute a C Program to store a simple 2D array
of four elements (2×2) and print each element using “for”
loop
13 Write and Execute a C program to calculate the resonant
frequency of an RLC series circuit using sqrt() function
14
Write and Execute a C program to prepare the total mark of
each student by reading their “Name, Reg.No, Marks for
four subjects” (for a class of five students) using array of
structure
15 Write and Execute a C program to find the factorial of a
given number “N” using an user-defined function

THEORY 15
STUDY EXPERIMENT 5
PRACTICAL 45
REVISION 10
TOTAL HOURS 75

Reviews

There are no reviews yet.

Be the first to review “ Programming in C  (Eng)”

Your email address will not be published. Required fields are marked *

220 Original price was: ₹220.154Current price is: ₹154.