What is the value of (double)(5/2)?

a. 2
b. 2.5
c. 3
d. 2.0
e. 3.0


Ans: d. 2.0

Computer Science & Information Technology

You might also like to view...

C++ is a:

a. Typeless language. b. Hybrid object-oriented language. c. Subset of the C Language. d. Pure object-oriented language.

Computer Science & Information Technology

Every class in Java, except ________, extends an existing class.

a. Integer. b. Object. c. String. d. Class.

Computer Science & Information Technology

Describe the sorting pattern. Discuss the Selection sort routines in terms of this pattern.

What will be an ideal response?

Computer Science & Information Technology

A binary code represents digital data as a series of 0s and 1s that can be understood by a computer

Indicate whether the statement is true or false

Computer Science & Information Technology