Skip to content

Instantly share code, notes, and snippets.

View halitbatur's full-sized avatar
🏠
Working from home

Halit Batur halitbatur

🏠
Working from home
View GitHub Profile
@halitbatur
halitbatur / cloudcomputingdiscussion.md
Created June 13, 2023 14:14
Discussion questions for cloud computing

Cloud Computing Discussion

  • What are some use cases of cloud computing?
  • Mention some of the advantages of cloud computing.
  • What are the most popular cloud providers?
  • What are cloud functions? mention at least 2 use cases.
  • What are CI and CD? and how are they helpful
  • What is serverless architecture?
  • What is Kubernetes?
@halitbatur
halitbatur / jstesting.md
Last active July 21, 2023 20:32
Testing Disscusion

Testing in JS disscusion

  1. What is the purpose of unit testing in JavaScript development? How does it contribute to the overall quality of a software application?
  2. Explain the difference between manual testing and automated testing. What are the advantages of using automated testing in JavaScript projects?
  3. What is a test suite, and how does it relate to test cases in JavaScript testing? Provide an example of a test suite and its corresponding test cases.
  4. Describe the concept of test-driven development (TDD) in JavaScript. How does TDD influence the development process and help in writing robust and reliable code?
  5. What are the popular testing frameworks and libraries available for JavaScript? Compare and contrast two of them, highlighting their key features and use cases.
@halitbatur
halitbatur / scope.md
Created March 23, 2023 18:45
Scope disscusion

Scopes Discussion

  • What is the scope of variable GLOBAL_DATA in the example below:

Pretend in the console, that we type: console.log(GLOBAL_DATA);

<script>
 let GLOBAL_DATA = { value : 1};
@halitbatur
halitbatur / firstClassFunctions.md
Created March 23, 2023 17:11
first-class functions
  1. What is a first-class function, and how does it differ from other types of functions?
  2. How can first-class functions be used in JavaScript to pass functions as arguments to other functions?
  3. Explain the difference between array.map(), array.reduce(), and array.filter(). In what scenarios would you use each of these array methods?
  4. Write a function that uses array.map() to double every number in an array. How would you modify the function to triple every number instead?
  5. Write a function that uses array.filter() to return only the even numbers in an array. How would you modify the function to return only the odd numbers instead?
  6. Write a function that uses array.reduce() to find the sum of all the numbers in an array. How would you modify the function to find the product of all the numbers instead?
@halitbatur
halitbatur / variables.md
Created March 16, 2023 13:40
Discussion Questions about JS

JS basics discussion

  • What is the difference between const and let? and why don't we use var?

  • What does return and console.log do inside a function and what is the difference between them?

  • What is a paramater in JS function and why is it there?

  • What are truthy and falsy values in JS? give some example on each

@halitbatur
halitbatur / useEffect.md
Created November 24, 2022 15:06
useEffect Discussion
  1. When does a React component re-render?
  2. What does the React.useMemo hook do?
  3. How can you replicate componentWillUnmount using useEffect ?
  4. How can you replicate componentDidUpdate using useEffect ?
@halitbatur
halitbatur / reaactPropsStateAndEvents.md
Last active November 17, 2022 16:02
Discussion about React state, props and Events

Discussion questions about react:

Please discuss with your teams and answer these questions in your own words.

  1. What is the difference between state and props in React?
  2. When should you use state and props in React?
  3. What is the difference between stateful and stateless components in React?
  4. How can you pass props to a component in React?
  5. How does react handle events, can you write an example?
@halitbatur
halitbatur / cloudcomputing.md
Created July 5, 2022 11:00
Discussion about cloud computing

Cloud Computing discussion

  • What are some use cases of cloud computing?
  • Mention some of the advantages of cloud computing.
  • What are the most popular cloud providers?
  • What are cloud functions? mention at least 2 use cases.
  • What are CI and CD? and how are they helpful
  • What is serverless architecture?
  • What is Kubernetes?
@halitbatur
halitbatur / cron.md
Created July 2, 2022 08:00
Redis, Cron and Design pattern discussion

Redis, Websockets and cron Discussion

Write your answers in the comment section below:

  • What is Redis? Mention one use case of Redis.
  • What type of database is Redis and where does it hold its data?
  • What is Websocket and what is it used for?
  • Explain 3 use cases for CRON jobs.
  • What are the 3 types of design patterns in Nodejs?
@halitbatur
halitbatur / TypeScriptDiscussion.md
Created June 28, 2022 11:17
Discussion for Typescript

Typescript discussion

Write your answers in the comment section below:

  1. What are the primitive types in TypeScript?
  2. Explain how the arrays work in TypeScript.
  3. What is any type, and should we use it?
  4. How does enums work and how are they usefull?
  5. What is optional chaining and how does it work?
  6. "Javascript is dynamically typed" what does that mean? and how does Typescript affect that?