100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CSE 445 Midterm MEGASET (Answered) 625 Questions and Correct Answers, 100% Correct. Latest 2024/2025. $17.49   Add to cart

Exam (elaborations)

CSE 445 Midterm MEGASET (Answered) 625 Questions and Correct Answers, 100% Correct. Latest 2024/2025.

 3 views  0 purchase
  • Course
  • Institution

CSE 445 Midterm MEGASET (Answered) 625 Questions and Correct Answers, 100% Correct. Latest 2024/2025.

Preview 4 out of 68  pages

  • November 4, 2024
  • 68
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
avatar-seller
CSE 445 Midterm MEGASET (Answered)
625 Questions and Correct Answers,
100% Correct. Latest 2024/2025.
In what WSDL element is the URL of a Web service stored?

port

When converting a WSDL service into a RESTful service, what files need to be modified? Select all
that apply.

- Service.svc
- Service.cs
- IService.cs
- Web.config

- Service.svc
- IService.cs
- Web.config

When calling a RESTful service, where should the parameter value be placed?

in URL

A service is defined through a class. What WSDL element corresponds to the method name in the
class?

operation

Web Service Description Language (WSDL) is used for

defining the interface of services.

A tModel in UDDI describes the

type of a group of web services

1. What is the main function of the IIS worker process?

2. What is the main function of the Web Administration Service (WAS) in IIS?

1. Executing Web services and Web applications as its threads.

2. Register Web services and Web applications into the registry.

To develop a WSDL/SOAP service testing tool, what is the best way to call the service under test?

Use dynamic proxy.

What kind of testing technique is typically used for web service testing?

black-box testing

,How can the data stored in ViewState variable of one page be accessed by another page?

First post it back to server and then send it to the other page.

Consider the code behind a button "Add to Sum", which accumulates all the numbers entered. What
variable can maintain the state (the accumulated sum) of the program for the next Web request?

protected void btnAddSum_Click(object sender, EventArgs e) {
Int32 sum = 0;
if(ViewState["Sum"] == null) ViewState["Sum"] = 0;
else {
Int32 newValue = Convert.ToInt32(this.txtEnterValue.Text);
sum = (Int32) ViewSate["Sum"] + newValue;
ViewState["Sum"] = sum;
this.lblDisplaySum.Text = sum.ToString();
}
}

ViewState["Sum"]

How does a client bind to a RESTful service?

Always dynamically

What kinds of remotable objects exist in .Net environment? Select all that apply.
- Marshal-by-delegate bag.
- Marshal-by-value objects.
- Marshal-by-interface virtual object.
- Marshal-by-reference objects.

- Marshal-by-value objects.
- Marshal-by-reference objects.

The key function of AJAX programming is to allow

partial data refreshing and making the Web page more responsive.

Which of the following components in a Java SOC development environment is responsible for
hosting the execution of a Web service?

Tomcat

Java Remote Method Invocation (RMI) is used for creating distributed applications using

Marshal-by-reference

What are the key differences between a Remote Procedure Call (PRC) and a Web Service Invocation
(WSI)? Select all that apply.

- PRC is platform-dependent; WSI is platform-independent.
- PRC uses one-way asynchronous communication; WSI uses two-way synchronous communication.
- WSI is a special case of RPC.
- PRC is tightly couples; WSI is loosely coupled

,- PRC is platform-dependent; WSI is platform-independent.

- PRC is tightly couples; WSI is loosely coupled.

Software integration typically deals with software packages

from different vendors

A system is a collection of interconnected components defined at these levels: (Select all that apply)

-Architecture, -Interface, -Behavior

The endpoints in ASMX and in WCF services are different at programming language level. However,
they are the same at the service level. Their interfaces are both described in

WSDL

When creating a self-hosting service, the library class ServiceMetadataBehavior is used for

adding and enabling HTTP GET.

What part of the C# code is used for defining the service contract in the WCF endpoint?

interface

What are the main reasons of using self-hosting for WCF services, instead of using server hosting?
Select all that apply.

-Increased flexibility in starting and closing a service
-Reduced overhead in managing the services.

What project template we use for creating the self-hosting service?

-Console Application

What level of behaviors deals with creating multiple instances of a service to process requests?

Service behaviors

What is the benefit of using asynchronous calls, instead of using synchronous calls?

Asynchronous calls do not block the callers.

What binding protocol is used for exposing a service RESTful services, instead of SOAP services?

WebHttpBinding

What type of service instances in WCF allows data sharing among different clients (different
sessions) of a service?

Single

Given a function:
int foo(int x, int y);
What is the appropriate way of expressing the function for asynchronous calls?

void foo(int x, int y, out int z);

Which of the following statements are correct about HTTP?

, -HTTP is Stateless, -HTTP messages are always two ways

What data formats does a WCF RESTful service support to return a set of data items? Select all that
apply.

-JSON, -RSS

When we convert a SOAP service to a RESTful service in WCF, what must be removed?

The endpoint

What is the application level protocol employed in RESTful services?

HTTP

A sidecar in a service mesh is

a proxy to a microservice service.

What is NOT a part of a WCF endpoint?

messageType

What are the main reasons of paradigm shift from object orientation to service orientation? Select
all that apply.

-Internet provisioning of services, -Interoperability among different platforms

What concept of service orientation involves most detail?

Service-Oriented Development

The synchronous communication between the client and server requires

the client to block-wait for the response.

How are asynchronous communications implemented in WCF? Select all that apply

-A one-way call from client to server, and an independent call back from the server, -A pair of one-
way calls from the client to server.

What template cannot be used for developing a client to consume a WCF service?

WCF

In what WSDL element is the "address" part of a WCF endpoint contained?

port

The standards and protocols SOAP, WSDL, UDDI and XML are mostly related to

Web services

In the layers of behaviors in WCF services:
(1) What layer is in charge of inspecting and taking actions on incoming and outgoing messages?
Choose one: Endpoint behaviors
(2) What layer is in charge of implementing a stateful service? Choose one: Service behaviors

-Endpoint behaviors, -Service Behaviors

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 ACADEMICAIDSTORE. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

80796 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
$17.49
  • (0)
  Add to cart