Online Electronics and Communication Engineering Test - Microprocessors Test

Instruction:

  • This is a FREE online test. Beware of scammers who ask for money to attend this test.
  • Total number of questions: 20.
  • Time allotted: 30 minutes.
  • Each question carries 1 mark; there are no negative marks.
  • DO NOT refresh the page.
  • All the best!

Marks : 2/20


Total number of questions
20
Number of answered questions
0
Number of unanswered questions
20
Test Review : View answers and explanation for this test.

1.
A computer program is used to read M and print the sum 2 + 4 + 6 + 8 +.........+ 2M. If M = 9 , the print out will show the number
9
18
90
100
Your Answer: Option
(Not Answered)
Correct Answer: Option
Explanation:

SUM = 2 + 4 + 6 + 8 + 10 + 12 + 14 + 16 + 18 = 90.


2.
Which of the following is not a key word in C?
pop
for
if
union
Your Answer: Option
(Not Answered)
Correct Answer: Option
Explanation:

pop is not a keyword in C.


3.
If F = 95.0 what will be the result of following FORTRAN 77 program?

REAL F , C
READ * , F
C = (5. / 9.) * (F - 32.)
35.0
35
25.0
25
Your Answer: Option
(Not Answered)
Correct Answer: Option
Explanation:

(95 - 32) and decimal must be added.


4.
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?
All
1, 2, 3 only
2, 3, 4 only
1, 2 and 4 only
Your Answer: Option
(Not Answered)
Correct Answer: Option
Explanation:

All are true.


5.
Consider the following expressions in Java
int a, b, c,
a = 40;
b = a++ ;
c = ++a ;

Now the values of a, b, c are
42, 40, 42 respectively
42, 42, 42 respectively
40, 42, 42 respectively
40, 40, 42 respectively
Your Answer: Option
(Not Answered)
Correct Answer: Option
Explanation:

The steps are : a is given the value 40, b is given the value of a before it is incremented (i.e., 40) and a is incremented to 41, a is incremented to 42 and c is given this value. Thus the result is 42, 40, 42.


6.
The number of primitive string operations in 8086 is
3
4
5
6
Your Answer: Option
(Not Answered)
Correct Answer: Option

7.
The standard FORTRAN exponential form of decimal number - 0.000000023 is
2.3 E - 8
-2.3 E - 8
2.3 E - 7
-2.3 E - 7
Your Answer: Option
(Not Answered)
Correct Answer: Option

8.
Which of the following methods does not cause any reduction in instruction length?
Using program counter
Common source and destination address
Implicit source and destination address
Machine language programming
Your Answer: Option
(Not Answered)
Correct Answer: Option

9.

Assertion (A): In C arithmetic operations are pemiissible on ints, floats and chars.

Reason (R): In C every arithmetic operator must be written explicitly.

Both A and R are correct and R is correct explanation of A
Both A and R are correct but R is not correct explanation of A
A is correct R is wrong
A is wrong R is correct
Your Answer: Option
(Not Answered)
Correct Answer: Option

10.
The initial contents of ACC and CY in 8085 are
  1. CY = 1
  2. ACC = 10000001
After instruction RAL is executed once the contents of CY and ACC respectively will be
1 and 00000011
0 and 00000011
1 and 00000001
0 and 00000001
Your Answer: Option
(Not Answered)
Correct Answer: Option

11.
The word size accessible at a time from the memory subsystem depends on
width of data bus
width of address bus
width of control bus
both (b) and (c)
Your Answer: Option
(Not Answered)
Correct Answer: Option

12.

Assertion (A): In microprocessor 8085 instruction LXIB, 90 FF H means register B and C are loaded with upper and lower bytes to get B = 90 H and C = FFH.

Reason (R): In 8085 the stack pointer indicates which memory location is to accessed.

Both A and R are correct and R is correct explanation of A
Both A and R are correct but R is not correct explanation of A
A is correct R is wrong
A is wrong R is correct
Your Answer: Option
(Not Answered)
Correct Answer: Option

13.
A PC has typically
5 to 10 KB of main memory
10 to 100 KB of main memory
100 to 256 KB of main memory
256 KB to 1 MB of main memory
Your Answer: Option
(Not Answered)
Correct Answer: Option

14.
8085 data bus has 8 lines and is bidirectional.
True
False
Your Answer: Option
(Not Answered)
Correct Answer: Option

15.
RAM is a volatile memory device.
True
False
Your Answer: Option
(Not Answered)
Correct Answer: Option

16.
Which memory has read operation, byte erase, byte write and chip erase?
RAM
UVEPROM
EEPROM
both (b) and (c)
Your Answer: Option
(Not Answered)
Correct Answer: Option

17.
The use of microprocessor control in automobiles results in
improved fuel economy
improved car control
advanced information system for driver
all of the above
Your Answer: Option
(Not Answered)
Correct Answer: Option

18.
Read the following statement
  1. Multi-processing operation permits highly efficient parallel processing at several levels.
  2. Multi processing involves use of several processing units jointly on a common program and severally on different programs.
  3. In multi-processing the assignment of facilities to tasks, loading of programs and monitoring of I/O activity is taken care of by operating system.
Which of the above are correct?
All
1 and 2 only
1 and 3 only
2 and 3 only
Your Answer: Option
(Not Answered)
Correct Answer: Option

19.

Assertion (A): Structures are useful in DBMS.

Reason (R): Structures are very large numbers of applications besides DBMS.

Both A and R are correct and R is correct explanation of A
Both A and R are correct but R is not correct explanation of A
A is correct R is wrong
A is wrong R is correct
Your Answer: Option
(Not Answered)
Correct Answer: Option

20.
In a typical microcomputer data transfer takes place between
μP and memory
μP and I/O devices
memory and I/O devices
all of the above
Your Answer: Option
(Not Answered)
Correct Answer: Option

*** END OF THE TEST ***
Time Left: 00:29:56
Post your test result / feedback here: