Discover
Questions library
Collections library
Find online teacher
login
Discover
questions library
Find online teacher
login
Popular searches:
if-else
class-diagram
flowchart
Polymorphism
Home
Questions
Questions
Study lists
Asmaamasry Questions
705 Questions
(Combine colliding bouncing balls) Rewrite Programming Exercise 20.5 using a thread to animate bouncing ball movements
Java programming
2022-07-02
Answers
30
Question
40
Followers
30
0
0
160
(Sudoku search animation) Modify Programming Exercise 22.21 to display the intermediate results of the search
Java programming
2022-07-02
Answers
30
Question
40
Followers
30
0
0
230
(Sorting animation) Write an animation for selection sort, insertion sort, and bubble sort, as shown in Figure 30.31
Java programming
2022-07-02
Answers
30
Question
40
Followers
30
0
0
273
(Parallel Eight Queens) Revise Listing 22.11, EightQueens.java, to develop a parallel algorithm that finds all solutions for the Eight Queens problem. (Hint: Launch eight subtasks, each of which places the queen in a different column in the first row.)
Java programming
2022-07-02
Answers
30
Question
40
Followers
30
0
0
206
(Parallel matrix multiplication) Programming Exercise 7.6 describes how to perform matrix multiplication. Suppose you have multiple processors, so you can speed up the matrix multiplication. Implement the following method in parallel
Java programming
2022-07-02
Answers
30
Question
40
Followers
30
0
0
196
(Parallel matrix addition) Programming Exercise 8.5 describes how to perform matrix addition. Suppose you have multiple processors, so you can speed up the matrix addition. Implement the following method in parallel
Java programming
2022-07-02
Answers
30
Question
40
Followers
30
0
0
191
(Parallel sum) Implement the following method using Fork/Join to find the sum of a list
Java programming
2022-07-02
Answers
30
Question
40
Followers
30
0
0
163
(Parallel quick sort) Implement the following method in parallel to sort a list using quick sort (see Listing 23.7)
Java programming
2022-07-02
Answers
30
Question
40
Followers
30
0
0
199
(Generic parallel merge sort) Revise Listing 30.10, ParallelMergeSort.java, to define a generic parallelMergeSort method as follows
Java programming
2022-07-02
Answers
30
Question
40
Followers
30
0
0
147
Parallel array initializer) Implement the following method using the Fork/ Join Framework to assign random values to the list
Java programming
2022-07-02
Answers
30
Question
40
Followers
30
0
0
169
(Demonstrate deadlock) Write a program that demonstrates deadlock
Java programming
2022-07-02
Answers
30
Question
40
Followers
30
0
0
151
(Use synchronized sets) Using synchronization, correct the problem in the preceding exercise so that the second thread does not throw a ConcurrentModificationException
Java programming
2022-07-02
Answers
30
Question
40
Followers
30
0
0
155
Demonstrate ConcurrentModificationException) The iterator is failfast. Write a program to demonstrate it by creating two threads that concurrently access and modify a set
Java programming
2022-07-02
Answers
30
Question
40
Followers
30
0
0
200
Total:
705
Previous
27
28
29
30
31
Next
Go