AI-MS-2
AI-MS-2
a) Data Science
b) NLP
c) Computer Vision
d) All of the above
ii. The percentage of true positive cases versus all the cases where the 1
prediction is true is defined as
a) Precision
b) Accuracy
c) F1 Score
d) None of these
iii. What does CSV stand for? 1
a) Comma separated values
b) Computer spreadsheet values
c) Centralized storage volumes
d) Compressed structured variables
iv. What does segmentation in Computer Vision refer to? 1
a) Enhancing image details
b) Dividing an image into parts or regions
c) Reducing image size
d) Increasing image resolution
v. _____are the words which occur very frequently in the corpus but do not 1
add any value to it.
a) Special Characters
b) Stopwords
c) Roman Numbers
d) Useless Words
vi. The measure of balance between precision and recall. 1
a. Accuracy
b. F1 Score
c. Precision
d. None of these
Q. 5 Answer any 5 out of the given 6 questions (1 x 5 = 5 marks)
i. What is important to make a Good AI Machine? 1
a) Algorithm
b) Data
c) Test cases
d) All the above.
The F1 score ranges from ________to ______
a) -1,0
ii. b) 0,1 1
c) -1,1
d) None of the above
iii. Assertion (A): Computer vision is a field of artificial intelligence that enables 1
computers to interpret and make decisions based on visual data from the
world.
Reasoning (R): Computer vision uses algorithms to process and analyse
images and videos, enabling tasks like object detection and facial
recognition.
a) Both A and R are true, and R is the correct explanation for A.
b) Both A and R are true, but R is not the correct explanation for A.
c) A is true, but R is false.
d) A is false, but R is true.
iv. What do we call the process of dividing a string into component words? 1
a) Regression
b) Tokenization
c) Classification
d) Clustering
v. TF-IDF in NLP is defined as: 1
a) Term Frequency and Definite Frequency
b) Term Frequency and Indefinite Frequency
c) Term Frequency and Inverse Document Frequency
d) Term Frequency and Integrated Document Frequency
vi. Statement 1: F1 score is evaluated based on precision or recall. 1
Statement 2: When the F1 score is 0, the model accuracy is 100%
a) Both statement1 and statement 2 are correct.
b) Both statement1 and statement 2 are incorrect.
c) Statement 1 is correct but statement 2 is incorrect.
d) Statement 1 is incorrect but statement 2 is correct.
Reality
Confusion Matrix:
Yes No
Yes 80 72
Prediction
No 110 17
Answer any 3 out of the given 5 questions in 50– 80 words each (4 x 3 = 12 marks)
Q. 17 Rahul wants to pursue the AI course after class XII. His parents didn’t know 4
much about its domains. Explain them the domains of AI.
1 mark for Data Sciences, CV & NLP
3 marks for explanation of each domain
Q. 18 Explain the 4Ws problem canvas and explain each one of them briefly. 4
Ans)The 4Ws problem canvas is the basic template while scoping a problem
and using this canvas, the picture becomes clearer while we are working to
solve it.
a) Who: The “Who” block helps you in analyzing the people getting affected
directly or indirectly due to it? Under this, you find out who the
‘stakeholders’ to this problem are and what you know about them.
Stakeholders are the people who face this problem and would be
benefitted with the solution.
b) What: Under the “What” block, you need to look into what you have on
hand. At this stage, you need to determine the nature of the problem. What
is the problem and how do you know that it is a problem?
c) Where: In this block, you need to focus on the context/situation/location
of the problem. It will help you look into the situation in which the problem
arises, the context of it, and the locations where it is prominent.
d) Why: in the “Why” canvas, think about the benefits which the
stakeholders would get from the solution and how would it benefit them as
well as the society
( 1 mark for each ‘W’)
Q. 19 Identify and explain the two types of the AI model in the figures given 4
below.
Q. 21 The country was shaken up by a series of flood which has done a huge 4
damage to the people as well as the infrastructure. To address this issue,
an AI model has been created which can predict if there is a chance of a
flood or not. The confusion matrix for the same is as below: calculate
Accuracy, precision, recall and F1 score.
Reality
Confusion Matrix:
Yes No
Yes 90 10
Prediction
No 10 50
Accuracy=(90+50)/160=0.875
Recall=90/100=0.9
Precision=90/100=0.9
F1 score=2*recall*precision/(
score=2*recall*precision/(recall+precision)
=2*0.81/1.8=0.9 ( 1 mark for each)