100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
PRN 292 Full Test Bank | Questions with complete solutions $28.49   Add to cart

Exam (elaborations)

PRN 292 Full Test Bank | Questions with complete solutions

 0 view  0 purchase
  • Course
  • PRN 292
  • Institution
  • PRN 292

PRN 292 Full Test Bank | Questions with complete solutions Unlike const however, read-only fields are NOT______ A. explicitly internal B. explicitly static C. implicitly static D. implicitly internal What can be signature of an application's entry point? A. public static void Main(string s){} B. ...

[Show more]

Preview 4 out of 72  pages

  • September 19, 2024
  • 72
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • PRN 292
  • PRN 292
avatar-seller
NurseHenny
PRN 292 Full Test Bank


Unlike const however, read-only fields are NOT______

A. explicitly internal

B. explicitly static

C. implicitly static

D. implicitly internal

What can be signature of an application's entry point?

A. public static void Main(string s){}

B. public static void main() {}

C. public static void Main() {}

D. public static void Main(int n) {}

Web service technology is based on?

A. SOAP and TCP/IP

B. TCP/IP and UDP

C. UDP and XML

D. XML and SOAP

Which sentence is correct?

A. The method on which a delegate makes calls cannot have any arguments.

B. A delegate must define name of the method on which it makes calls.

C. The method on which a delegate makes calls cannot have return type.

_______is .NET equivalent of Java Virtual Machine (JVM).

A. CLS

,B. CTS

C. CLR

D. Base Class Library

What is output of the following code?
(see picture)

class Animal{
public void Display(){
System.Consoie.WriteLine("Display of Animal class");
}
class Mammal : Animal
{
public new void Display()
{
base.Display():
System.Consoie.WriteLine("Display of Mammal class");
}
static void Main(string[] args)
{
Mammai m1 = new Mammal();
m1.Display();
}
}

A. Display of Mammal class

B. Display of Animal class

C. Compile error

D. Display of Animal class

The scope of a variable runs from the point of declaration to the end of the

A. method.

B. enclosing block.

C. application.

D. class.

,Which is the most suitable statement to fill the missing code (line 12), if you want to
build an in-house XML Web service?

//All necessary namspaces have already been used.

// Consider the following piece of code:

[WebService(Description = "The Calculator Web Service",
Name = "CalculatorWebService")]

//missing code // line 12

public class Service : System.Web.Services.Webservice
{
[WebMethod(Description = "Subtracts two integers.")]
public int Subtract(int x, int p] { return x - y;}
[WebMethod(Description = "Adds two float.", MessageName = "AddFloat")]
public float add(float x, float y) { return x + y;}
[WebMethod(Description = "Adds two integers.", MessageName = "AddInteger")]
public int add(int x, int y) { return x + y;}}


A. [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]

B. [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1,
EmitConformanceClaims = false)]

C. [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1,
EmitConformanceClaims = true)]

D. [WebServiceBinding(ConformsTo = WsiProfiles.None, EmitConformanceClaims =
false)]

Which sentence about the C# class types is correct?

A. C# classes can define some constructors.

B. C# classes can define any number of destructors.

C. C# classes can define only one constructor.

D. C# classes do not support destructors.

Which type is a handy programming construct that allows to group name/value pairs?

A. Enumeration.

, B. Class.

C. Delegate.

D. Interface.

What is output of the following code?

using System;
class Program
{
delegate void Display();
static void Main()
{
Display d1 = new Display(DisplayHello);
d1();
}
static void DisplayHello()
{
Console.WriteLine("Hello");
}
}

A. Hello

B. Compile error at line: delegate void Display();

C. Compile error at line: d1();

D. Runtime error

An assembly consists of Assembly Metadata, Type Metadata, ______and______

A. Classes and IL Code

B. Type Declaration and Resources

C. Resources and Classes

D. IL Code and Resources
In Windows Forms applications, ____ property is used to get or set a value that is
returned to the parent form when the button is clicked.

A. ButtonValue

B. ResultDialog

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

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

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