0% found this document useful (0 votes)
744 views9 pages

AI Prompt Engineering Lab Prelim Exam

The document discusses prompt engineering for large language models (LLMs), including defining different types of prompts such as zero-shot, few-shot, and adversarial prompts and how they impact LLM output. It emphasizes that prompts should be succinct, clear, and specific to ensure the LLM understands the task.

Uploaded by

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

AI Prompt Engineering Lab Prelim Exam

The document discusses prompt engineering for large language models (LLMs), including defining different types of prompts such as zero-shot, few-shot, and adversarial prompts and how they impact LLM output. It emphasizes that prompts should be succinct, clear, and specific to ensure the LLM understands the task.

Uploaded by

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

AI: Prompt Engineering by Michelle M.

Esperal

PRELIM LAB EXAM


Marks 49.00/50.00

Grade98.00 out of 100.00

Question 1

What is prompt engineering?

The process of crafting instructions that guide the output of a large language model.

Question 2

What is the primary benefit of prompt engineering?

Controlling the output of large language models.

Question 3

What is the impact of succinct prompts on large language models (LLMs)?

They help reduce noise in the dataset and focus on relevant information

Question 4

What type of prompt would you use to generate text about a topic that the LLM has never seen
before?

Zero-shot prompts

Question 5

Which type of prompt is the most efficient and a good choice for platforms with limited resources?
Input/output prompts

Question 6

What is the primary purpose of prompt engineering for text-based generative art?

To guide the output of large language models.

Question 7

What is the impact of using unnecessary words or phrases in a prompt?

It makes the prompt less clear and effective

Question 8

What is the recommended approach for writing effective prompts?

Use keywords and phrases relevant to the task.

Question 9

What is the impact of experimenting with different ways to shorten the prompt without sacrificing
clarity or effectiveness?

It makes the prompt more succinct

Question 10

Where can adversarial prompts be used?

OpenAI's Megatron-Turing NLG

Question 11

Which of the following is an example of a succinct prompt for generating a poem about a cat?
"Write a poem about a cat that is lost."

Question 12

Which type of prompt tells the LLM to generate text that is different from a specific input?

Adversarial prompts

Question 13

What is the primary purpose of using clear and concise language in prompts?

To ensure the language model understands the task.

Question 14

What type of patterns does a large language model use to generate a response?

Patterns related to the meaning of individual words and the structure of sentences.

Question 15

What is the importance of succinctness in prompt writing?

It reduces the noise in the dataset

Question 16

What is the primary purpose of using keywords and phrases relevant to the task in a prompt?

To help the language model focus on the most important information.

Question 17

What is the most important step in processing a prompt by a large language model?

Finding patterns that match the prompt.


Question 18

What is the impact of using succinct prompts on the clarity of the task?

It makes the task clear and easy to understand

Question 19

What is the quality of the response generated by a large language model dependent on?

The quality of the prompt and the language model's dataset.

Question 20

What is the primary function of a large language model when it receives a prompt?

To find patterns that match the prompt in its dataset.

Question 21

How should succinct prompts be written in terms of variety?

Using different sentence structures, punctuation, and keywords

Question 22

What is an example of an input/output prompt for generating text?

"Write a story about a robot who falls in love with a human."

Question 23
Which type of prompt is used to generate text about a topic based on a few examples?

Few-shot prompts

Question 24

What is the primary goal of prompt succinctness?

To express a lot of meaning with few words

Question 25

How does the length of the prompt depend on the complexity of the task?

The length of the prompt depends on the complexity of the task

Question 26

What is the best way to use prompts effectively according to the document?

By experimenting with different types of prompts

Question 27

What is the primary tip for writing succinct prompts?

Being as specific as possible

Question 28

What is the difference between natural language prompts and technical prompts?

Natural language prompts are less precise


Question 29

What is the impact of specificity on the likelihood of generating the desired output from a prompt?

Specific prompts increase the likelihood of generating the desired output

Question 30

What is the best way to learn how to write effective prompts?

By experimenting with different types of prompts

Question 31

What is the impact of using a less succinct prompt "Write a poem about a furry, four-legged creature
that purrs and meows" for a technical background?

It makes the prompt less specific and more open to interpretation

Question 32

Which type of prompt is used to generate text about a topic without any prior knowledge?

Zero-shot prompts

Question 33

Which platforms are better suited for zero-shot prompts?

Platforms with a large dataset of text

Question 34

Why is it important for a prompt to be clear and easy to understand?

To use language that the LLM can understand


Question 35

What is the purpose of prompts for those with a non-technical background?

To tell the LLM what to do

Question 36

Which type of prompt is a good choice for platforms used for creative writing or generating ideas?

Zero-shot prompts

Question 37

What is the impact of using a succinct prompt "Write a poem about a cat" for a non-technical
background?

It makes the prompt easier for the LLM to understand

Question 38

What is an example of a few-shot prompt for generating text in the style of Shakespeare?

"Write a poem about a cat in the style of Shakespeare."

Question 39

What is the impact of adversarial prompts on the LLM?

They require the LLM to learn new information and generate text that is not similar to any of the text
it has seen before
Question 40

What should succinct prompts avoid in terms of language specificity?

Using vague or general language

Question 41

What is the expected outcome after completing Module 001 of the course?

Understanding the basic concepts of prompt engineering.

Question 42

What is the impact of tailoring the prompt to the specific task at hand?

It makes the prompt more succinct

Question 43

What is the importance of well-structured prompts in guiding the output of the LLM?

Well-structured prompts are important for the LLM to understand

Question 44

What is the impact of using negative language in prompts?

It can lead to misinterpretation by the language model.

Question 45

Which type of prompt can be used to generate creative or unexpected text, but may not be as creative
or unexpected as zero-shot prompts?

Few-shot prompts
Question 46

Incorrect

Mark 0.00 out of 1.00

What is an example of a zero-shot prompt for generating a story?

"Write a script for a movie about a cat who solves a mystery."

Question 47

Which type of prompt tells the LLM to generate text that matches a specific input?

Input/output prompts

Question 48

What is a key characteristic of effective prompts?

Clear, concise, and specific.

Question 49

What is the first step in processing a prompt by a large language model?

Breaking the prompt down into individual words and phrases.

Question 50

How can using a variety of prompts help in generating more creative and interesting text?

Using a variety of prompts can help generate more creative and interesting text

You might also like