Tuesday 17 July 2012

CS401- Computer Architecture and Assembly Language Programming McQs collection Part7





CS401- Computer Architecture and Assembly Language Programming  McQs collection Part7

Question No: 1 ___( M a r k s: 1 ) 
Which of the following is not true about registers?

1.                        Their operation is very much like memory
2.                        Intermediate results may also be stored in registers.
3.                        They are also called scratch pad ram
4.                        None of given options.

Question No: 2 ___( M a r k s: 1 ) 
move [bp], al moves the one byte content of the AL register to the address contained in
BP register in the current

1.                        Stack segment
2.                        Code segment
3.                        Data segment
4.                        Extra segment


Question No: 3 ( M a r k s: 1 
In a rotate through carry right (RCR) instruction applied on a 16 bit word
Effectively there is

1.                        16 bits rotation
2.                        1 bit rotation
3.                        17 bits rotation
4.                        8 bits rotation


Question No: 4__ ( M a r k s: 1 ) - Please
choose one The 8088 stack works on
1.                        Word sized elements
2.                        Byte sized elements
3.                        Double sized element
4.                        Nible sized element


Question No: 5 ( M a r k s: 1 ) - Please
choose one
An 8 x 16 font is stored in………..Bytes


1.                        2
2.                        4
3.                        8
4.                        16


Question No: 6 ( M a r k s: 1 ) - Please

INT 10 is used for…………………services.
1.                        RAM
2.                        Disk
3.                        BIOS video
4.                        DOS video

Question No: 7 __ ( M a r k s: 1 )
Priority of IRQ 0 interrupt is
1.                        medium
2.                        high
3.                        highest
4.                        low

Question No: 8 __ ( M a r k s: 1 ) 
Threads can have function calls, parameters and ___________variables.
1.                        global
2.                        local
3.                        legal
4.                        illegal

Question No: 9 __ ( M a r k s: 1 ) - Please choose
one How many prevalent calling conventions do……….exist
1.                                    1
2.                                    2
3.                                    3
4.                                    4



Question No: 10 ( M a r k s: 1 ) - Please choose
one In 9pin DB 9 DSR is assigned on pin number
1.                        4
2.                        5
3.                        6
4.                        7




Question No: 11
( M a r k s: 1 ) - Please
choose one In 9pin DB 9 CTS is assigned on pin
number
1.                        6
2.                        7
3.                        8
4.                        9

Question No: 12__ ( M a r k s: 1 ) 
In 9pin DB 9 CD is assigned on pin number
1.                        1
2.                        2
3.                        3
4.                        4


Question No: 13__ ( M a r k s: 1 )

In 9pin DB 9 RD is assigned on pin number
  • 1
  • 2
  • 3
  • 4


Question No: 14 __ ( M a r k s: 1 )
in device attribute word which of the following bit decides whether it is a cha rater
1.                        device or a block device
2.                        Bit 12 Bit 13
3.                        Bit 14
4.                        Bit 15



Question No: 15__ ( M a r k s: 1 ) 
Video servioces are classified into ___________broad categories
  • 2
  • 3
  • 4
  • 5


Question No: 16 ( M a r k s: 1 ) - Please choose
one In STOSB instruction, when DF is clear, SI
is
1.                        Incremented by 1
2.                        Incremented by 2
3.                        Decremented by 1
4.                        Decremented by 2


Question No: 17 ( M a r k s: 1 ) \The
process of sending signals back and forth is called

1.                        Activity
2.                        Hand-shaking
3.                        Interruption
4.                        Time clicking

Question No: 18 ( M a r k s: 1 )
which of the following is a special type of interrupt that returns to the
same instruction instead of the next instruction

1.                        Divide overflow interrupt
2.                        Debug interrupt
3.                        Arithmetic overflow interrupt
4.                        Change of sign interrupt

Question No: 19 ___( M a r k s: 1 ) 
Which of the following IRQs is derived by a timer device?
1.                        IRQ 0
2.                        IRQ 1
3.                        IRQ 2
4.                        IRQ 3


Question No: 20 __ ( M a r k s: 1 ) 
Which of the following interrupts is used for Arithmetic overflow
1.                        INT 1
2.                        INT 2
3.                        INT 3
4.                        INT 4


Question No: 21 __ ( M a r k s: 1 ) 
Which of the following IRQs is connected to serial port COM 2?
1.                        IRQ 0
2.                        IRQ 1
3.                        IRQ 2
4.                        IRQ 3



Question No: 22 __ ( M a r k s: 1 ) - Please
choose one
An End of Interrupt (EOI) signal is sent by
1.                        Handler
2.                        Processor
3.                        IRQ
4.                        PIC
Question No: 23 __ ( M a r k s: 1 ) 
The source registers in OUT is
1.                        AL or AX
2.                        BL or BX
3.                        CL or CX
4.                        DL or DX
Question No: 24 ( M a r k s: 1 ) 

In programmable interrupt controller which of the following ports is used for selectively
enabling or disabling interrupts
1.                        19
2.                        20
3.                        21
4.                        22

Question No: 25 ( M a r k s: 1 ) ]
The number of pins in a parallel port connector
are?
1.                        25
2.                        30
3.                        35
Question No: 26 ( M a r k s: 1 ) 
Which of the following pins of a parallel port connector are grounded?
1.                        10-18
2.                        18-25
3.                        25-32
4.                        32-39


Question No: 27 __ ( M a r k s: 1 ) 
Suppose a decimal number 35 when its binary is shifted to write two places the
new number will become
1.                        35
2.                        70
3.                        140
4.                        17


Question No: 28 __ ( M a r k s: 1
A 32bit address register can access upto ............................of memory so memory
access has increased a lot.
1.                        2GB
2.                        4GB
3.                        6GB
4.                        8GB



Question No: 29 __ ( M a r k s: 1 ) \
In NASM an imported symbol is declared with the ................................while and
exported symbol is declared with the ......................................................................
1.                        Global directive, External directive
2.                        External directive, Global directive
3.                        Home Directive, Foreign Directive
4.                        Foreign Directive, Home Directive

Question No: 30 ( M a r k s: 1 ) - Please choose
one Single step interrupt is
1.                        Hardware interrupt
2.                        Like divide by zero interrupt
3.                        Like divide by 1 interrupt
4.                        Software interrupt



Question No: 31 __ ( M a r k s: 1 )
Which services are gained bi INT 0x16
Solution:
Hardware interrupt
Like divide by zero interrupt
Like divide by 1 interrupt
Software interrupt


Question No: 32 ( M a r k s: 1
Give the name of any one VESA servic
  • Hardware interrupt
  • Like divide by zero interrupt
  • Like divide by 1 interrupt
  • Software interrupt
Question No: 33 ( M a r k s: 2 )
INT 14 - SERIAL - READ CHARACTER FROM PORT
By using above port what do AH,AL and DX shows here?
  • Hardware interrupt
  • Like divide by zero interrupt
  • Like divide by 1 interrupt
  • Software interrupt
Question No: 34 ( M a r k s: 2 )
What do these instructions do ? write your answer in single line.
mov cx, 0xffff
loop $
  • Hardware interrupt
  • Like divide by zero interrupt
  • Like divide by 1 interrupt
  • Software interrupt
Question No: 35 ( M a r k s: 3 )
Define the protected mode
Solution:
  • Hardware interrupt
  • Like divide by zero interrupt
  • Like divide by 1 interrupt
  • Software interrupt
Question No: 36 ( M a r k s: 3 )
Write a program in assembly language to disable keyboard interrupt using PIC
mask register
Hint: Only five instructions are needed
Solution:
  • Hardware interrupt
  • Like divide by zero interrupt
  • Like divide by 1 interrupt
  • Software interrupt
Question No: 37 ( M a r k s: 3 )
Read the following passage carefully and fill the blanks with proper words.
Note: Don't rewrite the passage just write the words in same order.
"BIOS sees the disks as a combination of sectors, tracks, and................., as a
raw storage device without concern to whether it is reading a file or directory.
................. provides the simplest and most powerful interface to the storage
medium. However this raw storage is meaningless to the user who needs to
store his files and organize them into..................... . "
Solution:
  • Hardware interrupt
  • Like divide by zero interrupt
  • Like divide by 1 interrupt
  • Software interrupt

No comments:

Post a Comment