Software Engineering Flashcards

1
Q

What is a sequence diagram?

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

What is the difference between unit testing and integration testing?

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

What does RESTful API stand for?

A

REepresentative State Transfer API

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

What is RESTful API?

A

A way of accessing web services in a simple / flexible way without processing.

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

What does RESTful API do?

A

It is used to fetch / provide information from / to a web service using only HTTP requests.

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

What is an HTTP request?

A

A request is sent from client to server in the form of a web URL as HTTP GET or POST or PUT or DELETE request. After that, a response comes back from the server in the form of a resource like JSON file.

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

What are the 5 most common HTTP requests?

A

GET, POST, PUT, PATCH, DELETE

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

What does HTTP GET perform?

A

Returns a representation of a resource in JSON or XML and a response code (ex: 404 if not found)

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

What is a Simple Factory?

A

The simple factory is essentially a class that, based on a given input, returns objects of different types.

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

What is the Factory Method Pattern?

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

What is the Client-Server Model?

A

The client-server model is the architecture of a computing model in which multiple clients request and receive service from a centralized server

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

What is MVC Design Pattern?

A

a software architecture pattern that separates an application into three distinct components: the Model (data and business logic), the View (user interface presentation), and the Controller (handling user input and updating the model and view accordingly)

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

What is a design pattern?

A

A general repeatable solution to a commonly occurring software design problem.

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

What is strategy design pattern?

A

Defines a family of algorithms, encapsulates each one, and makes them interchangeable.

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

When would you use Strategy Design Pattern?

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