You have a request ? Contact Us Join Us

Generative AI Prompt Engineering Basics | Coursera Quiz Answers

Answers of IBM Applied AI Professional Certificate.
Estimated read time: 7 min
Generative AI Prompt Engineering Basics
Generative AI Prompt Engineering Basics

This course is designed for anyone interested in leveraging prompt engineering techniques to maximize the potential of generative AI tools like ChatGPT. You’ll learn effective strategies for guiding AI models to produce desired outputs. The course covers techniques like zero-shot and few-shot learning, and explores various prompt engineering approaches. Hands-on labs provide practical experience in creating effective prompts. You’ll also gain insights from practitioners about the art of writing effective prompts.


Prompt Engineering Basics

1. What is the first step in writing a well-structured prompt through the process of prompt engineering?
  • Testing the prompt for response quality
  • Refining the prompt based on testing and analysis
  • Analyzing responses from the generative Al model
  • Defining the goal 
2. Why is clarity important when writing prompts for generative Al models?
  • Clarity helps make the prompt less engaging
  • Clarity helps the model understand the task and produce relevant responses
  • Clarity adds to the complexity of the prompt
  • Clarity ensures the prompt is lengthy
3. Which of the following is the main purpose of using the user feedback loop?
  • To iteratively refine text prompts based on the response generated by the LLM
  • To provide explicit instructions to generate neutral responses
  • To generate meaningful responses without needing prior training on specific prompts
  • To generate responses with examples
4. How does the Tree-of-Thoughts approach differ from traditional linear prompting approaches?
  • It encourages linear thinking
  • It explores multiple possibilities simultaneously using a hierarchical structure
  • It eliminates all possible routes of thinking
  • It makes random decisions
5. What is the primary goal of prompt engineering tools?
  • To provide suggestions for improving NLP techniques.
  • To create applications for language model experiments.
  • To optimize the creation of prompts for generative Al models. 
  • To design user-friendly interface for generative Al models.
6. Which among the following statements is accurate about the Tree-of-Thought approach?
  • The Tree-of-Thought approach only works for generating responses to marketing-related prompts.
  • The Tree-of-Thought approach enables generative Al models to explore multiple paths simultaneously and assess potential outcomes.
  • The Tree-of-Thought approach eliminates the need for any prompt instructions or constraints.
  • The Tree-of-Thought approach is less effective than the Chain-of-Thought approach for generative Al reasoning.
7. Which among the following is a platform of integrated tools that can be used to train, tune, deploy, and manage foundation models?
  • PromptPerfect
  • Spellbook
  • IBM watsonx.ai
  • Dust

Prompt Engineering Techniques and Approaches

1. Imagine you are planning a business trip, and you want to use the interview pattern approach to prompt an Al model to assist you in planning your itinerary. What would be the benefit of this approach in comparison to a traditional static prompt?
  • The model will provide a single predetermined itinerary
  • The model will ask for your preferences and adjust the itinerary accordingly
  • The model will minimize the need for any user interaction
  • The model will generate a random travel plan.
2. Jennifer wants to request some useful information about a complex medical condition using a large language model. Which among the following techniques should she employ on the text prompt to ensure that the generated content is relevant, accurate, and precise for this specialized field?
  • Framing
  • Domain expertise
  • Bias mitigation
  • Task specification
3. Imagine you are a content developer working with LLMs, and you must ensure that the responses generated are indiscriminatory and neutral. Which among the following techniques would you employ with your text prompts to instruct the model appropriately?
  • Few-shot prompting
  • Bias mitigation
  • Contextual guidance
  • Zero-shot prompting
4. Imagine you are using the Chain-of-Thought approach to teach a generative Al model how to solve a mathematical problem. What is the key component of a prompt in this approach?
  • A prompt includes only a question without an answer.
  • A prompt includes a series of related questions without the correct answer.
  • A prompt includes a list of formulae to solve the question.
  • A prompt consists of a question and a correct answer for context.

Prompt Engineering for Generative AI

1. Raechel wants to apply the process of prompt engineering to create an effective prompt for generating creative ideas for the marketing campaign of a new eco-friendly home cleaning product. Identify the best prompt for this task.
  • Give information about the price of an eco-friendly home cleaning product. This will help the customers compare the price of this product with other products available in the market and decide which one to buy.
  • Generate three creative and detailed ideas for a digital marketing campaign to promote a new eco-friendly home cleaning product. Consider the target audience, product strengths, marketing channels, and unique propositions for selling the product.
  • List the benefits of the new eco-friendly home cleaning product through campaigns organized by the company so that more and more people will be attracted to this product.
  • Generate ideas to sell a new product in the digital market through marketing campaigns and creative ideas.
2. How does incorporating the persona pattern dimension enhance prompt effectiveness? Select the best option.
  • By introducing a sense of character-driven context and perspective
  • By including a series of questions through multiple prompts
  • By increasing the number of words in the prompt
  • By focusing solely on generic content without historical or fictional references
3. What is the key benefit of incorporating examples within the prompt?
  • It helps the model understand the desired purpose.
  • It reduces the need for context.
  • It adds to the complexity of the prompt.
  • It makes the prompt more concise.
4. Monica is a writer looking to improve her storytelling by using a large language model (LLM) for creative writing prompts. Which feature of a prompt engineering tool would be most beneficial for her to achieve this goal?
  • Iteratively refining prompts by adjusting them based on the initial outputs of the LLM's story
  • Suggesting different prompt formats (like questions, dialogues, or scenarios) tailored to the preferred storytelling style (such as mystery, romance, or sci-fi)
  • Offering a library of pre-defined story beginnings designed for particular genres and themes.
  • Providing feedback for prompts based on a given input.

Related Articles

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.