Ai Prompt Engineering

Download as pdf or txt
Download as pdf or txt
You are on page 1of 45

UGRD-AI6100 AI: Prompt Engineering

1. Home
2. My courses
3. UGRD-AI6100-2323T
4. MIDTERM EXAMINATION
5. MIDTERM EXAM

Started on Monday, 4 March 2024, 9:40 AM


State Finished
Completed on Monday, 4 March 2024, 10:01 AM
Time taken 20 mins 28 secs
Marks 37.00/40.00
Grade 92.50 out of 100.00
Question 1
Incorrect
Mark 0.00 out of 1.00

Flag question

Question text
What type of artificial intelligence is used in 3DFY.ai to learn to create realistic outputs?

a.
Generative adversarial networks (GANs)

b.
Supervised learning

c.
Reinforcement learning

d.
Unsupervised learning

Question 2
Correct
Mark 1.00 out of 1.00
Flag question

Question text
What is the primary technique used by 3DFY.ai to generate 3D models from text
descriptions?

a.
Supervised learning

b.
Reinforcement learning

c.
Unsupervised learning

d.
Generative adversarial networks (GANs)

Question 3
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the main focus of prompt engineering?

a.
To create prompts that are clear, concise, and effective.

b.
To avoid developing new and innovative techniques.

c.
To reduce the capabilities of AI generative models.
d.
To create biased output.

Question 4
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What are LLMs?

a.
None of the above

b.
Both A and B

c.
Large Language Models

d.
Little Language Models

Question 5
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the purpose of the diffusion model in DALL-E 2?

a.
To convert images into text descriptions.

b.
To gradually transform a random image into an image that matches the features.

c.
To generate images instantly from text descriptions.

d.
To classify images based on text descriptions.

Question 6
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What does the provided code do with the text description and the diffusion model?

a.
Generates the image

b.
Translates the text description into multiple languages

c.
Converts the text description into audio

d.
Analyzes the text description

Question 7
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the neural network used by DALL-E 2 to generate images?
a.
LLM

b.
GAN

c.
LSTM

d.
CLIP

Question 8
Incorrect
Mark 0.00 out of 1.00

Flag question

Question text
What is the pattern used by an LLM to generate a response?

a.
None of the above

b.
The pattern in the dataset used to train the LLM

c.
The pattern in the individual words and phrases of the prompt

d.
Both A and B

Question 9
Correct
Mark 1.00 out of 1.00
Flag question

Question text
What is the future of prompt engineering?

a.
It will not evolve.

b.
It will not be used in new applications.

c.
It will become less important.

d.
It will lead to reduced bias in AI generative models.

Question 10
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the technique used by DALL-E 2 to ensure that the generated image is realistic and
matches the text description?

a.
LSTM

b.
CLIP

c.
GAN
d.
LLM

Question 11
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the goal of prompt engineering?

a.
To create prompts that are unclear and ambiguous.

b.
To create prompts that are clear, concise, and effective.

c.
To create prompts that confuse the AI generative models.

d.
To create prompts that are difficult for the model to understand.

Question 12
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is DALL-E 2?

a.
A music streaming service.

b.
A social media platform.

c.
A video game.

d.
A large language model developed by OpenAI.

Question 13
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the role of experimentation in prompt engineering?

a.
To avoid improving the performance of AI generative models.

b.
To use the same prompt repeatedly.

c.
To learn how to improve prompts.

d.
To avoid trying different prompts.

Question 14
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the role of the discriminator in the 3DFY.ai model?
a.
Evaluating the quality of 3D images

b.
Training the generator network

c.
Generating 3D images

d.
Providing prompts for 3D image generation

Question 15
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the main responsibility of prompt engineers?

a.
To create prompts that are unclear and ambiguous.

b.
To develop new and innovative techniques to improve the performance of AI generative
models.

c.
To avoid developing new and innovative techniques.

d.
To reduce the capabilities of AI generative models.

Question 16
Correct
Mark 1.00 out of 1.00
Flag question

Question text
What are the tips for improving prompts?

a.
Be specific about what you want the app to do

b.
Be clear and concise

c.
Use keywords that are relevant to the task

d.
Avoid using negative words

Question 17
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the best way to learn how to improve prompts?

a.
Experiment with different types of prompts

b.
Both A and B

c.
Use the same prompt over and over again

d.
None of the above

Question 18
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the main challenge in prompt engineering?

a.
Lack of AI generative models.

b.
Lack of experimentation.

c.
Lack of a standard methodology.

d.
Lack of data for training prompts.

Question 19
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the use of negative words in prompt engineering?

a.
They help the model understand the task.

b.
They are not used in prompt engineering.
c.
They are used for positive prompts.

d.
They confuse the model.

Question 20
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What are prompts in the context of AI generative models?

a.
Data used for training and evaluating prompts.

b.
Instructions that tell the model what to do.

c.
Examples of creative content.

d.
Negative words that confuse models.

Question 21
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What are prompts?
a.
Patterns used to generate a response

b.
None of the above

c.
Instructions given to an AI generative app

d.
Both A and B

Question 22
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What does the size of the GAN affect in 3DFY.ai?

a.
The type of GAN used

b.
The quality of the 3D images generated

c.
The speed of 3D image generation

d.
The number of prompts accepted

Question 23
Correct
Mark 1.00 out of 1.00
Flag question

Question text
What is the effect of using negative words in a prompt?

a.
Both A and B

b.
It helps the app to understand the prompt better

c.
It confuses the app

d.
None of the above

Question 24
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the first step in processing a prompt by an LLM?

a.
None of the above

b.
Breaking it down into individual words and phrases

c.
Generating a response

d.
Both A and B

Question 25
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the purpose of the provided references and supplementary materials in the
document?

a.
To provide additional resources for further learning

b.
To showcase unrelated content

c.
To list the names of the authors

d.
To advertise products and services

Question 26
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the function of the gan_optimizer in the 3DFY.ai code snippet?

a.
Training the discriminator network

b.
Generating 3D images

c.
Updating the weights of the networks

d.
Evaluating the quality of 3D images

Question 27
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Why are keywords important in prompt engineering?

a.
They confuse the model.

b.
They are used for negative prompts.

c.
They are not important in prompt engineering.

d.
They help the model understand the task.

Question 28
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What type of machine learning model is a generative adversarial network (GAN)?
a.
A model that can only generate images.

b.
A model that can only generate text.

c.
A model that can generate realistic images.

d.
A model that can only classify images.

Question 29
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the primary focus of the reference material provided for Prompt Engineering for
Text-Based Generative Art?

a.
Reinforcement learning techniques

b.
Use of GANs in 3D image generation

c.
Techniques for writing effective prompts

d.
Application of 3DFY.ai in product design

Question 30
Correct
Mark 1.00 out of 1.00
Flag question

Question text
What is the purpose of the gan_train_step function in the 3DFY.ai code snippet?

a.
Updating the weights of the networks

b.
Generating 3D images

c.
Training the discriminator network

d.
Evaluating the quality of 3D images

Question 31
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the role of the generator network in the 3DFY.ai code snippet?

a.
Training the discriminator network

b.
Evaluating the quality of 3D images

c.
Providing prompts for 3D image generation

d.
Generating 3D images from prompts

Question 32
Correct
Mark 1.00 out of 1.00

Flag question

Question text
How does the generator in 3DFY.ai learn to generate 3D images closer to the prompt
description?

a.
Through reinforcement learning

b.
Through unsupervised learning

c.
Through generative adversarial networks (GANs)

d.
Through supervised learning

Question 33
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the recommended approach for writing a good prompt for 3DFY.ai?

a.
Avoiding specific details

b.
Using vague language

c.
Being specific and using keywords

d.
Including negative words

Question 34
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What type of learning technique is used to train the neural network in DALL-E 2?

a.
Semi-supervised learning

b.
Reinforcement learning

c.
Unsupervised learning

d.
Supervised learning

Question 35
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the potential application of DALL-E 2 mentioned in the document?
a.
Creating weather forecasts

b.
Creating educational materials

c.
Creating cooking recipes

d.
Creating music albums

Question 36
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the purpose of using examples in prompt engineering?

a.
To provide context for the prompt.

b.
To confuse the model.

c.
To avoid using keywords.

d.
To avoid experimentation.

Question 37
Incorrect
Mark 0.00 out of 1.00
Flag question

Question text
What is the dataset used to train LLMs?

a.
Both A and B

b.
Massive datasets of text and code

c.
Small datasets of text and code

d.
None of the above

Question 38
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the importance of writing clear and concise prompts?

a.
To confuse the app

b.
To get better results from the app

c.
Both A and B

d.
None of the above

Question 39
Correct
Mark 1.00 out of 1.00

Flag question

Question text
How does DALL-E 2 generate images from text descriptions?

a.
By using a technique called supervised learning.

b.
By using a technique called diffusion modeling.

c.
By using a technique called reinforcement learning.

d.
By using a technique called unsupervised learning.

Question 40
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the context of the prompt?

a.
Both A and B

b.
It confuses the app
c.
It helps the app to understand what you are asking for

d.
None of the above

Question 1
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What does the size of the GAN affect in 3DFY.ai?

a.
The type of GAN used

b.
The speed of 3D image generation

c.
The quality of the 3D images generated

d.
The number of prompts accepted

Question 2
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the goal of prompt engineering?

a.
To create prompts that confuse the AI generative models.
b.
To create prompts that are unclear and ambiguous.

c.
To create prompts that are difficult for the model to understand.

d.
To create prompts that are clear, concise, and effective.

Question 3
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Why are keywords important in prompt engineering?

a.
They are not important in prompt engineering.

b.
They help the model understand the task.

c.
They are used for negative prompts.

d.
They confuse the model.

Question 4
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the use of negative words in prompt engineering?
a.
They help the model understand the task.

b.
They confuse the model.

c.
They are used for positive prompts.

d.
They are not used in prompt engineering.

Question 5
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What are the tips for improving prompts?

a.
Be clear and concise

b.
Avoid using negative words

c.
Use keywords that are relevant to the task

d.
Be specific about what you want the app to do

Question 6
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the purpose of the provided references and supplementary materials in the document?

a.
To provide additional resources for further learning

b.
To list the names of the authors

c.
To advertise products and services

d.
To showcase unrelated content

Question 7
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What does the provided code do with the text description and the diffusion model?

a.
Converts the text description into audio

b.
Analyzes the text description

c.
Generates the image

d.
Translates the text description into multiple languages

Question 8
Correct
Mark 1.00 out of 1.00
Flag question

Question text
What is the main focus of prompt engineering?

a.
To reduce the capabilities of AI generative models.

b.
To avoid developing new and innovative techniques.

c.
To create prompts that are clear, concise, and effective.

d.
To create biased output.

Question 9
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the context of the prompt?

a.
None of the above

b.
It confuses the app

c.
It helps the app to understand what you are asking for

d.
Both A and B
Question 10
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the purpose of the gan_train_step function in the 3DFY.ai code snippet?

a.
Updating the weights of the networks

b.
Generating 3D images

c.
Evaluating the quality of 3D images

d.
Training the discriminator network

Question 11
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the recommended approach for writing a good prompt for 3DFY.ai?

a.
Being specific and using keywords

b.
Using vague language

c.
Avoiding specific details
d.
Including negative words

Question 12
Correct
Mark 1.00 out of 1.00

Flag question

Question text
How does DALL-E 2 generate images from text descriptions?

a.
By using a technique called supervised learning.

b.
By using a technique called diffusion modeling.

c.
By using a technique called reinforcement learning.

d.
By using a technique called unsupervised learning.

Question 13
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is DALL-E 2?

a.
A social media platform.

b.
A large language model developed by OpenAI.

c.
A video game.

d.
A music streaming service.

Question 14
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the technique used by DALL-E 2 to ensure that the generated image is realistic and
matches the text description?

a.
GAN

b.
LLM

c.
CLIP

d.
LSTM

Question 15
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the role of the generator network in the 3DFY.ai code snippet?

a.
Evaluating the quality of 3D images

b.
Providing prompts for 3D image generation

c.
Generating 3D images from prompts

d.
Training the discriminator network

Question 16
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the importance of writing clear and concise prompts?

a.
To confuse the app

b.
None of the above

c.
Both A and B

d.
To get better results from the app

Question 17
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the primary technique used by 3DFY.ai to generate 3D models from text descriptions?

a.
Generative adversarial networks (GANs)
b.
Unsupervised learning

c.
Supervised learning

d.
Reinforcement learning

Question 18
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What are LLMs?

a.
None of the above

b.
Both A and B

c.
Large Language Models

d.
Little Language Models

Question 19
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What type of machine learning model is a generative adversarial network (GAN)?
a.
A model that can generate realistic images.

b.
A model that can only classify images.

c.
A model that can only generate text.

d.
A model that can only generate images.

Question 20
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the main responsibility of prompt engineers?

a.
To create prompts that are unclear and ambiguous.

b.
To develop new and innovative techniques to improve the performance of AI generative models.

c.
To avoid developing new and innovative techniques.

d.
To reduce the capabilities of AI generative models.

Question 21
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What type of learning technique is used to train the neural network in DALL-E 2?

a.
Semi-supervised learning

b.
Supervised learning

c.
Unsupervised learning

d.
Reinforcement learning

Question 22
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the purpose of using examples in prompt engineering?

a.
To confuse the model.

b.
To avoid using keywords.

c.
To avoid experimentation.

d.
To provide context for the prompt.

Question 23
Correct
Mark 1.00 out of 1.00
Flag question

Question text
What is the pattern used by an LLM to generate a response?

a.
None of the above

b.
The pattern in the dataset used to train the LLM

c.
The pattern in the individual words and phrases of the prompt

d.
Both A and B

Question 24
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the effect of using negative words in a prompt?

a.
It confuses the app

b.
Both A and B

c.
None of the above

d.
It helps the app to understand the prompt better
Question 25
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the role of experimentation in prompt engineering?

a.
To avoid improving the performance of AI generative models.

b.
To use the same prompt repeatedly.

c.
To avoid trying different prompts.

d.
To learn how to improve prompts.

Question 26
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the best way to learn how to improve prompts?

a.
None of the above

b.
Both A and B

c.
Use the same prompt over and over again
d.
Experiment with different types of prompts

Question 27
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the neural network used by DALL-E 2 to generate images?

a.
LSTM

b.
GAN

c.
LLM

d.
CLIP

Question 28
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the role of the discriminator in the 3DFY.ai model?

a.
Generating 3D images

b.
Training the generator network

c.
Providing prompts for 3D image generation

d.
Evaluating the quality of 3D images

Question 29
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the dataset used to train LLMs?

a.
Both A and B

b.
Small datasets of text and code

c.
None of the above

d.
Massive datasets of text and code

Question 30
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the main challenge in prompt engineering?

a.
Lack of AI generative models.

b.
Lack of a standard methodology.
c.
Lack of data for training prompts.

d.
Lack of experimentation.

Question 31
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the potential application of DALL-E 2 mentioned in the document?

a.
Creating educational materials

b.
Creating weather forecasts

c.
Creating cooking recipes

d.
Creating music albums

Question 32
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What type of artificial intelligence is used in 3DFY.ai to learn to create realistic outputs?

a.
Generative adversarial networks (GANs)
b.
Supervised learning

c.
Unsupervised learning

d.
Reinforcement learning

Question 33
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the first step in processing a prompt by an LLM?

a.
None of the above

b.
Breaking it down into individual words and phrases

c.
Generating a response

d.
Both A and B

Question 34
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the primary focus of the reference material provided for Prompt Engineering for Text-
Based Generative Art?
a.
Techniques for writing effective prompts

b.
Reinforcement learning techniques

c.
Application of 3DFY.ai in product design

d.
Use of GANs in 3D image generation

Question 35
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the future of prompt engineering?

a.
It will lead to reduced bias in AI generative models.

b.
It will not evolve.

c.
It will become less important.

d.
It will not be used in new applications.

Question 36
Correct
Mark 1.00 out of 1.00

Flag question

Question text
How does the generator in 3DFY.ai learn to generate 3D images closer to the prompt
description?

a.
Through supervised learning

b.
Through generative adversarial networks (GANs)

c.
Through reinforcement learning

d.
Through unsupervised learning

Question 37
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What are prompts?

a.
Instructions given to an AI generative app

b.
None of the above

c.
Patterns used to generate a response

d.
Both A and B

Question 38
Correct
Mark 1.00 out of 1.00
Flag question

Question text
What is the purpose of the diffusion model in DALL-E 2?

a.
To generate images instantly from text descriptions.

b.
To classify images based on text descriptions.

c.
To convert images into text descriptions.

d.
To gradually transform a random image into an image that matches the features.

Question 39
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the function of the gan_optimizer in the 3DFY.ai code snippet?

a.
Training the discriminator network

b.
Generating 3D images

c.
Evaluating the quality of 3D images

d.
Updating the weights of the networks
Question 40
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What are prompts in the context of AI generative models?

a.
Data used for training and evaluating prompts.

b.
Negative words that confuse models.

c.
Examples of creative content.

d.
Instructions that tell the model what to do.

You might also like