100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
PRN 221 tín 1 EXAM QUESTIONS AND ANSWERS $11.49   Add to cart

Exam (elaborations)

PRN 221 tín 1 EXAM QUESTIONS AND ANSWERS

 1 view  0 purchase
  • Course
  • PRN 221 tín 1
  • Institution
  • PRN 221 Tín 1

PRN 221 tín 1 EXAM QUESTIONS AND ANSWERS...

Preview 3 out of 19  pages

  • October 23, 2024
  • 19
  • 2024/2025
  • Exam (elaborations)
  • Unknown
  • PRN 221 tín 1
  • PRN 221 tín 1
avatar-seller
luzlinkuz
PRN 221 tín 1 EXAM QUESTIONS AND ANSWERS




what is the following style tag used for?
<Window x:Class="fe.MainWindow"
Title="MainWindow" Height="200" Width="300">
<Window.Resources>
<Style TargetType="TextBlock">
<Setter Property="Foreground" Value="Green"/>
<Setter Property="FontSize" Value="20"/>
</Style>
</Window.Resources>
<StackPanel Margin="10">
<TextBlock>WPF</TextBlock>
<TextBox>NET</TextBox>
</StackPanel>
</Window>
A. Set foreground is Green and FontSize is 20 for textBlock controls
B. Set foreground is Green and FontSize is 20 for textBock controls
C. Set foreground is Green and FontSize is 20 for controls
D. Set background is Green and FontSize is 20 for controls - ANSWER
A

public record Order{
Public int OrderId {get; set}
Public string OrderDate{get; set}
}
Class Program{
Static void Main(string[] args){
List<Order> orders = new List<Order>{
New Order{OrderId=1, OrderDate="12/5/2030"};
}
Var orderJson = JsonSerializer.Serilize(order);
Console.WriteLine($"orderJson");
Console.ReadKey();
}

,}
Which one of the following is the output of the above code?
A. [{"OrderId":1, "OrderDate":"12/5/2030"}]
B. {"OrderId":1, "OrderDate":"12/5/2030"}
C. ["OrderId":1, "OrderDate":"12/5/2030"]
D. An exception will be thrown - ANSWER A

Which of the following statements related to the Parallel Computing is
True?
Statement 1: Parallel computing is the use of multiple processing
elements simultaneously for solving any problem
Statement 2: In Parallel computing problems are broken down into
instructions and are solved concurently as each resource that has been
applied to work is working at the same time
A. Statement 1 and 2
B. Statement 1
C. Statement 2
D. None of the others - ANSWER B

Javascript clients of signalR application call public method on hubs via
the invoke method of the hubConnection. The invoke method accepts
the name of the hub method and any argument defined in the hub
method.
Support that you already have define the following code:
Var connection = new signalR.HubConnectionBuilder()
.withUrl("/chatHub")
.create();
Connection.start();
Which of the following codes you can call "invoke" method?
A. Try {
Await connection .invoke("SendMessage", user, message);
}catch(err){
Console.error(err);
}
B. Try {
Await connection .invokeuser, message, ("SendMessage");
}catch(err){
Console.error(err);

, }
C. None of the others.
D. All of the others. - ANSWER A

A hub is a class the server as a high level pipeline that handler client
server communication. Create a SignalR for your application by adding a
class name Chathub that inherits from
Microsoft.AspNetCore.SignalR.hub.
A. public class ChatHub: Hub{
Public async task SendMessage(string user, string message){
Await Client.AllSendAsync("ReceirveMessage", user, message);
}
}
B. public class Hub: ChatHub{
Public async task SendMessage(string user, string message){
Await Client.AllSendAsync("ReceirveMessage", user, message);
}
}
C. public class ChatHub: IHubContext{
Public async task SendMessage(string user, string message){
Await Client.AllSendAsync("ReceirveMessage", user, message);
}
}
D. public class ChatHub: IHub{
Public async task SendMessage(string user, string message){
Await Client.AllSendAsync("ReceirveMessage", user, message);
}
} - ANSWER A

class Program {
Static void main (string[] args){
Uri info = new Uri("http://www.domain.com.80/Info?id=123");
Uri page = new Uri(("http://www.domain.com/info/page.html");
Console.WriteLine($"default HTTP port: {page post}");
Console.WriteLine($"IsBaseOf: {info.IsBaseOf(page)");
Console.ReadKey();
}
}

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller luzlinkuz. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $11.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75057 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$11.49
  • (0)
  Add to cart