- Study guides, Class notes & Summaries
Looking for the best study guides, study notes and summaries about ? On this page you'll find 19 study documents about .
19 results
Exam (elaborations)
COMSC 260 Exam #3 Questions and answers already passed
COMSC 260 Exam #3 Questions and answers already passed 
 
Which of the following options below is an accurate visual representation of a runtime stack? - correct answers , 1 
00000FFC, 1 
00000FF8, 1 <-- ESP (on bottom row) 
 
(blue picture + Runtime Stack initial and final states) 
Which instruction would cause the runtime stack and register EIP to change from the initial state shown above to the final state shown above? - correct answers D-) ret 
 
The _ instruction does the following: 
Pu...
Exam (elaborations)
COMSC 260 Test 2 Exam Questions With Correct Answers.
PopularCOMSC 260 Test 2 Exam Questions With 
Correct Answers. 
Which of the options below meets *BOTH* of the following criteria: 
The loop is a *pretest* loop. This means the condition for the loop is checked *BEFORE* 
executing the body of the loop. 
The body of the loop (i.e., add eax, eax) is executed exactly five times. 
------------------------- 
*D-)* 
*mov eax, 0* 
*mov ecx, 6* 
*jmp L2* 
*L1:* 
* add eax, eax* 
*L2: 
* loop L1* 
------------------------- 
B-) 
mov eax, 0 
©BRIGHSTARS 2024/202...
Package deal
COMSC 260 Exam Package Deal 100% Verified.
COMSC 260 Exam Package Deal 100% Verified.
Exam (elaborations)
COMSC260 Final Exam Study Guide.
COMSC260 Final Exam Study Guide. 
Link library - Answerfile containing procedures that have been assembled into machine code 
I - Answerfor programs written in 32-bit protected mode 
I - Answerfor programs written in 16-bit real-address mode 
stack - AnswerLIFO(Last In, First Out) 
the last value put into the stack is always the first value taken out 
runtime stack - Answera memory array managed directly by the CPU, using the ESP(extended 
stack pointer) register 
push operation - Answerdecremen...
Exam (elaborations)
Comsc 260 test 1 Exam Questions With Correct Answers
Comsc 260 test 1 Exam Questions With 
Correct Answers. 
Suppose a program has the following data segment: 
.data 
A BYTE 4B BYTE 5result BYTE ? 
Which of the options below will store the value 20 in the result variable? 
(the value 20 is also the product of the two numbers: A * B = 4 * 5 = 20) - Answermov al, 
Badd al, Badd al, Badd al, Bmov result, al 
Which of the options below is the correct truth table for the logical AND operator? - AnswerP 
Q 
P AND Q 
F 
F 
F 
F 
T 
F 
©BRIGHSTARS 2024/2...
Exam (elaborations)
COMSC 260 Exam Questions With Correct Answers
COMSC 260 Exam Questions With Correct 
Answers. 
A program that combines object files into an executable program is called a linker. - 
AnswerTrue 
Suppose there is a virtual machine containing levels V1 and V2, where V2 is above V1 in the 
machine hierarchy. The programs written in language V1 can be executed by a program running 
at level V2. - AnswerFalse 
A dynamic link library (DLL) is always written in the Java programming language. - 
AnswerFalse 
A compiler decodes and executes one progr...
Exam (elaborations)
Comsc 260 Exam Questions With Correct Answers.
Comsc 260 Exam Questions With Correct 
Answers. 
What is the SIGNED binary number converted to decimal? 
A. 256 
B. -256 
C. -128 
D. 128 - AnswerC 
Suppose n = number of bits. Which of the options below is the correct formula that will give you 
the largest UNsigned binary number that you can represent for a given number of bits? 
A. 2^n + 1 
B. 2^(n-1) - 1 
C. 2^(n+1) + 1 
D. 2^n - 1 - AnswerD 
How many bits are in a byte? 
A. 32 
B. 8 
C. 64 
D. 16 - AnswerB 
Suppose we want to represent the...
Exam (elaborations)
COMSC 260 Test 3 Exam Questions With Correct Answers.
COMSC 260 Test 3 Exam Questions With 
Correct Answers. 
Suppose a program is supposed to write to memory letter/digit pairs, where the letter comes first 
and the digit comes second. Each pairing of a capital letter (A - Z) and a digit (0 - 9) should be 
written to memory in the following order: A0, A1, ...., A9, B0, B1, .... B9, ...., Y0, Y1, .... Y9, 
Z0, Z1, .... Z9* 
In addition, the total number of pairings should be stored in num_of_pairs. 
*Remember if you were to actually run this in vis...
Exam (elaborations)
COMSC 260 Exam #3 Questions With Correct Answers. (Quizzes 9-12)
COMSC 260 Exam #3 Questions With 
Correct Answers. (Quizzes 9-12) 
Which of the following options below is an accurate visual representation of a runtime stack? - 
Answer, 1 
00000FFC, 1 
00000FF8, 1 <-- ESP (on bottom row) 
(blue picture + Runtime Stack initial and final states) 
Which instruction would cause the runtime stack and register EIP to change from the initial state 
shown above to the final state shown above? - AnswerD-) ret 
The _ instruction does the following: 
Pushes the offse...
Exam (elaborations)
COMSC 260 FINAL PRACTICE Exam Questions With Correct Answers 2025
COMSC 260 FINAL PRACTICE Exam 
Questions With Correct Answers 2025 
What is the *largest UN*signed number that you can make with five (5) bits? 
----------------------------- 
*31* 
32 
16 
15 - Answer*31* 
When adding binary numbers together in a column, what two steps are performed if their sum is 
greater than 1? 
1. What you put down in the column is calculated by the formula: _ 
2. Carry a 1 over to the next column 
HINT: 
1 + 1 = 10 
1 + 1 + 1 = 11 
----------------------------- 
1. sum = ...
Package deal
Comsc 260 Packaged Exams!!
Comsc 260 Packaged Exams!!
Exam (elaborations)
COMSC 260 Exam 3 Questions (Quizzes 9-12) 100% Verified
COMSC 260 Exam 3 Questions (Quizzes 9-12) 100% Verified...
Exam (elaborations)
Comsc 260 Test 3 100% Verified
Comsc 260 Test 3 100% Verified...
Exam (elaborations)
Comsc 260 Final Practice Exam With Accurate Answers
Comsc 260 Final Practice Exam With Accurate Answers...
Exam (elaborations)
Comsc 260 Test 2 With Complete Solutions Latest Update
Comsc 260 Test 2 With Complete Solutions Latest Update...
Exam (elaborations)
Comsc 260 Test 1 With Complete Solutions Latest Update
Comsc 260 Test 1 With Complete Solutions Latest Update...
Exam (elaborations)
Comsc 260 New Exam Questions And Correct Answers
Comsc 260 New Exam Questions And Correct Answers...
Exam (elaborations)
Comsc 260 Final Exam With 100% Correct Solutions!!
Comsc 260 Final Exam With 100% Correct Solutions!!...
Exam (elaborations)
Comsc 260 Exam With Accurate Solutions 100% Verified
Comsc 260 Exam With Accurate Solutions 100% Verified...