Read our blogs, tips and tutorials
Try our exercises or test your skills
Watch our tutorial videos or shorts
Take a self-paced course
Read our recent newsletters
License our courseware
Book expert consultancy
Buy our publications
Get help in using our site
547 attributed reviews in the last 3 years
Refreshingly small course sizes
Outstandingly good courseware
Whizzy online classrooms
Wise Owl trainers only (no freelancers)
Almost no cancellations
We have genuine integrity
We invoice after training
Review 30+ years of Wise Owl
View our top 100 clients
Search our website
We also send out useful tips in a monthly email newsletter ...
Road-testing 4 different AI tools, so you don't have to! Part five of a nine-part series of blogs |
---|
In this blog we'll compare OpenAI's Chat GPT 4, Google's Gemini, Anthropic's Claude 3.5 and Microsoft's Copilot to see which AI tool gives the best results for different types of queries.
|
In this blog
So our second test asks this question of our beauty pageant of AI tools:
You want to write a program to sort the names of the 7 dwarves (from Snow White and the Seven Dwarves) into random order, and output the names as a comma-delimited list. Every time you run the program it should present the dwarves in a different order. Please create 3 versions of the program (one for Python, one for Visual C# and one for VBA), then conclude by saying which one you think is the best way to solve this problem, and why.
This isn't a particularly complicated task, but asking our tools to write the same thing in 3 languages should sort the men from the ... boys.
Here's ChatGPT's offering:
The ChatGPT answer to my question.
I haven't tested these programs (or any of the others offered on this page), but the solutions look plausible and correct, although both the C# and VBA code use messy loops.
Here is the Gemini solution:
The Gemini take on this question.
I prefer this answer. The explanations are less wordy and the C# solution is much more elegant.
Here's Claude's solution(s):
Claude's coding solutions.
This is probably my favourite so far: elegant solutions for C# and VBA, and by far the best explanation of why Python is probably the best choice as a coding language to solve this problem.
Finally, here's Copilot's offering:
The Copilot solution.
I think these are my favourite bits of code, just because I'm a sucker for good comments and layout, but the explanation of why Python is the best choice for solving this probem is probably the weakest of the four.
Probably the thing I'm most surprised at so far is just how equal the four tools are. There's almost nothing to choose between them, but probably Gemini and Claude take the plaudits.
Some other pages relevant to the above blogs include:
Kingsmoor House
Railway Street
GLOSSOP
SK13 2AA
Landmark Offices
99 Bishopsgate
LONDON
EC2M 3XD
Holiday Inn
25 Aytoun Street
MANCHESTER
M1 3AE
© Wise Owl Business Solutions Ltd 2024. All Rights Reserved.