Programming in C

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

UNIT I INTRODUCTION TO C PROGRAMMING Period
Introduction C – Features of C – Structure of C program – Compiling – Link & run a C
program – C character set – Tokens – Constants – Key words – Identifiers and
Variables – Data types and storage – Data type Qualifiers – Declaration of Variables –
Assigning values to variables.
3
Practical Exercises:
Ex.No Name of the Experiment Period
1 Write and Execute a C program to implement Ohm’s Law. 3
2
Write and Execute a C program to calculate total resistance of 3 resistors
connected in series and in parallel.
3
Theory Portion :
UNIT II C LANGUAGE BASICS Period
DATA TYPES IN C – C Operators – Operators and Associativity – Arithmetic Expression
– Evaluation of Expressions – Type Cast Operators – I/O Statements – scanf and printf.
3
Practical Exercises:
3
Write and Execute a C program to calculate Power using Voltage and
Current, Voltage and Resistance, Current and Resistance.
3
4
Write and Execute a C Program to calculate sum and average of 5
numbers.
3
Theory Portion :
UNIT III STATEMENTS
Branching: Introduction – Simple if statement – if–else statement – Switch statement
– goto statement – Simple programs.
3

5 Write and Execute a C program to Check Largest of Three Numbers. 3
6
Write and Execute a C Program to calculate total capacitance of 3
capacitors connected in series and in parallel using switch case.
3
Theory Portion :
UNIT IV ARRAYS and STRINGS Period
Array: Definition – Declaration – Initialization of one dimension array.
Strings: Introduction – Declaring and Initializing string variables – Reading strings –
Writing strings – String handling functions – strlen() , strcpy() and strrev().
3
Practical Exercises:
7 Write and Execute a C program to accept 10 numbers and print them. 3
8
Write and Execute a C Program to perform string functions strlen, strcmp
and strrev.
3
Theory Portion :
UNIT V FUNCTIONS AND STRUCTURES Period
Function Definition: Built-in functions – Math Function – pow() – sqrt() – min() – User
defined Function: Declaration – Defining and function call.
Structures: Definition – Initialization (Concepts only).
3
Practical Exercises:
9
Write and Execute a C program to find power and square root using Math
Functions.

Reviews

There are no reviews yet.

Be the first to review “Programming in C”

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

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