Unit 2: Prompt Engineering, Reasoning and Agent Architectures - Subjective Questions

CSE473 — Large Language Models And Agentic Ai • Practice Questions with Detailed Answers

20 questions

1

Define zero-shot prompting. Explain its key characteristics and provide a suitable example.

2

Explain few-shot prompting and discuss how examples influence the behavior of a large language model.

3

Distinguish between zero-shot prompting and few-shot prompting. State when each approach should be preferred.

4

What factors should be considered while selecting demonstrations for a few-shot prompt?

5

Explain chain-of-thought prompting and discuss its advantages and limitations.

6

Compare zero-shot chain-of-thought with few-shot chain-of-thought prompting using suitable examples.

7

Describe the main components of a well-designed structured prompt.

8

Explain function calling in large language models. Describe the complete interaction cycle between a model and an external tool.

9

Why are schemas, argument validation, and error handling important in function calling?

10

Design a structured function definition for a tool that schedules a meeting, and explain the purpose of each field.

11

Explain how prompt engineering can be used for task planning in an agentic system.

12

Describe how a complex goal can be decomposed into subtasks. What properties should a good task plan possess?

13

What is goal-oriented action planning? Explain the roles of goals, actions, preconditions, effects, and cost.

14

Given an initial state, a goal state, and several possible actions, describe how an agent can construct and revise an action plan.

15

Define agent memory and distinguish among working memory, episodic memory, semantic memory, and procedural memory.

16

Explain the major challenges involved in agent memory management and suggest suitable solutions.

17

What is state management in an agent architecture? Describe the information commonly stored in an agent's state.

18

Compare ReAct-style reasoning with a plan-first agent architecture.

19

Describe basic reasoning strategies used by large language model agents, including decomposition, self-consistency, reflection, and verification.

20

Design an end-to-end architecture for an agent that answers a user's request by planning tasks, calling tools, maintaining state, and using memory.