Question

The correct way of writing the expression NV²/2 + GH/3D in Pascal is

a.

N * V * V / 2 + G * H / 3D

b.

N * V * V / 2.0 + G * H / (3.0 *D)

c.

N * V * V / 2 + G * H / 3.0 * D

d.

N * V * V / 2.0 + G * H / 3.0 * D

Answer: (b).N * V * V / 2.0 + G * H / (3.0 *D)

Interact with the Community - Share Your Thoughts

Uncertain About the Answer? Seek Clarification Here.

Understand the Explanation? Include it Here.

Q. The correct way of writing the expression NV²/2 + GH/3D in Pascal is

Similar Questions

Explore Relevant Multiple Choice Questions (MCQs)

Q. A microprocessor uses 3 MHz oscillator. The duration of one T state is

Q. Zip floppy has a capacity of

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

Q.
Consider the following program in Basic

5 READ R
10 D = 2 * R
20 A = 3.1416 * D * D / 4
30 PRINT A

Assuming that R = 3.0, the output A =

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

Q. A microprocessor is generally

Q. Consider the following program in C

int k;
float a, b, c;
k = a* b* c / 100 + 2.5 / 2 - 0.3 * 9

if a - 5.0, b = 2.0 and c = 3.0 the final result k =

Q. A computer program is used to read N and print the sum 1² + 2² + 3² +.....+ N². If N = 10, the print out will show the number

Q. Which of the following arithmetic operations requires only one operand in FORTRAN 77?

Q. Which of the following is not a valid variable name in C?

Q. Which of the following array names is invalid in Fortran 77?

Q. LPEPSI = 2
2PEPSI = LPEPSI * LPEPSI + 1
GOT TO (3, 5, 9, 11, 13, 17, 21, 23) LPEPSI

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

Q. Which of the following is not an application software?

Q. Which of the following is not a DTP program?

Q. Which of the following array names in Fortran 77 is invalid?

Q. E-mail can be used to send text, graphics, and video.

Q. In 8085, which instructions are useful for writing and using subroutines?

Q. In a RAM chip with a total of 8096 words, the word addresses range from

Q. The loops ' for , 'while' , 'do-while' are used in

Q. Which of the following is not a valid arithmetic statement in C?

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!