WebTechFinal Flashcards

1
Q

Describe three different ways to create a JS object.

A

Object Literal Notation

Constructor Function

Object.create() Method

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is DOM and BOM?

A

a programming interface for web documents.

a programming interface for web browsers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a JS Promise?

A

JavaScript object for managing asynchronous operations’ outcomes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Why do we need to use JWT?

A

Secure data transmission and authentication in web apps.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Briefly describe the HTTP protocol

A

Hypertext Transfer Protocol for transmitting hypermedia documents over the internet.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the difference between v-model and v-bind?

A

v-model for two-way binding, v-bind for one-way binding.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How does Vue child component pass data to its parent component?

A

Child components emit events, parent components listens.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is dependency injection in Spring Framework?

A

Injecting external dependencies in Spring.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is CORS?

A

Allows web page resource request to other domains securly

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Explain IoC and DI

A

IoC shifts control to frameworks

DI externally provides dependencies to classes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is TDD and why it is useful?

A

Writing tests before code for better-designed software.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Why do we need to use a Key Vault?

A

Secure storage and management of sensitive information.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

List 2 benefits of using CI/CD.

A

Faster delivery.
Continuous integration.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a Spring Data JPA query method?

A

method signature used for auto-generating queries

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the major benefit of using a Docker container?

A

Efficient deployment and scalability.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Why do we need pagination?

A

Efficiently manage large datasets.

17
Q
A