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.
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:
Post a Comment