We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2
IP IMPORTANT QUESTIONS FOR MID - I
S.NO UNIT – I IMPORTANT SHORT ANSWER QUESTIONS MARKS
1 Evaluate A&B, A|B, A^B when A=8, B=4. 2 2 Evaluate A<<2 and A>>2 where A is 3. 2 3 Organize your thoughts to present a structured overview of algorithm 2 characteristics. 4 Explain Linker and Loader in C. 2 5 Explain any 5 assignment operators in detail with examples. 2 6 Explain compiler and compilation in C 2 S.NO UNIT – II IMPORTANT SHORT ANSWER QUESTIONS MARKS 7 Explain the difference between the if-else and switch statement. 2 8 Write a C program to print the Fibonacci series up to a given number. 2 9 What is the difference between a while loop and a do…while loop? 2 10 Draw do while loop execution flow chart. 2 11 Explain break and continue statements in C with examples. 12 Write a C program to read a number to find whether the number is 2 even or odd. S.NO UNIT – III IMPORTANT SHORT ANSWER QUESTIONS MARKS 13 Explain accessing elements of the array with examples. 2 14 How are one- and two-dimensional subscripted variables 2 (arrays) stored? 15 How one- and two-dimensional subscripted variables (arrays) are 2 declared?
S.NO UNIT – I IMPORTANT LONG ANSWER QUESTIONS MARKS
1 Use conditional operators in C and write a program to determine the 12 largest value among three positive integer numbers. 2 Write the importance of precedence and associativity. Write the table 12 for operator precedence. 3 Explain Primitive Data Types in C. 12 4 Evaluate the following expression. 12 X=A/B*C-B+A*D/3 Y=A+B*C+(D*E)+F*G Where A=1, B=2, C=3, D=4, E=5, F=6, G=7 5 Explain formatted I/O in C in detail with examples. 12 6 What is meant by type conversion? Why is necessary? Explain 12 implicit and explicit type conversion with examples. S.NO UNIT – II IMPORTANT LONG ANSWER QUESTIONS MARKS 7 Select an appropriate method and write a C program that validates 12 whether a given integer is a palindrome. 8 Differentiate between entry-control and exit-control loops with 12 examples. 9 Write a C program to simulate a calculator using a switch case. 10 Write a program using a do-while loop to read the numbers until -1 12 and also count the positive, negative and zeros encountered by the users. 11 Write a C program to print. and explain the looping concepts used in 12 it. 1 12 123 1234 12345
12 Describe various control statements in C. 12
S.NO UNIT – III IMPORTANT LONG ANSWER QUESTIONS MARKS 13 Write a C program to perform the addition of two matrices. 6 14 Develop a C program to perform matrix multiplication. 6 15 Develop a C program to count and sum even numbers in an array. 6 16 Solve the problem of finding the largest element in an array using a C 6 program.