Classes For BCA & MCA (IGNOU) MCS-011 Sample Set-A 1. Write and explain the action of ‘WHILE’ statement. Develop a program to compute the average of every 3rd integer lying between 1 and 100. 2. Write a program in 'C' to compute the series : (a) (x) + (x + n) + (x + n2) + (x + n3) + for a total of m terms. Where m, n and x are to be accepted by the user. (b) 1+5+11+17........n 3. What is an assignment operator? Give example of its usage. 4. What is a pointer to an array? Differentiate it from an array of pointers. Write a program using pointer to array to calculate the sum of n given numbers. 5. Implement Binary search in 'C' language. 6. How are arrays processed in ‘C’? Illustrate with the help of 2-D arrays as examples. 7. Give syntax of gets ( ) and getch ( ) ? Also give examples of usage of scanf ( ) and Printf(). 8. Is said that 'C' is a middle level language. Mention those features of 'C' which enables this description. Give a short note on the compilation process in 'C'. 9. Define 'pointers' in C. How is a Pointer variable declared? Give examples and explain. 10. What is an algorithm? Explain basic features of an algorithm. 11. Write a C program to check whether a given string is a palindrome or not. 12. Write a program to find out whether the given character is lower case or not. 13. Write a program in 'C' to check whether the given year is leap or not. Also explain the logic of the program. 14. Write a “C” program to find whether a given five digits number is a palindrome. Sample Set-B 1. What is syntax - error? Give an example of syntax error in a C - program. 2. Explain different arithmetical and logical operators available in C, with the help of examples. 3. Explain the use of malloc function in C programming. 4. What is an array? Write a C program to add two matrices of 3 x 3 using arrays. 5. What is a string? Write a function in C for string concatenation. Without the use of inbuilt string function. 6. What is a structure? Explain how a structure is declared in C. Write a program in C using structure to store records of students in a class of 20 students. 7. Write a C program to demonstrate the use of switch - case statement. 8. What is recursion ? Write a recursive C program to find the factorial of a given www.pixelesindia.com Classes For BCA & MCA (IGNOU) a. number. 9. Write a macro to demonstrate : #define, #if, #else preprocessor commands. 10. Write a program in 'C' to find 12 +32+ 52+ 72 +92+........ +N2 11. Write a macro for the following : a. to find largest number among 3 given numbers. b. to find cube of a given number. 12. Develop an algorithm, draw the corresponding flow chart and write a program in 'C' to print the sum of the digits of a three digit number. 13. Write a program that does not use the inbuilt string function to perform the following : i. To compare two strings ii. To concatenate two strings 14. Summarize the purpose of the format strings (like %s, %d, %c) that are used within the printf function, with an example for each. Sample Set-C MCS-011(Sem-2) 1. Write and explain the action of ‘WHILE’ statement. Develop a program to compute the average of every 3rd integer lying between 1 and 100. 2. Write a program in 'C' to compute the series : 3. What is an assignment operator and bitwise operator? Give example of its usage. 4. What is a pointer to an array? Differentiate it from an array of pointers. Write a program using pointer to array to calculate the sum of n given numbers. 5. Implement Binary search in 'C' language. 6. How are arrays processed in ‘C’? Write a program to find the sum of two matrix using pointers. 7. Is said that 'C' is a middle level language. Mention those features of 'C' which enables this description. Give a short note on the compilation process in 'C'. 8. What are basic data types in C? Explain the need of different numeric data types with example of each. 9. Write a program to find Maximum and minimum Numbers from an array of 10 elements. 10.Write a program to sort an array in ascending order.(Binary or Insertion Sort). 11.Write a program to find roots of quadratic equation. 12.Write a C program to check whether a given string is a palindrome or not. www.pixelesindia.com Classes For BCA & MCA (IGNOU) 13.What is macro? Explain Differences between Macro and Function. 14.Explain Storage Classes in ‘C’ (auto, static, register, extern). 15.Write a program to demonstrate a structure passes as an argument of Function. 16.Write the usage of the following data types(Abstract Data Type), with an example for each: i. Enumerated data type. ii. Union iii. Struct 17.Write program to print following format:(a) C CO COB COBO COBOL COBO COB CO C (b) ***** www.pixelesindia.com Classes For BCA & MCA (IGNOU) Written in plain English By Experienced Faculties Throughout Study Solved Question Papers Sample Question Papers MRP: Rs. 95/For Sure Success List of Available GUIDE Books: ECO-01 BCS-011 BCS-012 ECO-02 MCS-011 MCS-012 MCS-013 MCS-014 MCS-023 MCS-021 BCS-031 www.pixelesindia.com Classes For BCA & MCA (IGNOU) Our Branches: Uttam Nagar:- WZ-B7 (Basement), Old Pankha Road (Opp. Primary School), Near East Metro Station, Uttam Nagar, New Delhi-59 Nangloi:-Plot. No-19, Ext- 2A, opp Banke Bihari, Talab wali Road, Nangloi, Delhi-41 Ph: 9213327975, 9716339580 8750321695 [email protected], Web: www.pixelesindia.com www.pixelesindia.com
© Copyright 2026 Paperzz