Write an algorithm to check whether the entered number is Even or Odd.
[3 marks]Describe various symbols used for preparing flow chart.
[4 marks]Explain different type of operators used in c language with their precedence and associativity.
[7 marks]Differentiate: Exit controlled Loop and Entry controlled Loop
[3 marks]Explain:
[4 marks]break statement
[ marks]continue statement
[ marks]Write a Cprogram to find factorial of a number.
[7 marks]Construct a Cprogram to swap the values of two integers with use of only two variables.
[7 marks]Demonstrate the use of conditional operator statement with an example.
[3 marks]Explain the structure of switch case statement.
[4 marks]Write a program to print the triangle shown below.1
[7 marks]Write a program to check whether entered character is vowel or not?
[3 marks]Explain getch(), getchar(), gets(), puts() .
[4 marks]Write a program to add all the elements of an array.
[7 marks]What is structure? Explain with example how to declare a structure and how to initialize it.
[3 marks]Explain following string manipulation function. strcat( ), strcpy( ) ,strcmp( ) and strlen( )1
[4 marks]Define a Structures which contains details of a Cricketer: • Name of Player: • Team name: • Total run scored: • Batting average:
[7 marks]Debug the following codes and show the output for this: For ( i=0 ; i<=50 ; i++ ); { printf( “\n %d” , i ) } *consider header files and declaration of variable is done.
[3 marks]Summarize the methods for initialization of One-Dimensional array.
[4 marks]Construct a Cprogram to add 3X3 matrix.
[7 marks]Differentiate between structure and union.
[3 marks]Explain fopen() and its mode with example.
[4 marks]Briefly explain any two file handling functions with an example.
[7 marks]Write True / False against following statements: 1) Pointer is a variable which holds address of location where value of other variable is stored. 2) Pointer holds the address in form of float or integer. 3) The address of a variable can be stored in two or more pointers.
[3 marks]Write a Cprogram to copy content of one file to other with the help of file handling functions.
[4 marks]Develope a program in Cto check the entered number is prime or not by creating a user-defined function named check_prime().
[7 marks]