UNIT WISE IMPORTANT QUESTIONS Subject -: CCP UNIT -1 1. Draw the Functional Block diagram of a Digital Computer and discuss its Component in brief (I,2008), (I,2009), (I,2010) 2. Draw the flowchart of finding largest of three positive numbers. (I,2008) 3. What are the various input and output devices available in computer. 4. Write short note on structured programming and flow charts (I,2008) 5. Explain the difference between the flowchart and algorithm with example. (II,2009) 6. Draw a Flowchart to sort three integers (I,2009) 7. What is the difference in GUI and CUI interface? Give on example of each to explain your answer. (I,2010) 8. What is an Algorithm? Discuss basic characteristics of algorithm. (I,2010) 9. What do you mean by flow chart. Explain it with Example 10. What do you mean by Operating system. Explain the various types of Operating System. What are the various services of the operating system. 11. Write the short note on a. Compiler b. Interpreter c. Linker d. Loader e. Assembler 14. What is the difference between the multiprogramming and Multitasking. UNIT -2 1. What do you mean by data types in C. What are the different data types available in C ((I,2008)), (II,2009) 2. What do you mean by C tokens. Explain. 3. Explain the basic structure of C program. 4. What are the different storage classes in C. Explain each of them with Example 5. How many types of Operators available in C. Explain each of them with Example. 6. Write a program in C which inputs ten integers and print their average. (I,2008) 7. What is the difference between the initialization and assignment of a variable (I,2009) 8. Explain the difference between the associatively and Precedence of the operator with example. (II,2009) 9. Write a Program to swap two numbers using third variable and without using third variable. 10. What do you mean by typecasting. How many types of typecasting are there. Explain it with Example. 11. Write a Program to display the Division based on the percentage entered by the user. 12. Write a Program to find a number its even or Odd. UNIT -3 1. What do you mean by conditional statements in C. Explain it with Example. What is the difference between Switch and if else statement. 2. What do you mean by looping statement. Explain it with Example. Explain the difference between while and do while loop. 3. What is the difference between break and continue statement. Explain it with Example 4. Write a program to evaluate the addition, subtraction, multiplication and division functions based on the input given by the user (by switch statement) 5. Write a program to find whether the given number is prime or not 6. Write a program to find the factorial of a given number using recursion and without using recursion 7. Write a program to calculate the sum of the following series (I,2008), (I,2009) S= 14 + 34+54+ ……..100 terms 8. Write a C program to compute the area of the triangle using a,b,c. (II,2009) 9. Write a C program to test whether the given year is leap year or not (II,2009) 10. Write a program in C to accept 10 integers and print them in reverse order i.e 23 should be printed as 32. (II,2009) 11. Write a Program in C to receive an integer and find its octal equivalent. (II,2009) 12. Write a C program to generate the following pattern (II,2009) * ** *** **** ***** 13. A five digit positive number is entered through the keyboard. Writes a C function to calculate sum of digit of the five digit number using recursion and without using recursion (II,2009) 14. Write a C Program to add first seven terms of the following series (II,2009) 1/2 ! +2/2 ! + 3/2 ! 15. Write a C Recursive and non recursive program to calculate the factorial of a given number (I,2009), (I,2010) 16. Write a C Program to read 10 integers and print their average, minimum and maximum (I,2009) 17. Write a C program to Print the Fibonacci series (I,2009), (I,2010) 18. What are the functions. What are the advantages of using multiple functions in a program. Explain the difference between call by value and call by reference with example (I,2010) 19. What do you mean by recursion. Explain it with Example. 20. Write a Program to sum the digits entered by user i.e 345 should be summed as 3+4+5= 12 21. Write a program to find Greatest of three numbers. UNIT -4 1. Write a program in C that accepts N X N matrix as input and prints transpose of this matrix. (I,2008) 2. What is the difference between structures and Arrays. Explain it with example. 3. What do you mean by arrays. Explain it with suitable Example. 4. What do you mean by pointers. What is the use of & and * operators. Explain it with Example. Also discuss the pointer Arithmetic. 5. What do you mean by dynamic memory allocation. Explain its various functions with suitable example . (I,2008), (II,2009), (I,2009) 6. Write a program in C to multiply two matrices of M X N dimension. (I,2008), (I,2009), (I,2010) 7. Write a C program to Swap the values of two variables. Making use of pointers. (II,2009), (I,2010) 8. Write your own function to implement the following standard library string function (1) strlen() (2) strcpy (3) strcat (4) strrev (II,2009) 9. Write short note on creation of the linked list. (II,2009) 10. What do you mean by Structures. What is the purpose of the structures in C. Explain it with the help of the suitable example. (I,2009) 11. What are the differences between stack and list. Explain how an element can be deleted from a stack and list. (I,2010) 12. What is the difference between the static memory allocation and Dynamic memory Allocation. Explain it with Example. 13. What do you mean by stacks and Queues. Explain it with proper example 14. Write a program to find whether the given string is palindrome or not 15. Write a Program for Matrix Addition 16. Write a program to convert the lowercase string into the upper case UNIT -5 1. What is sorting . Explain any one sorting technique with Example. (I,2008) 2. What do you mean by searching. Explain any one searching technique with Example. 3. Write a program in C that takes ten integers from a file and write square of these integers into another file. (I,2008) 4. What do you mean by macros. How the macros are defined and called in C. Explain with example (I,2008) 5. Write a C Program to Copy the contents of one file to another (II,2009) 6. What do you mean by C preprocessor. Give example of any two preprocessor directive. (I,2010) 7. Write a C program to arrange given n strings in lexicographical order 8. What is the difference in searching and sorting . Write an algorithm to sort a list containing ten numbers. (I,2010)