areebsattar / My-Coursework-Planner

0 stars 0 forks source link

[TECH ED] APIs #209

Open areebsattar opened 1 month ago

areebsattar commented 1 month ago

Link to the coursework

https://github.com/CodeYourFuture/Module-Node

Why are we doing this?

Think carefully and try to answer the following questions:

  1. Define an interface? (Think about the answer in multiple contexts, including programming )
  2. Explain why do we need to use an interface in programming? (Advanced)
  3. List 3 things that are part of the NodeJS API
  4. List 3 things that are part of the Jest API
  5. List 3 things that are part of the Spotify API
  6. Explain why Jest is not a web-based API and why Spotify is a web-based API.

Maximum time in hours

.5

How to get help

⏰ Don't spend longer than 30 minutes on this exercise 📝 Make a note of any questions you've struggled to answer. Raise these on Slack before Saturday's session so mentors know what to focus on

How to submit

Post in the thread on Slack. If there is no thread yet, start one.

How to review

Compare your answers during study group in class. What can you learn from each other?

Anything else?

If you use ChatGPT to answer these questions, you have missed the point of this course and you are now fully wasting everyone's time. Don't use LLM for this assignment. The point of this assignment is to find out what you, the human person, need help with in class.

areebsattar commented 1 month ago

Define an interface? (Think about the answer in multiple contexts, including programming) Ans. In Simpler terms interface is a connection between two computers or a computer and a human. But based on the context it can mean different things as well for example in programming its a data type which acts as an abstraction of class Explain why do we need to use an interface in programming? (Advanced) Ans. Interfaces usually allow the different objects to expose the common functionality and it can help us write shorter and simpler code to make it work. List 3 things that are part of the NodeJS API

areebsattar commented 1 month ago

Image

JayMayer commented 1 month ago

Great work, @areebsattar!