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)

CPS 310 EXAM || A+ Guaranteed.

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

LIFO correct answers Last in first out. Stack pointer stores the address of the topmost data in the stack. How code is made correct answers 1. Source code is given to compiler 2. Compiler checks code for syntax errors 3. Compiler converts code to object code 4. Linker makes it into an .exe file 5. Loader puts .exe into RAM. Linker correct answers Software program that combines together separately assembled object code into one program. Loader correct answers A program that loads an executable program into RAM. Interpreter correct answers Begins execution before converting the entire program. Each line of code is translated one at a time. Compiler correct answers Checks code as a block and translates it into machine code. Syntax error correct answers Occurs when an instruction does not follow the syntax rules or grammar of the programming language. Semantic error correct answers (i) Logical error (not the result you expected to get) (ii) Runtime error (program crashes) What is the type of error that a compiler has never been able to solve? correct answers Semantical error .obj file correct answers Object code file (0 and 1) Primary memory devices correct answers RAM (Random Access Memory) ROM (Read Only Memory) PROM (Programmable Read Only Memory) EPROM (Erasable Programmable Read Only Memory) Are faster and smaller compared so secondary memory devices. Secondary memory devices correct answers Hard drive, floppy disk, CD (Compact Disc), USB (Universal Serial Bus) 1 nibble correct answers 4 bits 1 byte correct answers 8 bits

Meer zien Lees minder
Instelling
CPS 310
Vak
CPS 310

Voorbeeld van de inhoud

CPS 310 EXAM || A+ Guaranteed.
LIFO correct answers Last in first out.
Stack pointer stores the address of the topmost data in the stack.

How code is made correct answers 1. Source code is given to compiler
2. Compiler checks code for syntax errors
3. Compiler converts code to object code
4. Linker makes it into an .exe file
5. Loader puts .exe into RAM.

Linker correct answers Software program that combines together separately assembled object
code into one program.

Loader correct answers A program that loads an executable program into RAM.

Interpreter correct answers Begins execution before converting the entire program. Each line of
code is translated one at a time.

Compiler correct answers Checks code as a block and translates it into machine code.

Syntax error correct answers Occurs when an instruction does not follow the syntax rules or
grammar of the programming language.

Semantic error correct answers (i) Logical error (not the result you expected to get)
(ii) Runtime error (program crashes)

What is the type of error that a compiler has never been able to solve? correct answers
Semantical error

.obj file correct answers Object code file (0 and 1)

Primary memory devices correct answers RAM (Random Access Memory)
ROM (Read Only Memory)
PROM (Programmable Read Only Memory)
EPROM (Erasable Programmable Read Only Memory)

Are faster and smaller compared so secondary memory devices.

Secondary memory devices correct answers Hard drive, floppy disk, CD (Compact Disc), USB
(Universal Serial Bus)

1 nibble correct answers 4 bits

1 byte correct answers 8 bits

, half-word correct answers 16 bits / 2 bytes

word correct answers 32 bits / 4 bytes

double word correct answers 64 bits / 8 bytes

quad word correct answers 128 bits / 16 bytes

What is always added to the end of a string? correct answers a null character

Pointer correct answers Points to the address of a given memory location.

True or false:
Once you delete a variable in a program, the value that was in that memory location is deleted
also. correct answers FALSE
A memory location will stay at it's last value until some other object occupies that memory and
writes a value there.

Deleting a variable in a program simply tells the compiler "I don't need this anymore", but it still
remains until overwritten.

What will the symbols "& x" yield? correct answers Will give the address of x.

= correct answers assignment operator

When you open and close your program, will the address of your variables stay the same or will
they change? correct answers The address will change when you open up the program again.

* correct answers Symbol for Pointer. It is a unary operator (operation with only one operand).

Scalar variable correct answers another name for a simple variable

Pointer variable correct answers A variable that holds an address

True or false:
Pointers take up less space in memory correct answers TRUE
Pointers take up less space in memory.

Endian correct answers Refers to the order of storing bytes in a computer's memory.

Big endian correct answers Least significant byte has highest address (occur last)
Most significant bit has the lowest address.

E.g.
Two bytes Stored: 34 62 → Value: 0x62 34
Four bytes Stored: 56 78 9A BC → Value: 0x56 78 9A BC

Geschreven voor

Instelling
CPS 310
Vak
CPS 310

Documentinformatie

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

Onderwerpen

$11.39
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.
SirAnton NURSING, ECONOMICS, MATHEMATICS, BIOLOGY, AND HISTORY MATERIALS BEST TUTORING, HOMEWORK HELP, EXAMS, TESTS, AND STUDY GUIDE MATERIALS WITH GUARANTEED A+ I am a dedicated medical practitioner with diverse knowledge in matters
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
780
Lid sinds
3 jaar
Aantal volgers
438
Documenten
38563
Laatst verkocht
2 dagen geleden
Reign Supreme Scholarly || Enlightened.

Get your revised study materials available here and elevate your educational outcomes. I have numerous verified learning materials (Research, Exams Questions and answers, Assignments, notes etc) for different courses guaranteed to boost your academic results. I am dedicated to offering you the best and unique learning content. You are encouraged to inquire further assistance from this end whenever need be. Kindly remember to leave your review, understanding your satisfaction is essential . We highly appreciate clients who always come back for more of the study content we offer, you are extremely valued. All the best.

Lees meer Lees minder
3.7

116 beoordelingen

5
49
4
20
3
23
2
8
1
16

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