Attempting to execute a Python program that invokes os.fork on a Windows machine causes an________exception.

a) OSError.
b) ForkError.
c) AttributeError.
d) None of the above.


c) AttributeError.

Computer Science & Information Technology

You might also like to view...

The acronym GUI stands for __________.

a. graphical user instrument b. graphics user interface c. graphical user interface d. graphics user instrument

Computer Science & Information Technology

Why does this version of the swap function fail to work? Is there a fix?

``` void swap(int & lhs, int& rhs) { lhs = rhs; rhs = lhs; ``` a) Of course it works! Just look at it. It clearly swaps the two parameters! b) It fails because the programmer forgot to make the parameters call-by-reference. c) It fails OK, and we can fix it we can just reverse the order of the lines. d) It fails because the first line destroys the old value of lhs without saving it. Then both variables have the old value of rhs in them. e) To fix this, we must save the lhs value in a local variable before making the first assignment indicated, then instead of the second line, assign the rhs the value of the local variable:

Computer Science & Information Technology

It may not be possible to stop an animated slide show when using a touch screen, unless you can display a touch keyboard that includes a(n) ____ key.

A. Shift B. ESC C. Enter D. Delete

Computer Science & Information Technology

A(n) ________ is a small Web browser window that appears on top of the website you are viewing

A) plug-in B) pop-up C) cookie D) add-in

Computer Science & Information Technology