SWE Interview - Set 6 Flashcards

1
Q

What are the Design Principles covered so far?

A
  • Separation of Concerns
  • Coupling
  • Abstraction
  • Inversion of Control
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the Design Patterns covered so far?

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

What do you need to work in an agile way?

A

A clear understanding of the desired outcomes

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

The Ideal Team Player by Patrick Lencioni talks about the three qualities needed to be a successful team player.

A
  • Humble: Treats everyone as an equal and doesn’t see themselves as “superior” to others
  • Hungry: Seeks out new opportunities. Enjoys their work.
  • Smart: Understands how to communicate & interact with others on their team
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Throttle

A

Controlling or limiting data flow or requests in a system to prevent overload and optimize performance in cloud computing. It ensures stability and prevent resource overuse.

In cloud computing is limiting the number of API requests a user can make within a specific timeframe to prevent overwhelming a server or service.

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

Caching

A

Caching in development stores frequently accessed data temporarily, improving performance by reducing load times. It enhances efficiency by retrieving stored information rather than reprocessing or fetching it anew.

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

WebSocket API

A

WebSocket API facilitates real-time, bidirectional communication between a client and server over a single, persistent connection, allowing instant data exchange, ideal for applications requiring continuous updates or immediate responses.

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

Primary Key (PK)

A

A primary key in SQL uniquely identifies each row in a table, ensuring no duplicate values, facilitating data retrieval, and enforcing data integrity.

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

Unique Constraint

A

A unique constraint in SQL ensures that values in a column or set of columns are unique within a table, preventing duplicate entries.

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

What are the four ACID principles in database transactions, and what does each principle ensures?

A
  • Atomicity: Transactions are indivisible units; either all operations succeed or fail together, maintaining database integrity and consistency.
  • Consistency: Transactions maintain data integrity, moving the database from one valid state to another without violating constraints or rules.
  • Isolation: Concurrent transactions operate independently, preventing interference, ensuring data integrity, and avoiding issues like dirty or inconsistent reads.
  • Durability: Committed transaction changes persist permanently, surviving system failures, ensuring data remains intact and accessible after disruptions.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the concept of Transactions in database?

A

Transactions in databases represent a set of operations treated as a single unit, ensuring reliability and consistency. They follow ACID properties.

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