CS401 - Computer Architecture and Assembly Language Programming
CS401 - Computer Architecture and Assembly Language Programming
VULMS Guidelines
1. Which of the following gives the more logical view of the storage medium?
Assignment Upload Guide
1. BIOS
MDB Posting Guide
2. DOS
3. Both
Important VU Links
4. None
Virtual University
2. An 8 x 16 font is stored in ______________ bytes. VU Orientation
1. 2 LMS Login
2. 4 DateSheet Link
3. 8 VU Email
4. 16 VU Contacts
Student Hand Book
3. In DOS input buffer, the number of characters actually read on return is stored in Open Courseware
___________ byte. VU Radio
1. 3rd VU tv channels
2. 4th Content Library
3. 1st
4. 2nd
1. INT 2
2. INT 3
3. INT 0
4. INT 1
1. Incremented by 1
2. Incremented by 2
3. Decremented by 1
4. Decremented by 2
6. Which bit of the attributes byte represents the red component of foreground color?
1. 5
2. 4
3. 3
4. 2
1. SS
2. DS
3. CS
4. ES
1. 3
2. 2
3. 4
4. 1
9. The other directive is "define word" or "dw" with the same syntax as "db" but reserving a
whole word of ________ bits instead of a byte.
1. 32
2. 8
3. 16
4. 64
1. One
2. Two
3. Three
4. Four
1. 16 Bits
2. 32 Bits
3. 20 Bits
4. 8 Bits
12. Which of the following string instruction is generally used in a loop instead of REP prefix?
1. SCAS
2. LODS
3. CMPS
4. STOS
13. "mov [bp], al" moves the one byte contents of the AL register to the address contained in BP
register in the current ________.
1. Stack Segment
2. Data Segment
3. Code Segment
4. Extra Segment
1. 1
2. 2
3. 3
4. 4
15. There are ________ registers in iAPX88 architecture that can hold address of data.
1. 1
2. 2
3. 3
4. 4
18. ASCII table is the contiguous arrangement of the upercase alphabets (41-5A), the lowercase
alphabets (61-7A), and the numbers ________.
1. 31-40
2. 29-39
3. 30-39
4. 31-41
19. In a comparison, if the both operands are same. The result of subtraction will be zero and
the zero flag will be ________.
1. Set
2. Incremented
3. Updated
4. Decremented
1. AND
2. XOR
3. OR
4. Test
1. direct addressing
2. base register indirect
3. base+index addressing
4. register indirect addressing
1. addition
2. multiplication
3. division
4. subtraction
1. Legal move
2. Illegal move
3. Ambiguous move
4. Fetal move
24. Which of the following register is used to hold address of the next instruction to be
executed?
1. Mov
2. JMP
3. CALL
4. SHL
1. 132
2. 124
3. 122
4. 128
1. SP
2. BP
3. AX
4. BX
28. Sending the appropriate signals on the control bus to the memory is the responsibility of
________.
1. Memory
2. Processor
3. Control Bus
4. Data Bus
29. The execution of the instruction "mov word [ES : 160], 0x1230" will print a character on the
screen at:
30. In ________ every bit moves one position to the right and the bit dropped from the right is
inserted at the left and also copied into the carry flag?
1. ROL
2. RCR
3. RCL
4. ROR
1. counter register
2. flag register
3. base register
4. destination register
32. If AX=5, BX=5, CF and ZF are set, AF and DX contains zero then after the execution of
instruction "ADC AX, BX", AX will contain the value ________.
1. 5
2. 10
3. 11
4. 6
34. In general, width of a memory cell cannot be greater than the width of ________.
1. Control Bus
2. Data Bus
3. Address Bus
4. I/O Bus
35. All mathematical and logical operations are performed on the ________.
1. Accumulator
2. Arithmetic Logic Unit
3. Program Counter
4. Flag Register
36. ________ is a special instruction that load a segment register and a general purpose register
from a memory locations.
1. SCAS
2. MOV
3. CALL
4. LES
37. Group of bits processor uses to inform memory which element to read/write is collectively
known as
1. Control bus
2. Data bus
3. Address bus
4. RAM
38. Which of the following operation is used to clear any specific bit in a binary number?
1. AND
2. OR
3. XOR
4. NOT
1. First Column
2. Second column
3. B8
4. 0500
40. SCAS compares a source byte or word in register AL or AX with the ________ string element
addressed by ES: DI and updates the flags.
1. Source
2. Destination
3. Flag
4. Register
42. ________ is set only when the last mathematical or logical operation produces a zero in its
destination.
1. Single Flag
2. Zero flag
3. Trap Flag
4. Parity Flag
1. .doc
2. .com
3. .lst
4. .asm
44. Stack is a data structure that behaves in a first in last ________ manner.
1. In
2. Out
3. Push
4. Add
45. The instruction, MOV AX, 0005H belongs to the address mode of ________ .
1. Register
2. Direct
3. Immediate
4. Register Relative
46. This jump is taken if the last arithmethic operation produced a positive number in its
destination.
1. JNP
2. JO
3. JNS
4. JG
1. 8
2. 16
3. 24
4. 32
48. The jump command that does not depend on FLAG register is
1. JCXZ
2. JO
3. JNE
4. JP
49. ________ is the basic means of sorting temporary data on the stack.
1. PUSH
2. POP
3. CALL
4. RET
50. Which of the following addressing scheme has been used in the instruction MOV [BX], AX?
51. ________ and ________ are taken if the last arithmetic operation produced a number in its
destination that has odd parity.
1. JP, JPE
2. JS, JNS
3. JCX, JNS
4. JNP, JPO
52. In case of 32-bit processor, the size of an accumulator register will be ________ bits.
1. 16
2. 8
3. 32
4. 64
1. ES
2. DS
3. CS
4. SS
54. The jump is taken if the last arithmetic operation changed the sign unexpectedly.
1. JO
2. JNO
3. JNZ
4. JZ
55. All the addressing modes return the number after calculation, this number is known as
________ ?
1. Base Address
2. Offset Address
3. Data Address
4. Effective Address
1. Memory
2. Ram
3. Cache
4. Register
1. 6
2. 5
3. 4
4. 3
58. MUL (multiply) instruction performs an unsigned multiplication of the source operand and
the ________ .
1. Accumulator
2. Carry
3. Word
4. Base
59. When a 32 bit number is divided by a 16 bit number, the quotient is of _______.
1. 32 bits
2. 16 bits
3. 8 bits
4. 4 bits
60. In the instruction MOV AX, 5 the number of operands are _______.
1. 1
2. 2
3. 3
4. 4
61. In DOS input buffer, number of characters actually read on return is stored in _______.
1. 1st byte
2. 2nd byte
3. 3rd byte
4. 4th byte
1. !
2. #
3. $
4. ;
63. In multitasking, which of the following interrupts is used as scheduler during context
switching?
1. INT 21
2. INT 16
3. INT 13
4. INT 8
64. We can set the current file position in DOS using service number ________.
1. 0x38
2. 0x40
3. 0x42
4. 0x43
65. In the context of video services, if we want to set cursor position which of the following will
be the value of AH?
1. AH = 01h
2. AH = 02h
3. AH = 03h
4. AH = 04h
66. Which of the following registers hold the page number for using the write string service of
INT 10?
1. AH
2. BL
3. CL
4. BH
1. IRQ 0
2. IRQ 1
3. IRQ 2
4. IRQ 3
1. 64 bytes
2. 128 bytes
3. 256 bytes
4. 512 bytes
69. "INT 13-BIOS disk services" generally uses which register to return the 'error code'?
1. CF
2. DL
3. AH
4. AL
70. Which of the following services of INT 10 is used for writing the string?
1. 0x12
2. 0x13
3. 0x11
4. 0x10
71. Which of the following INT 21 service is used to read character from standard input?
1. 00
2. 01
3. 02
4. 03
Course Codes
ACC311 ACC501 BIF101 BIF401 BIF501 BIO101 BIO201 BIO202 BIO203 BIO204 BIO301 BIO302
BIO303 BIO401 BIO503 BNK603 BT101 BT201 BT301 BT302 BT401 BT402 BT403 BT404 BT405
BT406 BT501 BT504 BT505 BT604 CHE201 CHE301 CS001 CS101 CS201 CS202 CS204 CS301
CS302 CS304 CS311 CS401 CS402 CS403 CS408 CS501 CS502 CS504 CS506 CS508 CS601
CS602 CS604 CS605 CS607 CS609 CS610 CS614 CS707 CS710 ECO401 ECO402 ECO403
ECO404 EDU302 EDU401 EDU402 EDU501 EDU601 ENG101 ENG201 ENG301 ENG501 FIN611
FIN624 FIN625 ISL201 IT430 MCM101 MCM301 MGMT623 MGT101 MGT211 MGT301 MGT401
MGT402 MGT501 MGT502 MGT503 MGT510 MGT601 MGT603 MKT501 MKT610 MKT630 MTH101
MTH202 MTH302 MTH501 MTH601 MTH634 PAK301 PHY101 PHY301 PSY101 PSY403 PSY502
PSY512 SOC101 SOC301 SOC401 STA301 STA630 STA641 ZOO102 ZOO401 ZOO501 ZOO502
ACC311 CS001 CS101 CS201 CS301 CS607 CS701 CS702 CS703 CS704 CS707 CS708 CS710
CS711 CS718 CS721 CS724 ECO401 ECO403 ENG101 ENG301 MGT703 MTH501 STA301
© 2024 - genrica.com