WebTechFinal Flashcards
Describe three different ways to create a JS object.
Object Literal Notation
Constructor Function
Object.create() Method
What is DOM and BOM?
a programming interface for web documents.
a programming interface for web browsers.
What is a JS Promise?
JavaScript object for managing asynchronous operations’ outcomes.
Why do we need to use JWT?
Secure data transmission and authentication in web apps.
Briefly describe the HTTP protocol
Hypertext Transfer Protocol for transmitting hypermedia documents over the internet.
What is the difference between v-model and v-bind?
v-model for two-way binding, v-bind for one-way binding.
How does Vue child component pass data to its parent component?
Child components emit events, parent components listens.
What is dependency injection in Spring Framework?
Injecting external dependencies in Spring.
What is CORS?
Allows web page resource request to other domains securly
Explain IoC and DI
IoC shifts control to frameworks
DI externally provides dependencies to classes.
What is TDD and why it is useful?
Writing tests before code for better-designed software.
Why do we need to use a Key Vault?
Secure storage and management of sensitive information.
List 2 benefits of using CI/CD.
Faster delivery.
Continuous integration.
What is a Spring Data JPA query method?
method signature used for auto-generating queries
What is the major benefit of using a Docker container?
Efficient deployment and scalability.