About Me

My photo
Vijayapur, Karnataka, India
I am interested in Teaching.

Friday 17 May 2019

CPS II Sem 'A' Division: Syllabus for 2nd IA

C-operators:
Arithmetic
Relational
Logical
Increment/decrement
Conditional
Bitwise
Special operators(comma, sizeof())

Typecast (type conversion)
Implicit and Explicit

Decision making (conditional) statements:
Simple if, if else, nested if, else if ladder
switch

Loop statements:
while
do while
for

Jump statements:
break
continue
goto
exit
return

Array:
Definition and examples.

Programs:
1 to n numbers
PALINDROME or NOT
sum and average of 1 to n numbers
factorial of n
first n fibonacci numbers
GCD and LCM of two numbers using Euclid's algorithm
prime number

Good luck ...All the best....

No comments:

GCD of two numbers and its application...

The greatest common divisor (gcd) of two numbers is the largest positive integer that divides both numbers without leaving a remainder. The ...