The Intel Core 2 Duo is an example of a processor, or CPU, as are the Celeron and PowerPC. List the two main tasks that the CPU performs in controlling the computer’s workings and provide a short explanation of each.

What will be an ideal response?


The CPU is responsible for two key tasks: (1) fetching program instructions from memory, and (2) executing those instructions.

Computer Science & Information Technology

You might also like to view...

For the following sets of two-dimensional points, (1) provide a sketch of how they would be split into clusters by K-means for the given number of clusters and (2) indicate approximately where the resulting centroids would be. As- sume that we are using the squared error objective function. If you think that there is more than one possible solution, then please indicate whether each solution is a global or local minimum. Note that the label of each diagram in Figure 8.4 matches the corresponding part of this question, e.g., Figure 8.4(a) goes with part (a).


(a) K = 2. Assuming that the points are uniformly distributed in the circle,
how many possible ways are there (in theory) to partition the points
into two clusters? What can you say about the positions of the two
centroids? (Again, you don’t need to provide exact centroid locations,
just a qualitative description.)
(b) K = 3. The distance between the edges of the circles is slightly greater
than the radii of the circles.
(c) K = 3. The distance between the edges of the circles is much less than
the radii of the circles.
(d) K = 2.
(e) K = 3. Hint: Use the symmetry of the situation and remember that
we are looking for a rough sketch of what the result would be.

Computer Science & Information Technology

When the user clicks any of the three standard JFrame buttons, a ___________ is generated.

(a) window listener (b) window event (c) window activator (d) window deactivator

Computer Science & Information Technology

What is the result of the following code? Assume that there is no text in display- JTextArea when this code begins executing.

``` 1 int y; 2 int x = 1; 3 4 do { 5 y = x * x; 6 displayJTextArea.append( y + "\n" ); 7 x += 1; 8 } while ( x <= 10 ); ```

Computer Science & Information Technology

Changing font colors, resizing text boxes, and resizing controls improve form ________

A) quality B) precision C) accuracy D) usability

Computer Science & Information Technology