ChatGPT Conversation
Learning NotesFebruary 5, 20231 min read
chatgptpythonjavaspringbootai
Overview
This note documents my initial exploration of ChatGPT's capabilities through a series of progressively challenging programming tasks across two languages.
Python Section
I tested ChatGPT with three Python challenges:
- Fibonacci Sequence Function – Creating a function calculating Fibonacci numbers up to the Nth position
- Age Calculator – Determining user age from birth year input
- Temperature Lookup – Fetching current Fahrenheit temperatures for a given zip code (testing API integration capabilities)
Java Section
Four Java-focused prompts followed:
- Roman Numeral Converter – Converting Arabic numbers to Roman numeral format
- SpringBoot Hello World – Building a basic SpringBoot application
- SpringBoot with Maven – The response included a complete
pom.xmlfile - Spring Data JPA Persistence – Writing methods to persist model objects with name and age fields to a database using Spring Data JPA
Conclusion
The note showcases ChatGPT's proficiency across multiple programming frameworks and use cases, from basic algorithms to full application scaffolding. It demonstrates the AI's ability to handle both simple and complex programming tasks across different languages and frameworks.