"Open Book" Method using ChatGPT for Entrance Exam at DQLab.id

"Open Book" Method using ChatGPT for Entrance Exam at DQLab.id

Challenge for Educators and Employers

The emergence of ChatGPT has presented new challenges in various fields, including entrance exams for educational institutions and job applications. ChatGPT's ability to easily solve technical questions requires educators and employers to adapt. However, DQLab is aware of this challenge and has taken steps to address it by modifying their entrance exam questions.

To remain relevant, DQLab has developed entrance exam questions for the Tetris program in the DQLab talent program. These questions can be challenging to solve, even without ChatGPT, due to time constraints. Therefore, participants must focus on using the appropriate instructions and questions to solve these problems with the help of ChatGPT.

To make the process fair to all participants, this article provides a brief tip on how to use ChatGPT techniques to complete the entrance exam for the Tetris program. An example question is given, demonstrating how to use ChatGPT to combine two texts and perform a calculation on the digits.

Example Question

Suppose two texts are given, with the first text as follows:

ab12cde        

and the second text is as follows

fghijklmn45opqrstuvw        

Note that both texts have digits in the middle of them.

There are two tasks that can be performed with ChatGPT:

  1. Combine the two texts and print the result.
  2. Extract the numbers in the middle of each text, add them together, and print the result of the calculation.

The first task is relatively simple, but the second one is more challenging. Let's take a closer look at how it can be done using ChatGPT.

Preparation

To prepare ChatGPT for both tasks, we prompt it to "remember" both texts. Note that the response from ChatGPT may vary, but the end result should be the same.

For the first text, we prompt ChatGPT to remember "ab12cde" with the following command:

"Remember the text ab12cde as the first text."

Here is ChatGPT's response to this prompt.

No alt text provided for this image
Prompt to ChatGPT to remember the first text (ab12cde)

Next, we prompt ChatGPT to remember the second text by using the following command:

"Remember the text fghijklmn45opqrstuvw as the second text."

Here is ChatGPT's response to this prompt.

No alt text provided for this image
Prompt to ChatGPT to remember the first text (fghijklmn45opqrstuvw)

First Task Completion

To complete the first task, we need to combine both texts. To do this, we prompt ChatGPT with the following command:

"Combine the first and second text and display the result."

Here is ChatGPT's response to this prompt.

No alt text provided for this image
Combining both texts

Here is ChatGPT's response to the prompt for combining the two texts:

"ab12cdefghijklmn45opqrstuvw."        

Second Task Completion

The second task is to extract the numbers 12 and 45 from the texts and add them together to get 57. We prompt ChatGPT with the command:

"Take the number part from the first and second text without producing any programming code, add both number parts together and display the sum for me."

Here is ChatGPT's response, which shows the results of extracting the number parts from both texts and the sum of the numbers:

No alt text provided for this image
Result of number addition performed by ChatGPT after extracting numbers from both texts

Generating Python Code

If you're familiar with data science, you're likely aware that Python is the primary programming language used for processing data. Using a prompt, we can generate Python code from the process described above. Try typing "Generate Python code from the entire process above" as an example.

The results provide the complete Python code generated by ChatGPT.

No alt text provided for this image
Python Code generated by ChatGPT

This code can be executed in your local Python environment or cloud services, such as Google Colab or DQLab Live Code Editor.

These tips will help you use ChatGPT to solve the entrance exam for the Tetris program. While the actual exam questions may be more challenging, taking the time to understand the questions and asking ChatGPT the right questions will provide useful assistance. Good luck on your exam!

Follow DQLab and Xeratic for more updates on our latest GPT applications.

要查看或添加评论,请登录

社区洞察

其他会员也浏览了