from csv import DictReader
Data Wrangling - Data Cleanup
Data Wrangling -1 MCQs
Data Wrangling -1 MCQs _______________________________________________
- JSON stands for _______
A. JavaScript Object NotationB. Java Object NotationC. JavaScript Object NormalizationD. JavaScript Object-Oriented Notation
ANS: A
A. xml formatB. text formatC. JavaScriptD. php format
ANS: B
3. The JSON syntax is a subset of the _____ syntax.
A. Ajax
B. Php
C. HTML
D. javaScript
ANS: D
ARTIFICIAL INTELLIGENCE - MCQs - 2
ARTIFICIAL INTELLIGENCE - MCQs - 2
1. Which search is equal to minimax search but eliminates the branches that can’t influence the final decision?
A. Depth-first search
B. Breadth-first search
C. Alpha-beta pruning
D. None of the mentioned
Ans: C
2. Which values are independent in minimax search algorithm?
A. Pruned leaves x and y
B. Every states are dependent
C. Root is independent
D. None of the mentioned
Ans: A
3. To which depth does the alpha-beta pruning can be applied?
A. 10 states
B. 8 States
C. 6 States
D. Any depth
Ans: D
4. Which search is similar to minimax search?
A. Hill-climbing search
B. Depth-first search
C. Breadth-first search
D. All of the mentioned
Ans: B
5. Which value is assigned to alpha and beta in the alpha-beta pruning?
A. Alpha = max
B. Beta = min
C. Beta = max
D. Both Alpha = max & Beta = min
Ans: D
6. Where does the values of alpha-beta search get updated?
A. Along the path of search
B. Initial state itself
C. At the end
D. None of the mentioned
Ans: A
7. How the effectiveness of the alpha-beta pruning gets increased?
A. Depends on the nodes
B. Depends on the order in which they are executed
C. All of the mentioned
D. None of the mentioned
Ans: A
8. What is called as transposition table?
A. Hash table of next seen positions
B. Hash table of previously seen positions
C. Next value in the search
D. None of the mentioned
Ans: B
9. Which is identical to the closed list in Graph search?
A. Hill climbing search algorithm
B. Depth-first search
C. Transposition table
D. None of the mentioned
Ans: C
10. Which function is used to calculate the feasibility of whole game tree?
A. Evaluation function
B. Transposition
C. Alpha-beta pruning
D. All of the mentioned
Ans: A
11. General games involves ____________
A. Single-agent
B. Multi-agent
C. Neither Single-agent nor Multi-agent
D. Only Single-agent and Multi-agent
Ans: D
12. Adversarial search problems uses ____________
A. Competitive Environment
B. Cooperative Environment
C. Neither Competitive nor Cooperative Environment
D. Only Competitive and Cooperative Environment
Ans: A
13. Zero sum games are the one in which there are two agents whose actions must alternate and in which the utility values at the end of the game are always the same.
A. True
B. False
Ans: B
14. Zero sum game has to be a ______ game.
A. Single player
B. Two player
C. Multiplayer
D. Three player
Ans: C
15. A game can be formally defined as a kind of search problem with the following components.
A. Initial State
B. Successor Function
C. Terminal Test
D. All of the mentioned
Ans: D
16. The initial state and the legal moves for each side define the __________ for the game.
A. Search Tree
B. Game Tree
C. State Space Search
D. Forest
Ans: B
17. General algorithm applied on game tree for making decision of win/lose is ____________
A. DFS/BFS Search Algorithms
B. Heuristic Search Algorithms
C. Greedy Search Algorithms
D. MIN/MAX Algorithms
Ans: D
18. The minimax algorithm computes the minimax decision from the current state. It uses a simple recursive computation of the minimax values of each successor state, directly implementing the defining equations. The recursion proceeds all the way down to the leaves of the tree, and then the minimax values are backed up through the tree as the recursion unwinds.
A. True
B. False
Ans: A
19. Which is the most straightforward approach for planning algorithm?
A. Best-first search
B. State-space search
C. Depth-first search
D. Hill-climbing search
Ans: B
20. What are taken into account of state-space search?
A. Postconditions
B. Preconditions
C. Effects
D. Both Preconditions & Effects
Ans: D
21. Which approach is to pretend that a pure divide and conquer algorithm will work?
A. Goal independence
B. Subgoal independence
C. Both Goal & Subgoal independence
D. None of the mentioned
Ans: B
22. Which is the best way to go for Game playing problem?
A. Linear approach
B. Heuristic approach (Some knowledge is stored)
C. Random approach
D. An Optimal approach
Ans: B
23. A production rule consists of ____________
A. A set of Rule
B. A sequence of steps
C. Set of Rule & sequence of steps
D. Arbitrary representation to problem
Ans: C
24. Which search method takes less memory?
A. Depth-First Search
B. Breadth-First search
C. Linear Search
D. Optimal search
Ans: A
25. What is the major component/components for measuring the performance of problem solving?
A. Completeness
B. Optimality
C. Time and Space complexity
D. All of the mentioned
Ans: D
26. The Set of actions for a problem in a state space is formulated by a ___________
A. Intermediate states
B. Initial state
C. Successor function, which takes current action and returns next immediate state
D. None of the mentioned
Ans: C
27. What is state space?
A. The whole problem
B. Your Definition to a problem
C. Problem you design
D. Representing your problem with variable and parameter
Ans: D
28. What is the objective of tower of hanoi puzzle?
A. To move all disks to some other rod by following rules
B. To divide the disks equally among the three rods by following rules
C. To move all disks to some other rod in random order
D. To divide the disks equally among three rods in random order
Ans: A
29. Which of the following is NOT a rule of tower of hanoi puzzle?
A. No disk should be placed over a smaller disk
B. Disk can only be moved if it is the uppermost disk of the stack
C. No disk should be placed over a larger disk
D. Only one disk can be moved at a time
Ans: C
30. Recursive solution of tower of hanoi problem is an example of which of the following algorithm?
A. Dynamic programming
B. Backtracking
C. Greedy algorithm
D. Divide and conquer
Ans: D
Artificial Intelligence - MCQs - 1
Artificial Intelligence - MCQs - 1
A. Artificial Intelligence is a field that aims to make humans more intelligentB. Artificial Intelligence is a field that aims to improve the
securityC. Artificial Intelligence is a field that aims to develop intelligent machinesD. Artificial Intelligence is a field that aims to mine the data
Ans: C
2. Who is the inventor of Artificial Intelligence?
A. Geoffrey Hinton
B. Andrew Ng
C. John McCarthy
D. Jürgen Schmidhuber
Ans: C
3. Which of the following is the branch of Artificial Intelligence?
A. Machine Learning
B. Cyber forensics
C. Full-Stack Developer
D. Network Design
Ans: A
4. What is the goal of Artificial Intelligence?
A. To solve artificial problems
B. To extract scientific causes
C. To explain various sorts of intelligence
D. To solve real-world problems
Ans: C
5. Which of the following is an application of Artificial Intelligence?
A. It helps to exploit vulnerabilities to secure the firm
B. Language understanding and problem-solving (Text analytics and NLP)
C. Easy to create a website
D. It helps to deploy applications on the cloud
Ans: B
A. PerlB. JavaC. PROLOGD. LISP
A. Face recognition systemB. ChatbotsC. LIDARD. DBMS
A. Reduces the time taken to solve the problemB. Helps in providing securityC. Have the ability to think hence makes the work easierD. All of the above
A. Depth-First SearchB. Breadth-First searchC. Optimal searchD. Linear Search
A. To discover something or an idea embedded in a programB. To search and measure how far a node in a search tree seems to be from a goalC. To compare two nodes in a search tree to see if one is better than the other isD. All of the mentioned
A. Turing TestB. AlgorithmC. Boolean AlgebraD. Logarithm
A. DefenseB. EnergyC. EducationD. Justice
A. Dartmouth UniversityB. Harvard UniversityC. Massachusetts Institute of TechnologyD. Stanford University
A. David LevyB. John McCarthyC. Joseph WeizenbaumD. Hans Berliner
A. DartmouthB. HarvardC. New YorkD. Stanford
A. A function to solve mathematical problemsB. A function which takes parameters of type string and returns an integer valueC. A function whose return type is nothingD. A function that maps from problem state descriptions to measures of desirability
A. Input, outputB. Problem, solutionC. Solution, problemD. Parameters, sequence of actions
A. Finding shortest path between a source and a destinationB. Travelling Salesman problemC. Map coloring problemD. Depth first search traversal on a given map represented as a graph
A. Depth-First SearchB. Breadth-First searchC. Linear SearchD. Optimal search
A. Uninformed searchB. Informed searchC. Simple reflex searchD. All of the mentioned
A. Depth-first searchB. Breadth-first searchC. Bidirectional searchD. None of the mentioned
A. Depth-limited searchB. Depth-first searchC. Breadth-first searchD. None of the mentioned
A. Simple searchB. Heuristic searchC. Online searchD. None of the mentioned
A. Greedy best-first searchB. Best-first searchC. Depth-first searchD. None of the mentioned
A. Constraints Satisfaction ProblemsB. Uninformed Search ProblemsC. Local Search ProblemsD. All of the mentioned
A. To discover something or an idea embedded in a programB. To search and measure how far a node in a search tree seems to be from a goalC. To compare two nodes in a search tree to see if one is better than anotherD. All of the mentioned
A. Breadth-First-SearchB. Depth-First –SearchC. Best-First-SearchD. Hill climbing
A. TrueB. False
A. QueueB. StackC. Priority QueueD. Circular Queue
B. Path cost from start node to current nodeC. Path cost from start node to current node + Heuristic costD. Average of Path cost from start node to current node and Heuristic cost
About Machine Learning
Welcome! Your Hub for AI, Machine Learning, and Emerging Technologies In today’s rapidly evolving tech landscape, staying updated with the ...
-
This blog provides information for the following subjects 👉 Artificial Intelligence 👉 Machine Learning 👉 Machine Learning Programs 👉 ...
-
Machine Learning 👉 About Machine Learning 1 The Machine Learning Landscape Classification Support Vector Machines Decision Trees Ensem...
-
UNIT 3 Support Vector Machines MCQs -------------------------------------------------------------------------------------------------------...