Computer Science > EXAM > PRN 221 Any% SPEEDRUN Ver 3.0 - Questions and Answers (All)
PRN 221 Any% SPEEDRUN Ver 3.0 - Questions and Answers Choose the correct answer about ASP.NET SignalR. a. SignalR also provides a very simple, high-level API for doing server to client RPC in your AS ... P.NET application, as well as adding useful hooks for connection management, for example connect/disconnect events, grouping connections, authorization. b. ASP.NET SignalR is a new library for ASP.NET developers that makes it incredibly simple to add real-time web functionality to your applications. c. All of the others. d. SignalR can be used to add any sort of "real-time" web functionality to your ASP.NET application. What is not property of the System.Threading.Tasks.Task class a. IsCompleted b. IsCanceled c. IsCorrected d. Status e. CompletedTask Choose the correct statement related to the WebResponse Class a. The WebResponse class is the abstract base class from which protocol-specifi c response classes are derived b. Applications can participate in request and response transactions in a protocol-agnostic manner using instances of the WebResponse class c. All of the others d. Client applications do not create WebResponse objects directly, they are created by calling the GetResponse method on a WebRequest instance SignalR provides two models for communicate between clients and severs: Persistent Connections, Hubs. Choose the correct information about Persistent Connections. a. Persistent Connections provide a High-level API for the client and server to call each other's method. It will be very familiar to those developers who have worked on remote invocation APIs. b. Persistent Connections provide direct access to a low-level communication protocol that signalR provides. Each client connection to a server is identifi ed by a connectionID. c. None of the others. d. If you have multiple types of messages that you want to send between a server and a client then it is recommended to use Persistent Connections so you do not need to do your own dispatching. Which of the following statements related to the Inversion of Control (IoC) is True? a. None of the others b. All of the others c. It is used to invert diff erent kinds of controls in object-oriented design to achieve high coupling d. It makes the application diffi cult to test and maintain e. It is a design principle Which of the following statements related to the Dependency Inversion Principle is True? A. High-level modules should not depend on low-level modules; both should depend on abstract Abstractions should not depend on details. Details should depend upon abstractions B. Low-level modules should depend on high-level modules; both should depend on abstract C. High-level modules should depend on low-level modules; both should depend on abstract Abstractions should depend on details. Details should not depend upon abstractions D. All of the others Choose the correct statement related to processor configurations and the number of tasks they perform in the Hyper-threading (HT) technology A. A single processor with a single-core chip: One task at a time B. A single processor with an HT-enabled single-core chip: Four tasks at a time C. A single processor with an HT-enabled dua-core chip: Eight tasks at atime D. None of the others Which of the following methods of the Background task can be triggered when the application start? A. StartAsync(CancellationToken) B. BeginAsync(CancellationToken) C. ExecuteAsync(CancellationToken) D. None of the others Which of the following properties of the Task class can be used to get a value that indicates has been completed? A. IsCompleted B. IsFinished C. IsTaskDone D. IisCompletedTask Choose the correct information for two common handler methods for Razor Pages A. OnGet to initialize state needed for the page. OnPost to handle form submissions B. OnPost to initialize state needed for the page. OnPut to handle form submissions C. OnGet to initialize state needed for the page. OnPut to handle form submissions. D. OnGet to get state needed for the page. OnPost to initialize form submissions What is the main problem of Mono-Processor Systems? A. von Neumann's Bottileneck problem B. Cost problem C. Heat dissipation problem D. None of the others public class Order{ public int Orderld { get, set, } public double Total get, set,} class Program{ static void Main(stringl] args string order Json= @'T Orderld.1,iTotal10.5), Orderld-2Tota 20.5) var orders JsonSerializer Deserialize<List<Orderp>(orderJson) Console. Writel.ine(S"%orders.Count):{orders.Sum(o=>o.Total))) Console.ReadKey( Which one of the following is the output of the above code? A. 2:31 B. 2:10.5 C. 2:20.5 D. 2:30 Suppose that you create a folder named Products (in Pages folder of ASP NET Core Web A add a file named "Index.cshtml' to it, choose the correct route(s). A. Products" "Products/Index" B. Products", "Index/Products" C. "Index/Products", "Products/Index" D. None of the others [Show More]
Last updated: 2 years ago
Preview 1 out of 34 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
PRN 221 Any% SPEEDRUN Ver 3.0| PRN 221 Any% SPEEDRUN Ver 2.0| PRN 221 Any% SPEEDRUN
By Nurse Henny 2 years ago
$25
3
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Aug 04, 2023
Number of pages
34
Written in
All
This document has been written for:
Uploaded
Aug 04, 2023
Downloads
0
Views
119
Scholarfriends.com Online Platform by Browsegrades Inc. 651N South Broad St, Middletown DE. United States.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·