Exam 23: Asynchronous Programming With Async and Await

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

WebClient's ________ method terminates its executing asynchronous task.

(Multiple Choice)
4.9/5
(34)

If a long-running calculation were to be performed synchronously in a GUI app,________.

(Multiple Choice)
4.8/5
(35)

Executing asynchronous methods in separate threads on a dual-core computer typically ________ executing the same tasks sequentially.

(Multiple Choice)
4.9/5
(37)

________ programming is a technique for writing apps containing tasks that can execute asynchronously,which can improve app performance and GUI responsiveness in apps with long-running or compute-intensive tasks.

(Multiple Choice)
4.8/5
(38)

Task property ________ returns the value returned by a Task.

(Multiple Choice)
4.8/5
(35)

A MethodInvoker (namespace System.Windows.Forms)is a ________.

(Multiple Choice)
4.9/5
(31)

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.9/5
(31)

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.7/5
(33)

When you await a Task,if that Task has already completed,execution simply continues.Otherwise,control returns to ________ until the result of the Task is available.Once the Task completes,the async method continues execution.

(Multiple Choice)
4.9/5
(37)

Class WebClient's ________ method starts a new Task<string> in a separate thread and uses the URL specified as the method's string argument to request information from a web server.

(Multiple Choice)
4.9/5
(37)

A ListBox's ________ property indicates the source of the data that populates the ListBox's Items collection.

(Multiple Choice)
4.7/5
(34)

Today's ________ computers,smartphones and tablets enable computers to perform tasks truly concurrently.

(Multiple Choice)
4.8/5
(33)

Handling short computations in the GUI thread ________.

(Multiple Choice)
4.7/5
(44)

An async method can perform other statements between those that launch an asynchronous Task and await the Task's results.In such as case,the method continues executing those statements after launching the asynchronous Task until it reaches ________.

(Multiple Choice)
4.8/5
(37)

Tasks that proceed independently of one another are said to execute ________ and are referred to as ________ tasks.

(Multiple Choice)
4.7/5
(38)
Showing 21 - 35 of 35
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)