The decimal equivalent of 00011111 is ____.

A. 5
B. 10
C. 31
D. 32


Answer: C

Computer Science & Information Technology

You might also like to view...

A queue is a ____________________ data structure.

a) LIFO b) FIFO c) link based d) array based e) none of the above

Computer Science & Information Technology

Which method returns an array of the enum’s constants?

a. values. b. getValues. c. constants. d. getConstants.

Computer Science & Information Technology

What does function five do?

``` int five (char inArr[]) { int ans; if (inArr[0] == '\0') ans = 0; else if (isdigit (inArr[0])) ans = 1 + five (++str); else ans = five (++str); return ans; } ``` a. Counts the number of digits in inArr. b. Returns 1 if the first character is a digit, 5 otherwise. c. Counts the number of null characters in inArr. d. Counts the number of characters in inArr. e. None of the above

Computer Science & Information Technology

The two types of sockets we discussed in this chapter are ________ sockets and _______ sockets.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology