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 Design Pattern?

A

Defines an interface for creating an object, but lets subclasses decide which one to instantiate

Sprint 3

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
16
Q

When is Factory Method applicable?

A

-When a class can’t anticipate the objects it must create
-wants its subclasses to specify the object
-You want to localize the knowledge of which subclass is the delegate.

Sprint 3

17
Q

What is the Template Method Design Pattern?

A

-Defining the skeleton of an Algorithm in operation, deferring some steps to subclasses.
-Subclasses can redefine certain steps without changing the algorithms structure.

18
Q

When is Template Method applicable?

A

-subclasses should be able to extend the base algorithm without altering its structure
-you have several classes that do similar things with only minor differences

19
Q
A