OCT 23
OCT 23
Q3) a) Let A = {1, 2, 3, 4, 5, 6} and R = {x, y || x–y | =2} Draw the Relation
Matrix and Draw its Diagraph. [6]
b) Explain the following Terms with Example : [6]
i) Injective Function
ii) Bijective Function
iii) Surjective Function
OR
P.T.O.
Q4) a) Write the following statements in symbolic forms : [6]
i) If I finish my homework before dinner and it does not rain, then
I will go to the ball game.
ii) I will go to a movie only if I will not study discrete structures.
iii) Either the food is good or service is good, but not both.
b) Let f(x) = 2x+3, g(x) = 3x+4, h(x) = 4x for x € R, where R = set of all
real numbers. Find gof, fog, foh, hof, goh. [6]
Q5) a) A box contains 6 white balls and 5 black balls. Find the number of
ways 4 balls can be drawn from the box if i) two must be white,
ii) all of them must have the same color. [5]
b) Solve the following : [6]
i) How many different car number plates are possible with 2 letters
followed by 3 digits.
ii) How many of these number plates begin with ‘MH’
OR
Q6) a) Four persons are chosen at random from a group containing 3 men,
2 women and 4 children. Find the chance that exactly two of them
will be children. [6]
b) i) Suppose repetitions are not permitted, then how many 4 digit
numbers can be formed from the six digits 1, 2, 3, 5, 7, 8?
ii) How many such a numbers are less than 4000?
iii) How many numbers in (i) are even?
iv) How many numbers in (ii) are odd?
v) How many of the numbers in (i) contain both the digits 3 and 5?
[5]
Q7) a) List and Explain Axioms of Probability Every Data Scientist Should
Know. [6]
b) How many different seven persons committee can be formed each
containing 3 women from an available set of 20 women and 4 men
from an available set of 30 men? [6]
OR
Q8) a) Define : [6]
i) Probability
ii) Sample space
iii) Event
b) In a class, there are 15 boys and 10 girls. Three students are selected
at random. Find the probability that 1 girl and 2 boys are selected.
[6]
[6183]-541 2
Q9) a) What are the sampling methods or Sampling Techniques? Explain in
detail. [6]
b) Find the variance and standard deviation for the following data :
57, 64, 43, 67, 49, 59, 44, 47,61, 59 [6]
OR
Q10) a) Explain the Types of Regression and their properties in detail. [6]
b) Explain Correlation Coefficient Types, Formulas with Examples.[6]
Q11) a) Find the expectation of a random variable X. Use the following data
[6]
x 0 1 2 3
f(x) 1/6 2/6 2/6 1/6
b) What are the steps of hypothesis testing? Explain Five Steps in
Hypothesis Testing. [5]
OR
Q12) a) In each of 4 races, the Democrats have a 60% chance of winning.
Assuming that the races are independent of each other, what is the
probability by using the Binomial Distribution that : [6]
i) The Democrats will win 0 races, 1 race, 2 races, 3 races, or all 4
races.
ii) The Democrats will win at least 1 race.
b) What are the three types of random variables? Explain in detail. [5]
[6183]-541 3
Total No. of Questions : 12] SEAT No. :
P-8662 [Total No. of Pages : 2
[6183]-542
F.Y. M.C.A (Engineering)
DATA STRUCTURES AND ALGORITHMS
(2020 Pattern) (Semester - I) (310902)
Time : 2½ Hours] [Max. Marks : 70
Instructions to the candidates :
1) Neat diagrams must be drawn wherever necessary.
2) Figures to the right side indicate full marks.
3) Assume Suitable data if necessary
Q1) a) Explain any one Linear & Non Linear Data Structure. [6]
b) Explain the Transpose of Matrix with example. [6]
OR
Q2) a) Explain the Triplet representation of Sparse Matrix [6]
b) Explain the term ADT with example. [6]
Q3) a) Write a C program to create a simple linked list with 3 nodes. [6]
b) Explain with example insertion of a node. [6]
OR
Q4) a) With the diagrammatic representation explain the addition of polynomial
using Linked list [8]
i) 5x2 + 4x1 + 2x
ii) –5x1 – 5x
b) How is the circular Linked List implementation? [4]
P.T.O.
Q6) a) Explain the code for insertion and deletion from Stack. [6]
b) Write a C program to implement Queue using array. [5]
Q11) a) Which sorting algorithm takes the least time when all elements of the
input array are identical? Consider typical implementations of sorting
algorithms. [6]
b) How would you use internal and external sorting examples? [6]
OR
Q12) a) Illustrate the stepwise working of Bubble Sort [6]
b) Write a program to find the largest three distinct elements in an array[6]
[6183]-542 2
Total No. of Questions : 12] SEAT No. :
Q3) a) List out the various Data Types in C++ programming language with
suitable examples. [6]
b) Write a C++ program to print employee details. [6]
OR
Q4) a) What is an inline function in C++? [6]
b) Write a note on static members and member functions in details. [6]
P.T.O.
Q6) a) What is Polymorphism? What are the advantages of it. [6]
b) Write a tabular difference between function overloading and function
overriding in detail. [6]
Q7) a) What is the use of Friend function, explain with example. [6]
b) What is virtual function? Why do we need virtual functions? [5]
OR
Q8) a) Illustrate the concept of dynamic binding with suitable example. [6]
b) Explain the concept of this pointer. [5]
Q9) a) How many types of templates are there in C++? Explain with example.[6]
b) Write a Program to find Largest among two numbers using function
template. [6]
OR
Q10)a) Explain how exception handling mechanism can be used for debugging
a program. [6]
b) What is generic programming? How is it implemented in C++? [6]
Q11)a) Discuss the various forms of get() function supported by the input stream.
How are they used? [6]
b) What is a file mode? Describe the various file mode options available.[6]
OR
Q12)a) What is input stream and output stream? Explain various methods to open
a file. [6]
b) Write a note on - seekg(), tellp(), getline(). [6]
[6183]-543 2
Total No. of Questions : 12] SEAT No. :
Q7) a) Discuss in details different software metrics with its use in software
development? [6]
b) Explain Program Evaluation and Review Technique (PERT) with
examples? [6]
P.T.O.
OR
OR
OR
[6183]-544 2
Total No. of Questions : 12] SEAT No. :
[6183]-545-A 2