1) Define a flowchart. State and name the symbols used to draw a flowchart. 2) Write an algorithm to check whether the given number is odd or even 3) Is the following assignment possible in C? why? char a[20]; a=”hello”;
[2 marks]Do as Directed: 1) Define translator. Give its types. 2) What do you mean by unary operators? 3) The assignment statement a+b=c is a valid expression. (true/false)? Justify. 4) Avariable can be made constant by declaring it with the qualifier _______ at the time of initialization. 5) The __________ statement is used to transfer control to a specified label 6) Which of the following is not a valid Ckeyword?
[7 marks]case b)constant c) char d) continue 7) The elements of an array are stored in ________ memory locations.
[ marks]List down the categories of operators available in Clanguage. Explain any 4 in detail.
[7 marks]Explain in detail the process of compilation and execution of a ‘C’ program. Draw an appropriate diagram and also mention the types of files used and generated.
[7 marks]Write a note on tokens available in C.
[7 marks]Compare the use of switch statement with the use of nested if……else statement. Which is more convenient? Why? Explain the importance of break in Switch statement.
[7 marks]What do you mean by user-defined functions? Explain function prototype, declaration and function body with proper examples. Also give advantages of using UDF.
[7 marks]Write a note on type conversion in expression giving suitable examples.
[7 marks]What do you mean by recursion in functions? Explain in detail. Write a program to generate Fibonacci series using function recursion.
[7 marks]Explain in detail storage classes available in Cprogramming language.
[7 marks]Define an array. How to declare and initialize one and two dimensional arrays. Write a Ccode to find average of first n natural numbers using array.
[7 marks]What is a string? How to store it in a ‘C’ program? Write a program to count the numbers of characters in a given string.1
[7 marks]Write an algorithm and draw the flowchart to find the maximum of three 0 numbers. Also write the Ccode for the same.
[7 marks]Explain 4 built in String functions with syntax, use and proper examples.
[7 marks]Write a program to print the following pattern If input=4 the output should be4
[7 marks]Write a short note on looping structures available in C
[7 marks]Write a program in c to find the factorial of a given number using recursion
[7 marks]