Mobile Web Development with ASP.NET

Questions covering mobile web development, responsive design, CSS3 Media Queries, and ASP.NET techniques for optimizing web applications for mobile devices.

14 Questions Published

Questions

Question 1 True/False

Microsoft recommends the usage of ASP.NET Mobile Controls for development of web application for mobile devices in ASP.NET 4.0.

  1. True
  2. False
Question 2 True/False

When different set of web pages are designed for mobile devices, they do not share the configuration & session data with the desktop web pages.

  1. True
  2. False
Question 3 True/False

With the following directive in a web page designed for desktop, mobile device will never receive cached desktop web page: <%@ OutputCache Duration="60" %>

  1. True
  2. False
Question 4 Multiple Choice (Single Answer)

What is the advantage of using 51Degrees.Mobi foundation library along with WURFL project database?

  1. The response from ASP.NET web page is modified to suit a mobile device.
  2. It automatically caches the web pages specific for mobile devices to improve performance.
  3. It comes with a set of scripts to check mobile readiness of web pages.
  4. It gives more accurate / enhanced information in Request.Browser object than is available by default in ASP.NET 4.0.
Question 5 Multiple Choice (Single Answer)

What is the location in web page to hook a different master page to it?

  1. Page_PreInit handler
  2. Page_Load handler
  3. Page_Init handler
  4. Page_Unload handler
Question 6 Multiple Choice (Single Answer)

If a mobile device user is to be redirected to a mobile web page at the start of his browser session, redirect him / her in

  1. Session_Start method in code behind file of web page
  2. Application_Start method in Global.asax file
  3. Page_Init handler of web page
  4. Session_Start method in Global.asax file
Question 7 Multiple Choice (Single Answer)

How do we disable transcoders and proxy servers at mobile network operators?

  1. System.Network.DisableTranscoder()
  2. Response.Cache.SetNoTransforms()
  3. Microsoft.Network.DisableProxyServer()
  4. Request.Cache.SetNoTransforms()
Question 8 Multiple Choice (Single Answer)

Which of the following is an example of client side solution?

  1. Use different master page for mobile devices
  2. Use different Cascading Style Sheet (CSS) to layout the web page in an optimal manner on mobile device
  3. Use different web pages for mobile devices.
  4. Combination of 1 & 3
Question 9 Multiple Choice (Single Answer)

Using CSS3 Media Queries, we can

  1. Associate different business logic for mobile devices
  2. Associate different master page for mobile devices
  3. Associate different style sheet for different screensizes of mobile devices
  4. Find out the multimedia and image formats supported by a given mobile device
Question 10 Multiple Choice (Single Answer)

An optimum way of designing layouts for mobile devices is to

  1. Design for mobile device models
  2. Design for mobile device OS platform
  3. Design for mobile device screen size
  4. Design for mobile device manufacturer
Question 11 Multiple Choice (Single Answer)

If an element is affected by external style sheet, internal style sheet and inner style, which style takes precedence?

  1. External Style Sheet
  2. Inner Style
  3. Internal Style Sheet
  4. Depends on case to case basis
Question 12 True/False

Microsoft recommends the usage of ASP.NET Mobile Controls for development of web application for mobile devices in ASP.NET 4.0.

  1. True
  2. False
Question 13 True/False

When different set of web pages are designed for mobile devices, they do not share the configuration & session data with the desktop web pages.

  1. True
  2. False
Question 14 True/False

With the following directive in a web page designed for desktop, mobile device will never receive cached desktop web page: <%@ OutputCache Duration="60" %>

  1. True
  2. False