You are on page 1of 15

lOMoARcPSD|9865405

UGRD AI6100 AI Prompt Engineering Midterm Exam

BS Industrial Engineering (AMA Computer University)

Scan to open on Studocu

Studocu is not sponsored or endorsed by any college or university


Downloaded by Mike Rafael Nagaño (mikerafael010@gmail.com)
lOMoARcPSD|9865405

UGRD-AI6100 AI: Prompt Engineering


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

Started on Friday, 1 March 2024, 8:15 PM


State Finished
Completed on Friday, 1 March 2024, 8:25 PM
Time taken 9 mins 57 secs
Marks 40.00/40.00
Grade 100.00 out of 100.00
Question 1
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.
Application of 3DFY.ai in product design
c.
Use of GANs in 3D image generation
d.
Reinforcement learning techniques

Question 2
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.

Downloaded by Mike Rafael Nagaño (mikerafael010@gmail.com)


lOMoARcPSD|9865405

Supervised learning

Question 3
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 number of prompts accepted
b.
The quality of the 3D images generated
c.
The type of GAN used
d.
The speed of 3D image generation

Question 4
Correct
Mark 1.00 out of 1.00
Flag question

Question text
What is the importance of writing clear and concise prompts?
a.
Both A and B
b.
None of the above
c.
To get better results from the app
d.
To confuse the app

Question 5
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 generate text.
c.
A model that can only generate images.
d.

Downloaded by Mike Rafael Nagaño (mikerafael010@gmail.com)


lOMoARcPSD|9865405

A model that can only classify images.

Question 6
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.
LLM
b.
CLIP
c.
GAN
d.
LSTM

Question 7
Correct
Mark 1.00 out of 1.00
Flag question

Question text
What is the dataset used to train LLMs?
a.
None of the above
b.
Both A and B
c.
Small datasets of text and code
d.
Massive datasets of text and code

Question 8
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.
Use the same prompt over and over again
c.
Both A and B

Downloaded by Mike Rafael Nagaño (mikerafael010@gmail.com)


lOMoARcPSD|9865405

d.
Experiment with different types of prompts

Question 9
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.
Generating a response
c.
Breaking it down into individual words and phrases
d.
Both A and B

Question 10
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.
The pattern in the dataset used to train the LLM
b.
None of the above
c.
Both A and B
d.
The pattern in the individual words and phrases of the prompt

Question 11
Correct
Mark 1.00 out of 1.00
Flag question

Question text
What are prompts?
a.
Instructions given to an AI generative app
b.
Patterns used to generate a response
c.
None of the above

Downloaded by Mike Rafael Nagaño (mikerafael010@gmail.com)


lOMoARcPSD|9865405

d.
Both A and B

Question 12
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.
Generating 3D images
b.
Evaluating the quality of 3D images
c.
Training the discriminator network
d.
Updating the weights of the networks

Question 13
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.
Unsupervised learning
b.
Reinforcement learning
c.
Supervised learning
d.
Generative adversarial networks (GANs)

Question 14
Correct
Mark 1.00 out of 1.00
Flag question

Question text
What is the future of prompt engineering?
a.
It will not be used in new applications.
b.
It will become less important.
c.
It will lead to reduced bias in AI generative models.

Downloaded by Mike Rafael Nagaño (mikerafael010@gmail.com)


lOMoARcPSD|9865405

d.
It will not evolve.

Question 15
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.
Examples of creative content.
c.
Negative words that confuse models.
d.
Instructions that tell the model what to do.

Question 16
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 create prompts that are clear, concise, and effective.
c.
To create biased output.
d.
To avoid developing new and innovative techniques.

Question 17
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.
Using vague language
b.
Avoiding specific details
c.
Being specific and using keywords

Downloaded by Mike Rafael Nagaño (mikerafael010@gmail.com)


lOMoARcPSD|9865405

d.
Including negative words

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 experimentation.
b.
Lack of AI generative models.
c.
Lack of data for training prompts.
d.
Lack of a standard methodology.

Question 19
Correct
Mark 1.00 out of 1.00
Flag question

Question text
What is the effect of using negative words in a prompt?
a.
None of the above
b.
It confuses the app
c.
It helps the app to understand the prompt better
d.
Both A and B

Question 20
Correct
Mark 1.00 out of 1.00
Flag question

Question text
What is the use of negative words in prompt engineering?
a.
They confuse the model.
b.
They are used for positive prompts.
c.
They help the model understand the task.

Downloaded by Mike Rafael Nagaño (mikerafael010@gmail.com)


lOMoARcPSD|9865405

d.
They are not used in prompt engineering.

Question 21
Correct
Mark 1.00 out of 1.00
Flag question

Question text
What is the main responsibility of prompt engineers?
a.
To develop new and innovative techniques to improve the performance of AI generative models.
b.
To reduce the capabilities of AI generative models.
c.
To avoid developing new and innovative techniques.
d.
To create prompts that are unclear and ambiguous.

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 avoid experimentation.
b.
To confuse the model.
c.
To avoid using keywords.
d.
To provide context for the prompt.

Question 23
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.
Providing prompts for 3D image generation
c.
Training the generator network

Downloaded by Mike Rafael Nagaño (mikerafael010@gmail.com)


lOMoARcPSD|9865405

d.
Generating 3D images

Question 24
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 unsupervised learning
b.
Through generative adversarial networks (GANs)
c.
Through supervised learning
d.
Through reinforcement learning

Question 25
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.
Generating 3D images from prompts
b.
Training the discriminator network
c.
Evaluating the quality of 3D images
d.
Providing prompts for 3D image generation

Question 26
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.

Downloaded by Mike Rafael Nagaño (mikerafael010@gmail.com)


lOMoARcPSD|9865405

None of the above


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

Question 27
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 cooking recipes
b.
Creating weather forecasts
c.
Creating music albums
d.
Creating educational materials

Question 28
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.
GAN
b.
CLIP
c.
LSTM
d.
LLM

Question 29
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.
Reinforcement learning
c.

Downloaded by Mike Rafael Nagaño (mikerafael010@gmail.com)


lOMoARcPSD|9865405

Supervised learning
d.
Unsupervised learning

Question 30
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 advertise products and services
c.
To list the names of the authors
d.
To showcase unrelated content

Question 31
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.
Translates the text description into multiple languages
b.
Converts the text description into audio
c.
Analyzes the text description
d.
Generates the image

Question 32
Correct
Mark 1.00 out of 1.00
Flag question

Question text
What are the tips for improving prompts?
a.
Avoid using negative words
b.
Use keywords that are relevant to the task
c.

Downloaded by Mike Rafael Nagaño (mikerafael010@gmail.com)


lOMoARcPSD|9865405

Be specific about what you want the app to do


d.
Be clear and concise

Question 33
Correct
Mark 1.00 out of 1.00
Flag question

Question text
What are LLMs?
a.
Little Language Models
b.
Large Language Models
c.
Both A and B
d.
None of the above

Question 34
Correct
Mark 1.00 out of 1.00
Flag question

Question text
What is DALL-E 2?
a.
A large language model developed by OpenAI.
b.
A social media platform.
c.
A video game.
d.
A music streaming service.

Question 35
Correct
Mark 1.00 out of 1.00
Flag question

Question text
What is the role of experimentation in prompt engineering?
a.
To avoid trying different prompts.
b.
To learn how to improve prompts.
c.

Downloaded by Mike Rafael Nagaño (mikerafael010@gmail.com)


lOMoARcPSD|9865405

To avoid improving the performance of AI generative models.


d.
To use the same prompt repeatedly.

Question 36
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 clear, concise, and effective.
c.
To create prompts that are unclear and ambiguous.
d.
To create prompts that are difficult for the model to understand.

Question 37
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 diffusion modeling.
b.
By using a technique called unsupervised learning.
c.
By using a technique called reinforcement learning.
d.
By using a technique called supervised learning.

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 convert images into text descriptions.
b.
To generate images instantly from text descriptions.
c.

Downloaded by Mike Rafael Nagaño (mikerafael010@gmail.com)


lOMoARcPSD|9865405

To classify images based on 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
Why are keywords important in prompt engineering?
a.
They are used for negative prompts.
b.
They confuse the model.
c.
They are not important in prompt engineering.
d.
They help the model understand the task.

Question 40
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.
Evaluating the quality of 3D images
b.
Generating 3D images
c.
Training the discriminator network
d.
Updating the weights of the networks

Downloaded by Mike Rafael Nagaño (mikerafael010@gmail.com)

You might also like