Explore topic-wise MCQs in Microprocessors.

This section includes 50 Mcqs, each offering curated multiple-choice questions to sharpen your Microprocessors knowledge and support exam preparation. Choose a topic below to get started.

1.

Consider the following operation in a computer

1.Multiplication of scalar

2.Iversion of matrix

3.Printing a line of 120 characters on a printer

Which of the above is a subroutine?

A. 1 and 2 only
B. 1 and 3 only
C. 1, 2 and 3
D. 2 only
Answer» D. 2 only
2.

Assertion (A): Negative values of incremental operator in DO loop are allowed in Fortran 77 but not in earlier versions of Fortran.

Reason (R): Fortran 77 has better array facilities than earlier versions of Fortran.

A. Both A and R are correct and R is correct explanation of A
B. Both A and R are correct but R is not correct explanation of A
C. A is correct R is wrong
D. A is wrong R is correct
Answer» C. A is correct R is wrong
3.

Assertion (A): Each memory chip has its own address latch.

Reason (R): ALE signal comes out of microprocessor 8085 and goes to memory chip.

A. Both A and R are correct and R is correct explanation of A
B. Both A and R are correct but R is not correct explanation of A
C. A is correct R is wrong
D. A is wrong R is correct
Answer» E.
4.

Which of the following is type declaration statement in C?

A. int bar
B. s
C. s
D. C.
E. D.
Answer» B. s
5.

Each instruction in assembly language program has the following fields:

1.Lable field

2.Mnemonic field

3.Operand field

4.Comment field

The correct sequence of these fields is?

A. 1, 2, 3, 4
B. 1, 2, 4, 3
C. 2, 1, 3, 4
D. 2, 1, 4, 3
Answer» B. 1, 2, 4, 3
6.

JCOKE = 3

JCOKE = JCOKE + 1

GO TO (5, 8, 9, 11, 15, 16 18, 20) JCOKE.

After the execution of above statement, the control is transferred to statement number

A. 8
B. 11
C. 16
D. 20
Answer» C. 16
7.

Consider the following statements about DRAM

1.Page mode read operation is faster than RAS read

2.RAS input remains active during column address strobe

3.The row and column addresses are strobed into the internal buffers using RAS and CAS inputs respectively

Which of the above statements are correct?

A. 1 and 3 only
B. All
C. 1 and 2 only
D. 2 and 3 only
Answer» C. 1 and 2 only
8.

The instruction MVI A, 20 in 8085 means

A. contents of memory location 20 are brought into the accumulator
B. the value 20 is brought into accumulator
C. either (a) or (b)
D. neither (a) nor (b)
Answer» C. either (a) or (b)
9.

Assertion (A): In C it is possible for functions to call themselves.

Reason (R): C makes use of 'Pointers'.

A. Both A and R are correct and R is correct explanation of A
B. Both A and R are correct but R is not correct explanation of A
C. A is correct R is wrong
D. A is wrong R is correct
Answer» C. A is correct R is wrong
10.

Assertion (A): A PROM is a user programmable ROM.

Reason (R): After programming PROM behaves like ROM.

A. Both A and R are correct and R is correct explanation of A
B. Both A and R are correct but R is not correct explanation of A
C. A is correct R is wrong
D. A is wrong R is correct
Answer» C. A is correct R is wrong
11.

Consider the following statement in FORTRAN 77

READ*, [X(I) Y(I) = 0, 3, 2]

Which of the following is correct?

A. 2 values could be read and stored asX (0), Y (0)
B. 4 values could be read and stored asX (0), Y (0), X (2), Y (2)
C. 6 values could be read and stored as X (0), Y (0), Y (2), X (3), Y (3)
D. none of the above
Answer» C. 6 values could be read and stored as X (0), Y (0), Y (2), X (3), Y (3)
12.

Assertion (A): If contents of F register in 8085 are 01010001, it means S = 0, Z = 1, AC= 1, P = 0 and CY = 1.

Reason (R): When an instruction is called from memory, the op. code of instruction is stored in instruction register.

A. Both A and R are correct and R is correct explanation of A
B. Both A and R are correct but R is not correct explanation of A
C. A is correct R is wrong
D. A is wrong R is correct
Answer» C. A is correct R is wrong
13.

Read the following statements about Java

1.It is well suited to design software which works in conjunction with internet.

2.It is cross platform language.

3.Java is close to programming language C, C ++ etc.

4.It is an object oriented.

Which of the above are correct?

A. All
B. 1, 2 and 3 only
C. 1, 2 and 4 only
D. 2, 3, 4 only
Answer» B. 1, 2 and 3 only
14.

Assertion (A): In 8085 WR and RD signals are active high.

Reason (R): LOW WR means write operation and low RD means read operation.

A. Both A and R are correct and R is correct explanation of A
B. Both A and R are correct but R is not correct explanation of A
C. A is correct R is wrong
D. A is wrong R is correct
Answer» E.
15.

Read the following statements about sets

1.If A and B are sets then A + B denotes union of sets A and B.

2.The union of A and B is that set whose elements are in either A or B or both.

3.If A and B are sets, then difference of sets A and B is denoted by A - B.

4.A - B in the set obtained by removing elements of A from B.

Which of the above are true?

A. All
B. 1, 2 and 3 only
C. 2 and 3 only
D. 1 and 4 only
Answer» B. 1, 2 and 3 only
16.

Consider the following statements about 'Functions' in C

1.A function can be called any number of times.

2.A function gets called when the function name is followed by a semicolon.

3.The order in which functions are defined in a program and the order in which they are called must be the same.

Which of the above statements are correct?

A. All
B. 1 and 2 only
C. 1 and 3 only
D. 2 and 3 only
Answer» C. 1 and 3 only
17.

Assertion (A): The data bus and address bus of 8085 are multiplexed.

Reason (R): Multiplexing reduces the number of pins.

A. Both A and R are correct and R is correct explanation of A
B. Both A and R are correct but R is not correct explanation of A
C. A is correct R is wrong
D. A is wrong R is correct
Answer» B. Both A and R are correct but R is not correct explanation of A
18.

Consider the following in C

1.An arithmetic operation between integer and an integer gives integer as the result.

2.An arithmetic operation between a real and a real constant gives real constant as the result.

3.An arithmetic operation between an integer constant and a real constant is not valid.

Which of the above are correct?

A. All
B. 1 and 2 only
C. 2 and 3 only
D. 1 and 3 only
Answer» C. 2 and 3 only
19.

Consider the following statements about expressing real constants in exponential form in C

1.The mantissa and exponent are separated either by e or E.

2.The mantissa and exponent may have positive or negative sign.

3.Default sign of mantissa is positive.

4.Default sign of exponent is negative.

Which of the above statements are wrong?

A. 1 only
B. 1 and 4 only
C. 1, 3 and 4 only
D. 4 only
Answer» C. 1, 3 and 4 only
20.

When two ALU 1C 74181 are cascaded

A. the carry out of first stage is connected to carry in of second stage
B. the carry in of first stage connected to carry in of second stage
C. the carry in of first stage is connected to carry out of second stage
D. the carry out of first stage is connected to carry out of second stage
Answer» B. the carry in of first stage connected to carry in of second stage
21.

Consider the following features of 'structures' in C?

1.The values of a structure variable can be assigned to another structure variable of the same type using the assignment operator.

2.One structure can be nested within another structure.

3.A variable structure can also be passed to a function.

Which of the above are correct?

A. All
B. 1 and 2 only
C. 1 and 3 only
D. 2 and 3 only
Answer» B. 1 and 2 only
22.

Assertion (A): In 8085 SP and PC are 8 bit each.

Reason (R): 8085 is an 8 bit microprocessor.

A. Both A and R are correct and R is correct explanation of A
B. Both A and R are correct but R is not correct explanation of A
C. A is correct R is wrong
D. A is wrong R is correct
Answer» B. Both A and R are correct but R is not correct explanation of A
23.

Read the following statements about files in Pascal

1.A file can grow or shrink dynamically.

2.A file which consists of only characters is called text file.

3.Text files may be read and written using standard Pascal READ and WRITE procedures.

4.Every file must have a beginning but may or may not have an end.

Which of the above are correct?

A. All
B. 1, 2, 3 only
C. 2, 3, 4 only
D. 1, 2 and 4 only
Answer» C. 2, 3, 4 only
24.

Consider the following statements

1.An assembler is a program having assembly language program as input and machine language program as output.

2.A macro assembler is an assembler with additional macro facilities.

3.A cross assembler for a P X is an assembler which executes on source microcomputer with a different CPU than X bit generates code for X.

4.Assemblers generally do not provide macro facilities.

Of the above statement

A. All are correct
B. only 1, 2, 3 are correct
C. only 1, 2, 4 are correct
D. only 1, 3, 4 are correct
Answer» C. only 1, 2, 4 are correct
25.

A computer program is used to read N and print the sum 12 + 22 + 32 +.....+ N2. If N = 10, the print out will show the number

A. 100
B. 10
C. 385
D. 285
Answer» D. 285
26.

Consider the following statements about Java variables

1.Java variable must start with a letter or underscore or dollor sign.

2.Java variable can not start with a digit.

3.After the first character the variable can have any combination of letters or numbers.

4.Capitalization of letters must be consistent.

Which of the above are correct?

A. All
B. 1, 2 and 3 only
C. 2, 3, 4 only
D. 1, 2 and 4 only
Answer» B. 1, 2 and 3 only
27.

Consider the following statements about an array in Pascal

1.An array has a fixed predetermined number of components.

2.Any component of an array can be accessed using an index.

3.An array variable name refers to a group of quantities by a single name.

4.When array variables are used an appropriate declaration is required.

Which of the above are correct?

A. All
B. 1, 2, 3 only
C. 2, 3, 4 only
D. 1, 2 and 4 only
Answer» B. 1, 2, 3 only
28.

Consider the following rules for constructing variable names in C

1.It can have alphabets, digits or underscores but no other special character.

2.The maximum number of characters is 8.

3.The first character may be an alphabet or digit but not underscore.

Which of the above are correct?

A. All
B. 1 and 2 only
C. 1 and 3 only
D. 2 and 3 only
Answer» C. 1 and 3 only
29.

Assertion (A): Dynamic RAM needs refreshing.

Reason (R): Capacitors tend to loose charge.

A. Both A and R are correct and R is correct explanation of A
B. Both A and R are correct but R is not correct explanation of A
C. A is correct R is wrong
D. A is wrong R is correct
Answer» B. Both A and R are correct but R is not correct explanation of A
30.

Assume that x = 5 and y = 2. Then in Java operation x + = y, the result is

A. x
B. B.
C. = 2
D. x = 3
E. x
Answer» B. B.
31.

Consider the following logical IF statement in Fortran 77

IF (SALT. LE. PEPPER) 11

GO TO 13

The above statement using arithmetic IF statement would be

A. IF (SALT - PEPPER) 11, 11, 13
B. IF (SALT - PEPPER) 13, 11, 11
C. IF (SALT - PEPPER) 13, 13, 11
D. IF (SALT - PEPPER) 11, 13, 13
Answer» B. IF (SALT - PEPPER) 13, 11, 11
32.

Consider the following rules about integer constant in C

1.An integer constant must have at least one digit.

2.An integer constant must not have a decimal point.

3.An integer constant may be positive or negative.

4.The default sign is positive.

5.A maximum of one comma or blank is allowed.

Which of the above are correct?

A. All
B. 1, 2, 3, 4 only
C. 1, 2, 3, 5
D. 2, 3, 4, 5 only
Answer» C. 1, 2, 3, 5
33.

Consider the following tasks in a micro computer

1.Receiving data and instruction

2.Performing arithmetic computation

3.Performing logical computations

4.Storing data and instructions

Which of the above are performed by ALU?

A. 2 only
B. 2 and 3 only
C. 1, 2 and 3 only
D. All
Answer» C. 1, 2 and 3 only
34.

Initially the number decimal 8 is stored. If instruction RAL is executed twice, the final number stored will be

A. decimals 8
B. decimal 16
C. decimal 32
D. decimal 2
Answer» D. decimal 2
35.

Assertion (A): To add 8 bit words, two 1C 74181 can be cascaded.

Reason (R): In 1C 74181 a sum greater than 15 leads to high carry out.

A. Both A and R are correct and R is correct explanation of A
B. Both A and R are correct but R is not correct explanation of A
C. A is correct R is wrong
D. A is wrong R is correct
Answer» D. A is wrong R is correct
36.

If PRIN = 200.0 and BINT = 0.0525 the result of expression INCOME = PRIN * (1 + BINT) will be

A. 210
B. 210.5
C. 210.5000
D. 210.50
Answer» B. 210.5
37.

Read the following statements about Excel

1.It supports many arithmetic functions like SUM, ABS, EXP, INT, MOD etc.

2.It supports many trigonometric functions.

3.It supports IRR function to calculate interest rate.

4.It supports PV function to calculate the present value of future receipts.

Which of the above are correct?

A. All
B. 1, 2 and 3 only
C. 1, and 2 only
D. 1 only
Answer» B. 1, 2 and 3 only
38.

In Java it is possible to have

1.An array of integers

2.An array of string objects

3.An array of arrays

4.An array on integer and strings

Which of the above are correct?

A. All
B. 1, 2 and 3 only
C. 1 and 2 only
D. 1, 3 and 4 only
Answer» C. 1 and 2 only
39.

Consider the following

1.The first letter of a Java variable is lower case.

2.Each successive word in Java variable begins with a capital letter.

3.All other letters are lower case.

4.A Java variable can have a digit as first character.

Which of the above are correct?

A. All
B. 1, 2, 3 only
C. 1, 2, 4 only
D. 2, 3, 4 only
Answer» C. 1, 2, 4 only
40.

Assertion (A): Microprocessor 8085 has on-chip oscillator with inbuilt crystal.

Reason (R): For frequency stability crystal oscillator is preferred.

A. Both A and R are correct and R is correct explanation of A
B. Both A and R are correct but R is not correct explanation of A
C. A is correct R is wrong
D. A is wrong R is correct
Answer» E.
41.

Assertion (A): If source and destination addresses are made implicit the length of instruction is reduced.

Reason (R): 8085 has only 3 addressing modes.

A. Both A and R are correct and R is correct explanation of A
B. Both A and R are correct but R is not correct explanation of A
C. A is correct R is wrong
D. A is wrong R is correct
Answer» D. A is wrong R is correct
42.

Let JCOKE = 98 and LPEPSI = 42 Consider the statement

IF (JCOKE - 3 * LPEPSI) 5, 6, 7

5 JCOKE = JCOKE + 5

6 JCOKE = JCOKE + 8

7 JCOKE = JCOKE + 11

The value of JCOKE after the execution of above statement will be

A. 103
B. 106
C. 109
D. none of the above
Answer» B. 106
43.

Read the following statements about files in Pascal

1.A file is a data structure which consists of a sequence of components of the same type.

2.The number of components in a file is variable.

3.The components in a file can be accessed only sequentially starting from the beginning of the file.

Which of the above are correct?

A. All
B. 1 and 2 only
C. 2 and 3 only
D. 1 and 3 only
Answer» B. 1 and 2 only
44.

Consider the following C program int ram

float alpha, gamma

ram = 6400

alpha = 0.562

gamma = alpha * ram + 1

Now consider the following statements about this program

1.ram is an integer variable

2.alpha, gamma are real variables

3.*, + are arithmetic operators

4.0.562 may be an integer constant or real constant

Which of the above are correct?

A. All
B. 1, 2, 3 only
C. 2, 3, 4 only
D. 1, 2, 4 only
Answer» C. 2, 3, 4 only
45.

Which is not a valid Java variable

A. lot
B. c 1
C. C.
D. D.
E. s
Answer» E. s
46.

The 8085 instruction 'PUSH PSW' belongs to the group

A. data transfer
B. arithmetic
C. logic
D. none of the above
Answer» E.
47.

Read the following statements as regards register pairs in microprocessor 8085

1.B represents B, C pair with B as high order register and C as low order register.

2.D represents D, E pair with D as high order register and E as low order register.

3.H represents H, L pair with H as high order register and L as low order register.

Which of the above statements are correct?

A. All
B. 1 and 3
C. 1 and 2
D. 2 and 3 only
Answer» B. 1 and 3
48.

Read the following statements about 8085

1.RAL instruction rotates ACC contents left by 1 bit

2.When RAL instruction is executed once the binary number gets doubled

3.STC means set CY to 1

Which of the above statements are correct?

A. 1 and 2 only
B. 1, 2 and 3 only
C. 1, 2 and 4 only
D. 1 and 4 only
Answer» C. 1, 2 and 4 only
49.

Consider the following statements for 8085

1.The most significant 8 bits of address are transmitted on the 8 lines on which data is transmitted.

2.Eight pins are dedicated to transmit the most significant 8 bits of memory address.

3.The least significant 8 bits of address are transmitted on the lines on which data is transmitted.

4.The data and leass significant 8 bits are transmitted at different points in time.

Which of the above statements are correct?

A. all
B. 1, 2 and 3 only
C. 2, 3 and 4 only
D. 1, 3 and 4 only
Answer» D. 1, 3 and 4 only
50.

Consider the following statements

1.EEPROM has the problem of high write time.

2.EEPROM has the problem of limited number of write cycles.

3.Shadow RAM has the problem of high write time.

Which of the above statements are correct?

A. All
B. 1 and 2 only
C. 1 and 3 only
D. 2 and 3 only
Answer» C. 1 and 3 only