Thursday, 3 March 2016

mca4020 smu mca winter 2015 (april/may 2016 exam) IVth sem assignmen

Get fully solved assignment. Buy online from website
online store
or
plz drop a mail with your sub code
we will revert you within 2-3 hour or immediate
Charges rs 125/subject and rs 500/semester only.
if urgent then call us on 08791490301, 08273413412

Winter 2015
PROGRAM- MCA(REVISED FALL 2012)
SEMESTER- FOURTH
SUBJECT CODE & NAME- MCA4020- PROBABILITY AND STATISTICS

Q1.  Three machines A, B and C produce respectively 60%, 30% and 10% of the total number of items of a factory. The percentage of defective output of these machines are respectively 2%, 3% and 4%. An item is selected at random and is found to be defective. Find the probability that the item was produced by machine C.

Solution: Let P(A), P(B) and P(C) denote the probabilities of choosing an item produced by A, B, C respectively. Also, let P(X/A), P(X/B), P(X/C) denote the

Q3. The data shows the distribution of weight of students of 1st standard of a school. Find the quartiles.

Class Interval
13 - 18
18 - 20
20 - 21
21 – 22
22 - 23
23 - 25
25 – 30














Frequency
22
27
51
42
32

16
10















.

Q4. Fit a trend line to the following data by the freehand method:

Year
Production of wheat
Year
Production of wheat

(in tonnes)

(in tonnes)




1995
20
2000
25




1996
22
2001
23




1997
24
2002
26




1998
21
2003
25




1999
23
2004
24






Solution: Graphical representation of trend line relating to the production of wheat by the method of free hand curve is shown in figure






Q5. Let X be a random variable and its probability mass function is  find the m.g.f. of X and hence its mean and variance.

Solution: By definition,




Q6. The diastolic blood pressures of men are distributed as shown in table. Find the standard deviation and variance.

Pressure(men)
78-80
80-82
82-84
84-86
86-88
88-90







No. of Men
3
15
26
23
9
4








Solution: The table represents the frequency distribution of data required for calculating the standard deviation.

Class
Mid
Frequency
x-83
d = (x-
fd
fd2
Interval
value X
‘f’

83)/2











78-80
79
3
-4
-2
4
-6
12








80-82
81
15
-2
-1
1
-15
15








82-84
83
26
0
0
0
0
0








84-86
85
23
2
1
1
23
23








86-88
87
9
4
2
4
18
36








88-90
89
4
6
3
9
12
36










80



32
122










Get fully solved assignment. Buy online from website
online store
or
plz drop a mail with your sub code
we will revert you within 2-3 hour or immediate
Charges rs 125/subject and rs 500/semester only.
if urgent then call us on 08791490301, 08273413412


mca4040 smu mca winter 2015 (april/may 2016 exam) IVth sem assignment

Get fully solved assignment. Buy online from website
online store
or
plz drop a mail with your sub code
we will revert you within 2-3 hour or immediate
Charges rs 125/subject and rs 500/semester only.
if urgent then call us on 08791490301, 08273413412

Winter 2015 ASSIGNMENT
PROGRAM - Master of Science in Information Technology (MSc IT)Revised Fall 2011
SEMESTER - 2
SUBJECT CODE & NAME – mca4040- ANALYSIS AND DESIGN OF ALGORITHMS
CREDIT 4 BK ID B1480 MAX. MARKS 60


Q1. List and explain the properties of Algorithms.
Answer:
 Properties of algorithms
An algorithm may have zero or more inputs externally and it should produce one or more output. Also, an algorithm must terminate after a finite number of steps. Properties of algorithm include:
1.      Correctness
2.     Definiteness


Q2. Write a detail note on sequential search.
Answer:
Definition Sequential search is a process for finding a particular value in a list that checks every element (one at a time) in sequence till the desired element is found.

Sequential search is the simplest brute force search algorithm. It is also known as linear search. This search is a special case of brute-force search.
The


Q3. What is mean by Topological sort? And explain with example. 5+5=10
Answer: Topological sort is done using a directed acyclic graph (DAG), which is a linear ordering of all vertices G= (V, E) is an ordering of all vertices such that if G contains an edge (u, v), then u appears before v in the ordering. A topological sort of a particular graph can be looked upon as a horizontal line where all directed edges travel from left to right. Thus, topological sort differs


4. Explain good-suffix and bad-character shift in Boyer-Moore algorithm. 5+5=10
Answer: Good suffix Shift
This shift helps in shifting a matched part of the pattern, and is denoted by Q. Good suffix shift Q is applied after 0 < k < m characters are matched.
Q =

Q5. Explain Lower – Bound Arguments? What are the methods help to make an algorithm more efficient?
Answer:
Lower–bound means calculating the minimum amount of workrequired to solve the problem. While obtaining the lower–bound of thealgorithm we look for the limits of efficiency of any algorithm


Q6. Write an approximation Algorithms for NP – Hard Problems.
Answer:
Combinatorial optimization problems lie within a finite but huge feasible region.

Underlying principles
An NP-Hard problem is one for which the algorithm can be translated to one that can solve any NP-problem (non-deterministic polynomial time). Many optimization problems do not have an algorithm

Get fully solved assignment. Buy online from website
online store
or
plz drop a mail with your sub code
we will revert you within 2-3 hour or immediate
Charges rs 125/subject and rs 500/semester only.
if urgent then call us on 08791490301, 08273413412



mca4030 smu mca winter 2015 (april/may 2016 exam) IVth sem assignment

Get fully solved assignment. Buy online from website
online store
or
plz drop a mail with your sub code
we will revert you within 2-3 hour or immediate
Charges rs 125/subject and rs 500/semester only.
if urgent then call us on 08791490301, 08273413412

Winter 2015
PROGRAM- MCA
SEMESTER-4
SUBJECT CODE & NAME-mca4030 - OBJECT ORIENTED PROGRAMMING
CREDIT-4
BK ID-B1477
MAX. MARKS-60

Q1. Describe about JDK. List and explain any five tools available in JDK.
Answer: Java Development Kit (JDK)
The Java Development Kit (JDK) is a product of Sun Microsystems used to develop Java software and is an extended subset of a Java software development kit (SDK). JDK consists of the API classes, a Java compiler, and the Java Virtual Machine interpreter

Q2. Differentiate Break and Continue statements in Java with example program.(5+5)
Answer.
Break and Continue statements in Java
Break statements
The break statement is used inside the switch to terminate a statement sequence. When a break statement is

Q3. Differentiate between packages and Interfaces.(5+5)
Answer.
Packages and Interfaces
Packages
Java provides a mechanism for partitioning the class name space into more manageable chunks. This mechanism is the package. The package is both a naming and a visibility control mechanism. You can define classes inside a

Q4. What are Applets? What are the restrictions of Applets? Describe about applet class.(2+3+5)
Answer.
Applets
An applet is a Java program that can be embedded in a web page. Java applications are run by using a Java

Q5. Compare JDBC and ODBC (5*2)
Answer.
JDBC and ODBC
Java Data Base Connectivity (JDBC)

The JDBC API (Java Data Base Connectivity Application Program Interface) can access any kind of tabular

Q6. Describe about Java Beans and BeanBox. (5+5)
Answer.
Java Beans and BeanBox
Java Beans
JavaBeans is the software component architecture for Java. It allows constructing applications efficiently by configuring and connecting components called Beans. The Beans need to be written and tested with a rich set of


Get fully solved assignment. Buy online from website
online store
or
plz drop a mail with your sub code
we will revert you within 2-3 hour or immediate
Charges rs 125/subject and rs 500/semester only.
if urgent then call us on 08791490301, 08273413412