Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLESE ANSWER THE FOLLOWING Page 39: Exercise 1a: Distributed Computing Consider distributed computing as defined in this chapter. For each of the following activities, determine

PLESE ANSWER THE FOLLOWING

Page 39: Exercise 1a: Distributed Computing

Consider distributed computing as defined in this chapter. For each of the following activities, determine and explain whether it is an example of distributed computing:

Using Excel on a stand-alone personal computer

Web Surfing

Instant messaging

Compiling and testing a Cobol program on a department machine that has no network connection

Using the electronic mail on your departments computer to send a message to yourself

Using Napster.com to download music

Page 40: Exercise 2a: Concurrent Programming

Look up the online API specification for java [java.sun.com, 20]

Choose the link for the Runnable interface and then the Thread class.

Browse each carefully, reading the specifications for the methods of each.

According to the specifications, which two, Runnable interface or the Thread class, is preferred if you only intend to implement the run method? Why?

What does the Thread class method sleep do? Write the Java statement (s) that appear in the code for a thread to suspend the execution of the thread for 5 seconds.

What does the Thread class method activeCount do? What should the method return in a program where three threads are spawned?

The Thread class method stop is said to be deprecated. What is meant by a deprecated method?

How many methods are there in the Runnable interface? Name each.

How do you use the Runnable interface to create a thread? Explain.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

8th Edition

013460153X, 978-0134601533

More Books

Students also viewed these Databases questions

Question

Define Management or What is Management?

Answered: 1 week ago

Question

What do you understand by MBO?

Answered: 1 week ago

Question

What is meant by planning or define planning?

Answered: 1 week ago