Unit Test (2023-24)
Unit Test (2023-24)
2023
I
Choose the correct answer:
1. ________is a technique for collecting structured data from the internet, such as news
monitoring, market research, and price tracking in data acquisition of AI project cycle.
a. Web scrapping b. Announcements
c. Surveys d. Sensors
2. Cyber bullying was the biggest problem in a school due to which the performance of the
students in academics was poor. So, Management of school has formed a committee to solve
the problem. Who are the stakeholders in this problem.
a. Students at school b. Security guard of the school.
c. print(p[-5:]) d. print(p[-5:0])
4. “At this stage, It is related to the context or situation or location of the problem”.This
statement comes under which stage in 4 W’s statement?
a. Who b. What
c. Where d. Why
Page 1 of 4
a. True b. False
6. Find the output for the following using the concept of lists in python.
(Note:house is the name of the list where elements are stored)
house= ["Nile","Indus","Danube","Amazon", ":Winners"]
print(house[1],house[2],house[4])
a. Indus Danube :Winners b. Nile Indus Danube
7. In an intelligent AI system if we want to predict the student Marks for future exam, we
collect the data of his previous scored marks. This previous data fed into the system is called
as ______that helps to analyze the future marks of the student.
a. Training data b. Stored data
8. In 4W’s of problem scoping, arrange the order of sequence in their execution to solve a
problem
a. WhoWhatWhyWhere b. WhatWhereWhoWhy
c. 125 d. 12
c. Comparision d. Logical
Page 2 of 4
13. Write the output of the following code if user enters A=5 and B=10
A=input("Enter value of A:")
B= input("Enter Value of B:")
C=float(A)+float(B)
print(C)
a. 25 b. 15.0
c. 15 d. Type error
1 DPS_Senior=["Phase3","Phase4",[6,7,8],[9,10,11,12]]
6 A list DPS_Senior is created.
Write a Python print statements for the following.
1.To display the entire list of elements in DPS_Senior.
2.To display Phase3 [6, 7, 8]
3.To display only [9,10,11,12]
4.To display only [6,7,8]
1 Explain 4W’s of problem scoping?
7
1 Write the output for the following python coding
8 vehicle=['R','A','C','E','C','A','R']
print(vehicle[0:4])
print(vehicle[4:])
print(vehicle[:])
print(vehicle[-3:])
1 “It is very important to acquire data that is authentic reliable and correct.”
9 Explain any 4 sources from which data can be acquired.
III
Answer the following questions 3*4=12
2 Write the python to complete the following tasks using the concept of list and list slicing.
0 Create a list named list10 with the elements 10,100,20,200,40,400,50,500
Display the list from 40 to 500
Display the elements 10 to 500 using negative indexing.
Display the entire list in reverse order
2 Analyze the system map shown in the picture and answer the following questions.
1
Page 3 of 4
a) Define system Map
b) What do the circles, arrows represent in
system map.
c)What do + and – signs represent.
d)What is the relationship between Advanced AI
assisted Machines and Patients Health and
Recovery
Page 4 of 4