logo

Crowdly

Browser

Додати до Chrome

Questions Bank (1451305 total)

Suppose the following program fragment is executed:

  lea R4,2[R0]

  lea R5,7[R0]

  data $0445

Which statement is true?

0%
0%
❌
Переглянути це питання
Suppose p is a pointer to a list.

Which statement is NOT true?

❌
❌
✅
❌
Переглянути це питання

С какого по какой год длился индустриальный период

0%
0%
0%
Переглянути це питання
A list comprises nodes with two fields:

The first field, value, is an integer

The second field, next, is a pointer to the next node

R7 contains a pointer to a node

Which instruction performs R8 := *R7.next?

❌
❌
❌
✅
❌
Переглянути це питання
A list comprises nodes with two fields:

The first field, value, is an integer

The second field, next, is a pointer to the next node

R7 contains a pointer to a node (assume that R7 is not nil)

Which instruction performs R8 := *R7.value?

✅
❌
❌
❌
❌
Переглянути це питання

Suppose p is a pointer to a list, and we need to implement

if p=nil then goto aardvark

This is implemented by

✅
❌
❌
Переглянути це питання
If you declare a variable with a data statement, this variable is
✅
❌
❌
Переглянути це питання
Which of the following would NOT appear in a call stack?
0%
0%
0%
0%
0%
Переглянути це питання
Which statement is NOT true?
❌
❌
✅
❌
❌
Переглянути це питання
Suppose a stack was initially empty, and we have performed the

following sequence of operations:

push a, push b, push c, pop, push d, push e, pop, pop, pop

What value is returned by the last pop?

Переглянути це питання