top of page

We tested the coding capabilities of ChatGPT. Here are the results!




Everyone is talking about ChatGPT, a language processing model trained on a massive data set by OpenAI. We thought to give it a run and see for ourselves. The tests we did were simple and gave basic instructions to the chatbot.


While it might be a long way from making programmers obsolete, its capabilities & speed are impressive. All of the code included instructions and comments.


We leave it for our readers to remark about any improvements that could be made to the AI-generated code. You're free to test ChatGPT here.


Test 1:

Write Java code to browse through files in a folder and identify pdf files with images of dogs using image recognition.

Test 2:

Write PHP code for an online poll to choose the favourite FIFA 2022 WorldCup team. Requested to include security, validations and error handling in addition to using Kafka and Redis.


A follow-up request was made to rewrite the code using React and Node.



Test 3:


a.) Write a T-SQL stored procedure to implement a bubble sorting algorithm of alpha-numerics.


b.) Optimize a simple T-SQL query taken from the web.



Test 4:


Write an AWS Lambda function in Python to check a string to see if it contains positive or negative sentiments.


Test 5:


Write Angular.js code to capture contact details in a form and send an email when the form is submitted.



Comments


bluecorp_logo.png

Bluecorp SRL
 

+32 475 74 98 81
+1 (646) 547 10 69 

info@bluecorp.eu

Rue Emile Féron, 168
1060 Brussels

Belgium

CMS

Offshore Technology Center - www.cms.lk

info@cms.lk

Level 10, Access Tower 1

Union Place

Colombo 02

Sri Lanka

Follow Us On:

  • LinkedIn
  • Facebook

© 2025

bottom of page