Chapter 2 Flashcards

1
Q

What is event

A

Event is an occurrence within a particular system or domain

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

What is event object

A

Representation of event in computer system

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

What are probabilistic event

A

The events occurs on the base of probability

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

What is synchronous system

A

An event occur and other events waits until it completes. An example of coffee shop. You are standing on counter in a queue. You order for coffee. Next customer will not come on counter until you get coffee. This is synchronous. It is blocking in nature.

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

What is asynchronous system

A

An event occur and other events does not waits until it completes. An example of coffee shop. You are standing on counter in a queue. You order for coffee and then go to your chair. Next customer come on counter and process continue. This is asynchronous. It is non-blocking in nature.

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

What is polling

A

For example, In coffee shop, manager goes to every table and ask for any order. This is polling

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

What is blocking

A

For example, in coffee shop, manager goes to a table and waits there standing, until it gives order. It is quite possible in the mean while, some other table wants to order but this table can not place its order. It is blocking

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

What is abstraction

A

Abstraction gives higher level picture, instead of giving nitty gretty detail

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

Does event driven programming offers decoupling and abstraction

A

Yes

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

What is decoupling

A

Keeping each problem separate and let it solve separately.

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

What are real time system

A

That rely on real systems e.g. car sensors

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

What are file events

A

Events related to files

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

What are network events

A

Events based on network

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

What is event producer

A

The one who produce an event

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

What is event consumer

A

The one who consume event. Producer and consumer should be separate.

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

What are event types

A

Categorizing events

17
Q

What are event instance

A

Occurrence of events

18
Q

What are event handler

A

Reaction of events after its response