Assignment: 1 (Unit-1 Flowchart and Algorithm) 1. Explain: Flowchart with its symbols. 2. Explain: Types of flowchart with example. 3. Explain: Algorithm with example. 4. Draw a flowchart to find the area and circumference of circle. 5. Draw a flowchart to find maximum number out of three numbers. 6. Draw a flowchart to print odd numbers between 1 to 10 numbers. 7. Draw a flowchart to add 1 to n numbers. 8. Write an algorithm to find the area of circle. 9. Write an algorithm to find minimum number out of two numbers. 10. Write an algorithm to find the sum of even numbers between 1 to 100.
Assignment: 2 (Unit-2 Basics of C) 1. Draw a basic structure of C program and explain it. 2. Explain Token with types. 3. List the rules of keywords and identifiers. 4. Explain variable with its declaration and initializations. 5. Explain datatype with its types. 6. List the basic datatype with its size and range. 7. Explain user defined datatype with example. 8. Explain Constants with example. 9. Explain storage class of C. 10. List the advantages of C. 11. List the features of C. 12. Convert the following expression into its equivalent C expression. (1) y = ax 2 +bx+c m1+m2 (2) y = 1 m1m2 (3) y = s(s a)(s b)(s c) (4) y = a 2 + b 2
Assignment: 3 (Unit 3 Operators and Expression) 1. Define operators and its types. 2. Explain Arithmetic operator with example. 3. Explain Logical operator with example. 4. Explain Relational operator with example. 5. Explain Conditional operator with example. 6. Explain Assignment operator with example. 7. Explain Bitwise operator with types and example. 8. Explain Sizeof operator with example. 9. Explain postfix and prefix increment operator with example. 10. Explain postfix and prefix decrement operator with example. 11. Give the difference between prefix and postfix increment (or decrement) operator. 12. Evaluate the following expressions: A. 5*3+6/2*5-7%3 B. 2-9*3+6/2*3+5 C. 5*9+(12+6/3*5)/4+3%3 D. 5+6*3+3-(5*6+(9+5)*4) 13. Give the output of following code. (1) (2) (3) int a,b; int a=15,b; int a=11; a=10; b=--a; printf( %d\n%d,a++,++a); b=a++; printf( a=%d,a); printf( a=%d,a); printf( b=%d,b); printf( b=%d,b);
Assignment: 4 (Unit- 4 Decision Statement) 1. Explain condition statement with types. 2. Explain simple if statement with syntax, flowchart and example. 3. Explain if - else statement with syntax, flowchart and example. 4. Explain nested if - else statement with syntax, flowchart and example. 5. Explain if else-if ladder statement with syntax, flowchart and example. 6. Explain switch case statement with syntax, flowchart and example. 7. Explain goto statement with example. 8. Explain the use of break and goto statement.
Assignment: 5 (Unit-5 Loop Control Statement) 1. Explain Looping statement with types. 2. Explain while loop statement with syntax, flowchart and example. 3. Explain do-while statement with syntax, flowchart and example. 4. Explain for loop statement with syntax, flowchart and example. 5. Give the difference between entry controlled loop (pre-test loop) and exit controlled loop (post-test loop). 6. Explain the features of for loop with example. 7. Explain the use of continue statement with example.
Assignment: 6 (Unit-6 Introduction of Array) 1. Explain Array with types and declaration of it. 2. List the characteristics of Array. 3. Explain the types of initialization of array. 4. Write a program to enter array elements and display it. 5. Write a program to add 5 elements of array. 6. Write a program to find maximum number out of 10 array elements. 7. Write a program to sort the array elements in ascending order.