Question 3 When accessing shared data in a multithreaded environment, you do not
ID: 3704409 • Letter: Q
Question
Question 3
When accessing shared data in a multithreaded environment, you do not need to synchronize access to avoid errors or corrupted data.
Question 6
In Playland example project (WPF Images/Example Set 2.zip), there is:
myImage.Source = myBitmapImage;
myImage.Source property is System.Windows.Media.ImageSource type. ImageSource class is an abstract class, and abstract class cannot be instantiated. So this line of code is incorrect.
Question 7
mutex cannot be released once it's acquired by one thread.
Question 8
To initialize a BitmapImage created using constructor public BitmapImage (), you must perform property initialization between BeginInit (Links to an external site.)Links to an external site.and EndInit (Links to an external site.)Links to an external site. calls.
Question 9
In public Thread(ThreadStart start), ThreadStart is:
Question 10
Child elements of a Canvas are positioned at their designated coordinates, are not resizable.
False
TrueExplanation / Answer
3.Answer-:False,because when accessing shared data in a multithread environment we need to synchronize access to avoid errors or corrupted data.
6
7.Answer-:False ,mutex can be released after acquiring by one thread and after releasing waiting threads will be notify .
8.Answer-:True,you must perform property initialization between BeginInit (Links to an external site.)Links to an external site.and EndInit
9.Answer-:A ThreadStart is a delegate that represents the methods to be invoked when this thread begins execution
10.Answer-:.True, Child elements of a Canvas are not resizable and they are positioned at their designated coordinates.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.