What is Software? List various types of Software.
[3 marks]Define following terms: 1. Compiler 2. Runtime Error 3. Dynamic Memory Allocation 4. Recursion
[4 marks]Write an algorithm and draw the flowchart to calculate sum of digits of a given number N.
[7 marks]Explain the basic structure of a Cprogram with an example.
[3 marks]Evaluate given Cprogramming Expressions : 1. Ans = 10 + 4 * 3 / 2; 2. Ans = while(1); 3. Ans = 3 * 2 > 3 + 1; 4. Ans = (2 + 4) > 3 && 2 < 4;
[4 marks]Write a Cprogram to print the following pattern as output: A B C D E F G H I J
[7 marks]Write a Cprogram that takes three coefficients (a, b and c) of a quadratic equation ; (a.x2 + b.x + c) as input and compute all possible roots and print them with appropriate messages.
[7 marks]Differentiate while loop and do..while loop with example.
[3 marks]What is type conversion? Explain two types of conversion with examples.
[4 marks]Write a Cprogram which takes marks (between 0 to 100) of a student for Nsubjects. It should print grade of a student based on Percentage of Student's marks . "A" for >=85%, "B" between >=70% and <85%, "C" between >=50% and <70%, "PASS" between >=35% and <50%, "FAIL", if any one subject marks are <35.1
[7 marks]What is function? How Call by value and Call by reference passes the argument in function.
[3 marks]What are the steps in writing a recursive function in a program?
[4 marks]Write a program in Cto calculate the power of any number using recursion.
[7 marks]What is string ? How to declare string in C?
[3 marks]Explain significance of following string functions with example. 1. strcat() 2. strlen() 3. strcpy() 4. strcmp()
[4 marks]Write a Cprogram ,that reads a statement from user and prints the frequency of each of the distinct character from a-z.
[7 marks]Compare Array, Structure and Union.
[3 marks]Define Union. Describe how to declare, initialize and access members of Union with a programming example.
[4 marks]Write a Cprogram which takes two NxN matrices and performs matrix multiplication.
[7 marks]What is a pointer? What are the advantages of using pointer?
[3 marks]Explain need of Dynamic Memory allocation. Compare malloc(), calloc() and realloc() functions.
[4 marks]Write a Cprogram to find the sum and mean of all elements in an array using pointer.
[7 marks]What is File Pointer? What is significance of File Pointer?
[3 marks]Explain signification of following functions in file operations. 1. fseek() 2. ftell() 3. open() 4. fread()
[4 marks]Write a Cprogram to read ID and marks of n number of students from user and store them in a file.
[7 marks]