Week 2 Flashcards

(20 cards)

1
Q

What are the 4 steps Polya’s heuristic strategies divided into?

A
  1. Understand the problem
  2. Devise a plan
  3. Carry out the plan
  4. Look back and reflect
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does (1) Understand the problem mean (Polya’s)?

A

Simply understanding the problem. A failure to understand problem explains a failure to solve it

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

What does (2) Devise a plan mean (Polya’s)?

A

Identifying the calculations, computations or constructions that must be performed in order to obtain a solution

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

What is (3) Carry out the plan mean (Polya’s)?

A

Performing steps in sequence to give the solution.

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

What does (4) Look back and reflect mean (Polya’s)?

A

Taking time to consider what worked and what did not. This makes it easier to find solutions in future problems

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

What is a Design Pattern?

A

Captures idea of a good solution to a common design problem

By using design patterns, novices behave like experts

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

What design pattern for functional programs are we going to use?

A

Generate-and-select

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

How does Generate-and-select work?

A

The generator constructs large number of values that might be solutions to problem

The Selector filters out values that are solutions to the problem

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

What is the Productivity Paradox?

A

Better technology should make things faster and easier, so productivity should increase

However in reality it does not increase as impressively as we may think

This is due to many reasons, some being:

  1. Takes time to learn new technology

2.Measuring productivity is hard

  1. Benefits are uneven (Technology might help one group (like online stores) while hurting another (like regular shops)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the Uneven/ concentrated gains explanation for the Productivity Paradox?

A

The gains are in few productive firms and sectors with limited weight in the overall economy

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

What is the Implementation lags explanation for the Productivity Paradox?

A

It takes considerable time for new technologies to achieve critical mass, or for necessary complementary ones to appear

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

What is the Mismeasurement explanation for the Productivity Paradox?

A

Adopting new technologies can lead workers to move from more productive adopting sectors to less productive ones, and so to negligible aggregate productivity growth

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

How do Artificial Neural Networks (ANNs) work behind the scenes?

A
  1. The core ANN is trained on text from internet to respond to a prompt with a list of most probable next words after prompt
  2. Core ANN is tweaked by scoring its responses to sample queries.

Second ANN is trained on these scores to predict most likely one to be assigned to a prompt

  1. Second ANN is used in reinforcement learning to adjust weights in the core ANN so that its outputs are even more likely to satisfy humans
  2. Sometimes, data from user responses to LLM responses is def back to fine-tune for still better results
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the main concerns when using Large Language Models (LLMS)?

A
  1. Copyright
  2. Education
  3. Code Quality
  4. Code Security
  5. Not an expert
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
  1. What is the LLM Copyright concern?
A

Although the code produced is the meldingof that from many sources, there may still be licensing problems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
  1. What is the LLM Education concern?
A

Good solutions to many assignments can be completed directly, reducing their challenge and worth

17
Q
  1. What is the LLM Code Quality concern?
A

No guarantee of code quality when using a large language model, and a code review will need to be conducted before code is deployed

18
Q
  1. What is the Code Security LLM concern?
A

There is no guarantee of code security when using a large language model, and a security audit will need to be conducted before the code is deployed

19
Q
  1. What is the Not An Expert LLM concern?
A

A LLM is not an expert - it does not know that is does not know, and will waffle if necessary, mixing high-quality text with low-quality rubbish