C Assignment
C Assignment
ASSIGNMENT – II
START DATE: 24.10.24 END DATE: 7.11.24
2 Marks
1. What is Computer? List any four Applications of computer
2. What is Hardware? Mention any two input and output devices of computer
3. What is the difference between = and == operator.
4. What is a comment? explain its types
5. What is ternary operator? Give example
6. Write binary equivalent of 45 and decimal equivalent of 111001101
7. List the sections of c program structure.
8. What is Array? Write syntax of declaring single dimensional Array
9. What is pointer? Name the operators of pointers.
10. What is structure? How is structure different from UNION?
11. What is the difference between getch() and getche()?
12. State two differences between scanf() and gets()
5 Marks
1. What is Algorithm? Explain characteristics of Algorithm
2. What is tokens? Explain the types of tokens
3. What is identifier? Name the conventions for declaring identifiers
4. Design algorithm and flowchart to print maximum of two numbers.
5. Explain primitive data types of c
6. Write a C program to find circumference of circle ( given the formula circumference=
4πR3
7. Explain features of C
10 MARKS
1. What is flowchart? Explain symbols of flowchart
2. Explain structure of C program and illustrate with a example
3. What is data Type? Explain classification of data types
4. What is operator? Explain types of operators
5. Explain formatted and unformatted input/out statements with syntax and examples
6.