CS401 Quiz 2 by Sir Zahid
- Type
- Quiz
- Course
- CS401 Computer Architecture and Assembly Language Programming
- Size
- PDF 68 KB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 1, 2, 3 of 20. Download the file for all 20 pages.
1. Stack is a data structure that behaves in a First in Last …….. manner.
Out
(Handsout searching Page 67)
2. We can convert a digit into its ASCII representation by adding to it.
0x30
(Page 80)
3. decrements SP (the stack pointer) by two and then transfers a word from the source operand to the top of stack? Or function decrements SP (the stack pointer) by two and then transfers a word from the source operand to the top of stack now pointed to by SP.
Push
(page 71)
4. The flag has a special role in debugging.
trap
(Page 17)
5.
6. In every bit moves one position to the right and the bit dropped from the right is inserted at the left. This bit is also copied into the carry flag.
Rotate Right (ROR)
(Page 53)
7.
Which of the following registers hold the address of data in Intel Boss?
BX, BP, SI and DI
(page 30)
8.
Which of the following is the general form of addressing? Base + Index + Offset
(page 35)
9.
All mathematical and logical operations are performed on the: Accumulator
(page 12)
10.
Which of the following register is used to hold the address of the next instruction to be executed?
(page 13)
11.
Which of the following is a program control instruction?
jne 0534
(page 14)
- The basic function of register is to hold---------.
Oparands
13.
14.
REPE and REPNE prefixes are only meaningful with------------. CMPS
(page 93)
15.
Stack is a data structure that behaves in --------------manner. LIFO
Note: Stack two manner pr behave krta hy first FILO or second LIFO. Handsout mai LIFO Nhi hy magr iss ka correct answer LIFO hy.
Q16. Which of the following bit is dropped into the carry flag after the execution of “Shift Logical Right” operation?
Right most bit
(page 52)
17.
How logical errors are different from syntax error?
Identifying syntax and logical errors it the responsibility of assembler and programmer respectively.
18.
In operation, the output is 1 only if both inputs are 1. AND
19.
How jmp is different form jnz?
jmp is an unconditional jump, however jnz is a conditional jump
20.
21.
In STOS, the implied source operand always resides in ------. AL or AX
(page 92)
22.
Which of the following is an illegal assembly instruction? mov [num1], [num2]
(page 30)
23.
sub sp, 2
The above instruction is used to perform a operation on stack.
PUSH
(page 75, 76)
24. The maximum amount of memory accessible using 8085 processor is .
64 KB
(page 15)
25.
In direct addressing, the memory address given in the instruction is :
fixed
(page 28)
26.
Related CS401 files
All CS401 files →Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.