logo

Crowdly

COMPSCI1018 Computing Science 1S - Computing Systems - 2024-25

Шукаєте відповіді та рішення тестів для COMPSCI1018 Computing Science 1S - Computing Systems - 2024-25? Перегляньте нашу велику колекцію перевірених відповідей для COMPSCI1018 Computing Science 1S - Computing Systems - 2024-25 в moodle.gla.ac.uk.

Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!

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?

Переглянути це питання
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?

Переглянути це питання
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%
Переглянути це питання

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?

Переглянути це питання
R5 contains a pointer to a record with three fields, called

fieldA, fieldB, fieldC. Suppose fieldA contains an integer,

and fieldB and fieldC contain pointers to lists. Which instruction

puts the value of fieldC into R6?

0%
0%
Переглянути це питання
Most of the following statements are correct, but one is not.

Which statement is NOT true?

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

Most instructions are used for just one purpose, but lea can be used for several purposes. Which one of the following is NOT something you can do with lea?

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

Suppose R4=i, and we are implementing a jump table to go to jt[i], where jt contains n elements. Several computations should be performed on i before actually making the jump. Which of the following is NOT one of these computations?

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

Хочете миттєвий доступ до всіх перевірених відповідей на moodle.gla.ac.uk?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!