C Sharp

C# Programming and ASP.NET Web Development - covers delegates, properties, boxing/unboxing, value types, control flow statements, and ASP.NET application lifecycle methods

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following is equivalent to a type safe function pointer or callback?

  1. Assembly name
  2. Delegate
  3. Set accessor
  4. Continue
  5. Private
Question 2 Multiple Choice (Single Answer)

Which of the following methods is called to determine whether the caller is authorized to access the requested resource?

  1. ProtectedData
  2. BufferResponse
  3. Application_AuthorizeRequest
  4. Application_AuthenticateRequest
  5. Application_ResolveRequest
Question 3 Multiple Choice (Single Answer)

Which of the following methods is called to release any state associated with that session?

  1. Process affinity
  2. EnableSession
  3. Application_ResolveRequest cache
  4. Application_AcquireRequest state
  5. Application_ReleaseRequest state
Question 4 Multiple Choice (Single Answer)

Which of the following accessors' body resembles that of a method, and returns a value of the property type?

  1. NNTP service
  2. Static
  3. Get accessor
  4. Set accessor
  5. Protected
Question 5 Multiple Choice (Single Answer)

In which of the following improvements in the isolation mode does isolation prevents web applications and websites from affecting the world wide web services?

  1. Strong name information
  2. WWW service
  3. Process affinity
  4. Robust performance
  5. Automated debugging
Question 6 Multiple Choice (Single Answer)

Which of the following files of .NET is used to contain configuration settings?

  1. Web.Config
  2. Global.asax
  3. ASPX
  4. DLLs
  5. Bandwidth throttling
Question 7 Multiple Choice (Single Answer)

Which of the following statements terminates the closest enclosing loop or switch statement in which it appears?

  1. Break
  2. Continue
  3. If
  4. Switch
  5. Private
Question 8 Multiple Choice (Single Answer)

When a variable of type object is converted to a value type, it is said to be

  1. anonymous type
  2. unboxed
  3. boxed
  4. array
  5. public
Question 9 Multiple Choice (Single Answer)

Which of the following types includes the primitive numeric types, enum and structs and also nullable versions of these types?

  1. Value type
  2. Reference type
  3. Anonymous type
  4. Static modifier
  5. Public
Question 10 Multiple Choice (Single Answer)

Which of the following directives facilitates code behind programming in Global.asax files?

  1. The @ application directive
  2. The @ assembly directive
  3. The @ import directive
  4. Application_UpdateRequest
  5. Execution support
Question 11 Multiple Choice (Single Answer)

Which of the following is an interface positioned between the application code and the user of that code?

  1. Version number
  2. The execution support
  3. Web service
  4. Message name
  5. Windows form
Question 12 Multiple Choice (Single Answer)

Which of the following methods is called to prepend content to the hyper text transfer protocol response?

  1. FTP service
  2. Application_PreRequestHandler Execute
  3. Application_PostRequestHandler Execute
  4. Application_UpdateRequest cache
  5. TransactionOption
Question 13 Multiple Choice (Single Answer)

Which of the following assembly manifest content's informations is used for types that are exported from the assembly?

  1. Internal
  2. Assembly name
  3. Culture
  4. Type reference information
  5. Strong name information
Question 14 Multiple Choice (Single Answer)

Which of the following statements terminates execution of the method in which it appears and returns control to the calling method?

  1. Private
  2. Static
  3. If
  4. Continue
  5. Return
Question 15 Multiple Choice (Single Answer)

Which of the following WebMethod's attributes adds a textual description to a web method?

  1. SMTP service
  2. Description
  3. MessageName
  4. CacheDuration
  5. Assembly name