SWE FINAL PREP Flashcards
Difference between TCP vs UDP?
Difference between no SQL and SQL DB?
What is SOLID principal?
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
What is ACID principle?
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
What is CAP Theorem?
Difference between thread and process?
Difference between Interpreter and Compiler
Tell me about yourself?
Tell me about a bug you have encounter?
Explain the pillar of OOP
Explain the sublanguages of SQL
What is referential integrity?
How to avoid hash colision?
Difference between deep and shallow copy
What is a race condition?
Difference between asyncronous and syncronous programming
Benefit of cloud computing?
What is Data Access Object design pattern
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.
What is HTTP request and reposnses
HTTP is a set of rules the establishes how web browsers and web servers commuicate with each other with each other
What is TDD
Test driven development is a methodology where tests are written before the actual code.
What are SQL stored procedures
Precompiled collections of one or more SQL statements in a DB that canexecute as a single command.
What are REST api
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
What is CORS
How to keep data safe?