SWE FINAL PREP Flashcards

1
Q

Difference between TCP vs UDP?

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

Difference between no SQL and SQL DB?

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

What is SOLID principal?

A

Solid principle is a acronym to guide object oriented design. It is used to create systems that are modular, scalable and easy to maintaining.

S -> Single responsibility: Meaning that each class should have one responsibility.

O-> Open/Closed principle: Allowing software entities to be open for extension but closed for modification. ( Allowing entity to extend its behavior without changing source code)

L-> Liskov Substitution Principle: Which is a principle where subtypes should be substitutable for their base types.

I -> Interface Segregation Principle: Clients should not depend on interfaces they do not use

D-> Dependency Inversion: Depend on abstractions not concretions

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

What is ACID principle?

A

Atomicity: Ensures all operations in a transaction are complete if not then the entire transaction is rolled back

Consistency: Ensures that a transaction bring the DB from one valid state to another

Isolation: Ensures that concurrent transactions do not affect each other’s execution

Durability: Guarantees that once a transaction is commited, it will remain, so, even if a system fails

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

What is CAP Theorem?

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

Difference between thread and process?

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

Difference between Interpreter and Compiler

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

Tell me about yourself?

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

Tell me about a bug you have encounter?

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

Explain the pillar of OOP

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

Explain the sublanguages of SQL

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

What is referential integrity?

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

How to avoid hash colision?

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

Difference between deep and shallow copy

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

What is a race condition?

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

Difference between asyncronous and syncronous programming

17
Q

Benefit of cloud computing?

18
Q

What is Data Access Object design pattern

A

It is a design pattern that abstracts and encapsulates all access to the data source. The DAO handles the CRUD operations making the code maintainable and scalable.

19
Q

What is HTTP request and reposnses

A

HTTP is a set of rules the establishes how web browsers and web servers commuicate with each other with each other

20
Q

What is TDD

A

Test driven development is a methodology where tests are written before the actual code.

21
Q

What are SQL stored procedures

A

Precompiled collections of one or more SQL statements in a DB that canexecute as a single command.

22
Q

What are REST api

A

Rest( Represents state transfer) is a architectural style for designing network applications. The api provides functions over http such as get post put patch and delete

23
Q

What is CORS

24
Q

How to keep data safe?

25
Name a time you had an issue with a coworker
26
Best practices for testing?
27
Explain your experience in agile
28
Career Goals?
29
Explain Micro Services
30
Authentications vs Authorization
31
Explain Auth0 and JWT
32