Exam Details
Subject | programming using - c | |
Paper | ||
Exam / Course | m.c.a.science | |
Department | ||
Organization | solapur university | |
Position | ||
Exam Date | 20, April, 2017 | |
City, State | maharashtra, solapur |
Question Paper
M.C.A. (Science) (Semester (CBCS) Examination, 2017
PROGRAMMING USING C
Day Date: Thursday, 20-04-2017 Max. Marks: 70
Time: 10.30 AM to 01.00 PM
Instruction Question No.1 and 2 are compulsory.
Attempt any 3 questions from Q. No. 3 to Q. No. 7.
Figures to the right indicate full marks.
Q.1 Choose correct alternatives: 10
The geometrical figure shown below in flow chart represents
Input/output
Terminator
Processing Connector
The words if, else, auto, float ect. have predefined meaning and users
can not use them as variables. These words are called
Constants Identifiers Data types Keywords
Diagrammatic or symbolic representation of algorithm is called as
Data flow diagram Entity Relationship Diagram
Class diagram Flow chart
Which operator has the lowest priority?
The type cast operator is
(type) Cast(
What is the output of following program?
Void main(
printf("%d",
Error 0 1 B A
Int
X is a not pointer X is a pointer to pointer
X is long pointer The declaration is invalid
The operator is operator.
Logical Arithmetic Relational Bitwise
Which header file should be included to use functions like malloc( and
calloc(
memory.h stdlib.h stdio.h dos.h
Page 1 of 2
SLR-K-08
10) An external variable is one
which resides in the memory till the end of execution of the program
which is globally accessible by all functions in the program
which is declared outside the body of all the functions
all of the these
State whether true or false. 04
The address of a variable is yield by the unary operator
The memory size of union is equal to the memory size of the highest
member variable.
The function ƒtell( returns long type value.
'register' is the default storage class of all the local variable.
Q.2 Write short notes on the following: 08
Algorithm
Increment and decrement operator
Answer the following: 06
Draw a flow chart to find sum of 1 10 numbers.
List out all the relational operators and its use.
Q.3 Answer the following:
Explain the variable data types with an example. 07
Write a program to get character from the user and convert the character
into uppercase and store it in a file "myfile.txt".
07
Q.4 Answer the following:
Explain any four string handling functions with example. 08
Write a program to calculate factorial of a number using recursion
function.
06
Q.5 Answer the following:
Explain dynamic memory allocations in detail. 08
Design an algorithm to find the maximum and minimum elements in an
array of 10 elements.
06
Q.6 Answer the following:
Compare in terms of their functions, the following pairs of statements- 08
while and do while
ii) break and continue
Write a program to find the number of and sum of all integers greater than
100 and less than 200 that are divisible by 8.
06
Q.7 Answer the following:
What is file? How would use functions fread( and fwrite( 08
Write a program that converts a decimal number into binary. 06
PROGRAMMING USING C
Day Date: Thursday, 20-04-2017 Max. Marks: 70
Time: 10.30 AM to 01.00 PM
Instruction Question No.1 and 2 are compulsory.
Attempt any 3 questions from Q. No. 3 to Q. No. 7.
Figures to the right indicate full marks.
Q.1 Choose correct alternatives: 10
The geometrical figure shown below in flow chart represents
Input/output
Terminator
Processing Connector
The words if, else, auto, float ect. have predefined meaning and users
can not use them as variables. These words are called
Constants Identifiers Data types Keywords
Diagrammatic or symbolic representation of algorithm is called as
Data flow diagram Entity Relationship Diagram
Class diagram Flow chart
Which operator has the lowest priority?
The type cast operator is
(type) Cast(
What is the output of following program?
Void main(
printf("%d",
Error 0 1 B A
Int
X is a not pointer X is a pointer to pointer
X is long pointer The declaration is invalid
The operator is operator.
Logical Arithmetic Relational Bitwise
Which header file should be included to use functions like malloc( and
calloc(
memory.h stdlib.h stdio.h dos.h
Page 1 of 2
SLR-K-08
10) An external variable is one
which resides in the memory till the end of execution of the program
which is globally accessible by all functions in the program
which is declared outside the body of all the functions
all of the these
State whether true or false. 04
The address of a variable is yield by the unary operator
The memory size of union is equal to the memory size of the highest
member variable.
The function ƒtell( returns long type value.
'register' is the default storage class of all the local variable.
Q.2 Write short notes on the following: 08
Algorithm
Increment and decrement operator
Answer the following: 06
Draw a flow chart to find sum of 1 10 numbers.
List out all the relational operators and its use.
Q.3 Answer the following:
Explain the variable data types with an example. 07
Write a program to get character from the user and convert the character
into uppercase and store it in a file "myfile.txt".
07
Q.4 Answer the following:
Explain any four string handling functions with example. 08
Write a program to calculate factorial of a number using recursion
function.
06
Q.5 Answer the following:
Explain dynamic memory allocations in detail. 08
Design an algorithm to find the maximum and minimum elements in an
array of 10 elements.
06
Q.6 Answer the following:
Compare in terms of their functions, the following pairs of statements- 08
while and do while
ii) break and continue
Write a program to find the number of and sum of all integers greater than
100 and less than 200 that are divisible by 8.
06
Q.7 Answer the following:
What is file? How would use functions fread( and fwrite( 08
Write a program that converts a decimal number into binary. 06
Other Question Papers
Subjects
- .net
- artificial intelligence
- computer communication network
- computer graphics
- computer oriented statistics
- data mining and warehouse
- data structures
- database management system
- digital circuits and microprocessors
- digital image processing
- discrete mathematical structures
- distributed operating system
- finite automata
- introduction to computers
- java programming
- management
- mobile computing
- network security
- numerical analysis
- object oriented programming using c++
- opeartions research
- operating system
- pattern recognition mobile computing
- programming using - c
- programming with php
- software engineering
- system software
- uml
- web design techniques
- web technology