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)

ECEN 350 QUESTIONS AND ANSWERS

Beoordeling
-
Verkocht
-
Pagina's
6
Cijfer
A+
Geüpload op
14-12-2025
Geschreven in
2025/2026

ECEN 350 QUESTIONS AND ANSWERS

Instelling
ECEN 350
Vak
ECEN 350

Voorbeeld van de inhoud

ECEN 350 QUESTIONS AND ANSWERS


t/f C is a low-level language and ARMv8 assembly is a high-level language. - Answer -
F

The ________ of a processor defines its hardware software interface. - Answer -ISA
architecture

t/f A higher frequency processor will always have higher performance than a lower
frequency processor. - Answer -F

T/f There is a one-to-one matching between lines of C and lines of an assembly
language. - Answer -F

T/f There is a one-to-one matching between lines of an assembly language and lines of
its machine language. - Answer -T

t/f The complier permanently assigns each register to one and only one variable at
compile time. That register is never used for anything else. - Answer -F

Because of the limited number of registers, the compiler must constantly reuse registers
for different variables over the course of the program.

Typical, ARMv8 R-Type arithmetic instructions have exactly _______ operands. -
Answer -3
three

Translate the following assembly instruction to machine code in binary:
SUB X0, X1, X2 - Answer -11001011000000100000000000100000

Twos complement representations of negative numbers are particularly in useful digital
design because the same hardware can be used for addition and __________. -
Answer -subtraction

The XZR register is hard coded to produce a ________ value when read and to ignore
writes. - Answer -0
zero

What is left in the variable z after the following code is run:
int *p, x, z;
p=&x;
x=4;
z=*p; - Answer -4

, Which of the following correctly describes the effect of this load instruction:
LDUR X3, [X3, 0x10]
Where X3 initially has the value of 0x12340 in it and memory addresses given below
contain the following values.
0x12330: 0x00
0x12338: 0xff
0x12340: 0x34
0x12348: 0x29
0x12350: 0xa7 - Answer -The value 0xa7 is copied into X3.

T/F ARMv8 and many other RISC ISAs are considered to be a "Load/Store
Architecture" because many computational instructions operate directly on the memory.
- Answer -F
CISC instruction sets may have instructions that operate directly on the memory, but
RISC instruction sets are often load/store because they must first move from memory
with a separate load instruction, perform the computation and store back with a store
instruction.

T/F ARMv8 assembly strongly enforces type on registers. - Answer -F
Registers can be used to hold data values that can then immediately be used as
addresses or text.  The hardware makes no distinction.

Given the following instruction:
LDURB X1, [X2, 0x4]
Where X1 = 0x123456789abcdef0
and X2 = 0x0
and memory currently has the following data:
AddressData0x00xDEADBEEF123456780x80xBA5EBA11F005BA11

What will be left in X1 after the instruction executes on a little-endian machine? -
Answer -0xef
0x00000000000000ef

T/F In general, control flow instructions do no work, i.e. they manipulate no data. -
Answer -T
Control flow instructions choose which instruction will be exectued next but they do not
change the state of the processor otherwise.

If a function calls a subsequent function, it must save _______ on the stack, or it will be
unable to return properly. - Answer -LR
X30
return address

T/F During the course of a given program the stack will always grow and never shrink. -
Answer -T
The stack will grow with each function call and shrink on each return.

Geschreven voor

Instelling
ECEN 350
Vak
ECEN 350

Documentinformatie

Geüpload op
14 december 2025
Aantal pagina's
6
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$13.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


Ook beschikbaar in voordeelbundel

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.
GEEKA YALA UNIVERSITY
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
2107
Lid sinds
4 jaar
Aantal volgers
1446
Documenten
54024
Laatst verkocht
3 dagen geleden

3.8

358 beoordelingen

5
177
4
61
3
48
2
17
1
55

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