Unit 12 Flashcards

1
Q

What are peak() and poke()?

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

How does the operating system access Ram[addr] using Jack?

A

An array (called ram) is made, and then set to 0.

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

What functions are in the Memory class of the Jack operating system?

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

What is saved to the stack and what is saved to the heap?

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

What are alloc() and dealloc()?

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

How do constructors handle allocation of space for new objects?

A

The constructor uses the operating system’s Memory.alloc() funciton.

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

How does the operating system use the alloc() function to return the base address of a free memory block?

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

How does the operating system initiate the heap so that it can be used in the future for memory alocation?

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

What functions are in the Screen class of the Jack operating system?

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

What functions are in the OS Keyboard class?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
  1. What fields does the OS String class have?
  2. What is the code for the constructor of this class?
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

אילו אלגוריתמים מתמטיים ממומשים במערכת ההפעלה?

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