About this question paper
This is the previous year question paper of Mathematics Programming in C (MA, MSc) (Semester 3) conducted by Pt. Ravishankar Shukla University, Raipur (Jan 2021). Practising it helps you understand the exam pattern, important questions and marks distribution of your university.
How to prepare with this paper
- पूरा पेपर एक बार पढ़ें और जो प्रश्न आपको आते हैं उन पर निशान लगाएँ।
- देखें कि हर प्रश्न सिलेबस की किस इकाई से है — जो इकाइयाँ बार-बार आती हैं, वही सबसे ज़रूरी हैं।
- बिना नोट्स देखे 3 घंटे में पेपर हल करें, फिर अपनी किताब से उत्तर मिलाएँ।
- इसी विषय के दूसरे वर्षों के पेपर भी डाउनलोड करें और दोहराए गए प्रश्न ढूँढें।
Questions in this paper (text version)
यह टेक्स्ट मूल PDF से लिया गया है ताकि आप इसे जल्दी पढ़ और खोज सकें। सूत्र, चित्र और हिंदी टेक्स्ट सही न दिखें तो ऊपर दी गई PDF देखें।
MATHEMATICS
Paper Fifth
Time : Three Hours ] [ Maximum Marks : 70
Note : Attempt all Sections as directed.
(Objective/Multiple Choice Questions)
Note : Attempt all questions.
Choose the correct answer :
1. A preprocessor is a program :
(a) That processes its input data to produce output that is
used as input to another program
(b) That is nothing but a loader
(c) That links various source files
(a) char
(b) int
(c) float
(d) double
4. Enum is :
(a) Fundamental data type
(b) Preprocessor
(c) Derived data type
(d) User-defined data type
5. Bitwise operators can operate upon :
(a) double and chars
(b) floats and doubles
(c) ints and floats
(d) ints and chars
6. What is the size of the double data type ?
(a) 2 bytes
(b) 8 bytes
(c) 16 bytes
(d) 4 bytes
(a) The smallest individual units of C program
8. C programs are converted into machine language with the
help of :
(a) An Editor
9. What is right way to Initialization array ?
(a) int num [6] = {4, 5, 8, 11, 45, 15}
10. What is the work of break keyword ?
(a) Halt execution of program
11. The ......... memory allocation function modifies the previous
allocated space.
(a) calloc( )
(b) free( )
(c) malloc( )
(d) realloc( )
12. Recursive functions are executed in a :
(a) First-in/first-out order
(b) Load balancing
(c) Parallel fashion
14. For 16-bit compiler allowable range for integer constants
15. Which of the following shows the correct hierarchy of
(a) P is pointer to a 7 elements integer array
17. Which loop is faster in C Language ?
(a) for
(b) while
18. Identify wrong C keywords below :
(a) signed, void, default, go to
(b) short, unsigned, continue, for
(c) union, const, var, float
(d) sizeof, volatile, do, if
locations.
(a) Sequential
(b) Random
(c) Sequential and Random
20. What is an array ?
(a) An array is a collection of variables that are of the
dissimilar data type.
(b) An array is a collection of variables that are of the
same data type.
(c) An array is not a collection of variables that are of the
same data type.
(Very Short Answer Type Questions)
Note : Attempt all questions.
2. What are identifiers ?
3. Write different kinds of integer constants.
4. What do you mean by logical operators ?
5. What is a conditional operator ?
6. How to initialize arrays in C language ?
(Short Answer Type Questions)
Note : Attempt all questions.
1. Write a note on anatomy of a C function.
2. Explain fundamental data types with exmple.
3. Explain the working structure of do---while loop.
4. Explain increment and decrement operators.
5. Write a C program to find largest number among three
numbers.
6. Explain malloc( ) and calloc( ) functions.
(Long Answer Type Questions)
Note : Attempt all questions.
find the area of circle using macro with argument.
Explain typedef and write a program to illustrate the use of
typedef declaration in a program.
2. Explain if-else-if ladder with suitable example.
Write a program to calculate factorial of given numbers
using recursion.
3. Explain Operators and Expressions with suitable example.
In a company if an employee is paid as under :
If his basic salary is less than ` 1,500, then HRA = 10% of
basic salary and DA = 90% of basic salary. If his salary is
either equal to or above ` 1,500, then HRA = ` 500 and
through the keyboard, write a program to find his gross
salary.
4. Write a C program to find multiplication to two matrices.
language.