You are on page 1of 15

Unit 1

1. What is Generative AI?

A. An AI technique that generates new data

B. An AI technique that analyzes existing data

C. An AI technique that classifies data

D. An AI technique that optimizes data

Answer: A. An AI technique that generates new data

2. Which of the following is not a type of Generative AI model?

A. GANs (Generative Adversarial Networks)

B. VAEs (Variational Autoencoders)

C. CNNs (Convolutional Neural Networks)

D. RNNs (Recurrent Neural Networks)

Answer: C. CNNs (Convolutional Neural Networks)

3. What are some common applications of Generative AI?

A. Image generation, text generation, music generation

B. Data analysis, data visualization, data cleansing

C. Speech recognition, sentiment analysis, language translation

D. Regression analysis, classification, clustering

Answer: A. Image generation, text generation, music generation

4. How does Generative AI work?

A. By mimicking human behavior

B. By learning patterns from existing data and generating new data

C. By analyzing large datasets and making predictions

D. By optimizing algorithms for specific tasks

Answer: B. By learning patterns from existing data and generating new data

5. What is the lifecycle of a Generative AI project?

A. Data collection, preprocessing, model training, deployment, monitoring

B. Model selection, hyperparameter tuning, evaluation, training

C. Data cleaning, feature engineering, model testing, optimization

D. Problem definition, data analysis, model building, validation


Answer: A. Data collection, preprocessing, model training, deployment, monitoring

6. How is Generative AI utilized in software applications?

A. To automate repetitive tasks

B. To generate realistic images and text

C. To improve user experience through personalized content

D. All of the above

Answer: D. All of the above

7. In what ways can Generative AI impact businesses and society?

A. By enhancing creativity and innovation

B. By automating tasks and processes

C. By generating new revenue streams

D. All of the above

Answer: D. All of the above

8. What distinguishes GPTs (Generative Pre-trained Transformers) from search engines?

A. GPTs can generate new content, while search engines retrieve existing content

B. Search engines are trained on labeled data, while GPTs are not

C. GPTs use supervised learning, while search engines use unsupervised learning

D. There is no difference between GPTs and search engines

Answer: A. GPTs can generate new content, while search engines retrieve existing content

9. What are some ethical considerations related to Generative AI?

A. Bias in generated content

B. Misuse of generated content for malicious purposes

C. Privacy concerns related to generated data

D. All of the above

Answer: D. All of the above

10. How can responsible AI practices be implemented in Generative AI projects?

A. By ensuring diversity and inclusivity in training data

B. By transparently disclosing the use of generated content

C. By actively monitoring and addressing biases in models


D. All of the above

Answer: D. All of the above

11. Which technique is commonly used for image generation in Generative AI?

A. GANs (Generative Adversarial Networks)

B. LSTM (Long Short-Term Memory)

C. SVM (Support Vector Machine)

D. PCA (Principal Component Analysis)

Answer: A. GANs (Generative Adversarial Networks)

12. What is the primary function of a discriminator in a GAN?

A. To generate new images

B. To evaluate the realism of generated images

C. To classify images into categories

D. To preprocess input data

Answer: B. To evaluate the realism of generated images

13. Which Generative AI model type is known for its ability to generate continuous, smooth output distributions?

A. VAEs (Variational Autoencoders)

B. GANs (Generative Adversarial Networks)

C. RNNs (Recurrent Neural Networks)

D. CNNs (Convolutional Neural Networks)

Answer: A. VAEs (Variational Autoencoders)

14. What is the main advantage of using Generative AI in natural language processing tasks?

A. Improved accuracy in text classification

B. Faster processing speed compared to traditional methods

C. Ability to generate human-like text

D. Reduced need for labeled training data

Answer: C. Ability to generate human-like text

15. In Generative AI, what does the term "latent space" refer to?

A. The space of input data features

B. The space of generated output data


C. The space of latent variables learned by the model

D. The space of model parameters

Answer: C. The space of latent variables learned by the model

16. Which type of Generative AI model is commonly used for anomaly detection?

A. GANs (Generative Adversarial Networks)

B. VAEs (Variational Autoencoders)

C. RNNs (Recurrent Neural Networks)

D. CNNs (Convolutional Neural Networks)

Answer: B. VAEs (Variational Autoencoders)

17. What role does reinforcement learning play in Generative AI?

A. Reinforcement learning is not used in Generative AI

B. Reinforcement learning is used to optimize the generator in GANs

C. Reinforcement learning is used to train the discriminator in GANs

D. Reinforcement learning is used to fine-tune pre-trained Generative AI models

Answer: B. Reinforcement learning is used to optimize the generator in GANs

18. How does Generative AI contribute to data augmentation in machine learning tasks?

A. By generating synthetic data to supplement training datasets

B. By removing noisy data points from training datasets

C. By optimizing model parameters for better performance

D. By reducing the dimensionality of input data

Answer: A. By generating synthetic data to supplement training datasets

19. Which of the following is not a common technique for improving the training stability of Generative AI models?

A. Feature scaling

B. Batch normalization

C. Gradient clipping

D. Dropout regularization

Answer: A. Feature scaling

20. What is one potential limitation of Generative AI models?

A. Difficulty in generating diverse and realistic output


B. Limited scalability to large datasets

C. High computational cost during training

D. All of the above

Answer: D. All of the above


Unit 2

Certainly, here are 20 multiple-choice questions along with their answers on the topics of Prompt Engineering and
Large Language Models:

1. What is the primary focus of Prompt Engineering in the context of Generative AI?

A. Optimizing model architecture

B. Fine-tuning pre-existing prompts

C. Designing new algorithms for training

D. Enhancing data preprocessing techniques

Answer: B. Fine-tuning pre-existing prompts

2. Which framework provides a structured approach to Prompt Engineering for Generative AI models?

A. ACHIEVE

B. TRANSFORM

C. GENERATE

D. ENHANCE

Answer: A. ACHIEVE

3. What does the ACHIEVE framework stand for in Prompt Engineering?

A. Algorithm, Computation, Heterogeneity, Iteration, Evaluation, Verification, Evolution

B. Analysis, Collaboration, Hypothesis, Inference, Execution, Validation, Efficiency

C. Adaptation, Calibration, Heuristic, Integration, Evaluation, Validation, Efficiency

D. Assessment, Collaboration, Humanization, Interaction, Evaluation, Validation, Enhancement

Answer: A. Algorithm, Computation, Heterogeneity, Iteration, Evaluation, Verification, Evolution

4. In the context of Large Language Models, what is a prompt?

A. A command given to the model for execution

B. An input provided to the model to generate desired output

C. A feedback mechanism for model evaluation

D. A measure of model performance

Answer: B. An input provided to the model to generate desired output

5. Which aspect of prompt patterns focuses on refining the structure and wording of questions to elicit specific
responses from the model?

A. Question refinement pattern


B. Cognitive verifier pattern

C. Audience persona pattern

D. Flipped interaction pattern

Answer: A. Question refinement pattern

6. What is the purpose of the cognitive verifier pattern in prompt engineering?

A. To enhance model understanding of human cognition

B. To verify the authenticity of generated responses

C. To refine prompts based on audience characteristics

D. To facilitate two-way communication between model and user

Answer: A. To enhance model understanding of human cognition

7. Which prompt pattern focuses on tailoring prompts based on the characteristics and preferences of the target
audience?

A. Question refinement pattern

B. Cognitive verifier pattern

C. Audience persona pattern

D. Flipped interaction pattern

Answer: C. Audience persona pattern

8. How does the flipped interaction pattern differ from traditional prompt interactions?

A. It involves reversing the roles of the model and the user

B. It prioritizes model-generated prompts over user inputs

C. It emphasizes feedback from the model rather than direct user queries

D. It encourages collaborative prompt design between users and model developers

Answer: A. It involves reversing the roles of the model and the user

9. In the ACHIEVE framework, what does the "Iteration" step entail?

A. Repeating the prompt engineering process multiple times for refinement

B. Implementing the prompt in the model architecture

C. Evaluating the performance of the generated outputs

D. Verifying the cognitive patterns employed by the model

Answer: A. Repeating the prompt engineering process multiple times for refinement
10. How does Prompt Engineering contribute to the efficiency of Large Language Models?

A. By reducing the computational resources required for model training

B. By improving the relevance and coherence of generated responses

C. By optimizing prompts to guide the model towards desired outputs

D. By enhancing the scalability of model architectures

Answer: C. By optimizing prompts to guide the model towards desired outputs

11. What is the primary goal of the prompt tuning process?

A. To fine-tune model parameters for better performance

B. To adjust prompts to achieve specific output characteristics

C. To evaluate the cognitive patterns employed by the model

D. To validate the accuracy of generated responses

Answer: B. To adjust prompts to achieve specific output characteristics

12. Which aspect of prompt patterns focuses on verifying the authenticity and coherence of generated responses?

A. Question refinement pattern

B. Cognitive verifier pattern

C. Audience persona pattern

D. Flipped interaction pattern

Answer: B. Cognitive verifier pattern

13. What does the "Heterogeneity" component of the ACHIEVE framework refer to?

A. The diversity of prompts used for model training

B. The variability in model architecture across different implementations

C. The complexity of input data processed by the model

D. The range of evaluation metrics employed for model assessment

Answer: B. The variability in model architecture across different implementations

14. Which prompt pattern focuses on adjusting prompts based on the cognitive processes involved in generating
responses?

A. Question refinement pattern

B. Cognitive verifier pattern

C. Audience persona pattern

D. Flipped interaction pattern


Answer: B. Cognitive verifier pattern

15. What role does the "Verification" step play in the ACHIEVE framework?

A. Validating the accuracy of model-generated outputs

B. Verifying the authenticity of user inputs

C. Evaluating the cognitive patterns employed by the model

D. Verifying the suitability of prompts for desired outputs

Answer: A. Validating the accuracy of model-generated outputs

16. How does prompt engineering contribute to the adaptability of Large Language Models?

A. By adjusting prompts to accommodate changing user preferences

B. By fine-tuning model parameters based on evolving data patterns

C. By incorporating feedback mechanisms to improve model performance

D. By optimizing computational resources for dynamic workloads

Answer: A. By adjusting prompts to accommodate changing user preferences

17. Which step in the ACHIEVE framework focuses on evaluating the performance of model-generated outputs?

A. Iteration

B. Evaluation

C. Verification

D. Evolution

Answer: B. Evaluation

18. What distinguishes the audience persona pattern from other prompt patterns?

A. It focuses on refining prompts based on cognitive processes

B. It tailors prompts to the characteristics of the target audience

C. It involves reversing the roles of the model and the user

D. It emphasizes feedback mechanisms over direct user queries

Answer: B. It tailors prompts to the characteristics of the target audience

19. In the context of prompt engineering, what does the "Algorithm" component of the ACHIEVE framework entail?

A. Designing new algorithms for model training

B. Implementing algorithms for prompt optimization

C. Adjusting model parameters based on algorithmic principles


D. Evaluating the computational efficiency of model architectures

Answer: B. Implementing algorithms for prompt optimization

20. How does the flipped interaction pattern contribute to the efficiency of prompt engineering?

A. By streamlining communication between users and model developers

B. By optimizing prompts based on cognitive processes

C. By tailoring prompts to the characteristics of the target audience

D. By facilitating collaborative prompt design between users and model developers

Answer: D. By facilitating collaborative prompt design between users and model developers
Unit – 3

Here are 20 multiple-choice questions along with their answers focusing on Prompt Pattern II and Prompt Pattern III
in Generative AI:

Prompt Pattern II: Game Play Pattern, Template Pattern, Meta Language Creation Pattern, Recipe Pattern, Alternate
Approaches Pattern

1. Which prompt pattern in Generative AI focuses on structuring prompts in the form of a game or interactive
scenario?

A. Game Play Pattern

B. Template Pattern

C. Meta Language Creation Pattern

D. Recipe Pattern

Answer: A. Game Play Pattern

2. What is the primary purpose of the Template Pattern in Generative AI?

A. To provide a framework for generating diverse output variations

B. To create structured prompts based on predefined templates

C. To optimize prompts for specific target audiences

D. To refine prompts through iterative processes

Answer: B. To create structured prompts based on predefined templates

3. Which prompt pattern involves the creation of a higher-level language or vocabulary for interacting with the
Generative AI model?

A. Game Play Pattern

B. Template Pattern

C. Meta Language Creation Pattern

D. Recipe Pattern

Answer: C. Meta Language Creation Pattern

4. In the Recipe Pattern, how are prompts structured to guide the Generative AI model?

A. By providing step-by-step instructions or sequences

B. By incorporating elements of storytelling or narrative arcs

C. By using predefined templates for prompt generation

D. By creating interactive scenarios resembling a game

Answer: A. By providing step-by-step instructions or sequences


5. Which prompt pattern encourages exploring various approaches or strategies to achieve desired outputs?

A. Game Play Pattern

B. Template Pattern

C. Meta Language Creation Pattern

D. Alternate Approaches Pattern

Answer: D. Alternate Approaches Pattern

Prompt Pattern III: Combining Patterns, Expansion Patterns, Menu Action Patterns, Checklist Pattern, Tail Generation
Pattern, Semantic Filter Pattern

6. In the context of Prompt Pattern III, what does the Combining Patterns approach involve?

A. Integrating multiple prompt patterns to create more complex interactions

B. Aggregating diverse data sources for prompt generation

C. Combining elements of storytelling and interactive gameplay in prompts

D. Utilizing templates and recipes simultaneously for prompt refinement

Answer: A. Integrating multiple prompt patterns to create more complex interactions

7. What is the primary objective of Expansion Patterns in Generative AI?

A. To expand the vocabulary and language capabilities of the model

B. To generate longer and more detailed responses from the model

C. To explore diverse approaches and strategies for prompt generation

D. To combine multiple prompt patterns for enhanced interaction

Answer: B. To generate longer and more detailed responses from the model

8. Which prompt pattern involves presenting users with a menu of options for selecting prompts or actions?

A. Menu Action Patterns

B. Template Pattern

C. Recipe Pattern

D. Semantic Filter Pattern

Answer: A. Menu Action Patterns

9. How does the Checklist Pattern contribute to prompt engineering in Generative AI?

A. By providing a structured framework for evaluating model-generated outputs


B. By creating predefined lists of prompts for model training

C. By filtering prompts based on semantic relevance and coherence

D. By tailoring prompts to specific audience personas

Answer: A. By providing a structured framework for evaluating model-generated outputs

10. What is the purpose of the Tail Generation Pattern in Generative AI?

A. To optimize prompts based on user feedback and preferences

B. To generate highly specific and personalized responses

C. To filter prompts based on semantic relevance and coherence

D. To combine multiple prompt patterns for enhanced interaction

Answer: B. To generate highly specific and personalized responses

11. In Prompt Pattern III, what role does the Semantic Filter Pattern play?

A. To combine multiple prompt patterns for enhanced interaction

B. To expand the vocabulary and language capabilities of the model

C. To filter prompts based on semantic relevance and coherence

D. To present users with a menu of options for selecting prompts or actions

Answer: C. To filter prompts based on semantic relevance and coherence

12. How does the Meta Language Creation Pattern differ from other prompt patterns?

A. It involves structuring prompts as interactive games

B. It focuses on creating a higher-level language for interacting with the model

C. It tailors prompts to specific audience personas

D. It presents users with a menu of options for prompt selection

Answer: B. It focuses on creating a higher-level language for interacting with the model

13. What is the primary goal of the Alternate Approaches Pattern?

A. To generate diverse output variations from the model

B. To present users with a structured menu of prompt options

C. To create a higher-level language for interacting with the model

D. To filter prompts based on semantic relevance and coherence

Answer: A. To generate diverse output variations from the model


14. Which prompt pattern involves presenting users with a set of predefined options for selecting the direction of
prompt interaction?

A. Menu Action Patterns

B. Tail Generation Pattern

C. Semantic Filter Pattern

D. Checklist Pattern

Answer: A. Menu Action Patterns

15. How does the Checklist Pattern contribute to the efficiency of prompt engineering?

A. By tailoring prompts to specific audience personas

B. By generating highly specific and personalized responses

C. By providing a structured framework for evaluating model-generated outputs

D. By filtering prompts based on semantic relevance and coherence

Answer: C. By providing a structured framework for evaluating model-generated outputs

16. What distinguishes the Tail Generation Pattern from other prompt patterns?

A. It tailors prompts to specific audience personas

B. It focuses on filtering prompts based on semantic relevance

C. It generates highly specific and personalized responses

D. It presents users with a menu of options for prompt selection

Answer: C. It generates highly specific and personalized responses

17. How does the Meta Language Creation Pattern contribute to prompt engineering?

A. By providing a structured framework for evaluating model-generated outputs

B. By creating a higher-level language for interacting with the model

C. By generating diverse output variations from the model

D. By tailoring prompts to specific audience personas

Answer: B. By creating a higher-level language for interacting with the model

18. Which prompt pattern focuses on expanding the vocabulary and language capabilities of the model?

A. Expansion Patterns

B. Checklist Pattern

C. Alternate Approaches Pattern

D. Semantic Filter Pattern


Answer: A. Expansion Patterns

19. In Prompt Pattern III, what role does the Expansion Patterns play?

A. To generate highly specific and personalized responses

B. To provide a structured framework for evaluating model-generated outputs

C. To expand the vocabulary and language capabilities of the model

D. To filter prompts based on semantic relevance and coherence

Answer: C. To expand the vocabulary and language capabilities of the model

20. How does the Checklist Pattern contribute to prompt engineering in Generative AI?

A. By providing a structured framework for evaluating model-generated outputs

B. By generating highly specific and personalized responses

C. By tailoring prompts to specific audience personas

D. By presenting users with a menu of options for prompt selection

Answer: A. By providing a structured framework for evaluating model-generated outputs

You might also like