General Questions Flashcards

1
Q

Why FP?

Why does functional programming matter? When should a functional programming language be used?

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

Browsers:

How do companies like Microsoft, Google, Opera, and Mozilla profit from their browsers?

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

TCP Sockets:

Why does opening a TCP socket have a large overhead?

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

Encapsulation:

What is encapsulation important for?

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

Real-time systems:

What is a real-time system and how is it different from an ordinary system?

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

Real-time and memory allocation:

What’s the relationship between real-time languages and heap memory allocation?

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

Immutability:

Immutability is the practice of setting values once, at the moment of their creation and never changing them. How can immutability help write safer code?

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

Mutable vs Immutable:

What are the pros and cons of mutable and immutable values?

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

Object-Relational Impedance Mismatch:

What’s the Object-Relational impedance mismatch?

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

Sizing a Cache:

Which principles would you apply to define the size of a cache?

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

TCP and HTTP:

What’s the difference between TCP and HTTP?

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

Client-Side vs Server-Side:

What are the tradeoffs of client-side rendering vs. server-side rendering?

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

Reliable and non-reliable channels:

How could you develop a reliable communication protocol based on a non-reliable one?

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

Million-Dollar Mistake:

Tony Hoare who invented the null reference once said “I call it my billion-dollar mistake” since it led to “innumerable errors, vulnerabilities, and system crashes, which have probably caused a billion dollars of pain and damage in the last forty years”. Imagine you want to remove the possibility to have null references in your preferred language: how would you achieve this goal? What consequences could this have?

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