0% found this document useful (0 votes)
33 views6 pages

M Quiz

The document is a lab quiz for a Python course focused on Artificial Intelligence, consisting of 28 questions with multiple-choice answers. Each question tests knowledge on Python programming and AI concepts, such as algorithms, agents, and the Turing Test. The quiz is valid for a specific date and time, and each question carries a mark value of 2.

Uploaded by

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

M Quiz

The document is a lab quiz for a Python course focused on Artificial Intelligence, consisting of 28 questions with multiple-choice answers. Each question tests knowledge on Python programming and AI concepts, such as algorithms, agents, and the Turing Test. The quiz is valid for a specific date and time, and each question carries a mark value of 2.

Uploaded by

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

Artificial Intelligence using No.

Of
Poll Name labquiz Subject 23
Python Lab Question
Valid From 10/03/2025 Valid To 10/03/2025 Timing 3:10PM-3:40PM

Question No. 1 (Marks :-2) 

Find the output of the following Python function on list?


len(["hello",2, 4, 6])
1) Error
2) 8
3)✓ 4
4) 3
Question No. 2 (Marks :-2)
Select the correct output of the following Python code?
x = 'abcd'
for i in x:
print(i.upper())
a
B
1) C
D
2) a b c d
3) error
A
B
4)✓ C
D

Question No. 3 (Marks :-2)


The output of the following Python code snippet of list?
for i in [1, 2, 3, 4][::-1]:
print(i, end=' ')
1)✓ 4 3 2 1
2) error
3) 1 2 3 4
4) none of the above
Question No. 4 (Marks :-2)
To add a new element to a list we use which Python command?
1) list1.addEnd(5)
2) list1.addLast(5)
3)✓ list1.append(5)
4) list1.add(5)
Question No. 5 (Marks :-2)
What will be the output of the following Python code?
list1 = [1, 3]
list2 = list1
list1[0] = 4
print(list2)
1) [1, 4]
2) [1, 3, 4]
3)✓ [4, 3] 

4) [1, 3]

Question No. 6 (Marks :-2)


The “Father of Artificial Intelligence” is:
1)✓ John Mccarthy
2) Guido van rossum
3) harri chandra
4) john smith
Question No. 7 (Marks :-2)
Artificial Intelligence is about________
1) 1. Playing a game on Computer

2)✓ Making a machine Intelligent


3) Programming on Machine with your Own Intelligence
4) Putting your intelligence in Machine
Question No. 8 (Marks :-2)
Select the most appropriate situation for that a blind search can be
used.
1) Real-life situation
2)✓ Small Search Space
3) Complex game
4) All of the above
Question No. 9 (Marks :-2)
The application/applications of Artificial Intelligence is/are
1) Expert Systems
2) Gaming
3) Vision Systems
4)✓ All of the above
Question No. 10 (Marks :-2)
Among the given options, which search algorithm requires less
memory?
1) Optimal Search
2)✓ Depth First Search
Breadth-First Search
3)
4) Linear Search
Question No. 11 (Marks :-2)
If a robot is able to change its own trajectory as per the external
conditions, then the robot is considered as the__
Mobile
1)
Non-Servo
2)
Open Loop 
3)

4)✓ Intelligent

Question No. 12 (Marks :-2)


Which of the given language is not commonly used for AI?
LISP
1)

PROLOG
2)
Python
3)

4)✓ Perl

Question No. 13 (Marks :-2)


A technique that was developed to determine whether a machine
could or could not demonstrate the artificial intelligence known as
the___
Boolean Algebra
1)
Turing Test
2)✓
Logarithm
3)
4) Algorithm
Question No. 14 (Marks :-2)
The component of an Expert system is_________.
1) Knowledge Base
2) Inference Engine
User Interface
3)

4)✓ All of the above


Question No. 15 (Marks :-2)
Which algorithm is used in the Game tree to make decisions of
Win/Lose?

1) Heuristic Search Algorith


DFS/BFS algorithm
2)

Greedy Search Algorithm


3)

4)✓ Min/Max algorithm


Question No. 16 (Marks :-2)
The available ways to solve a problem of state-space-search.

1
1)
2
2)✓
3
3)
4) 4
Question No. 17 (Marks :-2)
Among the given options, which is not the required property of
Knowledge representation?
Inferential Efficiency
1)

Inferential Adequacy
2)
Representational Verification
3)✓

4)
Representational Adequacy
Question No. 18 (Marks :-2)
An AI agent perceives and acts upon the environment using___.

Sensors
1)
Perceiver
2)

Actuators
3)

4)✓ Both a and c


Question No. 19 (Marks :-2)
Which rule is applied for the Simple reflex agent?
Simple-action rule
1)
Simple &Condition-action rule
2)
Condition-action rule
3)✓
4) None of the above
Question No. 20 (Marks :-2)
Which agent deals with the happy and unhappy state?
Utility-based agent
1)✓

Model-based agent
2)
Goal-based Agent 
3)
4) Learning Agent
Question No. 21 (Marks :-2)
Rational agent always does the right things.
True
1)✓
2) False
Question No. 22 (Marks :-2)
Which term describes the common-sense of the judgmental part of
problem-solving?

1) Values-based

Critical
2)
Analytical
3)

4)✓ Heuristic
Question No. 23 (Marks :-2)
Which AI technique enables the computers to understand the
associations and relationships between objects and events?
Heuristic Processing
1)
Cognitive Science
2)
Relative Symbolism
3)

4)✓ Pattern Matching


Question No. 24 (Marks :-2)
The exploration problem is where______.
Agent contains the knowledge of State and actions.
1)
Agent does not contain the knowledge of State and actions.
2)✓
Only actions are known to the agent.
3)
4) None of the above
Question No. 25 (Marks :-2)
In the Wumpus World Problem, the reason for the uncertainty is that
the agent's sensor gives only__

1) Full & Global information
Partial & Global Information
2)

Full & local information


3)

4)✓ Partial & local Information


Question No. 26 (Marks :-2)
The search algorithm which is similar to the minimax search, but
removes the branches that don't affect the final output is known as__.

Depth-first search
Breadth-first search
Alpha-beta pruning
None of the above

1) Depth-first search

Breadth-first search
2)

Alpha-beta pruning
3)✓

4) None of the above


Question No. 27 (Marks :-2)
The maximum depth to which the alpha-beta pruning can be applied.

Eight states
1)

Six states
2)

Ten states
3)

4)✓
Any depth
Question No. 28 (Marks :-2)
Among the given options, which is also known as inference rule?

Reform
1)
Resolution
2)✓
3) Reference
4) None of the above

You might also like