0% found this document useful (0 votes)
99 views23 pages

UGRD-AI6100 AI Prompt Engineering Midterm Lab Exam

Midterm lab exam

Uploaded by

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

UGRD-AI6100 AI Prompt Engineering Midterm Lab Exam

Midterm lab exam

Uploaded by

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

UGRD-AI6100 AI: Prompt Engineering

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

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


State Finished
Completed on Friday, 15 March 2024, 2:17 PM
Time taken 31 mins 39 secs
Marks 37.00/40.00
Grade 92.50 out of 100.00
Question 1
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the main focus of prompt engineering?

a.
To avoid developing new and innovative techniques.

b.
To reduce the capabilities of AI generative models.

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

d.
To create biased output.

Question 2
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.
Providing prompts for 3D image generation

b.
Training the discriminator network

c.
Evaluating the quality of 3D images

d.
Generating 3D images from prompts

Question 3
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.
CLIP

c.
LLM

d.
GAN
Question 4
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 5
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.
Analyzes the text description

c.
Translates the text description into multiple languages

d.
Converts the text description into audio

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

b.
Generative adversarial networks (GANs)

c.
Supervised learning

d.
Unsupervised learning

Question 7
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 8
Incorrect
Mark 0.00 out of 1.00

Flag question

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

a.
It helps the app to understand the prompt better

b.
Both A and B

c.
None of the above

d.
It confuses the app

Question 9
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What are prompts?

a.
Instructions given to an AI generative app

b.
Both A and B

c.
Patterns used to generate a response

d.
None of the above

Question 10
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.
Massive datasets of text and code

d.
Small datasets of text and code

Question 11
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 learn how to improve prompts.

c.
To use the same prompt repeatedly.

d.
To avoid trying different prompts.

Question 12
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 individual words and phrases of the prompt

b.
Both A and B

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

d.
None of the above

Question 13
Correct
Mark 1.00 out of 1.00
Flag question

Question text
What is the context of the prompt?

a.
It confuses the app

b.
Both A and B

c.
None of the above

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

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.
Generating 3D images

b.
Training the generator network

c.
Evaluating the quality of 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 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.
Reinforcement learning techniques

d.
Use of GANs in 3D image generation

Question 16
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.
Be clear and concise

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

d.
Use keywords that are relevant to the task

Question 17
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 supervised learning.

d.
By using a technique called reinforcement learning.

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 a standard methodology.

b.
Lack of experimentation.

c.
Lack of AI generative models.

d.
Lack of data for training prompts.

Question 19
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 video game.

c.
A social media platform.

d.
A music streaming service.

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 help the model understand the task.

b.
They confuse the model.

c.
They are not used in prompt engineering.

d.
They are used for positive prompts.

Question 21
Correct
Mark 1.00 out of 1.00

Flag question

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

a.
None of the above

b.
Both A and B

c.
To get better results from the app

d.
To confuse the app

Question 22
Incorrect
Mark 0.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 number of prompts accepted

d.
The quality of the 3D images generated

Question 23
Correct
Mark 1.00 out of 1.00

Flag question

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

a.
Negative words that confuse models.

b.
Instructions that tell the model what to do.

c.
Examples of creative content.

d.
Data used for training and evaluating prompts.

Question 24
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.
Unsupervised learning

c.
Reinforcement learning

d.
Supervised learning

Question 25
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 generative adversarial networks (GANs)

b.
Through unsupervised learning

c.
Through supervised learning

d.
Through reinforcement learning

Question 26
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.
Evaluating the quality of 3D images

c.
Training the discriminator network

d.
Generating 3D images

Question 27
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 avoid developing new and innovative techniques.

c.
To reduce the capabilities of AI generative models.

d.
To create prompts that are unclear and ambiguous.

Question 28
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.
Evaluating the quality of 3D images

c.
Updating the weights of the networks

d.
Generating 3D images

Question 29
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.
Generating a response

b.
Breaking it down into individual words and phrases

c.
None of the above

d.
Both A and B

Question 30
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 music albums

c.
Creating cooking recipes

d.
Creating educational materials

Question 31
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What are LLMs?

a.
Both A and B

b.
Large Language Models

c.
None of the above

d.
Little Language Models

Question 32
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.
Being specific and using keywords

c.
Avoiding specific details

d.
Including negative words

Question 33
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 34
Correct
Mark 1.00 out of 1.00

Flag question

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

a.
Use the same prompt over and over again

b.
None of the above

c.
Both A and B

d.
Experiment with different types of prompts

Question 35
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 help the model understand the task.

c.
They are used for negative prompts.

d.
They are not important in prompt engineering.

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

d.
It will not evolve.
Question 37
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 provide context for the prompt.

c.
To avoid using keywords.

d.
To confuse the model.

Question 38
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.
Generative adversarial networks (GANs)
d.
Unsupervised learning

Question 39
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 classify images based on text descriptions.

c.
To generate images instantly from text descriptions.

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

Question 40
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 difficult for the model to understand.

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

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

You might also like