Io Flashcards

1
Q

Three concepts related to concurrency were discussed with regards to the language Io. ANSWER was presented as a way to manage two execution streams that pass control back and forth between themselves.

A

coroutines

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

Three concepts related to concurrency were discussed with regards to the language Io. ANSWER was presented as a general mechanism for sending a message to an object that would cause that object to respond to the message as a separate process running asynchronously.

A

Actors

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

Three concepts related to concurrency were discussed with regards to the language Io. ANSWER was presented as a way to request that something be computed and then be able to continue computing until the result was needed. If the result was available then things would proceed as expected. If the result was not available, then a wait would be initiated until the result became available.

A

Futures

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

Io is known for taking a ANSWER-based approach to object oriented programming.

A

prototype

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

In Io, the basic method for creating a new object is ANSWER.

A

clone

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

In Io, the type of an object is generally the nearest ancestor that ANSWER.

A

has a name that starts with a capital letter

has a slot for the method type

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

In Io, we create a singleton by redefining the method ANSWER.

A

clone

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

In Ruby, the evaluation of arguments to a message are handled by the object sending the message. In Haskell, the runtime environment decides when and how much to evaluate an argument to a function. In Io, the evaluation of the arguments to a message is made by ANSWER.

A

the receiver of the message

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

In Io, a message has three aspects that can be interrogated by the call method. They are: the sender, the reciever, and ANSWER

A

the argument list

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

Io allows programmers to play with its syntax, doing things like introducing a colon operator and redefining how curly braces are processed. This makes it easy to use Io to create ANSWER.

A

Domain Specific Languages

DSLs

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

As one would expect in an object oriented language, when a message is sent to an object, the first thing the system does is to look for a corresponding method in that object. However, Io lets you change what happens next by redefining the method named ANSWER.

A

forward

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