Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

MIPS Test 2024 Questions With All Correct Solutions!!

Beoordeling
-
Verkocht
-
Pagina's
77
Cijfer
A+
Geüpload op
29-10-2024
Geschreven in
2024/2025

MIPS Test 2024 Questions With All Correct Solutions!!

Instelling
...
Vak
...

Voorbeeld van de inhoud

Name: Score:


205 Multiple choice questions

Term 1 of 205
When an operation is actually performed, what is true of the operands in the ALU?

At least one operand must be 32 bits wide.

Each operand can be any size.

Both operands must come from registers.

They must each be 32 bits wide.

Term 2 of 205
What is the bit-wise AND of the following patterns:


0110 1101
0100 1010

0110 0110


0100 1000

0110 1001


1110 0110

,Term 3 of 205
Say that:


Memory at 0x10000000 contains 0x80
Register $5 contains 0x10000000
What is put in register $8 after lb $8,0($5) is executed?

0x88888880

0x00000080


0x80000000

0xFFFFFF80

Term 4 of 205
What is the result of performing an exclusive or of a bit pattern with itself?

The result is all zero bits.

The result is the same as the original.

The result is all one bits.

The result is the reverse of the original

Term 5 of 205
What instruction is used to divide two's complement integers?

dv

divide

divu


div

,Term 6 of 205
Rotate the following bit pattern two positions RIGHT:


10001101

00110100


01100011

10001101

10000001

Term 7 of 205
Say that:


Memory at 0x10000000 contains 0x80
Memory at 0x10000001 contains 0x00
Register $5 contains 0x10000000
Say that the MIPS chip is running in little-endian mode (as does SPIM on an Intel computer). What
is put in register $8 after lh $8,0($5) is executed?

0xFFFFFF80

0x88888880


0x00000080

0x80000000

Term 8 of 205
In an actual computer system with a full-scale operating system, what would the exit service do?

Return control to the operating system.

Halt the processor.

Halt the operating system.

Immediately start running another user program.

, Term 9 of 205
At what address does the SPIM simulator put the first machine instruction when it is running with
the Bare Machine option turned ON?

0x00000000

0x00400000

0x10000000

0xFFFFFFFF

Term 10 of 205
What are the three steps in the machine cycle?

A. the character is in the low-order byte. the three high-order bytes are zero.

A. fetch, increment, execute

B. several sequential instructions are simultaneously prepared for execution while one
instruction finishes its execution.

A. no.

Term 11 of 205
How is an array of integers typically implemented?

The integers of the array are put in sequential words of memory. A word of zeros follows
the last integer.

The integers of the array are put in sequential words of memory. Another word of memory
contains the length of the array.

The integers of the array are put in sequential bytes of memory. The last byte holds the
length of the array.

Each integer of the array is assigned to one of the general purpose registers.

Geschreven voor

Instelling
...
Vak
...

Documentinformatie

Geüpload op
29 oktober 2024
Aantal pagina's
77
Geschreven in
2024/2025
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$8.49
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
amzingnurse study smarts
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
1562
Lid sinds
2 jaar
Aantal volgers
63
Documenten
3633
Laatst verkocht
5 dagen geleden

4.8

1569 beoordelingen

5
1346
4
184
3
14
2
6
1
19

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen