Deck 13: Xml and Content Apps
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/25
العب
ملء الشاشة (f)
Deck 13: Xml and Content Apps
1
____________ apps are apps that display selected content from a website.
Content
2
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
3
One of the parameters of the characters method of the DefaultHandler class is a String that contains the characters that were just encountered.
False
4
The AsyncTask class, from the android.os package, allows us to perform a task in the ____________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
5
It is possible to instantiate an object of the AsyncTask class.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
6
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
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
7
ArrayAdapter inherits from ListAdapter.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
8
OnItemClickListener is a public inner ____________ of the AdapterView class.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
9
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
10
A DOM parser converts an XML file into a(n) ____________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
11
A SAX parser builds a list as it reads the XML document.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
12
The DefaultHandler class is the base class for SAX level 2 event handlers.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
13
What is the entity reference that represents the < character?
A) lt;
B) &< ;
C) <
D) &lessThan;
A) lt;
B) &< ;
C) <
D) &lessThan;
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
14
It is possible to instantiate an object of the SAXParser class.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
15
What does DTD stand for?
A) Document Type DOM
B) Declaration Type Document
C) DOM Type Declaration
D) Document Type Declaration
A) Document Type DOM
B) Declaration Type Document
C) DOM Type Declaration
D) Document Type Declaration
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
16
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
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
17
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
A) A constructor
B) An instance method
C) A class (static) method
D) A constant
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
18
The newSAXParser method of the SAXParserFactory class does not throw any exception.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
19
Using a SAX parser, it is possible to convert an XML document into a list of objects.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
20
The parse method of the SAXParser class does not throw any exception.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
21
It is possible to instantiate an object of the SAXParserFactory class.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
22
The DTD contains the __________________ that an XML document should adhere to.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
23
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.
AccessModifier ClassName extends AsyncTask< Params, Progress, Result>
where Params, Progress, and Result are placeholders for actual __________________ names.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
24
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
25
The parse static method of the Uri class accepts a String parameter and returns a __________________ reference.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck