Question

Let JCOKE = 3 and LPEPSI = 5. Consider the statement

IF (3 * JCOKE. EQ. LPESPSI)
JCOKE = JCOKE + 2
JCOKE = JCOKE + 5

What will be the final value of JCOKE after the above statement is executed?

a.

8

b.

1

c.

15

d.

10

Answer: (a).8

Interact with the Community - Share Your Thoughts

Uncertain About the Answer? Seek Clarification Here.

Understand the Explanation? Include it Here.

Q. Let JCOKE = 3 and LPEPSI = 5. Consider the statement IF (3 * JCOKE. EQ. LPESPSI) JCOKE = JCOKE + 2 JCOKE = JCOKE + 5 What will be the final value of JCOKE after the above...

Similar Questions

Explore Relevant Multiple Choice Questions (MCQs)

Q. Diskette can be used for primary storage as well as secondary storage in a computer.

Q. Read the following statements

1. Magnetic tape is a sequential device.
2. Magnetic disc is a direct access device.
3. Magnetic tape and disc are both sequential devices.
4. Magnetic tape and disc are both direct access devices.

Which of the above statements are correct?

Q. A memory chip has 65536 cells in it. Then

Q. Which of the following is operating system?

Q. A modem is connected to PC at

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

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

Q. 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?

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

Q. 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?

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

REAL F , C
READ * , F
C = (5. / 9.) * (F - 32.)

Q. Consider the following library functions

1. EXP (i.e., ex)
2. ARCTAN (i.e. tan‾¹ x)
3. SQRT (i.e., √x)
4. AES (i.e. |x|)

Which of the above are allowed in Pascal?

Q. Consider the following program in Basic

10 READ X, Y, Z
15 DATA 20, 30, 10
20 S = X + Y + Z
30 A = S/3
35 PRINT S, A, X, Y, Z
40 END

The output will be

Q. Let the initial contents of ACC and CY in 8085 be

1. CY = 1
2. ACC = 10000001

After the instruction RAL is executed twice the contents of CY and ACC respectively will be

Q. A nibble corresponds to

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

Q. A computer window has a bar at its top to bear the name of window. This bar is called

Q. 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?

Q. If word length is 16 bits the decimal equivalent of largest number which can be stored is

Q. Assertion (A): Dynamic RAM needs refreshing.

Reason (R): Capacitors tend to loose charge.

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

Recommended Subjects

Are you eager to expand your knowledge beyond Electronics and Communication Engineering? We've handpicked a range of related categories that you might find intriguing.

Click on the categories below to discover a wealth of MCQs and enrich your understanding of various subjects. Happy exploring!