logo

Crowdly

Browser

Додати до Chrome

Questions Bank (1234654 total)

Consider the following program.

i := 0;

while i<10 do

    { print (i);

      i := 5;

      print (i);

      i := 50;

      print (i); }

The output is

0%
0%
Переглянути це питання
In the OrderedLists program, the high level algorithm for the Print command

begins with the statement p := *p.next. What is the purpose of this statement?

Переглянути це питання
The OrderedLists program uses a header to point to each list, rather than

just a pointer. Most of the following statements are correct, but one

is not. Which statement is NOT true?

Переглянути це питання
The CommandLoop in the OrderedLists program loads the command code into

a register, and it then compares that register with 0 and the maximum

valid command code. If the command is not valid the program skips the

command. Which statement is correct?

Переглянути це питання
The OrderedLists program takes in a sequence of commands, and there are

several commands (insert, delete, etc.). The choice of command is

specified by an integer chosen from a sequence of consecutive integers

0, 1, 2, ... Which of the following statements is NOT correct?

0%
0%
0%
Переглянути це питання
A linked list consists of nodes, where each node is a record with

a value field (containing an integer) and a next field (containing

a pointer to the next node in the list). Suppose R3 contains a pointer

to the list.

Why should the program compare R3 with nil before it performs R3 := (*R3).next?

0%
0%
0%
Переглянути це питання
A linked list consists of nodes, where each node is a record with

a value field (containing an integer) and a next field (containing

a pointer to the next node in the list). Suppose R3 contains a pointer

to a node in the list.

Which of the following will implement R3 := (*R3).next?

0%
0%
0%
Переглянути це питання
У своїй роботі СЦ використовує інформаційні ресурси:
0%
100%
0%
0%
Переглянути це питання

A linked list consists of nodes, where each node is a record with

a value field (containing an integer) and a next field (containing

a pointer to the next node in the list). Suppose R3 contains a pointer

to a list.

Which of the following will jump to Done if the list is empty?

Переглянути це питання
Що є підставою для переведення особового складу у посилений варіант несення служби:
0%
0%
0%
100%
Переглянути це питання