end_sem_6th_sem
end_sem_6th_sem
2 O o 22|o45
B.Tech. VISemester Examination 2024
Machine learning (TAI-361)
CSE(AIML)
Time: 3 hrs. M.M.: 100
3. Part (a) is compulsory and attenmpt any one part from part (b) and part (c).
a) Discuss on machine learning development life cycle. |CO1, CO2](5Marks)
b) Explain the various types of Machine Learning techniques. Find the maximally specific hypothesis
for the table given below. |CO3|(10 Marks)
Fig. 3
OR
c) Ensemble learning enhances accuracy and resilience in forecasting. Discuss it. Also, discuss the
various types of Ensemble learning. [CO1, CO3](10 Marks)
6. Part (a) is compulsory and attempt any one part from part (b) and part (c).
a) Discuss on principal component analysis. Why it is called an unsupervised machine learning
algorithm? |CO1, C03](5 Marks)
Discuss all the steps for
b) Explain Linear Discriminant Analysis. How it is different from PCA?
features xl andx2 and two
obtaining Linear discriminants for thc dataset given below with two
classes wl and w2 in target variable.
Class wl ’ DI(xl,x2)= {(4,2), (2,4), (2,3), (3,6), (4,4)}
Class w2 ’ D2(x l,x2)= {(9,10), (6,8), (9,5), (8,7), (10,8)} |CO3, C05](10 Marks)
OR
give the flowchart of genetic algorithm. Illustrate the fitness evaluation with fitness
c) Explain and knapsack problem. Discuss the various Fitness
function for the travelling salesman and 0-1 |CO3|(10 Marks)
Proportionate Selection methods.
P.T.0
7. Part (a) is compulsory and
attempt any one
a) Discuss on Markov Chain Monte Carlopart irom part (b) and part (c). |CO3J(5 Marks)
method.
b) Consider the example given in Fig.3(Q.5 b) showing the values of the atmospheric condition.
Apply the Bayes theoremto calculate the conditional probabilities for the problems given below:
(1) Outlook=sunny, Temp=hot, humidity-high, windy-weak. The students will play or
(11) Outlook=overcast, Temp=cool, humidity=normal, windy= weak. The students will
play o
(i)Outlook=Rainy, Temp=mild, humidity=high, wind=strong. The students will play or n0L
(iv)Outlook=sunny, Temp=cool, humidity=normal, wind=strong. The students will play or no
|CO3, COS](10 Marks)
OR
c) Write short notes on: [CO3|(10 Marks)
(i) K-Nearest Neighbour
(ii) Support vector machine
(iii) K-means algorithm
****
Roll No. 2 0 4 0 0 2 20 45
B.Tech VISemester Examination June 2024
Java Programming (TAI-363)
Branch: CSEAML
M. M.:100
Time: Three hrs
OR
c) What is the need of packages in java? Explain access protection (including all
a
the categories of visibility for class members) in java with the help of (10 Marks)
program.
c) What is producer consumer problem? Explain how it is resolved with the help (10 Marks)
of a java program. Explain the role of wait(), notify() and notifyAll(0.
c) What is the role of layout manager? Can you position the components
in
manually? If yes, how? What are the different layout managers available
(10 Marks)
java? Explain CardLayout with the help of a program.
7(b) or 7(c)
7 Question 7(a) is compulsory and attempt any 1 from
a) What do you mean by JDBC? What is
the need of JDBC drivers? Explain the
(5 Marks)
four types of JDBC drivers.
Write a java application to create a
b) What are the steps involved in JDBC?
students in a table. Perform the
student database and store the details of the
operations using JDBC
SELECT, INSERT, UPDATE and DELETE
(10 Marks)
connectivity.
OR
How servlets handle HTTP requests and
c) Explain the lifecycle of a servlet? (10 Marks)
program.
HTTP responses. Explain with the help of a
Roll no.
2104 0 022 045
B.Tech. VISemester Examination June 2024
NaturalLanguage Processing (EAl-321)
Branch: CSE (AIML)
M.M.: 100
Time: Three hrs.
(5 X 2 = 10 Marks)
1. Answer the following questions. (Very short answer)
(5 X 3 = 15 Marks)
2 Answer the following questions. (short answer)
a) What do you mean by ambiguity in Natural language? Explain with suitable example.
b) Explain smoothing in NLP and its importance in addressing zero probabilities in language models.
c) Why POS tagging is hard? Discuss possible challenges faced while performing POS tagging.
d) Explain Probabilistic Context-Free Grammar (PCFG) in NLP.
e) Write a note on "Word Net",
Allquestions from UNIT-I Part (a) is compulsory and attempt any one part from part
(b) or part (c)
3.
(5 Marks)
a) What are the stages in NLP? Discuss functions of each stage.
learning approaches. focusing on
b) Define an NLP pipeline and compare classic NLP methods with deep (10 Marks)
their architectures and methodologies.
OR
two applications in detail. Explain basic and advance
c) List various applications of NLP and discuss any removal. POS tagging. (10 Marks)
pre-processing operation/steps in NLP: Tokenization, Stop word
OR
c) Explain in detail Stochastic (HIMM) POS tagging and Using HMM POS tagging, tag the following
sentence based on the yiven corpus: Sentence to be tayged: The Park is a book".
Corpus: (10 Marks)
<s> Book acar</s>
<S> Park the car</s>
<s> The book is in the car</s>
<S>The car is in apark</s>
6. Allquestions from UNTT-IV Part (a) is compulsory and attempt any one part from part (b) or part (c)
a) Compare Top-down &Bottom-up approach of parsing with suitable example. (5 Marks)
b) Using the CKY algorithm tind the possible parse tree for the following statement:" A pilot likes flying
planes using the following rules: (10 Marks)
S->NP VP DT->a
VP->VBG NNS NN->pilot
VP->VBZ VP VBZ->likes
NP->DT NN VBG->f1y ing
NP->JJ NNS JJ->lying
NNS->planes
OR
PCrG:
c) Tind the probabil.ty of the siitence. 'astronomers s£w stais with ears"ISiIg the given
(10 Marks)
S->NP VP 1.0 NP->astronomers 0. 1
VP->V NP 0.7 NP->ears 0.18
VP->VP PP 0.3 NP->saw 0.04
PP->P NP 1.0 NP->stars 0.18
NP->telescope 0.1
P->with 1.0
V->saw 1.0
NP->NP PP 0.4
i. Word Vectorization
i. Continuous Bag of Words (CBOW) and its architecture.
iii. Word Net
iv. Singular value decomposition (SVD).
V Latent semantic indexing (LS).
OR
Use your knowledge of vectors (for example, subseting and overwriting) to create two character
vectors: Gender with entries "M" (male) and "E" (female) and party with entries "National",
"Labour", "Greens", "Maori'", and "Other". Make sure the entries are placed in the correct
positions as outlined earlier.
º Create two different factor vectors based on gender and party with defined levels.
6. Allquestion from UNIT-IV part (a) is compulsory and attempt any one part from part (b) or part (c).
a) What are lists in R, and how do they differ from vectors? How can you access components of alist using
index value and naming? Demonstrate with the help of an example. (05 Marks)
b) What are dataframes, construct a dataframe and demonstrate the following operations using example:
(10 Marks)
Extracting values, Adding new Data column, combining dataframes, and logical record subsetting.
OR
c) Create a list named as my list with the factor vector Component named "facs"; a numeric vector
c(3.2.1.3.3.4.1.5.4.9) as a component named "nums ; and a nested list comprised of the first three members
"oldlist".
of my_ list component named (10 Marks)
Perform the following tasks:
Extract the elements of "nums" that are greater than or equal to 3.
Add a new member to the list named "flags". This member should be a logical vector, obtained by
condition correspond to elements of "nums" that are greater than or equal to 3.
7. Allquestion from UNIT-V part (a) is compulsory and attempt any one part from part (b) or part (c).
a) Explainwhat is plotting and importance of plotting in data science. (05 Marks)
b) Explain the differences between the plot) and qplot) functions in R, highlighting their respective features.
Provide comprehensive examples for each function that showcase their unique functionalities. (10 Marks)
OR
c) Thoroughly explain the ggplot2 package in R, including the steps for installation and the concept of layers
with geoms. (10 Marks)
2
2 o 4 o|02 2o 45
Roll No.
B.Tech VISemester Examination June 2024
DataMining and Predictive Modelling (EAI-333)
Branch: CSE AIML
Time: 3hrs
M. M:1 00
(5X2=10 Marks)
1. Answer the following question
a. Discuss whether or not each of the following activities is adata mining task:
i. Dividing customer of a company according to their profitability.
ii. Monitoring heart rate of a patient for abnormalities.
b. Are Outliers always Noise object? Why or why not?
rainfall or
C. Which of the following quantities is likely to show more temporal auto correlation: daily
daily temperature? Why?
d. Explain Silhouette Coefficient.
e. State the Apriori property of a set.
(5X3=15 Marks)
2 Answer the following questions
What isa data cube? What are base cuboid and apex cuboid?
b. Describe the steps involved in data mining when viewed as a process of knowledge discovery.
DBSCAN algorithm?
C. Explain core points, border points and noise points with respect to
d. Explain k-mean algorithm. rate) for a
misclassification rate (error
What is a confusion matrix? How to compute accuracy and
classifier?
3(c)
3 Question 3(a) is compulsory and attempt any 1 from 3(b)or
Differentiate between OLTP and OLAP.
(5 Marks)
Constellations with suitable example.
b. Explain Star, Snowflakes and Fast (10 Marks)
OR
C Write short note on:
Slice and Dice iv. Pivot
i. Concept Hierarchies ii. Roll- up iii. (10 Marks)
or 4(c)
4. Question 4(a) is compulsory and attempt any 1from 4(b)
attributes are a common (5 Marks)
a. In real-world data, tuples with missing values for some
this problem.
occurrence.Describe various methods for handling
b. Consider the 6 transactions given below. If minimum support is 40% and minimum
confidence is 60% then
Determine the frequent itemsets using Apriori algorithm.
11 List all closed and maximal frequent item sets. (10Marks)
Determine the strong association rules.
Transaction Items
TI Bread, Jam, Milk, Butter
T2 Bread, Milk, Butter, Ketchup
T3 Jam, Milk, Ketchup
T4 Bread, Jam, Milk, Butter
TS Jam, Milk
T6 Jam, Milk, Butter
OR
c. Explain the Apriori algorithm. Consider the following set of frequent 3-itemsets: (10 Marks)
(1,2, 3}. (, 2, 4}, {1, 2, 5}, (1, 3, 4}. (1, 3, 5}, (2, 3, 4}, (2, 3, 5}. {3,4, 5}.
Assume that there are only five items in the data set.
i. List all candidate 4-itemsets obtained by a candidate generation procedure using
the Fk- XFmerging strategy.
ii. List all candidate 4-itemsets that survive the candidate pruning step of the Apriori
algorithm.
5
F T 20
T T 20
T T: F 0
T F 25
0 25
i. According to the classification error rate, which attribute would be chosen as the
first splitting attribute? For each attribute, show the contingency table and the gains
in classification error rate. Build a two-level decision tree.
ii. How many instances are misclassified by the resulting decision tree?
#1 1 1
- 0 11 676 693
#2 27 89 333 827 253 33 1562
#3 326 465 8 105 16 29 949
Total 354 555 341 943 273 738 3204
OR
C. Use the dissimilarity matrix given below to perform group average hierarchical
clustering. Show your results by drawing a dendrogram. The dendrogram should
clearly show the order in which the points are merged. (10Marks)
pl p2 p3 p4 p5 p6
p1 0.00 0.24 0.22 0.37 0.34 0.23
p2 0.24 0.00 0.15 0.20 0.14 0.25
p3 0.22 0.15 0.00 0.15 0.28 0.11
p4 0.37 0.20 0.15 0.00 0.29 0.22
p5 0.34 0.14 0.28 0.29 0.00 0.39
p6 0.23 0.25 0.11 0.22 0.39 0.00
2 2 d45
Roll No. 2
B. Tech VI Semester Examination - 2024
Organization Behavior (TAH 362)
(5 X 2 = 10 Marks)
1, Answer the following Questions. (Very short answers)
(a) Define "Organization Behavior"?
(b) Define "Attitude"?
3. Part (a) is compulsory and attempt any one part from part (b) or part (c)
(a) Discuss in details the theoretical framework of organization behavior? (5 Marks)
(b)Explain the relevance of learning for employees in the organization? Justify with the help of learning
theories? (10 Marks)
(c) "Human behavior is caused, motivated, and goal-directed". Explain this statement and show how
modelof behavior incorporates the role of organism in shaping human behavior? (10Marks)
4. Part (a) is compulsory and attempt any one part from part (b) or part (c)
(a) State the factors which lead to perception distortion? (5 marks)
(b) Define Personality? Describe the factors that determine personality? Explain the big five personality
model? (10 marks)
Or
(c) Why motivation is considered as an important part of the employee's performance? Explain two
content and two process theory of motivation?
(10 marks)
5. Part (a) is compulsory and attempt any one part from part (b) or part (c)
(a) Write a short note on different types of leadership? (5 Marks)
(b) Define "Leadership"? Its types and different theories of leadership? (10 marks)
Or
(c) What are the different types of group? Write the Process/Stages of Group Development? (10 mark)
6. Part (a) is compulsory and attempt any one part from part (b) or part (c)
(a) What is the need of workplace spirituality? (5 Marks)
(b)State the various characteristics of organizational culture? Discuss how organizational culture can be
created and sustained? (10 marks)
Or
(c) How to alive the organization culture? Explain the dimension s of Hofstede Model? (10 marks)
7. Part (a) is compulsory and attempt any one part from part (b) orpart (c)
(a) What are the different types of Organization change? (5 marks)
(b) Howto Implement change in the Organization? Explain Kurt Lewin's -Three steps model? (10 marks)
Or
(c)"One of the few things of real permanence in this world is change" but people resist to change? Why
do people resist change? What are the factors which resist How to manage resistance to change?
(10 marks)