Write a function to set the red, green, and blue values to zero. What is the result?
What will be an ideal response?
```
def setAllZero(picture):
for pix in getPixels(picture): setRed(pix,0)
setBlue(pix,0)
setGreen(pix,0)
```
OR
```
def setAllZero(picture):
for pix in getPixels(picture):
setColor(pix, makeColor(0,0,0))
```
The result is the entire image is set to black.
You might also like to view...
When using a flowchart, terminal symbols are represented by what geometric shape?
A. parallelogram B. lozenge C. rectangle D. diamond
Match the following terms to their meanings:
I. COUNTA function II. COUNTIF function III. SUMIF function IV. SUMIFS function V. AVERAGEIF function A. used to count the number of cells in a range that meet one specified criterion B. used to calculate the average for cells that meet one specified criterion C. used to count the number of nonblank cells in a range D. adds the cells in a range that meet one specified criterion E. adds the cells in a range that meet multiple criteria
Provide three reasons for using a proxy server.
What will be an ideal response?
You need to connect to a colleague's system using the default Microsoft Windows remote desktop application to troubleshoot an application issue. Which port should be opened on the colleague's system firewall to ensure successful remote connection?
a. 89 b. 3389 c. 22 d. 33 e. 389