Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

Prn221 k tín Questions plus Answers 2024

Beoordeling
-
Verkocht
-
Pagina's
72
Cijfer
A+
Geüpload op
06-08-2024
Geschreven in
2024/2025

Prn221 k tín Questions plus Answers 2024 ter Property="Foreground" Value="Green"/ Setter Property="FontSize" Value="20"/ /Style /Window.Resources StackPanel Margin="10" TextBlockWPF/TextBlock TextBoxNET/TextBox /StackPanel /Window A. Set foreground is Green and FontSize is 20 for textBlock controls

Meer zien Lees minder
Instelling
Vak

Voorbeeld van de inhoud

Prn221 k tín Questions plus Answers 2024



1. 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: A
2. 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: A
3. Which of the following statements related to the Parallel Computing is True? Statement 1: Parallel
computing is the use of multiple processing elements




, Prn221 k tín Questions plus Answers 2024



simultaneously for solving any problem
Statement 2: In Parallel computing problems are broken down into instruc- tions 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: A
4. 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.: A
5. 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){


, Prn221 k tín Questions plus Answers 2024



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);
}
}: A
6. 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();
}
}
Which one of the following is the output of the above code?
A. Default HTTP port 80
IsBaseOf: True
B. Default HTTP port 80
IsBaseOf: False
C. Compile time error
D. A run time exception will be thrown: B
7. Which of the following statements related to Task Parallel Library (TPL) is true?
A. By using TPL, we can maximine the performance of our code while focusing on the work that our program is
designed to accomplish.
B. The Task Parallel Library (TPL) is a set of public types and APIs in the system TPL and
system.Threading.Task namespaces
C. The purpose of the TPL is to make developer more productive by simplifying the process of serial computing
of applications
D. All of the others.: D





, Prn221 k tín Questions plus Answers 2024



8. Choose the correct statement about UIElement on the WPF types
A. That is a class adds the basic functionality of layout, input, focus and event to UI element and set the basic
foundation of the layout process
B. That is a class extends the functionality provided by the UIElement and override the layout framework
level implementations
C. That is a class is the base class for shape elements like Line, Elipse, Polygon, etc
D. None of the others: A
9. ASP.NET Core SignalR support two protocols for encoding message. Each protocol has serialization
configuration options. Please choose the correct protocols.
A. JSON and MessagePack
B. BSON and MessagePack
C. JSON and BSON
D. JSON and XML: A
10. Which of the following ways can be used to implement Background Task?
A. Inheriting BackgroundService class
B. Implementing Iservice Interface
C. Inheriting background task class
D. Implementing IserviceTask interface Answer: gg k
thay: A
11. 23. which if the following is a valid XML Document?
A. <?xml version="1.0" encoding="UTF-8"?>
<Orders>
<Order Id="001">
<Customer>David &amp; Jason</Customer>
<Order>
<Orders>
B. <?xml version="1.0" encoding="UTF-8"?>
<Orders>
<Order Id="001">
<Customer>David & Jason</Customer>
<Order>
<Orders>
C. <?xml version="1.0" encoding="UTF-8">
<Orders>
<Order Id="001">
<Customer>David &amp, Jason</Customer>

Geschreven voor

Vak

Documentinformatie

Geüpload op
6 augustus 2024
Aantal pagina's
72
Geschreven in
2024/2025
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$11.49
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
Certifiedacademics

Ook beschikbaar in voordeelbundel

Maak kennis met de verkoper

Seller avatar
Certifiedacademics Chamberlain College Of Nursing
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
3
Lid sinds
2 jaar
Aantal volgers
1
Documenten
327
Laatst verkocht
2 maanden geleden
Online library

Get all your study sets here from exam elaboration, thesis to homeworks.

0.0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen