You are on page 1of 10

d.

both the numbers are changed and their exponents


are made equal to 6
1. Which of the following can be accessed only
10. Computer virus can hide itself in a diskette but not
sequentially?
in a hard disk
a. Floppy disk a. True
b. Hard disk
b. False
c. Magnetic tape
11. The size of cache memory in most microcomputers
d. ROM
is about
2. 8085 has 6 sign flags
a. a few bytes
a. True
b. a few kilobytes
b. False
c. a few megabytes
3. JCOKE = 3
d. a few gigabytes
JCOKE = JCOKE + 1 12. Which of the following computer memories is
GO TO (5, 8, 9, 11, 15, 16 18, 20) JCOKE.
fastest?
a. Cache
After the execution of above statement, the
b. Primary
control is transferred to statement number
c. Mass storage
a. 8
d. Off line back up
b. 11
13. During processing the instructions, data,
c. 16 intermediate results and final results in a
d. 20
computer are held in
4. Binary number 1101.101 is equivalent to decimal
a. CPU
number?
b. ALU
a. 13.5
c. Primary memory
b. 13.75
d. Secondary memory
c. 13.625
14. Which of the following is not a valid variable name
d. 13.875
in C?
5. Expression ++i is equivalent to a. p o, t
a. i=i+2
b. pot
b. i=i+1
c. po_t
c. i=i-1
d. p_ot
d. i= i +i +i
15. Assume that x = 5 and y = 2. Then in Java operation
6. To multiply a number by 8 in 8085 we have to use
x + = y, the result is
RAL instruction
a. x=7
a. once b. x=2
b. twice
c. x=3
c. thrice
d. x=2
d. four times
16. Which of the following is not a valid integer
7. IC (instruction cycle), FC (fetch cycle) and EC
constant in C (for 16 bit)?
(executive cycle) are related as
a. 321
a. IC = FC - EC
b. -162
b. IC = FC + EC
c. -65321
c. IC = FC + 2EC d. +1
d. EC = IC + EC
17. Which of the following is not a valid real constant
8. Which of the following is not a valid variable name
in C?
in C?
a. 426
a. 1a
b. 321.0
b. a12
c. -621.231
c. a b 123
d. +201.2314
d. a b c123
9. When .4546 E 5 and .5433 E 7 are to be added in
18. Let JCOKE = 98 and LPEPSI = 42 Consider the
normalized floating point mode
statement
a. none of the numbers is changed to any other form
b. .4546 E 5 is changed .004546 E 7 and .5433 E 7 is
IF (JCOKE - 3 * LPEPSI) 5, 6, 7
not changed
5 JCOKE = JCOKE + 5
c. .5433 E 7 is changed to 54.33 E 5 and .4546 E 5 is
6 JCOKE = JCOKE + 8
not changed
7 JCOKE = JCOKE + 11
The value of JCOKE after the execution of above b. 1 and 2 only
statement will be c. 2 and 3 only
d. 1 and 3 only
a. 103 28. Consider the following C program int ram
b. 106
c. 109 float alpha, gamma
d. none of the above ram = 6400
19. Which of the following is not an integer constant? alpha = 0.562
a. 0 gamma = alpha * ram + 1
b. -8
c. +1074 Now consider the following statements about this
d. -8.1 program
20. The number of interrupt lines in 8085 is
a. 2 1. ram is an integer variable
b. 3 2. alpha, gamma are real variables
c. 4 3. *, + are arithmetic operators
d. 5 4. 0.562 may be an integer constant or real
21. Z flag is reset if an ALU operation results in 0. constant
a. True
b. False Which of the above are correct?
22. The power requirements of a DRAM in active and a. All
stand by modes is about b. 1, 2, 3 only
a. 350 mW and 5 mW respectively c. 2, 3, 4 only
b. 350 mW each d. 1, 2, 4 only
c. 5 mW each 29. Which of the following is a computer language?
d. 350 mW and 100 mW respectively a. MS WORD
23. Which of the following is not a valid real constant b. Page maker
in C? c. MS EXCEL
a. 1.2 e 2.0 d. LISP
b. -2.3 e - 2 30. Which of the following DO statements is invalid in
c. -2.3 E 2 FORTRAN 77?
d. -2.3 e 2 a. DO 161 = 1, 15
24. In a computer the instructions, data, intermediate b. DO 16 1 = 1, 10, 1
and final results during processing are held in ALU. c. DO 16 I = - 5, 5, 2
a. True d. none of the above
b. False 31. Up to 65K of code memory and 65K of data
25. The number of storage classes in C is memory can be added to any of the 8051 family
a. 2 members.
b. 3 a. True
c. 4 b. False
d. 6 32. Most of the memory chips in static RAM
26. If A = 20 and B = - 7 in PASCAL, A mod B = a. do not require any supply
a. 6 b. need 2 V supply
b. 2 c. need 5 V supply
c. -1 d. need 12 V supply
d. 3 33. An alternate function of port pin P3.0 (RXD) in the
27. Read the following statements about files in 8051 is:
Pascal a. serial port input
b. serial port output
1. A file is a data structure which consists of a c. memory write strobe
sequence of components of the same type. d. memory read strobe
2. The number of components in a file is variable. 34. The 8051 is a 40-pin IC. Twenty-two pins are
3. The components in a file can be accessed only needed for the four I/O ports.
sequentially starting from the beginning of the a. True
file. b. False
35. The interface chip for 8086 and 16 bit ADC is
Which of the above are correct? a. 8259
a. All b. 8255
c. 8253 47. The address space of the 8051 is divided into four
d. 8251 distinct areas: internal data, external data,
36. The following command will rotate the 8 bits of internal code, and external code.
the accumulator one position to the left: a. True
RL A b. False
a. True 48. Data transfer from I/O to external data memory
b. False can only be done with the MOVX command.
37. Writing counter/loop programs is much more a. True
difficult with the introduction of the DJNA and the b. False
CJNE instructions. 49. The 8051 can handle ________ interrupt sources.
a. True a. 3
b. False b. 4
38. Which of the following real variable names is not c. 5
valid in Fortran? d. 6
a. BETA 50. The special function registers are maintained in
b. ALPHA the next 128 locations after the general-purpose
c. A data storage and stack.
d. AB * 2 a. True
39. Which of the following instructions will move the b. False
contents of the accumulator to register 6? 51. This statement will set the address of the bit to 1
a. MOV 6R, A (8051 Micro-controller):
b. MOV R6, A SETB 01H
c. MOV A, 6R a. True
d. MOV A, R6 b. False
40. The ADC 0804 is an analog-to-digital converter 52. MOV A, @ R1 will:
that provides 8-bit output resolution that can be a. copy R1 to the accumulator
directly interfaced to a microcontroller. b. copy the accumulator to R1
a. True c. copy the contents of memory whose address is
b. False in R1 to the accumulator
41. Temporary register in 8085 is a 16 bit register. d. copy the accumulator to the contents of
a. True memory whose address is in R1
b. False 53. A label is used to name a single line of code.
42. In which computer language is 'break' statement a. True
used b. False
a. Fortran 77 54. In ALU 1C 74181 the addition and subtraction is in
b. Pascal a. 2's complement
c. C b. 1's complement
d. none of the above c. binary
43. Different instruction sets must make up for the d. none of the above
various members of the 8051 family. 55. In Java it is possible to have
a. True 1. An array of integers
b. False 2. An array of string objects
44. The internal RAM memory of the 8051 is: 3. An array of arrays
a. 32 bytes 4. An array on integer and strings
b. 64 bytes Which of the above are correct?
c. 128 bytes a. All
d. 256 bytes b. 1, 2 and 3 only
45. This program code will be executed continuously: c. 1 and 2 only
d. 1, 3 and 4 only
STAT: MOV A, #01H 56. The following program will receive data from port
JNZ STAT 1, determine whether bit 2 is high, and then send
a. True the number FFH to port 3:
b. False READ: MOV A,P1
46. The 8051 has ________ 16-bit counter/timers. ANL A,#2H
a. 1 CJNE A,#02H,READ
b. 2 MOV P3,#FFH
c. 3 a. True
d. 4 b. False
c. MOV T0, #35H
57. Device pins XTAL1 and XTAL2 for the 8051 are d. MOV T0, 35H
used for connections to an external oscillator or
crystal. 67. Bit-addressable memory locations are:
a. True a. 10H through 1FH
b. False b. 20H through 2FH
c. 30H through 3FH
58. When the 8051 is reset and the line is HIGH, the d. 40H through 4FH
program counter points to the first program 68. The 8-bit address bus allows access to an address
instruction in the: range of:
a. internal code memory a. 0000 to FFFFH
b. external code memory b. 000 to FFFH
c. internal data memory c. 00 to FFH
d. external data memory d. 0 to FH
59. An alternate function of port pin P3.4 in the 8051 69. The contents of the accumulator after this
is: operation
a. Timer 0 MOV A,#0BH
b. Timer 1 ANL A,#2CH
c. interrupt 0 will be
d. interrupt 1 a. 11010111
60. Both registers TL0 and TL1 are needed to start b. 11011010
Timer 0. c. 00001000
a. True d. 00101000
b. False 70. The start-conversion on the ADC0804 is done by
61. The total external data memory that can be using the:
interfaced to the 8051 is: a.
a. 32K b. CS line
b. 64K c. INTR line
c. 128K d. V ref/2 line
d. 256K 71. The microcontroller is useful in systems that have
62. The 8051 has ________ parallel I/O ports. nonvariable programs for dedicated applications.
a. 2 a. True
b. 3 b. False
c. 4 72. The ADC0804 has ________ resolution.
d. 5 a. 4-bit
63. Microcontrollers often have: b. 8-bit
a. CPUs c. 16-bit
b. RAM d. 32-bit
c. ROM
d. all of the above 73. A HIGH on which pin resets the 8051
microcontroller?
64. The last 96 locations in the internal data memory a. RESET
are reserved for general-purpose data storage and b. RST
stack. c. PSEN
a. True d. RSET
b. False
74. In a microprocessor
65. The I/O ports that are used as address and data for a. all instructions need only one machine cycle
external memory are: b. some instructions need only one machine cycle
a. ports 1 and 2 while some other instructions need more than
b. ports 1 and 3 one machine cycle
c. ports 0 and 2 c. all instructions need only fraction of one
d. ports 0 and 3 machine cycle
d. some instructions need less than one machine
66. Which of the following instructions will load the cycle
value 35H into the high byte of timer 0?
a. MOV TH0, #35H
b. MOV TH0, 35H
75. Assertion (A): If source and destination addresses 83. To interface external EPROM memory for
are made implicit the length of instruction is applications, it is necessary to demultiplex the
reduced. address/data lines of the 8051.
a. True
Reason (R): 8085 has only 3 addressing modes. b. False
84. The following command will copy the accumulator
a. Both A and R are correct and R is correct to the location whose address is 23H:
explanation of A MOV 23H,A
b. Both A and R are correct but R is not correct a. True
explanation of A b. False
c. A is correct R is wrong 85. The special function registers can be referred to by
d. A is wrong R is correct their hex addresses or by their register names.
76. The contents of the accumulator after this a. True
operation b. False
MOV A,#2BH 86. This program code will read data from port 0 and
ORL A,00H write it to port 2, and it will stop looping when bit
will be: 3 of port 2 is set:
a. 1B H STAT: MOV A, PO
b. 2B H MOV P2,A
c. 3B H JNB P2.3, STAT
d. 4B H a. True
77. The following program will cause the 8051 to be b. False
stuck in a loop: 87. Which of the following commands will move the
LOOP: MOV A, #00H value at port 3 to register 2?
JNZ LOOP a. MOV P2, R3
a. True b. MOV R3, P2
b. False c. MOV 3P, R2
78. Which of the following commands will copy the d. MOV R2, P3
contents of RAM whose address is in register 0 to
port 1? 88. The number of data registers is:
a. MOV @ P1, R0 a. 8
b. MOV @ R0, P1 b. 16
c. MOV P1, @ R0 c. 32
d. MOV P1, R0 d. 64
89. When the 8051 is reset and the EA line is LOW, the
79. Which of the following commands will copy the program counter points to the first program
contents of location 4H to the accumulator? instruction in the:
a. MOV A, 04H a. internal code memory
b. MOV A, L4 b. external code memory
c. MOV L4, A c. internal data memory
d. MOV 04H, A d. external data memory
80. The statement LCALL READ passes control to the 90. The designs of a centigrade thermometer and a
line labelled READ. PWM speed-control circuit can be implemented
a. True by the 8051.
b. False a. True
b. False
81. What is the difference between the 8031 and the 91. Read the following statements about Java
8051? 1. It is well suited to design software which works
a. The 8031 has no interrupts. in conjunction with internet.
b. The 8031 is ROM-less. 2. It is cross platform language.
c. The 8051 is ROM-less. 3. Java is close to programming language C, C ++
d. The 8051 has 64 bytes more memory. etc.
82. The I/O port that does not have a dual-purpose 4. It is an object oriented.
role is: Which of the above are correct?
a. port 0 a. All
b. port 1 b. 1, 2 and 3 only
c. port 2 c. 1, 2 and 4 only
d. port 3 d. 2, 3, 4 only
92. If PRIN = 200.0 and BINT = 0.0525 the result of c. 40, 42, 42 respectively
expression INCOME = PRIN * (1 + BINT) will be d. 40, 40, 42 respectively
a. 210 101. The signal in 8086 are in minimum mode when
b. 210.5 a. MN / Mx pin is tied to Vcc
c. 210.5000 b. MN / Mx pin is grounded
d. 210.50 c. MN / MX pin is left open
93. Which of the following is not valid integer variable d. none of the above
in FORTRAN 77? 102. Let JCOKE = 20 and LPEPSI =15. Consider the
a. MBR statement
b. LOTS IF(2* JCOKE. LE. LPEPSI)
c. JAMMU JCOKE = JCOKE + 5
d. BRG JCOKE = JCOKE + 3
94. Consider the following tasks in a micro computer
1. Receiving data and instruction The value of JCOKE after the execution of above
2. Performing arithmetic computation statement will be
3. Performing logical computations a. 25
4. Storing data and instructions b. 23
c. 15
Which of the above are performed by ALU? d. 17
a. 2 only 103. 6 bytes means
b. 2 and 3 only a. 6 bits
c. 1, 2 and 3 only b. 24 bits
d. All c. 48 bits
95. Which group of instructions is used to change d. 96 bits
sequence of operations in a computer program? 104. Which of the following instruction modes does
a. Data transfer group not exist in microprocessor 8085?
b. Branch group a. Inherent
c. Arithmetic group b. Immediate
d. Logic group c. Absolute
96. Which of the following is not a valid arithmetic d. Indirect
statement in C? 105. A microprocessor can understand instruction
a. x = x + 1 written in
b. x = y * z a. machine language only
c. x * y = z b. mnemonics operation codes only
d. z = y / x c. high language only
97. The symbol ! in Java means d. both machine language and mnemonics
a. logical NOT operation codes
b. logical OR 106. Which language has a preprocessor?
c. AND a. Fortran 77
d. logical XOR b. Pascal
98. Java's syntax is based on c. C
a. C d. None of the above
b. C + + 107. The number of computer viruses is some
c. Fortran 77 thousands.
d. Pascal a. True
99. In 8085 eight address and data buses are b. False
multiplexed. 108. If 8085 is required to add two 32 bit numbers, the
a. True numbers of addition sequences is
b. False a. 1
100. Consider the following expressions in Java b. 2
int a, b, c, c. 4
a = 40; d. 8
b = a++ ; 109. Incompatibility between memory and I/O device
c = ++a ; may be due to
a. timing according to which data transfer is to
Now the values of a, b, c are take place
a. 42, 40, 42 respectively b. electrical characteristics of the two devices
b. 42, 42, 42 respectively c. format of data transfer
d. all of the above Reason (R): Key words can not be used as variable
110. When the mains supply is switched off the names in C.
contents of primary computer memory are lost. a. Both A and R are correct and R is correct
a. True explanation of A
b. False b. Both A and R are correct but R is not correct
111. 8255 A is a explanation of A
a. programmable peripheral interface c. A is correct R is wrong
b. I/O device d. A is wrong R is correct
c. memory chip 121. Consider the following statements
d. none of the above 1. A total of about 1 million bytes can be directly
112. An instruction used to set cany flag in a computer accessed by 8086 microprocessor.
is classified as 2. The 8086 has thirteen 16 bit registers.
a. data transfer 3. The 8086 has eight flags.
b. arithmetic 4. Compared to 8086, the 80286 provides a
c. logical higher degree of memory protection.
d. program control
113. Almost all high level languages have provision for Of the above statements
logical operations. a. 1, 2, 3, 4 are correct
a. True b. 1, 3, 4 are correct
b. False c. 1, 2, 4 are correct
114. In which of the following 8085 instructions is the d. 1, 2, 3 are correct
CY flag complemented? 122. Assertion (A): C has a large number of library
a. CMA functions classified as arithmetic functions, data
b. CMC conversion functions, character classified
c. STC functions, string manipulation functions, searching
d. RRC and sorting functions etc.
115. Consider the following mnemonics Reason (R): 8086 uses a segment : offset addressing
MOV scheme.
ADD a. Both A and R are correct and R is correct
LXI explanation of A
Which of the above are valid for 8085? b. Both A and R are correct but R is not correct
a. 1 and 2 only explanation of A
b. 1 only c. A is correct R is wrong
c. 1, 2 and 3 d. A is wrong R is correct
d. 1 and 3 only 123. An 8 bit wide 4 word sequential memory has
116. Which of the following is also called handshaking a. Eight 4 bit shift registers
programmed data transfer? b. Eight 8 bit shift registers
a. Synchronous transfer c. Four 8 bit shift registers
b. Asynchronous transfer d. Foui 4 bit shift registers
c. Interrupt driver transfer 124. The operator precedence in Java is in the order
d. Both (a) and (c) a. arithmetic operation, increment and
117. Which of the following is invalid in Basic? decrement operation, comprassion, logical
a. A ** B - C operation and assignment operation.
b. 5.2 ** 4.3 b. increment and decrement operation,
c. 5.2 ** (- 4.3) arithmetic operation, comparison, logical
d. (- 5.2) ** (4.3) operation and assignment operation.
118. An arithmetic statement in C must be c. comparison, arithmetic operation, increment
a. integer mode arithmetic statement and decrement operation, logical operation
b. real mode arithmetic statement and assignment operation.
c. mixed mode arithmetic statement d. arithmetic operation, comparison operation,
d. any of the above increment and decrement operation, logical
119. Cache memory size is about operation and assignment operation.
a. a few KB 125. Which of these are 16 bit microprocessors?
b. about 500 KB a. 80286
c. about 1 MB b. MC68000
d. about 50 MB c. Z8000
120. Assertion (A): C has 32 keywords like auto, if, do, d. All
float etc. 126. One T state is precisely equal to one clock period.
a. True c. A is correct R is wrong
b. False d. A is wrong R is correct
127. Assertion (A): A good algorithm should be fast, 136. In a microprocessor the clock signal
require minimal computer memory and time. a. is always generated internally
Reason (R): Many times an algorithm is prepared in b. is always supplied externally
the form of a flow chart. c. may be generated internally or supplied
a. Both A and R are correct and R is correct externally
explanation of A d. is mostly supplied externally
b. Both A and R are correct but R is not correct 137. In 8085
explanation of A a. the upper 8 address bits appear on address bus
c. A is correct R is wrong and lower 8 bits on address data bus
d. A is wrong R is correct b. the lower 8 address bits appear on address bus
128. Programs like compilers, assemblers etc. are and the upper 8 address bits appear on address
stored in a microcomputer in data bus
a. registers c. either upper or lower 8 address bits may
b. cache memory appear at address bus
c. primary memory d. either upper or lower 8 address bits may
d. mass storage appear at address data bus
129. The number of registers and flags in 8086 are 138. In 8085, which of the following registers cannot be
a. 13 and 5 respectively paired?
b. 9 and 5 respectively a. A
c. 13 and 9 respectively b. E
d. 9 and 9 respectively c. C
130. In microprocessor 8088 d. both (b) and (c)
a. 8 data bits are multiplexed with 8 least 139. The range of floating point numbers in Java is
significant bits of address bus a. 1.4 E - 45 to 3.4 E + 38
b. 8 data bits are multiplexed with 8 most b. 3.4 E - 45 to 1.4 E + 38
significant bits of address bus c. 1.4 E - 38 to 3.4 E + 45
c. 16 data bits are multiplexed with 16 bits of d. 3.4 E - 38 to 1.4 E + 45
address bus 140. What does the operator ( ) mean in C?
d. none of the above a. Function expression
131. Which of the following instructions in 8085 does b. Array expression
not belong to data transfer group? c. Structure operator
a. L X I rp, data 16 d. Increment / Decrement
b. MOV M, r 141. In 8085 microprocessor with memory mapped I/O
c. MVIM, data which of the following is true?
d. ADC M a. I/O devices have 16 bit addresses
132. The accumulator drives the ALU b. I/O devices are accessed during IN and OUT
a. True instructions
b. False c. There can be a maximum of 256 input and 256
133. System bus is the communication channel output devices
between microprocessor and peripherals. d. Logic operations can not be performed
a. True 142. Which of the following 8 bit microprocessors has
b. False maximum addressing modes?
134. The register set and instruction set of 8088 is a. 8085
similar to that of b. Z 80
a. 8085 c. 6800
b. 8086 d. 6809
c. partly 8085 and partly 8086 143. Java variables are called
d. none of the above a. instance variables, class variables and global
135. Assertion (A): In direct addressing the address of variables
operand is specified in the instruction. b. instance variables, class variables and local
Reason (R): Direct addressing is also called absolute variables
addressing. c. instance variables, class variables and sector
a. Both A and R are correct and R is correct variables
explanation of A d. global variables, class variables and local
b. Both A and R are correct but R is not correct variables
explanation of A
144. Microprocessor 386SX is a 16/32 bit a. True
microprocessor. It has b. False
a. 16 bit registers and 32 bit data bus 154. In 8086 the word address is
b. 16 bit registers and 16 bit data bus a. the address of the least significant byte
c. 32 bit registers and 32 bit data bus b. the address of most significant byte
d. 32 bit register and 16 bit data bus c. either (a) or (b) depending on the word
145. Assertion (A): An instruction cycle consists of fetch d. neither (a) nor (b)
and execute cycles. 155. The four types of integers in Java are called
Reason (R): Fetch cycle has one machine cycle but a. byte, short, int and long
execute cycle may have one or more machine b. bit, byte, short and long
cycles depending on length of instruction. c. nibble, byte, short and long
a. Both A and R are correct and R is correct d. nibble, byte, int and long
explanation of A 156. The general purpose register code for accumulator
b. Both A and R are correct but R is not correct in 8085 is
explanation of A a. 111
c. A is correct R is wrong b. 000
d. A is wrong R is correct c. 001
146. Instruction cycle is the time required to complete d. 1111
the execution of an instruction. 157. Microprocessor 8088 has
a. True a. 16 bit registers and 16 bit data bus
b. False b. 8 bit registers and 8 bit data bus
147. In a microprocessor c. 8 bit registers and 16 bit data bus
a. one machine cycle is equal to one clock cycle d. 16 bit registers and 8 bit data bus
b. one clock cycle consists of several machine 158. In which of the following instructions of 8085 are
cycles the contents of accumulator complemented?
c. one machine cycle consists of several clock a. STC
cycles b. CMC
d. one machine cycle is always less than one clock c. CMA
cycle d. RAL
148. Machine cycle is always the same as instruction 159. Assertion (A): Microprocessors 8086 and 8088 are
cycle. very similar in organisation and have identical
a. True instruction sets.
b. False Reason (R): If clock speed is same the execution
149. Which addressing mode is suitable only for these time of 8088 and 8086 are exactly equal.
instructions in which there is only one operand? a. Both A and R are correct and R is correct
a. Implicit explanation of A
b. Register b. Both A and R are correct but R is not correct
c. Direct explanation of A
d. Immediate c. A is correct R is wrong
150. The number of operator to accomplish basic d. A is wrong R is correct
arithmetic in Java is 160. Which of the following instructions have only one
a. 4 operand?
b. 5 a. Multiply
c. 6 b. Add
d. 7 c. Shift
151. The I/O port that does not have a dual-purpose d. Subtract
role is: 161. 'Rotate instruction' in microprocessor belongs to
a. port 0 a. data transfer group
b. port 1 b. arithmetic group
c. port 2 c. logic group
d. port 3 d. branch group
152. The following command will copy the 162. Which of the following is not a classification of
accumulator to the location whose address is 23H: programmed data transfer?
MOV 23H,A a. Synchronous transfer
a. True b. Hand shaking
b. False c. Interrupt driver transfer
153. A microprocessor needs memory chips and input- d. Direct transfer
output chip to form a microcomputer.
163. A certain microprocessor has a clock speed of 174. For most static RAM the maximum access time is
1000 MHz. What is the clock cycle time? about
a. 1ns a. 1 ns
b. 2ns b. 10 ns
c. 3ns c. 100 ns
d. 5ns d. 1 μs
164. A certain microprocessor has a clock speed of 3 175. In direct addressing mode of 8085
GHz. What is the clock cycle time? a. All instructions are 3 bytes long
a. 0.111 ns b. All instructions are 3 bytes long except IN
b. 0.222 ns instruction which is 2 bytes long
c. 0.333 ns c. All instructions are 3 bytes long except IN and
d. 0.444 ns OUT instructions which are 2 bytes long
165. In 8085 the pins for + 5 V input and ground are d. All instructions are 2 bytes long
a. 20 and 40 respectively 176. In 8086 the number of lines on which data and
b. 40 and 20 respectively address is multiplexed is
c. 1 and 2 respectively a. 8
d. 1 and 1 respectively b. 16
166. A real number consists of c. 20
a. integer part d. 32
b. integer part and fraction part 177. In 8085
c. integer part, fraction part along with positive a. P flag is set when the result has even parity
or negative sign b. P flag is set when the result has odd parity
d. none of the above c. P flag is reset when the result has odd parity
167. Which of the following is not treated as d. P flag is reset when the result has even parity
hexadecimal constant by assembler in 8085? 178. A compiler converts a high level computer program
a. 45 H into machine language program.
b. 6 AFH a. True
c. 234 b. False
d. 64 H 179. In 8086 the number of bytes which can be
168. An I/O processor controls the flow of information addressed directly is about
between a. 1000
a. cache memory and I/O devices b. 10000
b. main memory and I/O devices c. 100000
c. two I/O devices d. one million
d. cache and main memory 180. Which of the following is not a library string
169. Consider the following program for 8085 function in C?
a. strlen
MVIA, 00H b. strcpy
LXIH, OEAOFG c. strdup
V LDAZ ADI 0005H d. strbig
181. An instruction using immediate addressing mode
What does this program do? in 8085 is
a. Adds decimal number 5 to contents of memory a. 2 bytes long
b. Subtracts decimal number 5 from contents of b. 3 bytes long
memory c. 2 or 3 bytes long
c. Subtracts decimal number 15 from contents of d. 1 or 2 or 3 bytes long
memory 182. A machine cycle has one clock cycle.
d. Adds decimal number 15 to contents of a. True
memory b. False
170. The total number of pins in 8085 are 183. In 8085 the instruction MOV A, M is an example of
a. 20 a. Direct addressing
b. 30 b. Immediate addressing
c. 40 c. Register addressing
d. 50 d. Register indirect addressing
171. Most widely used programming languages? 184. It has a 8 bit register having five 1 bit flip flop which
172. Who developed the C++? holds 0 or 1.
173. Are represented by instruction that use English 185. Act of switching execution of different instruction
language type statement? sequence

You might also like