Filters
Question type

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

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

ArrayAdapter inherits from ListAdapter.

A) True
B) False

Correct Answer

verifed

verified

True

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


A) It is always 0
B) A random integer
C) The number of elements in the List objects
D) A resource id

E) None of the above
F) A) and D)

Correct Answer

verifed

verified

OnItemClickListener is a public inner ____________ of the AdapterView class.

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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.

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

What does DTD stand for?


A) Document Type DOM
B) Declaration Type Document
C) DOM Type Declaration
D) Document Type Declaration

E) None of the above
F) A) and B)

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

False

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.

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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.

Correct Answer

verifed

verified

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


A) A constructor
B) An instance method
C) A class (static) method
D) A constant

E) B) and D)
F) B) and C)

Correct Answer

verifed

verified

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.

A) True
B) False

Correct Answer

verifed

verified

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?


A) doInBackground
B) execute
C) onPostExecute
D) finish

E) A) and C)
F) A) and D)

Correct Answer

verifed

verified

B

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

A) True
B) False

Correct Answer

verifed

verified

Showing 1 - 20 of 25

Related Exams

Show Answer