About Me

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

Friday 2 March 2018

Assignment-I Test on Programming in C and Data Structures

Assignment Test-I on "PCD"

1. Discuss the 'Structure of C program" with programming example.

2. What are C tokens?list and discuss in brief.

3. What are I/O functions? Discuss in brief with syntax and examples.

4. Discuss any five C operators with examples.

5. What are decision making statements? List and discuss with syntax and examples.
    (simple if, if else, nested if, else if ladder, switch)


Write C programs for following.
To find simple interest.
To find area and perimeter of rectangle.
To find area of triangle by reading three sides of it.
To find largest of 2 numbers.
To find largest of 3 numbers.
To find roots of quadratic equation.
To check the number n for Palindrome or Not palindrome.
To check, whether the year is leap year or not leap year.
To sort n numbers using bubble sort technique.





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 ...