Mobile Web Authoring MCQs

Mobile Web Authoring MCQs

Our experts have gathered these Mobile Web Authoring MCQs through research, and we hope that you will be able to see how much knowledge base you have for the subject of Mobile Web Authoring by answering these 40 multiple-choice questions.
Get started now by scrolling down!

1: Which of the following statements is/are true regarding XHTML Mobile Profile?

A.   XHTML Mobile Profile is case-insensitive.

B.   All empty tags in XHTML must be self-closing.

C.   Each href attribute must be enclosed within quotation marks.

D.   Mobile Browsers do not support cookies.

E.   The align element of the input element is not supported in XHTML Mobile Profile.

2:

What is the advantage of adding the following code in the of Mobile Web Applications?

A.  

It helps create a cache.


B.  

It creates different views in the mobile screen.


C.  

It helps set the desired screen size.

D.  

It helps index the page for the search engine crawlers.


3: What will happen if a line break is inserted in the marquee text?

A.   The speed of scroll will decrease to half.

B.   The marquee text will overflow.

C.   The line break will cause the browser to ignore the marquee text.

D.   The line break will have no effect on the text.

A.   To make the links more attractive

B.   To make links visible in the absence of a pointing device

C.   Because mobile browsers do not allow links without underlining.

D.   None of the above

5:

Is the following statement true or false?

In XHTML Mobile Profile, the

    ,
      , and
    • elements support the type attribute.

A.  

True

B.  

False 

A.   Focus based method

B.   Pointer based method

C.   Touch based method

D.   None of the above

7: What is the default formatting of the em element in XHTML Mobile Profile?

A.   normal

B.   bold

C.   italic

D.   monospace

8: Which of the following is correct regarding CSS in mobile widgets?

A.   font-size and font-color are not supported.

B.   font-style variants normal, bold, and italic are typically supported.

C.   CSS opacity is not supported in WRT.

D.   The tag is supported in WRT.

A.   20 kilobytes

B.   10 kilobytes

C.   25 kilobytes

D.   None of the above

10:

What will happen if the attribute selector is being matched as:

      [att~=val]

A.  

It will match when element att value is exactly val.


B.  

It will match when element att value is not equal to val.


C.  

It will match when element att value is a white, space-separated list of words, one of which is exactly val.

D.  

It will match with element att irrespective of its value.


11: Which of the following style elements has the highest priority in the cascading rules?

A.   Default style sheet of the browser

B.   Style element in the document head

C.   External style sheet

D.   All elements have the same priority.

E.   It depends on the mobile browser.

12:

What will happen if the following style is applied to a span?

span[hello="Debra"][goodbye="Sherry"] { color: blue; }

A.  

The selector will match all span elements whose hello attribute has exactly the value Debra AND whose goodbye attribute has exactly the value Sherry.  

B.  

The selector will match all span elements whose hello attribute has exactly the value Debra OR whose goodbye attribute has exactly the value Sherry.    


C.  

All span elements that have hello as an attribute will have their value set to Debra, and all elements that have goodbye as an attribute will have their value set to Sherry.


D.  

None of the above will occur if the given style is applied to a span.


13:

If you want to center align the text of a paragraph, which of the following style rules will be applied?

Text Here

A.  

h1#abc { text-align: center }


B.  

*#abc { text-align: center }

C.  

#abc { text-align: center }


D.  

id:abc { text-align: center }


14: What is the advantage of specifying the width and height of an image using XHTML?

A.   It decreases the load time of the web page.

B.   It ensures the proper placement of the image on the web page.

C.   It helps to the page load before the images become visible.

D.   It has no affect.

15:

What will happen if a user follows the anchor below?

XYZ

A.  

The user will be prompted to save a number to his/her contact list.


B.  

The user will be prompted to make a call. 

C.  

The user will be prompted to delete the number from the contact list.


D.  

No action will be performed.

16: Which of the following image extensions should be used when creating mobile applications?

A.   .gif

B.   .wbmp

C.   .bmp

D.   .png

17: Which of the following elements is/are available in XHTML Mobile Profile but not in XHTML basic?

A.  

B.  

C.  

D.  

E.  

A.   http://www.example.com/example.html

B.   http://www.example.com

C.   http://example.com

D.   http://example.com/example.html

19: What is the advantage of aggregating static images (sprites) into a single composite resource?

A.   It increases the visibility of the image.

B.   It helps reduce the trips to the server.

C.   It takes less space and therefore helps space management on the screen.

D.   It has no advantage; rather, it has a disadvantage due to increased image size.

20: Which of the following content types enables a URL address to be sent to a device?

A.   Service Loading

B.   Service Indication

C.   Push

D.   WML Script

21: Which of the following values of the border-top-style property is not valid for CSS Mobile Profile?

A.   none

B.   hidden

C.   dotted

D.   dashed

E.   solid

22:

How will the following code affect a document?

@page rotated {size: landscape}

TABLE {page: rotated; page-break-before: right}

A.  

It will put all tables on a right-hand side landscape page. 

B.  

It will rotate the page if the table is positioned at the right side.


C.  

It will keep the table in the landscape position and rotate the page.


D.  

None of the above

23: Which of the following border styles is valid?

A.   border:

B.   border=

C.   border: none;

D.   border= none;

E.   None of the above

24: Which of the following table attributes is/are not supported in XHTML Mobile Profile?

A.   Align

B.   Border

C.   Cellpadding

D.   Cellspacing

E.   None of the above attributes is supported.

25: What is the initial value of the -wap-marquee-style property?

A.   scroll

B.   slide

C.   alternate

D.   none

26:

What will the width of the border be if the following font definition is applied to an element?

border-width:thin

A.  

1 pixel  

B.  

2 pixels


C.  

3 pixels


D.  

None of the above

27: When using JavaScript with Mobile Web Applications, which of the following represents best practice?

A.   Parsing JSON data by executing it with the browser's eval(); command.

B.   Using a JSON parser.

C.   Neither of the above is a best practice.

28: What will happen if the action attribute value of Service Loading is set to cache, and the cache does not exist?

A.   The application will be executed in a non-intrusive manner.

B.   The application will be executed and may result in user-intrusive behavior.

C.   The application will be silently discarded.

D.   None of the above

29: With regard to Mobile Web Applications, which of the following types of files do/does not benefit from transfer compression, and has/have a negative net impact instead?

A.   JPEG images

B.   Video files

C.   Files smaller than 1k

D.   Applications

30: What is a Mobile widget?

A.   A kind of hardware component used to store and retrieve data quickly.

B.   A rapid application development tool for building mobile and wireless applications.

C.   A small, stand-alone Web application that can easily be installed on mobile devices.

D.   None of the above

31: Which of the following is/are required in the Service Indication content type?

A.   text

B.   URL

C.   creation date

D.   time

E.   priorty

32: What will happen if a widget is running and an incoming call is being received on the same device?

A.   The call will not be received until widget is running.

B.   The widget will be closed automatically.

C.   The widget will automatically move to the background.

D.   The widget will crash.

E.   None of the above

33:

Is the following statement true or false?

The Best Practices Working Group for Mobile Web Application recommends that percentages and relative measures be avoided in favour of pixel and absolute measures.

A.  

True

B.  

False 

34: Why does the Best Practices Working Group for Mobile Web Application recommend a page title length between 12 and 14 characters?

A.   To reduce the page weight.

B.   To avoid truncation of the title.

C.   To help in proper rendering of the title tag.

D.   To help the crawlers index the page.

35: What must be kept in mind while designing Mobile Application with regard to users, while they are using a mobile phone?

A.   Environment (i.e extremely dark or bright).

B.   Running out of battery.

C.   Performing another task at the same time.

D.   All of the above

36: What happens if the signal-medium priority notification of the Service Indication is sent to a user?

A.   A notification is displayed and an SMS alert tone is sounded.

B.   A notification is displayed but no SMS alert tone is sounded.

C.   No indication of the received Service Indication is displayed to the user. The Service Indication is silently stored in the Service Inbox.

D.   The Service Indication is automatically discarded. The user is not notified.

37: Which of the following attributes is/are not supported by the anchor element in XHTML Mobile Profile?

A.   Coords

B.   Button

C.   Name

D.   Shape

E.   Target

F.   None of the above is supported by the anchor element.

A.  

All links will be shown in red color.


B.  

The links that have already been visited will be shown in red color. 

C.  

The unvisited links will be shown in red color.


D.  

All links will be shown in red color when the mouse pointer hovers over them.

39: What is the initial value of the border-width property?

A.   thin

B.   medium

C.   thick

D.   none

40: What is the function of the left softkey in mobile user-interface?

A.   It is used as a yes/positive key.

B.   It is used as a no/negative key.

C.   It allows the user to scroll the options up or down.

D.   It allows the user to scroll the options left or right.

41: Which of the following properties allow(s) percentages in the value field(s)?

A.   font-size

B.   font-variant

C.   font-weight

D.   line-height

A.   100 pixels

B.   120 pixels

C.   140 pixels

D.   None of the above

43: The term Card in mobile applications refers to ________________.

A.   a container that stores phone contact information and other applications

B.   a single WML navigational and user interface unit

C.   a unit that contains all CSS styles

D.   an entity in XML that describes structure and content of information

44:

Consider the following font definition, then choose the option that shows another way of getting the same result.

font-weight:bold

A.  

font-weight:100

B.  

font-weight:900


C.  

font-weight:400


D.  

font-weight:700

45:

When does the following style selector rule apply?

h1 + h2 { margin-top: -15mm }

A.  

If the h1 and h2 elements have similar size


B.  

If the h1 and h2 elements are on the same line


C.  

If the h1 element immediately precedes the h2 element

D.  

None of the above.


46: Which of the following strategies can be used to optimize network requests for Mobile Web Applications?

A.   Batching requests

B.   Backing off during periods of inactivity

C.   Using awareness of current connectivity (e.g., WiFi) to select an appropriate level of activity

D.   All of the above