Exam 13: Xml and Content Apps

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

It is possible to instantiate an object of the SAXParser class.

Free
(True/False)
4.8/5
(37)
Correct Answer:
Verified

False

ArrayAdapter inherits from ListAdapter.

Free
(True/False)
4.7/5
(41)
Correct Answer:
Verified

True

The AsyncTask class uses three generic types that we must specify when extending it. The class header of a subclass is as follows: AccessModifier ClassName extends AsyncTask< Params, Progress, Result> Params is the data type of an array that is passed to what method when we call that method?

Free
(Multiple Choice)
4.7/5
(43)
Correct Answer:
Verified

B

The ArrayAdapter constructor has this API: ArrayAdapter< T>( Context c, int i, List< T> objects) What does the parameter i represent?

(Multiple Choice)
4.8/5
(34)

To create an Intent to open the web browser, we pass the ____________ constant of the Intent class and a Uri reference as the two parameters of the Intent constructor.

(Short Answer)
4.9/5
(46)

Using a SAX parser, it is possible to convert an XML document into a list of objects.

(True/False)
4.8/5
(34)

The DefaultHandler class is the base class for SAX level 2 event handlers.

(True/False)
4.8/5
(34)

One of the parameters of the endElement method of the DefaultHandler class is a String that contains the name of the end tag that was just encountered.

(True/False)
4.8/5
(29)

The AsyncTask class uses three generic types that we must specify when extending it. The class header of a subclass is as follows: AccessModifier ClassName extends AsyncTask< Params, Progress, Result> where Params, Progress, and Result are placeholders for actual __________________ names.

(Short Answer)
4.8/5
(47)

The DTD contains the __________________ that an XML document should adhere to.

(Short Answer)
4.9/5
(32)

A SAX parser builds a list as it reads the XML document.

(True/False)
4.8/5
(34)

One of the parameters of the characters method of the DefaultHandler class is a String that contains the characters that were just encountered.

(True/False)
4.7/5
(45)

OnItemClickListener is a public inner ____________ of the AdapterView class.

(Short Answer)
5.0/5
(33)

____________ apps are apps that display selected content from a website.

(Short Answer)
4.9/5
(36)

What type of method is the newInstance method of the SAXParserFactory class?

(Multiple Choice)
4.8/5
(37)

The parse static method of the Uri class accepts a String parameter and returns a __________________ reference.

(Short Answer)
4.8/5
(43)

It is possible to instantiate an object of the AsyncTask class.

(True/False)
4.8/5
(39)

What does DTD stand for?

(Multiple Choice)
4.9/5
(33)

If an OnItemClickListener object is listening for events on a list, the __________________ method is automatically called when the user selects an item from the list.

(Short Answer)
4.8/5
(36)

A DOM parser converts an XML file into a(n) ____________.

(Short Answer)
4.8/5
(35)
Showing 1 - 20 of 25
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)