Searching for "synchronization"

Q:

How does thread synchronization occurs inside a monitor?

Answer

A Monitor defines a lock and condition variables for managing concurrent access to shared data. The monitor uses the lock to ensure that only a single thread inactive in the monitor code at any time.


A monitor allows only one thread to lock an object at once.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

Q:

You want to configure synchronization settings for your office files. Which tool should you use?

A) Folder options B) Scheduled Tasks
C) Windows Explorer D) System Information
 
Answer & Explanation Answer: C) Windows Explorer

Explanation:

Use Windows explorer to configure a synchronization schedule for offline files. (Select Tools => Synchronize to start this process.) You can also access the same synchronization tool by selecting Start => Programs => Accessories => Synchronize.

Report Error

View Answer Report Error Discuss

Q:

Why synchronization?

Answer

When ever two or more threads are sharing same data for updating then unpredicted result will be there in the data.


For Example take a thread is depositing amount in Account Object and another thread is withdrawing amount from the same Account Object.


when ever both threads are executed simultaneously then unexpected result is stored in the balance of the  Account Object. 

Report Error

View answer Workspace Report Error Discuss

Subject: Java

Q:

Explain how synchronization takes place with Blackberry Technology .

Answer

The handheld device is used as a network device, which always connected to the data account of the user via redirector software. The software is installed on the BlackBerry Enterprise Server. The communication between the software, BE Server and the hand held device’s software is always a two-way street. BES immediately updates the mobile device or the email or the calendar account, whenever a change in email account occurs.

The push technology of BlackBerry keeps the device instantly in “synch” without any effort by the user. 

Report Error

View answer Workspace Report Error Discuss

Q:

What is synchronization and why is it important ?

Answer

With respect to multithreading, synchronization is the capability to control the access of multiple threads to shared resources. Without synchronization, it is possible for one thread to modify a shared object while another thread is in the process of using or updating that object's value. This often leads to significant errors.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

Q:

A manager in your office received a new Windows 2000 Professional laptop computer. You have been asked to configure offline files for the manager to work on documents at home. You enable offline files, and have the manager log off of the network. During the logoff process, the expected synchronization of offline files does not occur. You have the manager log back on to the network. What can you do to correct the problem?

A) Enable file and print sharing. When the manager logs off, the files will synchronize. B) Manually synchronize all offline files.
C) On the server, make all files available offline. When the manager logs off, the files will synchronize. D) Do nothing. Windows 2000 Professional does not tell you when Synchronization happens.
 
Answer & Explanation Answer: C) On the server, make all files available offline. When the manager logs off, the files will synchronize.

Explanation:
Report Error

View Answer Report Error Discuss

Q:

What is process synchronization?

Answer

A situation, where several processes access and manipulate the same data concurrently and the outcome of the execution depends on the particular order in which the access takes place, is called race condition. To guard against the race condition we need to ensure that only one process at a time can be manipulating the same data. The technique we use for this is called process synchronization.

Report Error

View answer Workspace Report Error Discuss