Exam 23: Asynchronous Programming With Async and Await
Exam 1: Introduction to Computers, the Internet and Visual C#49 Questions
Exam 2: Dive Into Visual Studio Community25 Questions
Exam 3: Introduction to C# Apps41 Questions
Exam 4: Introduction to Classes,Objects,Methods and Strings50 Questions
Exam 5: Control Statements: Part 194 Questions
Exam 6: Control Statements: Part 266 Questions
Exam 7: Methods: a Deeper Look95 Questions
Exam 8: Arrays;Introduction to Exception Handling90 Questions
Exam 9: Introduction to Linq and Generic Collections27 Questions
Exam 10: Classes and Objects: A Deeper Look79 Questions
Exam 11: Object-Oriented Programming: Inheritance51 Questions
Exam 12: Object-Oriented Programming: Polymorphism62 Questions
Exam 13: Exception Handling: A Deeper Look58 Questions
Exam 14: GUI With Windows Forms: Part 164 Questions
Exam 15: GUI With Windows Forms: Part 273 Questions
Exam 16: Strings,Characters and Regular Expressions92 Questions
Exam 17: Files and Streams39 Questions
Exam 18: Searching and Sorting19 Questions
Exam 19: Data Structures28 Questions
Exam 20: Generics22 Questions
Exam 21: Collections35 Questions
Exam 22: Databases and LING25 Questions
Exam 23: Asynchronous Programming With Async and Await37 Questions
Exam 24: XML72 Questions
Exam 25: GUI With Windows Presentation Foundation60 Questions
Select questions type
Executing asynchronous methods in separate threads on a dual-core computer typically ________ executing the same tasks sequentially.
Free
(Multiple Choice)
4.8/5
(43)
Correct Answer:
C
In effect,an async method allows you to write code that looks like it executes ________,while the compiler deals with the complicated issues of managing asynchronous execution.
Free
(Multiple Choice)
4.7/5
(34)
Correct Answer:
C
You cannot bind a LINQ query's result directly to a ListBox.You must first ________.
Free
(Multiple Choice)
4.8/5
(33)
Correct Answer:
C
Task static method ________ enables you to wait for any one of several Tasks specified as arguments to complete-the method returns the Task that completes first.
(Multiple Choice)
4.8/5
(42)
When an async method encounters an await expression: If the asynchronous task has already completed,________.
(Multiple Choice)
4.9/5
(27)
Enumerable static method ________ creates a list of elements containing the first argument's value.The length of the list is specified by the second argument.
(Multiple Choice)
4.8/5
(32)
The mechanisms for determining whether to return control to the async method's caller or continue executing the async method,and for continuing the async method's execution when the asynchronous task completes are handled by ________.
(Multiple Choice)
4.9/5
(32)
Today's ________ computers,smartphones and tablets enable computers to perform tasks truly concurrently.
(Multiple Choice)
5.0/5
(37)
Task property ________ returns the value returned by a Task.
(Multiple Choice)
4.9/5
(30)
The async ________ and await _________ greatly simplify asynchronous programming,reduce errors and enable your apps to take advantage of the processing power in today's multicore computers,smartphones and tablets.
(Multiple Choice)
4.7/5
(35)
An app that performs synchronous tasks on a single-core computer often takes longer to execute than on a multi-core computer,because ________.
(Multiple Choice)
4.8/5
(35)
Because ________,asynchronous Tasks are frequently used in GUI apps that invoke web services (or perform network communication in general)to ensure that the apps remain responsive.
(Multiple Choice)
4.8/5
(38)
Visual C# apps can have multiple threads of execution,where each thread has its own ________ stack,allowing it to execute concurrently with other threads while sharing with them application-wide resources such as memory and processors.This capability is called multithreading.
(Multiple Choice)
4.9/5
(27)
WebClient's ________ method terminates its executing asynchronous task.
(Multiple Choice)
4.9/5
(33)
The async modifier indicates that a method or ________ expression contains at least one await expression.
(Multiple Choice)
4.8/5
(31)
Class Task is part ofNET's Task Parallel Library (TPL)for asynchronous programming.Task static method Run receives a ________ as an argument and executes a method in a separate thread.The method returns a Task< TResult > where TResult represents the type of value returned by the method being executed.
(Multiple Choice)
4.8/5
(29)
The async and await mechanism does not create new threads.The method that you call to start an asynchronous task on which you ________ the results is responsible for creating any threads that are used to perform the asynchronous task.
(Multiple Choice)
4.8/5
(31)
Only computers that have ________ can truly execute multiple asynchronous tasks concurrently.
(Multiple Choice)
4.8/5
(27)
Showing 1 - 20 of 37
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)