0
0
Agentic_aiml~20 mins

Why agents represent the next AI paradigm in Agentic Ai - Challenge Your Understanding

Choose your learning style8 modes available
Challenge - 5 Problems
🎖️
Agent Mastery Badge
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 conceptual
intermediate
2:00remaining
Understanding Agent Autonomy

Which statement best describes why agents are considered autonomous in AI?

AAgents operate solely based on random actions without any goal.
BAgents require constant human input to perform tasks effectively.
CAgents only follow pre-programmed instructions without adapting to new data.
DAgents can independently perceive their environment and make decisions without human intervention.
Attempts:
2 left
model choice
intermediate
2:00remaining
Choosing Agent Architecture

You want to build an AI agent that can learn from experience and improve over time. Which model architecture is best suited?

AReinforcement learning model that learns from rewards and penalties.
BRule-based system with fixed if-then rules.
CStatic decision tree that does not update after training.
DSimple linear regression model predicting a fixed output.
Attempts:
2 left
metrics
advanced
2:00remaining
Evaluating Agent Performance

Which metric is most appropriate to evaluate an AI agent's success in completing a sequence of tasks over time?

ACumulative reward collected during task execution.
BAccuracy measured on a single static dataset.
CMean squared error between predicted and actual values.
DPrecision and recall on a classification problem.
Attempts:
2 left
🔧 debug
advanced
2:00remaining
Debugging Agent Action Selection

Given this pseudocode for an agent's action selection, which bug causes the agent to always pick the first action?

actions = ['move', 'stop', 'turn']
selected_action = None
for action in actions:
    if action == 'move':
        selected_action = action
        break
    else:
        selected_action = actions[0]
AThe else clause resets selected_action to the first action every time.
BThe actions list is empty, so no action is selected.
CThe break statement causes the loop to exit after the first action is checked.
DThe loop never assigns any action to selected_action.
Attempts:
2 left
💻 code output
expert
3:00remaining
Agent Decision Output

What is the output of this Python code simulating a simple agent decision process?

class Agent:
    def __init__(self):
        self.state = 0
    def act(self, observation):
        match observation:
            case 'obstacle':
                self.state += 1
                return 'turn'
            case 'clear':
                self.state = 0
                return 'move'
            case _:
                return 'stop'

agent = Agent()
outputs = []
inputs = ['clear', 'obstacle', 'obstacle', 'clear', 'unknown']
for inp in inputs:
    outputs.append(agent.act(inp))
print(outputs)
A['move', 'turn', 'turn', 'turn', 'stop']
B['move', 'turn', 'turn', 'move', 'stop']
C['stop', 'turn', 'turn', 'move', 'stop']
D['move', 'move', 'move', 'move', 'stop']
Attempts:
2 left