PRM EXAM QUESTIONS & ANSWERS
Which of the following can be used to handle commands from menu items in an android
application?
A. Commandaction
B. Onmenuitem
C. Onmenuitemselected
D. Onmenuitemclicked
E. Onoptionsitemselected - answers - e
Which of the following can you use to display an html web page in an android
application?
A. Webbrowser
B. Browserview
C. Webview
D. Browser
E. Htmlview - answers - c
Which of the following are ui elements that you can use in a window in an android
application?
A. Textbox
B. Textview
C. Textfield
D. Textelement
E. Edittext
F. Richtext - answers - b e
Which of the following is responsible for dynamic dependency loading?:
A. Ext.requires
B. Ext.uses
C. Ext.class
D. Ext.loader - answers - a
Which is the root class of all class created with
A. Ext.define
B. Ext.class
C. Ext.base
D. Ext.super ext - answers - c
Which of the following components are state aware components?
,A. Grid
B. Panel
C. Window
D. All of the above - answers - d
Which of the following state provider is bundled with extjs 4?
A. Jsonprovider
B. Cookieprovider
C. Browserprovider
D. Sessionprovider - answers - b
Which of the following is not a client side proxy?
A. Localstorageproxy
B. Ajaxproxy
C. Sessionstorageproxy
D. Memoryproxy - answers - b
Which of the following encapsulates a client side cache of model objects
A. Proxy
B. View
C. Store
D. Component - answers - c
Refs in a controller represents _____.:
A. List of events handler
B. Reference to the store
C. Reference to other controller
D. Reference to the ui components - answers - d
Special type of component that can contain other components is called:
A. Custom component
B. Container
C. Layout
D. Grid - answers - b
What is xtype?
A. Type of layout
B. Type of view
C. Symbolic name of ext components
,D. Extjs data type - answers - c
The view hierarchy has to be updated in the ______
A. Application's ui thread
B. Application
C. Ui thread
D. None of above - answers - a
How do you obtain messages from handler?
A. Handler.obtainmsg(), msg.obtain()
B. Handler.getmessage(), message.get()
C. Handler.obtainmessage(), message.obtain()
D.none of above - answers - c
If you are creating an application that must check for new email messages every 30
minutes, which one of the following alarm types would you most likely use?
A. Rtc. Rtc_wakeup
B. Elapsed_realtime
C. Elapsed_realtime_wakeup
D. All of above - answers - c
Which of the following httpurlconnection methods were used by the networkingurl
application to interact with the earthquake data server?
A. Getinputstream(). Close().
B. Openconnection(). Try().
C. Both a & b
D. None of above - answers - a
Intents do not name a target and the field for the component name is left blank
A. Explicit intents
B. Implicit intents - answers - b
Which of the following should be used to save the unsaved data and release resources
being used by an android application?
A. Activity.onstop()
B. Activity.onpause()
C. Activity.ondestroy()
D .activity.onshutdown()
E.activity.onfreeze()
, <ondestroy: lưu trữ cái chưa được lưu
Onpause: lưu lại trạng thái> - answers - c
How many type data integration in sencha touch?
A.ajax, json, yql
B.ajax, jsonp, yql
C.ajax, json, xml
D.ajax, jsonp, xml - answers - b
Explain how to hide the column in grid panel?
A. Hide()
B. Hidden: true
C. Visible: false
D. Display: none - answers - b
How to commit a record modification?
A. Newrecord.commit();
B. Store.sync()
C. All of the above
D. None of above - answers - a
How to define a new sencha touch class?
A. Using ext.create()
B. Using ext.class()
C. Using ext.define()
D. User ext.application() - answers - c
What is prefered method for creating class object?
A. New classname()
B. Ext.create('classname')
C. Classname.create()
D. Ext.define('classname') - answers - b
What is the life cycle of services in android?
A - oncreate()−>onstartcommand()−>ondestory()
B - oncreate() -> onrecieve()−>ondestory()
C - oncreate()−>onstartcommand()-> final()
D - service life cycle is same as activity life cycle. - answers - a
Which of the following can be used to handle commands from menu items in an android
application?
A. Commandaction
B. Onmenuitem
C. Onmenuitemselected
D. Onmenuitemclicked
E. Onoptionsitemselected - answers - e
Which of the following can you use to display an html web page in an android
application?
A. Webbrowser
B. Browserview
C. Webview
D. Browser
E. Htmlview - answers - c
Which of the following are ui elements that you can use in a window in an android
application?
A. Textbox
B. Textview
C. Textfield
D. Textelement
E. Edittext
F. Richtext - answers - b e
Which of the following is responsible for dynamic dependency loading?:
A. Ext.requires
B. Ext.uses
C. Ext.class
D. Ext.loader - answers - a
Which is the root class of all class created with
A. Ext.define
B. Ext.class
C. Ext.base
D. Ext.super ext - answers - c
Which of the following components are state aware components?
,A. Grid
B. Panel
C. Window
D. All of the above - answers - d
Which of the following state provider is bundled with extjs 4?
A. Jsonprovider
B. Cookieprovider
C. Browserprovider
D. Sessionprovider - answers - b
Which of the following is not a client side proxy?
A. Localstorageproxy
B. Ajaxproxy
C. Sessionstorageproxy
D. Memoryproxy - answers - b
Which of the following encapsulates a client side cache of model objects
A. Proxy
B. View
C. Store
D. Component - answers - c
Refs in a controller represents _____.:
A. List of events handler
B. Reference to the store
C. Reference to other controller
D. Reference to the ui components - answers - d
Special type of component that can contain other components is called:
A. Custom component
B. Container
C. Layout
D. Grid - answers - b
What is xtype?
A. Type of layout
B. Type of view
C. Symbolic name of ext components
,D. Extjs data type - answers - c
The view hierarchy has to be updated in the ______
A. Application's ui thread
B. Application
C. Ui thread
D. None of above - answers - a
How do you obtain messages from handler?
A. Handler.obtainmsg(), msg.obtain()
B. Handler.getmessage(), message.get()
C. Handler.obtainmessage(), message.obtain()
D.none of above - answers - c
If you are creating an application that must check for new email messages every 30
minutes, which one of the following alarm types would you most likely use?
A. Rtc. Rtc_wakeup
B. Elapsed_realtime
C. Elapsed_realtime_wakeup
D. All of above - answers - c
Which of the following httpurlconnection methods were used by the networkingurl
application to interact with the earthquake data server?
A. Getinputstream(). Close().
B. Openconnection(). Try().
C. Both a & b
D. None of above - answers - a
Intents do not name a target and the field for the component name is left blank
A. Explicit intents
B. Implicit intents - answers - b
Which of the following should be used to save the unsaved data and release resources
being used by an android application?
A. Activity.onstop()
B. Activity.onpause()
C. Activity.ondestroy()
D .activity.onshutdown()
E.activity.onfreeze()
, <ondestroy: lưu trữ cái chưa được lưu
Onpause: lưu lại trạng thái> - answers - c
How many type data integration in sencha touch?
A.ajax, json, yql
B.ajax, jsonp, yql
C.ajax, json, xml
D.ajax, jsonp, xml - answers - b
Explain how to hide the column in grid panel?
A. Hide()
B. Hidden: true
C. Visible: false
D. Display: none - answers - b
How to commit a record modification?
A. Newrecord.commit();
B. Store.sync()
C. All of the above
D. None of above - answers - a
How to define a new sencha touch class?
A. Using ext.create()
B. Using ext.class()
C. Using ext.define()
D. User ext.application() - answers - c
What is prefered method for creating class object?
A. New classname()
B. Ext.create('classname')
C. Classname.create()
D. Ext.define('classname') - answers - b
What is the life cycle of services in android?
A - oncreate()−>onstartcommand()−>ondestory()
B - oncreate() -> onrecieve()−>ondestory()
C - oncreate()−>onstartcommand()-> final()
D - service life cycle is same as activity life cycle. - answers - a