You are on page 1of 7

lOMoARcPSD|9178650

UGRD-AI6100 AI - Prompt Engineering - Midterm Quiz 2


Attempt review
AI Prompt Engineering (AMA Computer University)

Scan to open on Studocu

Studocu is not sponsored or endorsed by any college or university


Downloaded by christian p vitug (christianvitug123@gmail.com)
lOMoARcPSD|9178650

2/4/24, 3:29 PM Midterm Quiz 2: Attempt review

Started on Sunday, 4 February 2024, 3:25 PM


State Finished
Completed on Sunday, 4 February 2024, 3:28 PM
Time taken 2 mins 33 secs
Marks 19.00/20.00
Grade 95.00 out of 100.00

Question 1
Correct

Mark 1.00 out of 1.00

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

a. To classify images based on 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 convert images into text descriptions.

Question 2

Correct

Mark 1.00 out of 1.00

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 3
Correct

Mark 1.00 out of 1.00

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

a. Through supervised learning


b. Through reinforcement learning ✓
c. Through generative adversarial networks (GANs)
d. Through unsupervised learning

https://trimestral.amaesonline.com/2323/mod/quiz/review.php?attempt=110680&cmid=73922 1/6
Downloaded by christian p vitug (christianvitug123@gmail.com)
lOMoARcPSD|9178650

2/4/24, 3:29 PM Midterm Quiz 2: Attempt review

Question 4

Correct

Mark 1.00 out of 1.00

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 5
Correct

Mark 1.00 out of 1.00

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

a. Supervised learning ✓
b. Semi-supervised learning
c. Unsupervised learning
d. Reinforcement learning

Question 6

Correct

Mark 1.00 out of 1.00

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 7
Incorrect

Mark 0.00 out of 1.00

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

a. Generating 3D images ×
b. Training the discriminator network
c. Evaluating the quality of 3D images
d. Updating the weights of the networks

https://trimestral.amaesonline.com/2323/mod/quiz/review.php?attempt=110680&cmid=73922 2/6
Downloaded by christian p vitug (christianvitug123@gmail.com)
lOMoARcPSD|9178650

2/4/24, 3:29 PM Midterm Quiz 2: Attempt review

Question 8

Correct

Mark 1.00 out of 1.00

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

a. Unsupervised learning
b. Generative adversarial networks (GANs) ✓
c. Reinforcement learning
d. Supervised learning

Question 9
Correct

Mark 1.00 out of 1.00

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

a. Generates the image ✓


b. Converts the text description into audio
c. Translates the text description into multiple languages
d. Analyzes the text description

Question 10

Correct

Mark 1.00 out of 1.00

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. LSTM
c. GAN
d. CLIP ✓

Question 11
Correct

Mark 1.00 out of 1.00

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

a. Creating weather forecasts


b. Creating educational materials ✓
c. Creating music albums
d. Creating cooking recipes

https://trimestral.amaesonline.com/2323/mod/quiz/review.php?attempt=110680&cmid=73922 3/6
Downloaded by christian p vitug (christianvitug123@gmail.com)
lOMoARcPSD|9178650

2/4/24, 3:29 PM Midterm Quiz 2: Attempt review

Question 12

Correct

Mark 1.00 out of 1.00

What is DALL-E 2?

a. A video game.
b. A large language model developed by OpenAI. ✓
c. A music streaming service.
d. A social media platform.

Question 13
Correct

Mark 1.00 out of 1.00

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

a. Avoiding specific details


b. Using vague language
c. Including negative words
d. Being specific and using keywords ✓

Question 14

Correct

Mark 1.00 out of 1.00

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 showcase unrelated content
d. To advertise products and services

Question 15
Correct

Mark 1.00 out of 1.00

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. Updating the weights of the networks ✓
d. Training the discriminator network

https://trimestral.amaesonline.com/2323/mod/quiz/review.php?attempt=110680&cmid=73922 4/6
Downloaded by christian p vitug (christianvitug123@gmail.com)
lOMoARcPSD|9178650

2/4/24, 3:29 PM Midterm Quiz 2: Attempt review

Question 16

Correct

Mark 1.00 out of 1.00

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

a. Unsupervised learning
b. Generative adversarial networks (GANs) ✓
c. Reinforcement learning
d. Supervised learning

Question 17
Correct

Mark 1.00 out of 1.00

What type of machine learning model is a generative adversarial network (GAN)?

a. A model that can only generate text.


b. A model that can generate realistic images. ✓
c. A model that can only generate images.
d. A model that can only classify images.

Question 18

Correct

Mark 1.00 out of 1.00

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 speed of 3D image generation
d. The type of GAN used

Question 19
Correct

Mark 1.00 out of 1.00

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

a. By using a technique called supervised learning.


b. By using a technique called reinforcement learning.
c. By using a technique called diffusion modeling. ✓
d. By using a technique called unsupervised learning.

https://trimestral.amaesonline.com/2323/mod/quiz/review.php?attempt=110680&cmid=73922 5/6
Downloaded by christian p vitug (christianvitug123@gmail.com)
lOMoARcPSD|9178650

2/4/24, 3:29 PM Midterm Quiz 2: Attempt review

Question 20

Correct

Mark 1.00 out of 1.00

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

a. LSTM
b. GAN ✓
c. LLM
d. CLIP

◄ Midterm Lab Quiz 1

Jump to...

Midterm Lab Quiz 2 ►

https://trimestral.amaesonline.com/2323/mod/quiz/review.php?attempt=110680&cmid=73922 6/6
Downloaded by christian p vitug (christianvitug123@gmail.com)

You might also like