AI Quetions 9 Final Unit
AI Quetions 9 Final Unit
sfd
Teacher’s Copy
Chapter no.: 6,7,9 Total Marks: 155 Time: 01 Hr, 00 Mins
Marks Obtained:
Student's Name: ……………………………………………
……………………………………………
Answer: (iv)
Answer: (ii)
Answer: (iii)
Answer: (ii)
5. Even IBM’s Watson Supercomputer comes under the category of ------ AI.
i. Weak
© Orange - Touchpad 1
ii. Strong
iii. Super
iv. General (1)
Answer: (i)
Answer: (i)
7. Which of the following is a data type that has two built in values True or
False?
i. String
ii. Boolean
iii. Integer
iv. Float ( 1 )
Answer: (ii)
Answer: (ii)
Answer: (i)
10. Which of the following is the valid name for (an) identifier(s) in Python?
i. Test#4
ii. Rollno
iii. 9thClass
iv. else ( 1 )
Answer: (ii)
11. Which of the following statements allow to repeat a task for a fixed number
of times?
i. for statement
© Orange - Touchpad 2
ii. if…else statement
iii. while statement
iv. continue statement (1)
Answer: (i)
Answer: (iv)
13. Which of the following does not come under Data Acquisition?
i. Sources of data
ii. 4Ws problem canvas
iii. Data features
iv. Web Scraping ( 1 )
Answer: (ii)
Answer: (iv)
Answer: (i)
16. Which block in 4W CANVAS is needed to gather evidence to prove that the
problem really exists?
i. Why
ii. Where
iii. What
iv. Who ( 1 )
Answer: (iii)
Answer: (i)
Answer: (ii)
Answer: (i)
Answer: (iv)
Answer: (i)
Answer: (iii)
Answer: (iv)
Answer: (iv)
Answer: (iv)
Answer: (i)
27. The See & Spray robot is used in which of the following field?
i. Agriculture
ii. Business
iii. Education
iv. Healthcare ( 1 )
Answer: (i)
Answer: (iv)
Answer: (iv)
Answer: F
32. Decision trees are tools that follow a rule-based approach that uses a tree-
like model of decisions and their possible consequences. ( 1 )
Answer: T
Answer: T
Answer: T
35. Rule based approach is based on a set of rules and set of facts already fed
to the machine to generate the desired output. ( 1 )
Answer: T
Answer: F
Answer: T
38. The main focus of AI would be to replace humans in hazardous jobs. (1)
Answer: T
39. While loop repeats a set of instructions indefinite number of times. (1)
© Orange - Touchpad 6
Answer: T
Answer: F
Answer: T
Answer: F
Answer: F
44. There are different ways of visiting each element of a list. (1)
Answer: T
Answer: F
Answer: T
Answer: F
48. Flowcharts are not difficult to make and takes less time. (1)
Answer: F
Answer: F
Answer: F
© Orange - Touchpad 7
Fill in the blanks.
51. Smart Cities are cities that uses …………………… to provide services and
better citizen welfare. ( 1 )
Answer: technology
53. Google launched its --------- division to design, manufacture and market
driverless vehicles around the world. ( 1 )
Answer: Waymo
Answer: program
Answer: condition
Answer: pixel
Answer: interpreter
Answer: mutable
Answer: ASCII
Answer: None
© Orange - Touchpad 8
62. In ………………………. programming the program instructions are executed
one after the other in a sequence. ( 1 )
Answer: Python
Answer: List
65. Peace, ………………………. and strong Institution provide access to justice for
all. ( 1 )
Answer: justice
Answer: True/False
70. …………………… is the term used to define the process of selecting a problem
which we might want to solve using AI knowledge. ( 1 )
© Orange - Touchpad 9
Answer: a) (iv) b) (v) c) (i) d) (ii) e) (iii)
72. (5)
Answer: a) c b) a c) b d) e e) d
73. (5)
74. (5)
75. (5)
© Orange - Touchpad 10
Answer: a) (iii) b) (i) c) (v) d) (ii) e) (iv)
Answer: Evaluation stage is the testing of the system, where we check if the model is
capable of achieving required goals or not.
77. Assertion (A): Creating an algorithm before writing a program helps us.
Reason (R): Algorithm is a step-by-step representation of a solution to a
given problem and uses simple English like statements so it is easy to
understand and write. The problem is broken down into smaller pieces hence it
is easy to convert it into a program using any programming language. ( 1 x
2)
a) Both Assertion (A) and Reason (R) are correct and Reason (R) is the correct
explanation of Assertion (A).
Answer: a
78. What are variables? Why are they important in any programming language?
(2)
79. What is the need of authenticity of the data acquisition method? (2)
Answer: Data is the base for any AI project to be built. When the data is acquired, it's
important to check if it's from a reliable and authentic source for the accuracy of the
project.
Answer: Tokens are the smallest meaningful unit of a program. Tokens supported by
Python are Keywords, Identifiers, Literals, Operators and Punctuators.
© Orange - Touchpad 11
81. Name any three important areas where AI has made a remarkable impact.
(2)
82. Assertion (A): Smart cities are established to uplift the living standard of
the society. Reason (R): Smart Cities are cities that uses technology to
provide services and better citizen welfare. It uses Information and
Communication Technology (ICT) to communicate, deliver welfare schemes,
improve operational efficiency and better quality of government services. ( 1
x2)
Answer: N/A
Answer: Single line comment starts with hash symbol # followed by the text to be
written as a comment that lasts till the end of the line. For example, # assigning a
value to a variable num1 = 10 num2 = 20 # calculating the average (num1 +
num2) / 2
Answer: Bar charts are graphs that represent categorical data with rectangular bars with
heights and length proportional to the values that they represent. It is used to compare
things between different groups or to track changes over time. For example, marks of 5
subjects to compare, rise in population in five years, changing fuel price every month.
a) Input Salary and Years of Service. If the number of years are more than 5 then give
an extra bonus of 15%. Display the net salary after adding the bonus.
© Orange - Touchpad 12
Answer: Salary = int(input("Enter the salary of the employee: ")) Years-of-Service =
int(input("Enter the number of service years: ")) Bonus = (Salary * 0.15) Net-Salary
= 0 if Years-of-Service > 5: Net-Salary = Salary + Bonus print(Net-Salary)
Answer: Computer vision is a field of artificial intelligence (AI) that enables computers
and systems to derive meaningful information from digital images, videos and other
visual inputs — and take actions or make recommendations based on that information.
Computer Vision Benefits • Faster and simpler process- Computer vision systems can
carry out repetitive and monotonous tasks at a faster rate, which simplifies the work for
humans. • Better products and services- Computer vision systems that have been
trained very well will commit zero mistakes.
89. Give an example to differentiate between training data and testing data.
(4)
90. What are the various sources to collect data for the AI Project? (4)
Answer: a) There are various sources to collect relevant data for our project: Surveys:
Data can be collected from online surveys, telephonic surveys or in person surveys and
collect responses. Surveys are a way of collecting data from a group of people in order to
gain information and insights into various topics of interest. The process involves asking
people for information through questionnaires which can be online or offline. It can be
considered as a data source. b) Web Scraping: Data or information can also be
extracted from a website. Web scraping or Data scraping is the method of
downloading information from the World Wide Web (WWW) and storing it onto your
computer for later reference. The data collected in this way is an online data.
c) Sensors: Data can also be collected from various sensors like collecting environmental
data and stored in some data storage solutions. Sensors are connected through
gateways which enable them to collect live data in the offline mode. d)
Cameras: Data can be seen, written down or recorded onto the computer. Cameras are
used to collect data in the form of images. CCTV, web cameras, surveillance cameras are
big sources of visual data that can be acquired from various places. e)
Observations: It is a method of collecting data by watching facts as they occur. Using the
observation technique data can be analysed and used for testing the model. f)
Application Programming Interface (APIs): APIs are a set of functions and procedures that
allow one application to connect to another. So, one of the ways of collecting data is
through APIs that can be used to collect data from social media services for analysis.
© Orange - Touchpad 13
Answer: There are two different functions used to remove elements in an existing list
remove( ) and pop( ). The remove( ) Function:The remove( ) function removes the first
occurrence of the element with the specified value. It means only one value can be
removed at a time even if there are duplicate values in the list. If you wish to remove
multiple values then this function can be used within a loop where it repeats itself a
specific number of times. The pop( ) Function:The pop( ) function removes an element
from the list based on the index number specified in the function and returns the deleted
value. In case no index number is given then by default it removes the last element from
the list. If we try to remove an index number which does not exist then it gives an
IndexError
Answer:
93. “The more the data, the better will be the analysis” Justify. (4)
Answer: AI requires large amounts of data to find the latest trends and patterns. For
example, I plan to organise a social gathering in an open air setup in the month of
August in Delhi. I will have to look for a weather forecast for the same and also look at
the previous years' trends. So data collection is the base for analyses and pattern
recognition models. From those patterns, predictive models can be made. Applications of
AI in data sciences can be seen in weather forecasting, score prediction, targeted
advertisement, predictive analysis in finance.
94. Explain the use of print( ) function with all its parameters. (4)
Answer: The print() function is used to print an output on the screen. It converts the
expressions into a string before writing to the screen. Syntax to use the print( )
function is: print(object(s), sep = separator, end = end) Where, • object can be
one or more separated by comma and it can be a variable, literal, expression. An object
will be converted to string before printed. • sep is used as a separator if there are
more than one objects. • end specifies what to print at the end. Default is#
#‘\n’
© Orange - Touchpad 14
Observation of Nutritional Status (MERON) to detect malnutrition using photographs.
Kmetrica has developed and application MERON that can access malnutrition status of
individuals using facial recognition and processing algorithms.
© Orange - Touchpad 15