Skip to content

Instantly share code, notes, and snippets.

View Kishimoto96's full-sized avatar

Kishi Kishimoto96

View GitHub Profile
@Kishimoto96
Kishimoto96 / discussion.md
Created March 18, 2023 09:33 — forked from halitbatur/discussion.md
Object discussion questions

Object Discussion Questions

There is some coding in this discussion. Feel free to write them in a REPL or in the comments below.

  1. How is an object different from an array?
  2. How does const work with objects?
  3. Explain the difference between bracket syntax and dot syntax. Give an example of something that works with bracket syntax but not dot syntax. Give an example of something that works with dot syntax but not bracket syntax.
  4. What are computed properties? Write an example code.
  5. What is the difference between Object.keys and Object.entries? Write example code using both of them.
  6. How do we get only the values of an object?

Destructuring & Spread Operator:

  1. What is destructuring in JavaScript and how does it work?
  2. How can the spread operator be used in JavaScript?
  3. What are some practical use cases for using destructuring and the spread operator in JavaScript?
  4. How does destructuring and the spread operator differ from traditional assignment and concatenation in JavaScript?
  5. Can destructuring and the spread operator be used with non-array and non-object data types in JavaScript?

object oriented programming (OOP)

  1. What are some advantages of using object-oriented programming (OOP) in JavaScript, and how does it differ from other programming paradigms?
  2. What are some common design patterns used in object-oriented programming, and how can they help to solve recurring software development problems?
  3. Can you explain the difference between classical inheritance and prototypal inheritance in JavaScript, and provide some examples of each?
  4. How do you define a class in JavaScript, and what are some best practices for creating and using classes effectively?
  5. What is the role of constructors and prototypes in OOP in JavaScript, and how do they relate to each other?

Inheritance in JavaScript

  1. What is inheritance in JavaScript, and how does it differ from inheritance in other programming languages?
  2. What is a Prototypal inheritance model?
  3. What is the difference between classical and prototypal inheritance?
  4. What is a constructor function in JavaScript, and how does it differ from a regular function?
  5. How does the .prototype property work in JavaScript, and what is its relationship to constructor functions?

Node.JS Discussion Questions:

  1. What is Node.js and what are the key features of it?
  2. What is npm and why do we use it?
  3. What are some popular Node.js frameworks and libraries, and how are they used in building web applications?
  4. What is V8?
  5. What is Express.JS? and how does it simplify the development process?

RESTful API Discussion Questions

  1. What is the difference between restful API and traditional API?
  2. What are the HTTP Methods in RESTful API and when would you use each of these?
  3. What does this HTTP Status codes represent?
    • 1xx
    • 2xx
    • 3xx
    • 4xx
    • 5xx
  4. What is the difference between the following response functions?

Server-side Validation Discussion

  1. What is server-side validation?
  2. How can server-side validation help prevent security vulnerabilities?
  3. What is the role of client-side validation?
  4. If we have client-side validation, why do we even need a server-side validation?
  5. How does the express-validator package simplify server-side validation in Node.js applications?

Documentation and Swagger

  1. What are the key elements of an effective software documentation?
  2. How can software documentation be integrated into the software development lifecycle to ensure that it remains up-to-date and useful over time?
  3. How can automated tools and technologies be used to streamline the process of creating and managing software documentation?
  4. What is Swagger, and how does it help developers design, document, and test APIs?
  5. What security features does Swagger provide to help developers design and document secure APIs?

Discussion about SQL:

  1. What is SQL, and what are some of its primary functions?
  2. SQL is a declarative query language, what does that mean?
  3. SQL is the industry standart for relational databases, what does a realtional database mean?
  4. What is a database management system? and which ones are the most popular?
  5. What are some of the most common SQL commands, and how are they used to manipulate data?

Discussion about SQL and NoSQL:

  1. What is NoSQL?
  2. What is the difference between SQL and NoSQL databases, and when should you use one over the other?
  3. How do the data structures of SQL and NoSQL databases differ?
  4. What is MongoDB? and why we call it a document-oriented database?
  5. What are the most important MongoDB commands? explain two of them.