You are on page 1of 3

S.

Assignment WEEK DATE REMARKS


No.

1. A. Input numbers 1 06/09


and print sum
and average
B. Input length and
breadth and print
area & perimeter

2. A. Input in m & 2 06/09


convert it to Km
and cm
B. Input numbers &
swap
C. Input 2-digit
number & print
sum of digits
D. escape sequences
3. A. Find Greater of 3 13/09
two numbers
using ternary
operators
B. Use macro to
initialise PI and
print area &
circumference of
Circle
C. Use <math.h>
(i)sine
(ii)power
function
D. Increment &
Decrement Operators
4. A. Reverse the numbers 4 27/09
B. Color code
using Switch
Case
C. Print pattern given
D. Input amount &
apply disc. on Bill
using If-Else
E. Check for Alphabet,
Digit, Special Character

5. A. Binary Conversion 5 04/10


B. Armstrong Number
C. Pyramid Pattern
D. Pointer Operations
6 A. Array of 10 nos. as 6 11/10
input and print the sum
and average of these
nos.
B. Array as an input
and perform :
(I) Search an element
using binary search
(II) Insert an element in
the middle of the array
C. Array as input from
the user and delete the
duplicate elements
from the array.
D. Print the elements of
an array using a pointer
variable.
7 A. Function which 7 08/11
accepts an array as an
argument and reverses
the elements present in
it.
B. Function to find LCM
of two numbers given
as an input by the user.
D. Write separate
functions to perform the
following operations on
strings:
(I) Check if a string
entered by the user is
palindrome or not
(II) Compare two
strings without using
strcmp
(III) Convert lowercase
string to uppercase

You might also like