Week 6 FSE reflection

pdf

School

Arizona State University *

*We aren’t endorsed by this school

Course

100

Subject

Mechanical Engineering

Date

Apr 3, 2024

Type

pdf

Pages

4

Uploaded by JusticePenguin3788

Report
1. Revisit the programming problems from part 3 of the Arduino Tutorials (Individual Assignment) (S-O-S light, and fan with a power and speed switch). Prompt an AI program (ChatGPT, Bing, Bard, etc.) to write the Arduino code to complete the problem (both parts). Discuss the differences you see between the code you submitted and the code the AI produced. Choose one of the codes and build a circuit in TinkerCAD to see if the code works as intended and discuss your findings. Comment on the usefulness of AI in completing the problem. Provide a copy of the prompt(s) provided to the AI and the AI output(s). I observed several distinctions between my code and the code generated by ChatGPT. While ChatGPT's code for "S-O-S" was concise, the code for the fan control system with power and speed switches was notably more extensive. Upon testing the code , it became evident that the AI-generated code performed more efficiently than human-written code. This highlights the AI's capability to produce functional and effective code. Below I have attached all of the AI input and outputs .
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help