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

Section 1

Marks for correct


Question No. 1

Note: This question is mandatory for you to atternpt.

How can token limits be avoided?

OBy restructuring the initial prompt

O By using chunking techniques


OBy summarizing parts of the text
All of the above
Question No. 2

Note: This question is mandatory for you to attempt.

What does copilotdo when you define a complete function?

Oltgenerates the documentation for the function

Olt copies someof the original code from the if statement


it understands and learns your coding patterns
Olt scansyour entire project directory
Sections

Section 1

Question No. 3

Note: Thisquestion is mandatory for you to attempt.

How can hallucinationsbe avoided when usinglanguage models?

O
Byproviding factual answers
By adding extra prompts
O By
training the models on complete information

OBy avoiding biases in the training data


Marks fo
Question No. 4

Note: This question is mandatory for youto attermpt.

When should prompt engineering be used ?


O
When creating a product name for personal use

When rigorously testing a prompt for development and subsequently production


O When evaluating image models
O When using toxic words in a prompt
Marks for correc
Question No. 5

Note: This question is mandatory for you to attermpt.

What is the correctorder of steps to follow when making a request to the Chatgpt API?

Select post method, paste URL, select body, select raw, select JSON, provide model and messages
O
Select get method, paste URL, select body, select raw, select JSON, provide model and messages
O
Select post method, paste URL, select body, select raw, select text., provide model and messages
O
Select get method, paste URL, select body, select raw, select text, provide model and messages
Mar
Question No. 6

Note: This question is mandatory for you to attempt.

How does promptengineering contribute to the reliability of Al models?

Oit decreases the reliability of Aloutput

Ot has noimpact on the reliability of Al output

it increases the reliability of Al output

Olt depends on the complexity of the prompt


Question No. 7

A Note: This question is mandatory for you to atternpt.

What is thepurpose of retry logic in prompt engineering?

O
To prevent hallucinations in the Al's response
O
To ensure consistent formatting of the response

To handiecases where the Al fails to provide the expected format


O
Toimprove the reliability of the Al's responses
Marks for cor
Question No. 8

Note: This question is mandatory for you to attermpt.

How can you access GitHub Copilot?

O Through a web browser


Through Visual Studio Code

O Through GitHub's website


O Through a mobile app
Marks for correct answver 11
Question No. 9

Note: This question is mandatory for you to attempt.

What is the recommended approach when providing examples in prompt engineering?

Give two similar examples to constrain the creative space


O
Give multiple examples for better results
O
Givenegative examples to limit Al output
O
Give no examples for better results
Section 1

Mar

Question No. 10

Note: This question is mandatory for you to atternpt.

What is the importance of


context length?

Olt affects the cost of the request

Olt determines the model's output


It affects the token limit

Olt determines the model's accuracy


Marks
Question No. 11

Note: This question is mandatory for you to attempt.

What canyou adjust in chat mode to increase variability?

O Maximum length
O Model parameters
Temperature
O
Instructions
Marks
Question No. 12

Note: This question ismandatory for you to atternpt.

How can you togglethrough multiple suggestions in GitHutb Copilot?

Bypressing the Tab key

OBy pressing the Enter key


O By pressing the Esc key
O
Bypressing the Shift key
Marks for correct ar

Question No. 13

Note: This question is marndatory for you to atternpt.

What is chunking?

Breaking up a large piece of text into smaller chunks


O
Combining multiple texts into a single chunk
O
Rermovingunnecessary tokens from a text

O
Rearrangingthe tokens in a text
Marks or correct answ
Question No. 14

Note: Thisquestion is mandatory for you to attempt.

What is a one shot prompt?

OA prompt without any examples


OA prompt with multiple examples
prompt with only one example
A

OA prompt with negative examples


Mark
Question No. 15

Note: This question


is mandatoryfor you to attermpt

What is the role of


hurman evaluation in prompt engineering?

To determine the reliability of the prompt

OTo fine-tunethe model for specific use cases


O
To eliminate the need for prompt engineering
O
To prevent prompt injection attacks
Marks for
Question No. 16

Note: Thisquestion is mandatory for you to attermpt.

What can be specifiedto change the style of an image generated by the AI?

The type of style needed


O
The format of the response
O
Thenumber of retry attempts
O
The prompt engineering techrnique
Ma
Question No. 17

A Note: Thisquestion is mandatory for you to attempt.

How canyou influence GitHub Copilot's suggestions?

O
By providing extensive comments
O
By usingdifferent function class names
O
Byadding types to your code

All of
the above
Marks f
Question No. 18

Note: Thisquestion is mandatory for you to attempt.

What happens if the token limit is exceeded?

The model refuses the request


O
The model processes the request partially
O
The model ignores the token limit

O The model crashes


Marks fo

Question No. 19

Note This questionis mandatory for you to aternpt.

What are neural networks?

OAlgorithrms that analyze big data


Algorithms that simulate like the human brain

O
Algorithims that create new datasets
O
Agorithms that solve complex equations
Marks for correct answer
Question No. 20

Note: This question is mandatory for you to atternpt.

What is thecurrent credit amount given for api keys?


O3
O 18
20

O5

You might also like