0% found this document useful (0 votes)
49 views15 pages

AI Quetions 9 Final Unit

Uploaded by

Gyaneshwar Gupta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views15 pages

AI Quetions 9 Final Unit

Uploaded by

Gyaneshwar Gupta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 15

Gyaneshwar Gupta

sfd
Teacher’s Copy
Chapter no.: 6,7,9 Total Marks: 155 Time: 01 Hr, 00 Mins
Marks Obtained:
Student's Name: ……………………………………………
……………………………………………

Multiple Choice Question


1. Which of the following symbols is used in flowcharts to take an input from
the user?
i. Diamond
ii. Rectangle
iii. Oval
iv. Parallelogram ( 1 )

Answer: (iv)

2. Coding and implementation is the ………………………. step in problem solving.


i. First
ii. Last
iii. Third
iv. Second ( 1 )

Answer: (ii)

3. Which of the following symbols is used to display the decision-making


statements in a flowchart?
i. Rectangle
ii. Line
iii. Diamond
iv. Oval ( 1 )

Answer: (iii)

4. Which of the following is not a domain of AI?


i. Data
ii. Chatbot
iii. Natural Language Processing
iv. Computer Vision ( 1 )

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)

6. Which of the following is a valid logical operator?


i. and
ii. !=
iii. +
iv. >= ( 1 )

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)

8. Which of the following conditional statements is used to test multiple


conditions?
i. if
ii. if…elif…else
iii. if…else
iv. All of these ( 1 )

Answer: (ii)

9. Which of the following is not part of the 4Ws framework?


i. Which
ii. Who
iii. What
iv. Why ( 1 )

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)

12. Which of the following can be a part of a list?


i. String values
ii. Integer values
iii. List
iv. All of these ( 1 )

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)

14. Which of the following is not the conditional statement in Python?


i. if Statement
ii. if...elif...else Statement
iii. if…else Statement
iv. None of these ( 1 )

Answer: (iv)

15. Which of the following is the graphical representation of data and


information?
i. Data visualisation
ii. Data analysis
iii. Both a and b
iv. None of these ( 1 )

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)

17. In ………………………., the machine is trained with huge amounts of data


which helps it in training itself around the data.
i. Deep Learning
© Orange - Touchpad 3
ii. Artificial Intelligence
iii. NLP
iv. None of the above (1)

Answer: (i)

18. Which of the following control structures is also known as branching


control?
i. Sequential flow
ii. Selection flow
iii. Repetition flow
iv. None of these ( 1 )

Answer: (ii)

19. Consider the following code:A = [“Orange”] B = [“Education”] C=A+


B print(C) Which of the following will be the output of the preceding code?
i. [‘Orange’, ‘Education’]
ii. [‘Orange Education’]
iii. Orange Education
iv. Orange + Education ( 1 )

Answer: (i)

20. Which of the following is not an advantage of Python?


i. Cross platform language
ii. Easy to learn and use
iii. Supports GUI
iv. None of these ( 1 )

Answer: (iv)

21. Which data type is used to store numbers?


i. Integer
ii. Sequence
iii. Sets
iv. None of these ( 1 )

Answer: (i)

22. Which node is the starting node in a decision tree?


i. Leaf node
ii. Branch node
iii. Root node
iv. Decision node ( 1 )

Answer: (iii)

23. Which among the following is not a reliable source of data?


i. Surveys
ii. Web scraping
© Orange - Touchpad 4
iii. Sensors
iv. Rumors (1)

Answer: (iv)

24. Which of the following is the ability of intelligence?


i. to learn
ii. to think
iii. to solve problems
iv. All of these ( 1 )

Answer: (iv)

25. Which of the following is an application in which NLP domain is used?


i. Google Assistant
ii. Alexa
iii. Siri
iv. All of these ( 1 )

Answer: (iv)

26. A self-driving car identifies objects in front of it using ………………………


domain of AI.
i. Computer Vision
ii. Data Science
iii. NLP
iv. Data Mining ( 1 )

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)

28. Which of the following is not a source of AI bias?


i. Data
ii. Algorithms
iii. People
iv. None of these ( 1 )

Answer: (iv)

29. Autonomous Weapons are also known as ………………………. .


i. Killer Robots
ii. Automatic Robots
iii. Micro Robot
iv. All of these ( 1 )
© Orange - Touchpad 5
Answer: (i)

30. Which of the following is not an advantage of AI?


i. Increased Automation
ii. Increased Productivity
iii. Smart Decision Making
iv. Expensive Technology ( 1 )

Answer: (iv)

Write True or False.


31. Algorithms are just a waste of time before writing a code. (1)

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

33. Microsoft Excel is a manual data exploration tool provided by Microsoft.


(1)

Answer: T

34. We can design games based on AI. (1)

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

36. Machines cannot draw meaningful inferences from large volumes of


datasets. ( 1 )

Answer: F

37. Data is the base for any AI project to be built. (1)

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

40. There are 6 AI domains. (1)

Answer: F

41. AI can be used for children to uphold child rights. (1)

Answer: T

42. AI can be used for children to uphold child rights. (1)

Answer: F

43. Affordable and clean energy is not important in SDG. (1)

Answer: F

44. There are different ways of visiting each element of a list. (1)

Answer: T

45. Twitter uses AI to keep a check on inappropriate and objectionable content.


(1)

Answer: F

46. NOT is not a relational operator. (1)

Answer: T

47. Driverless cars are impossible to manufacture in the automobile industry.


(1)

Answer: F

48. Flowcharts are not difficult to make and takes less time. (1)

Answer: F

49. Problem scoping is a time consuming and time-wasting step. (1)

Answer: F

50. Indentation is not important in conditional programming. (1)

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

52. …………………… refers to any technique that enables computers to mimic or


imitate, develop and demonstrate human intelligence. ( 1 )

Answer: Artificial Intelligence

53. Google launched its --------- division to design, manufacture and market
driverless vehicles around the world. ( 1 )

Answer: Waymo

54. A root node is the first node of a …………………. . (1)

Answer: decision tree

55. A ………………………. is a set of instructions given to a computer to do a


specific task. ( 1 )

Answer: program

56. Conditional programming allows a block of statement to be executed based


on a …………………. . ( 1 )

Answer: condition

57. .…………………. is the smallest unit of an image. (1)

Answer: pixel

58. Python is an ………………………. language. (1)

Answer: interpreter

59. The elements in a list can be of ………………………. data types. (1)

Answer: mutable

60. .………………………. is a character encoding standard that uses numeric codes


to represent characters in upper and lower case, numbers, and punctuation
symbols. ( 1 )

Answer: ASCII

61. .………………………. is a special literal. (1)

Answer: None
© Orange - Touchpad 8
62. In ………………………. programming the program instructions are executed
one after the other in a sequence. ( 1 )

Answer: Python

63. Sophia is designed by HongKong based company ………………………. in Feb


2016. ( 1 )

Answer: Hanson Robotics

64. .………………………. indexing begins with -1. (1)

Answer: List

65. Peace, ………………………. and strong Institution provide access to justice for
all. ( 1 )

Answer: justice

66. Robotic Scientists jobs can be related to ………………………. and


………………………. . ( 1 )

Answer: design, construction

67. ………………………. is the science of extracting useful information from a


large unstructured amount of data. ( 1 )

Answer: Data Science

68. PayPal uses AI for fraud detection, using ………………………. . (1)

Answer: big data

69. In branching statement, condition evaluates to either ………………………. or


………………………. . ( 1 )

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 )

Answer: Problem scoping

Match the following.


71. (5)

© 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)

Answer: a) (iii) b) (iv) c) (i) d) (v) e) (ii)

74. (5)

Answer: a) (ii) b) (v) c) (i) d) (iii) e) (iv)

75. (5)

© Orange - Touchpad 10
Answer: a) (iii) b) (i) c) (v) d) (ii) e) (iv)

Short answer type questions.


76. What do we do in the Evaluation stage of the AI project cycle? (2)

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)

Answer: Variables are used to store information to be referenced and manipulated in a


computer program. They also provide a way of labeling data with a descriptive name, so
our programs can be understood more clearly by the reader and ourselves

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.

80. What are tokens in Python? Name a few of them. (2)

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)

Answer: a) Areas where AI has made a remarkable impact are: b) Security


surveillance c) Education d) Space exploration

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)

a) Assertion (A) is correct, but Reason (R) is not correct.

Answer: N/A

83. What is iteration? (2)

Answer: Sometimes we have a situation where we need to repeat a set of instructions a


number of times then we put it in a loop which repeats automatically. This is called
Iteration.

84. What is a single line comment? (2)

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

85. Explain the AI research in natural language understanding. (2)

Answer: LaMDA is the latest breakthrough in natural language understanding. It's a


language model for dialogue applications and its open domain, which means its design
to converse on any open-end topic.

Longans answer type questions.


86. What is a bar chart? Give its uses. (4)

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.

87. Write Python code for the given instructions. (1x4)

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)

88. Why is Computer Vision an important Domain of AI? (4)

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)

Answer: If we want to prepare an AI model to predict the school average of students in


board examination, we will feed the marks obtained by students in board examination in
the previous years, this will be treated as training data. Once the model is ready, it will
predict the school average for the coming year. Now when we are testing it, we feed the
different data set and that is the testing data.

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.

91. Name different ways of deleting an element in a list. (4)

© 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

92. Differentiate between AI and Machine Learning. (4)

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’

95. What projects are undertaken to achieve No Poverty in SDG? (4)

Answer: a) The projects involved in achieving this SDG are: b) Combining


satellite imagery and machine learning to predict poverty: The study used machine
learning to assess consumer spending and asset wealth, using high-resolution satellite
imagery to measure poverty in Africa. c) Methods for Extremely Rapid

© 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

You might also like