Unit-II MCQs

1. The startup routine runs, when machine boots up is known as
a. POST
b. BOOT up
c. Operating Routine
d. I/O operation

2. Operating system is also known as:
a. database
b. system software
c. hardware
d. printer

3. What is the maximum length allowed for primary name of a computer file under DOS?
a. 8
b. 12
c. 3
d. None of the above

4. Which of the following could be a valid DOS file specification?
a. NOSFILE.POST
b. NOSFILE.P.OST
c. NOSFILE.DOC
d. NOST.FILEDOC

5. How many characters form a secondary name for a file?
a. 8
b.12
c.3
d. None of the above

6. What is the name given to something that the computer will automatically use unless you tell it otherwise?
a. a specification
b. a wildcard
c. a default
d. a rule

7. As per symbolic notation of DOS, which of the following indicates the ROOT DIRECTORY?
a. *
b. >
c. /
d. None of the above

8. In wildcard specification `?' is used as replacement for
a. one character
b. two character
c. three character
d. none of the above

9. With DOS, you may use the `*' and `?':
a. when changing the default settings
b. to represent unspecified characters in a filename
c. instead of wildcard characters
d. in the extension but not in the drive name or the file name

10. DOS system file consists of
a. IBMBIO.COM, IBMDOS.COM, COMMAND.COM
b. COMMAND.COM, IBMBIO.COM, FORMAT.COM
c. SYS.COM,IBMBIO.COM, IBMDOS.COM
d. None of the above

11. The batch file uses the extension
a. .BAT
b. .DOC
c. .PRG
d. .DOS

12. To display the list of all the file of the disk you would type
a. DIR
b. COPY
c. DIR FILES
d. DIR AUTOEXEC.BAT

13. State whether the following questions are True(T) or False(F).
a. Command.Com is hidden file.
b. Primary name of a file can be of 10 characters.
c. The command MKDIR and MD performs the same task.
d. Under DOS .EXE is not an executable file.
e. DIR command is used to see the content of a specific file.

14. The DOS interrupt used to display a message is______.
a. INT 10H
b. INT 22H
c. INT 21H
d. INT 15H

15. The total number of software interrupts in 8086 are______.
a. 255
b. 256
c. 254
d. 257

16. When the CPU recognizes a hardware interrupt through INTR,_____ flag is Set to 1.
a. TF
b. DF
c. IF
d. INTA

17. Which of the following is a TYPE-0 interrupt?
a. NMI
b. Single step
c. INTO
d. Divide by zero

18. Which one of the following interrupts has the highest priority?
a. NMI
b. Single step
c. INTO
d. Divide by zero

19. Which of the following is a TYPE-1 interrupt?
a. NMI
b. Single step
c. INTO
d. Divide by zero

18. Which one of the following interrupts is INT 02h?
a. NMI
b. Single step
c. INTO
d. Divide by zero

19. How many acknowledge cycles are needed for handling INTR?
a. 1
b. 2
c. 3
d. 4

20. Which of the following signal works with INTA pulse?
a. ALE
b. AD0-AD7
c. LOCK
d. All

21. When do the 8259 return the interrupt type number?
a) After the arrival of INTA
b) When the LOCK pin goes low
c) While the CPU is transferring lower byte
d) While the CPU is transferring higher byte

22. Which interrupt controller works with 8 and 16-bit processor?
a. 8259
b. 8259A
c. 8259B
d. All

23. Which of the following block accepts input from IRQ lines?
a. Priority Resolver
b. Interrupt mask register
c. Interrupt Request register
d. In Service register

24. Which register stores all the interrupt requests those are to be served?
a. Priority Resolver
b. Interrupt mask register
c. Interrupt Request register
d. In Service register

25. Which interrupt pin has the highest priority?
a. IR0
b. IR2
c. IR1
d. IR7

26. Can we change the priority of interrupt requests? If so through______,
a. No
b. Yes, Rotating priority
c. No, Fixed priority
d. Nil

27. Which block handles the release of Interrupt vector address on to the data bus?
a. Priority Resolver
b. Interrupt mask register
c. Interrupt Request register
d .Interrupt Control logic

28. 8259A has a _____ bit data buffer.
a. 8
b. 16
c. 32
d. 14

29. CAS0-CAS2 lines are used for_______.
a. Cascade mode
b. interfacing 8 slaves
c. Both
d. Not used

30. What is the status of A0 and D4 to initialize ICW1?
a. 01
b. 00
c. 11
d. 10

31. What is the status of A0 and D4 to initialize ICW2?
a. 01
b. 00
c. 11
d. 10

32. Which of the following command word contains the control bits for type of Triggering?
a. ICW1
b. ICW3
c. ICW2
d. ICW4

33. The command word that stores details of vector addresses is________.
a. ICW1
b. ICW3
c. ICW2
d. ICW4

34. Which of the two command words are compulsory in initialization sequence of 8259A?
a. ICW1 & ICW2.
b.ICW2 &ICW3
c. ICW2 & ICW4
d. ICW4 & ICW1

35. The use of cascaded signals (CAS0- CAS2) is indicated in ______ command word.
a. ICW1
b. ICW3
c. ICW2
d. ICW4

36. ICW3 command word is used for_______.
a. To specify type of triggering
b. To specify vector addresses
c.In cascaded mode
d. None

37. Which bit of ICW1 Specifies the use of ICW4?
a. 1
b. 2
c. 3
d. 4

38. AEOI stands for______
a. Auto Execution of interrupt flag
b. Auto External I/O
c. Automatic end of interrupt
d. None

39. What is the use of operation command words?
a. To initialize
b. To configure
c. For programming
d. For addressing

40. How many operation command words are used for accepting interrupts?
a. 1
b. 2
c. 3
d. 4

41. OCW1 is used to
a. Enable/disable interrupts
b. mask unwanted requests
c. Mode selection
d. enable special mask mode

42. In OCW2 the three bits R, SL, EOI are used to_______.
a. Enable/disable interrupts
b. mask unwanted requests
c. Mode selection
d. enable special mask mode

43. Polling is done in _____ command word.
a. ICW1
b. ICW3
c. ICW2
d. ICW4

44. The pin that differentiates between master and slave mode is ________.
a. INT
b. PS/EN
c. CAS0-CAS2
d. CS

45. INT of 8259A is directly connected to _______ pin of 8086
a.INTA
b. LOCK
c. RQ/GT
d. INTR

46. What is the value that is to be loaded into AH to perform HALT operation?
a. 01H
b. 4CH
c. 03H
d. 4DH

47. INT 10H is used for________.
a. Video services
b. Graphics
c. Audio services
d. All

48. Which of the following is a TYPE-2 interrupt?
a. NMI
b. Single step
c. INTO
d. Divide by zero

49. What are the contents of IP and CS while execution of INT 20H?
a. IP = 0040H, CS=0042H
b. IP = 0042H, CS=0040H
c. IP = 0040H, CS=0038H
d. IP = 0040H, CS=0038H

50. How many memory locations are needed to store all software interrupts?
a. 2048
b. 4096
c. 1024
d. None

51. The flag effected during single step execution is_____.
a. TF
b. DF
c. IF
d. None
Previous
Next Post »