Which of the following errors will occur when attempting to assign a real value to an integer variable?

a. integer value error
b. type mismatch error
c. conversion error
d. assignment error


b. type mismatch error

Computer Science & Information Technology

You might also like to view...

In the C++ statement pay = rate * hours; the * symbol is an example of

A) an operator. B) an operand. C) a variable separator. D) syntax. E) none of the above.

Computer Science & Information Technology

Answer the following statements true (T) or false (F)

1. The following are equivalent While and Until statements. While (num > 2) And (num < 5) Until (num <= 2) Or (num >= 5) 2. A Do…Loop Until block is always executed at least once. 3. A counter variable is normally incremented or decremented by 1. 4. The following program uses a counter variable to force the loop to end. ``` Private Sub btnDisplay_Click(...) Handles btnDisplay.Click Dim r As Double = 1 Dim t As Double = 0 Do While (t < 5000) t = 2 * t + r r += 1 lstBox.Items.Add(t) Loop End Sub ``` 5. The value of the counter variable should not be altered within the body of a For…Next loop.

Computer Science & Information Technology

Explain why the RPC interface to early implementations of NFS is potentially insecure. The security loophole has been closed in NFS 3 by the use of encryption. How is the encryption key kept secret? Is the security of the key adequate?

What will be an ideal response?

Computer Science & Information Technology

Match the following terms to their meanings:

I. SmartArt Styles II. WordArt III. Fill color IV. Line color A. combinations of formatting effects applied to SmartArt graphics B. a gallery of text styles C. the outside color of an object D. the inside color of an object

Computer Science & Information Technology