Explore topic-wise MCQs in Engineering.

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

951.

Assertion (A): In C a variable name can have upto 8 characters and special symbols can also be part of variable name.Reason (R): In C a type declaration at the beginning of program indicates the type of variable name used in the program.

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.
952.

Assertion (A): In 8085 when RESET OUT goes low processing begins. Reason (R): CPU remains reset till RESET IN signal goes high.

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
953.

A string constant in basic is

A. a string of capital alphabets A to Z, included in question mark
B. a string of capital alphabets A to Z and digits 0 to 9 included in question mark
C. a string of capital alphabets A to Z, digits 0 to 9 and special characters
D. a string of capital alphabets A to Z, digits 0 to 9 and special characters included in question mark
Answer» E.
954.

In microprocessor 8088

A. 8 data bits are multiplexed with 8 least significant bits of address bus
B. 8 data bits are multiplexed with 8 most significant bits of address bus
C. 16 data bits are multiplexed with 16 bits of address bus
D. none of the above
Answer» B. 8 data bits are multiplexed with 8 most significant bits of address bus
955.

ALU 1C 74181 can accept two words each having

A. 2 bits
B. 4 bits
C. 8 bits
D. 16 bits
Answer» C. 8 bits
956.

Which of the following characters is allowed in variable names in C?

A. comma
B. dot
C. blank
D. underscore
Answer» E.
957.

ALE stands for

A. Address Latch Enable
B. Accumulator Latch Enter
C. Address Latch Enter
D. Accumulator Latch Enable
Answer» B. Accumulator Latch Enter
958.

The standard FORTRAN exponential form of decimal number 0.0000437 is

A. 4.37 E - 5
B. 4.37 E - 4
C. 43.7 E - 5
D. 43.7 E - 4
Answer» B. 4.37 E - 4
959.

In FORTRAN 77 FLOAT (-28) gives the value

A. 28
B. -28
C. -28.0
D. none of the above
Answer» D. none of the above
960.

Fortran 77, C and Pascal are high level languages.

A. True
B. False
Answer» B. False
961.

The relational operators allowed in Pascal are

A. =, >, <, > =, < = and < >
B. =, >, < and < >
C. =, >, <, > = and < =
D. >, <, > = and < =
Answer» B. =, >, < and < >
962.

In 8086 the instruction ADD AL, CH means

A. the two 8 bit values in registers AL and CH are added and result placed in register AL
B. the two 8 bit values in registers AL and CH are added and result placed in register CH
C. the two 16 bit values in registers AL and CH are added and result placed in register AL
D. the two 16 bit values in registers AL and CH are added and result placed in register CH
Answer» B. the two 8 bit values in registers AL and CH are added and result placed in register CH
963.

Almost all high level languages have provision for logical operations.

A. True
B. False
Answer» B. False
964.

In which of the following 8085 instructions is the CY flag complemented?

A. <code>CMA</code>
B. <code>CMC</code>
C. <code>STC</code>
D. <code>RRC</code>
Answer» C. <code>STC</code>
965.

In the words Kb or Mb used describing memory capacity, the letter b denotes

A. bits
B. bytes
C. bits or bytes depending on type of memory
D. bubbles
Answer» B. bytes
966.

In Fortran 77 negation is a unary operation.

A. True
B. False
Answer» B. False
967.

Power Point is a presentation software.

A. True
B. False
Answer» B. False
968.

In the expression a = 5 * 2 / 3.2 + 4 / 8 - 2 + 5 / 9 which operation will have the first priority in C?

A. 5*2
B. 2 / 3.2
C. 5 * 2 / 3.2
D. 4 / 8
Answer» B. 2 / 3.2
969.

When one operand is real and one integer in Pascal, which of the following operations are not allowed?

A. + and -
B. *
C. /
D. Div and Mod
Answer» E.
970.

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
971.

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
972.

Which of the following is a valid integer constant?

A. 17.0
B. -18.58
C. 101.14
D. -810
Answer» E.
973.

Consider the following statements about expressing real constants in exponential form in CThe mantissa and exponent are separated either by e or E.The mantissa and exponent may have positive or negative sign.Default sign of mantissa is positive.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
974.

Consider the following program in Basic 10 READ X, Y, Z15 DATA 20, 30, 1020 S = X + Y + Z30 A = S/335 PRINT S, A, X, Y, Z40 END The output will be

A. 60, 20, 20, 30, 10
B. 10, 30, 20, 20, 60
C. 60, 20, 30, 10, 20
D. 60, 30, 10, 20, 20
Answer» B. 10, 30, 20, 20, 60
975.

Consider the following library functions EXP (i.e., ex)ARCTAN (i.e. tan-1 x)SQRT (i.e., x)AES (i.e. |x|) Which of the above are allowed in Pascal?

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

Let the initial contents of ACC and CY in 8085 be CY = 1ACC = 10000001 After the instruction RAL is executed twice the contents of CY and ACC respectively will be

A. 1 and 00000011
B. 0 and 00000111
C. 1 and 00000111
D. 0 and 00000011
Answer» C. 1 and 00000111
977.

Consider the following statements about Java variables Java variable must start with a letter or underscore or dollor sign.Java variable can not start with a digit.After the first character the variable can have any combination of letters or numbers.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
978.

Which of the following is not a valid character constant in C?

A. 'A'
B. '2'
C. '='
D. 2
Answer» E.
979.

A microprocessor is generally

A. single chip SSI
B. single chip MSI
C. single chip LSI
D. any of the above
Answer» D. any of the above
980.

Consider the following program in Basic5 READ R 10 D = 2 * R 20 A = 3.1416 * D * D / 4 30 PRINT A Assuming that R = 3.0, the output A =

A. 2.827
B. 28.27
C. 282.7
D. 2827
Answer» C. 282.7
981.

A modem is connected to PC at

A. serial port
B. parallel port
C. SCSI port
D. input port
Answer» B. parallel port
982.

Consider the following statements about 'Functions' in C A function can be called any number of times.A function gets called when the function name is followed by a semicolon.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
983.

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
984.

A failure rate of 0.01 percent in 1000 hours in a memory corresponds to an MTBF of

A. 1000 hours
B. 100000 hours
C. 10 hours
D. 100 hours
Answer» C. 10 hours
985.

The number of computer viruses is some thousands.

A. True
B. False
Answer» B. False
986.

If 8085 is required to add two 32 bit numbers, the numbers of addition sequences is

A. 1
B. 2
C. 4
D. 8
Answer» D. 8
987.

Incompatibility between memory and I/O device may be due to

A. timing according to which data transfer is to take place
B. electrical characteristics of the two devices
C. format of data transfer
D. all of the above
Answer» E.
988.

When the mains supply is switched off the contents of primary computer memory are lost.

A. True
B. False
Answer» B. False
989.

8255 A is a

A. programmable peripheral interface
B. I/O device
C. memory chip
D. none of the above
Answer» B. I/O device
990.

Consider the following rules for constructing variable names in C It can have alphabets, digits or underscores but no other special character.The maximum number of characters is 8.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
991.

Consider the following rules about integer constant in C An integer constant must have at least one digit.An integer constant must not have a decimal point.An integer constant may be positive or negative.The default sign is positive.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
992.

Consider the following logical IF statement in Fortran 77 IF (SALT. LE. PEPPER) 11GO 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
993.

The correct way of writing the expression in Pascal is

A. <code>N * V * V / 2 + G * H / 3D</code>
B. <code>N * V * V / 2.0 + G * H / (3.0 *D)</code>
C. <code>N * V * V / 2 + G * H / 3.0 * D</code>
D. <code>N * V * V / 2.0 + G * H / 3.0 * D</code>
Answer» C. <code>N * V * V / 2 + G * H / 3.0 * D</code>
994.

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.
995.

Which of the following is not treated as hexadecimal constant by assembler in 8085?

A. 64 H
B. 5 AFH
C. AFH
D. OCFH
Answer» D. OCFH
996.

Assertion (A): In register indirect addressing mode of 8085, the address of operand is in the specified register.Reason (R): An example of register indirect addressing mode is MOV, A, M..

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
997.

A high level language is less efficient than machine language.

A. True
B. False
Answer» B. False
998.

Which of the following real expressions is correct in Pascal?

A. <code>- Z + P * X </code>
B. <code>(X + Y) (A + B)</code>
C. <code>Z ** M </code>
D. <code>Z P * M</code>
Answer» B. <code>(X + Y) (A + B)</code>
999.

In the dimension statement DIMENSION A (50, 50), K (100, 100) the total number of locations reserved will be

A. 2500
B. 100000
C. 125000
D. 250000
Answer» D. 250000
1000.

If I = J = K = 13, then in Fortran 1 = 10 - (1 / 10) * 10 + (J / 5) * 4 + K ** (- 2) is equal to

A. 8
B. 7
C. 6
D. 5
Answer» B. 7