Looking for COMPSCI1018 Computing Science 1S - Computing Systems - 2024-25 test answers and solutions? Browse our comprehensive collection of verified answers for COMPSCI1018 Computing Science 1S - Computing Systems - 2024-25 at moodle.gla.ac.uk.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
just a pointer. Most of the following statements are correct, but one
is not. Which statement is NOT true?
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?
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 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 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?
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?
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?
Which statement is NOT true?
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?
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?
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!