Which of the following exceptions is a checked exception?

a. ArithmeticException.
b. IOException.
c. RuntimeException.
d. InputMismatchException.


b. IOException.

Computer Science & Information Technology

You might also like to view...

To print a range of pages, you should enter the first page, a colon, then the last page in the range.

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

Computer Science & Information Technology

When you ________ words at the end of a line, you can usually increase the number of words that fit on each line

Fill in the blank(s) with correct word

Computer Science & Information Technology

Critical Thinking QuestionsCase 1-1Your colleague Frank is editing a friend's novel in Word. To speed up the process, Frank would like to take advantage of the various techniques available for selecting text, and he asks you for help. Which of the following techniques will allow Frank to select an entire sentence? a. click the sentencec. press and hold down the CTRL key and then click the sentenceb. double-click the sentenced. move the mouse to the left of the sentence and then triple-click

What will be an ideal response?

Computer Science & Information Technology

If the following pseudocode was coded and executed, what would display?

```
Declare String str = "a1b2c3d4"
Declare Integer index
Declare Integer num = 0
For index = 0 To length(str) - 1
   If isDigit(str[index]) Then
      Set num = num + index
   End If
End For
Display num

```

a.15
b. 8
c.16
d. 28

Computer Science & Information Technology