NEW
Font size
WorksheetsAI ML LCA-01 QUIZ
Total questions: 12
Worksheet time: 22mins
Consieder python code: >> marks =[ 89, 78, 45, 23, 12]
>>marks .pop(1)
what will be the output ?
89
45
1
78
Consider python code : >> Number = [1, 2, 3]
I want to add numbers 8 & 9 numbers in the above list , suggest which method I can use ?
Number.append (8,9)
Number.extend (8,9)
Number.add(8,9)
all three options are correct .
consider python code : >> TYWPU= { 'AIML': 01, 'CSP': 02, 'DCN':03, 'IPR':04}
TYWPU.keys ( )
What will be the output ?
dict.keys([AIML' 'CSP', 'DCN', 'IPR'])
'AIML':01
dict.keys([01' '02', '03', '04'])
NONE OF THE OPTIONS ARE CORRECT
Consider python code : >>numbers = {1, 2, 3, 3, 4}
select correct answer
numbers is Class in python
numbers is list in python
numbers is Dictionary in python
numbers is set in python
In problem solving using search method , AI agents are .....................
reflex based agents
Utility Based Agents
Goal based agents
Simple agents
The Graph is ..............type of data structure .
Static data structure
Dynamic data structure
linear data structure
Non Linear data structure
BFS Searching algorithm works on ......................principle
LIFO
FIFO
FILO
LIFO & FILO
The Graph data structure is represented using ....................... in python .
Tupple
List
class
Dictionary
Level by level Traversing is done in................
BFS algorithm
DFS algorithm
DFS algorithm follows ...................data structure .
Queue
Stack
Array
tree
Consider given graph for BFS algorithm . Find the traversing sequence or queue of visited nodes .( node 0 is root node )
0,2,3,1,4,5,6
0,1,2,3,4,5,6,
0,3,4,5,6,2,1,
0, 3, 2, 1, 4, 5, 6.
consider adjancy list of a graph . Identify the correct graph from following graphs .
Graph={
A=[B,D]'
B= ['C,D]'
C=[ E],
D=[E],
E=[ ]
}
