Review day3 Flashcards

1
Q

Control System

A

A control system is a device that manages the behavior of other devices or systems.

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

Four functions of a control system

A
  1. Measurement
  2. Comparison
  3. Computation
  4. Correction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Three important hardware

A
  1. Sensor
  2. Controller
  3. Control Element
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Microprocessor

A

A microprocessor is a integrated circuit that contains an entire CPU in one chip.

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

Sensor

A

A sensor is a device that measures a physical quantity and responds to it.

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

Actuator

A

A device that turns electrical energy and signals into mechanical motion. Used in control systems as output.

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

Transducer

A

A device that changes energy from one form to another. (sensor or actuator)

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

Centralized system

A

All the computation and processing are done by the central computer.

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

Distributed system

A

Different components are control by different processing unit located through the network.

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

Centralized system(Cons)

A

lower performance
less reliable
cost more

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

distributed system(Pros)

A

scalable
more reliable
cost less

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

Distributed system(cons)

A

security
hard to manage

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

Autonomous Agents

A

Autonomous agents are programs that perform operations with some degree of independence.

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

4 feature of Autonomous Agents

A

Autonomy, Reactive Behavior, Sociality, Persistence

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

Autonomy

A

The agents should choose what to do themselves instead of being invoked or called upon to do things.

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

Reactive Behavior

A

Senses environmental and reacts base on this input.

17
Q

Sociality

A

Can react with other agents cooperatively

18
Q

Persistent

A

An agent consistently acts in pursuit of its goal

19
Q

initialize Array

A

int[] numbers = {1, 2, 3, 4, 5};
String[] names = {“Alice”, “Bob”, “Charlie”};

20
Q

Initialize ArrayList

A

ArrayList<String> list = new ArrayList<>();</String>

21
Q

Initialize LinkedList

A

LinkedList<String> list1 = new LinkedList<>();</String>

22
Q

add element in LinkedList

A

list.add(“Apple”);

23
Q

remove element in LinkedList

A

list.remove(); //or list.remove(index);

24
Q

Initialize stack

A

Stack<String> stringStack = new Stack<>();</String>

25
Q

add element to a stack

A

myStack.push(10);

26
Q

remove element from a stack

A

stack.pop();

27
Q

Initialize an queue

A

Queue<Integer> queue = new LinkedList<>();</Integer>

28
Q

add element to queue

A

queue.offer(30); // or add()

29
Q

remove element from queue

A

queue.poll(); //remove()

30
Q

return the head of the queue, but do not remove