DELHI PUBLIC SCHOOL
NACHARAM
CLASS-9
SUBJECT: ARTIFICIAL INTELLIGENCE
PT-3 WORKSHEET
———————————————————————————————————————————--
I. Multiple Choice Questions
1.Grooming is a term associated with
(a) time management
(b) problem solving
(c) neat and clean appearance
(d) self-management
2. What steps should one take to build confidence?
(a) Set goals in life
(b) Appreciate oneself for all the achievements
(c) Always think positively
(d) Talk to people who are confident
3.Self-management, also known as _________, is the ability to effectively control one’s emotions,
behavior and thoughts.
a. Self – control
b. Self – innovative
c. Self – Design
d. None of the above
4. A person’s _____________ is an acquired or natural ability that allows them to execute a specific
job or task with a high level of proficiency.
a. Weaknesses
b. Strength
c. Interest
d. Abilities
5.Sumit is making his timetable and following it diligently as well as he is removing the waste and
redundancy from work. This skill is known as
a. Self-awareness
b. Responsibility
c. Time Management
d. Adaptability
6.What is Data Literacy?
a) The ability to program computers
b) The ability to understand, work with, and talk about data
c) The skill of creating new data
d) The process of building websites
7.Which of the following is NOT a part of the Data Pyramid?
a) Data b) Information c) Knowledge d) Analysis
8.In the context of Data Literacy, raw data is most useful when:
a) Left unchanged
b) Processed into information
c) Converted into graphs
d) Deleted immediately
9.What is the most likely reason cyber security is more important today?
a) Increase in technological growth b) Decrease in internet use
c) Lack of cyber-attacks d) More people are working offline
10.Which of the following is a best practice for protecting data privacy?
a) Use simple passwords c) Share your password with others
b) Activate Two-Factor Authentication (2FA) d) Ignore updates
11.What is a key difference between Quantitative and Qualitative Data?
a) Qualitative data is numerical
b) Quantitative data is descriptive
c) Quantitative data is numerical, while Qualitative data is categorical
d) Both are the same
12.Which type of data is represented in rows and columns?
a) Textual Data
b) Graphical Data
c) Tabular Data
d) Qualitative Data
13.What is the primary purpose of data acquisition in AI projects?
a) To analyze data
b) To gather relevant datasets
c) To present data
d) To clean data
14.Which of the following is an example of qualitative data?
a) Temperature readings
b) Customer reviews
c) Sales figures
d) Height measurements
15.Suppose list1 is [2, 33, 222, 14, 25], What is list1[:-1]?
a. [2, 33, 222, 14] b. Error c. 25 d. [25, 14, 222, 33, 2]
16. To insert 5 to the third position in list1, we use which command?
a. list1.insert(3, 5) b. list1.insert(2, 5) c. list1.add(3, 5) d. list1.append(3, 5)
17. To remove the string “hello” from list1, we use which command?
a. list1.remove(“hello”) b. list1.remove(hello)
c. list1.removeAll(“hello”) d. list1.removeOne(“hello”)
18.In Python, _____ is a sequence of values or elements of any type.
a. Print b. Datatype c. List d. For loop
19.The index is used to access the list elements. it starts at _____ and ends at ___.
a. 1, n-1 b. 1, n+1 c. 0 , n+1 d. 0 , n-1
20.In python, _ function allows the user to generate a sequence of numbers.
a. input() b. append() c. sort() d. range()
II.Do as directed:
1. Competency Based Questions:
Consider following data set and answer the following:
A. Identify which features are dependent and independent from dataset
B. For each field mention whether the data is qualitative or quantitative
C. Mention any one primary data source and secondary data source to collect data
D. Customer with ID ‘T103’ does not want to disclose his identity. What ethical issue should
electronic store consider here?
E. Name the tool which can be used for data visualization and also a business intelligence tool.
2.Find Errors
A. n=100
sum = 0
for val in range(n):
sum = sum + Val
print("The sum is +sum)
B. my_list = [a,b,c]
print(my_list[1])
C. list1=[1,2,3,6]
print(list1[;-6])
D. n = 10
sum = 0
i=1
While i => n :
sum = sum + i
i=I+1
print("The sum is", Sum)
3.Write Output for the following given python Code
A. List = []
for val in range(0,20+1,2):
List.append(val)
print(List)
print( List[:-8])
print( List[5:-5])
print(List[-3:])
B. n=1
i = 20
while i >= n:
print(i)
i=i+1
C. numbers = [6, 5, 3, 8,4, 2, 5, 4, 11]
sum = 0
for val in numbers:
sum = sum + val
print("The sum is", sum)
D. my_list = ['a', 'b', 'c']
print(my_list[0])
print(my_list[-1:])
print(my_list[:2])
my_list.reverse()
print(my_list)
E. my_list = [1, 2, 3]
my_list.append(4)
my_list.insert(1,4)
my_list.extend([20,30,40])
new_list=my_list[::-1]
print(my_list,’\n’, new_list)
4.Write Code for the Following Questions:
A. Write a Python code to create a list with mixed data types (integer, float, string) and
Print the fifth and first values from the rear end of the list using negative indexing.
print the list.
B. Write a Python code to create a list and add elements to it using the insert method. Print
the list after each insertion.
C. Create a list of following letters [ ‘H’,’E’,’L’,’L’,’O’,’W’,’O’,’R’,’L’,’D’] and save it as my_list:
a. access element from 3rd to 5th from the end
b. access element from beginning to 4th
c. access elements from 6th to end
d. display elements from beginning to end
e. display elements from end to 4th
f. using function, delete one element from 3rd position
g. copy all elements in the list to a new list and display it
h. using function, add element to new list at 2nd position with value 15
i. using function, add element to list at the end with values [25,30,35]
j. sort all elements in the list to a new list and display it
D. Write a Python code to
• Using for loop to print squares of numbers from 1 to 15.
• Using while loop, display the cube of numbers from 5 to 10
• Create a list of your scores=[35,45,56,33,43,61], find the sum of all numbers in list using
for loop
III.Answer the following
1. What is the difference between positive and negative indexing in Python lists? Explain with an
example to prove the difference.
2. How does list slicing work in Python? how to slice a list from a specific index to the end.
3. What are some common list methods in Python? Explain any 4 of them.
4. Define the following terms
A. data privacy
B. Data security
C. Data discovery
5. With the help of an example explain data pyramid
6. Write a short note on usability of data
7. What are the different types of data interpretations
8. What is tableau? Why is it used?
9. Write about the qualities of a self managed person.
10. List the skills required for self management.