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.

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

Which statement about the call stack is NOT true?
Переглянути це питання
Suppose we are traversing an array of records, and we

don't know how many elements are in the array, but we do

know the address of the end of the array. Which is better?

Переглянути це питання
There is an array of records, and each record contains 4 elements.

Each record element is an integer, and their names are

fieldA, fieldB, fieldC, fieldD.

Suppose R5 contains a pointer to an element of the array.

Which instructions will implement *R5.fieldD := *R5.fieldC?

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

Suppose we perform a trap instruction to write an array of

characters. The array contains one element which is defined by

   data -1

What will happen?

Переглянути це питання
Suppose you have a loop that must execute the body at least one time,

and from then on a Boolean condition determines whether it should

continue. Which looping construct would be more appropriate?

Переглянути це питання
Suppose you have a loop that should not execute the body at all

if a Boolean condition is False. Which looping construct

would be more appropriate?

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

Suppose there is a compound Boolean conditional

i<n && x[i]>0

Which of the following is NOT a good reason for implementing

this using "short circuiting"?

Переглянути це питання
Here are some statements about load, store and lea. Most of them

are correct but one is not. Which is the false statement?

Переглянути це питання
Here are some statements about load and lea. One of them is correct,

but the others are all misconceptions. Which is the correct statement?

Переглянути це питання
There is an array of records, and each record contains 4 elements.

Each record element is an integer.

Suppose R5 contains a pointer to an element of the array.

Which instruction will update R5 to make it point to

the next element of the array?

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

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

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