ExamGecko
Home Home / Huawei / H14-231_V1.0

Huawei H14-231_V1.0 Practice Test - Questions Answers, Page 9

Question list
Search
Search

List of questions

Search

Related questions











When a developer designs a navigation application and needs the system to provide accurate positioning, which subsystem will be used?

A.
Wearable business subsystem
A.
Wearable business subsystem
Answers
B.
Location Services Subsystem
B.
Location Services Subsystem
Answers
C.
Multi-mode input subsystem
C.
Multi-mode input subsystem
Answers
D.
Media subsystem
D.
Media subsystem
Answers
Suggested answer: B

Which of the following is NOT a component of the Harmony OS object-relational mapping database?

A.
Object data manipulation interface
A.
Object data manipulation interface
Answers
B.
Database
B.
Database
Answers
C.
Solid object
C.
Solid object
Answers
D.
Relationship table
D.
Relationship table
Answers
Suggested answer: D

Which of the following belongs to the lifecycle of starting a Service Ability?

A.
onStart()onComrand()onBackground()onStop()
A.
onStart()onComrand()onBackground()onStop()
Answers
B.
onStart()onCommand()---onForeground()onBackground()onStop()
B.
onStart()onCommand()---onForeground()onBackground()onStop()
Answers
C.
onStart()onCommand()onStop()
C.
onStart()onCommand()onStop()
Answers
D.
onStart() onCommand()onBackground() onDisconnect()onStop()
D.
onStart() onCommand()onBackground() onDisconnect()onStop()
Answers
Suggested answer: A

If a developer needs to use asyncDispatBarrionr to set up a barrier asynchronously, in this scenario, in order to separate different task groups, which of the following can the developer choose?

A.
serialTaskDispatcher
A.
serialTaskDispatcher
Answers
B.
SpeeTaskDispatcher
B.
SpeeTaskDispatcher
Answers
C.
ParallelTaskDispatcher
C.
ParallelTaskDispatcher
Answers
D.
GlobalTaskDispatcher
D.
GlobalTaskDispatcher
Answers
Suggested answer: C

If a developer wants to use the JavaScript UI framework to develop a graffiti application that allows users to draw custom graphics, which of the following components can be used by the developer?

A.
video
A.
video
Answers
B.
button
B.
button
Answers
C.
canvas
C.
canvas
Answers
D.
grid-container
D.
grid-container
Answers
Suggested answer: C

When a developer clicks the exit button of an application to release PageAbility resources, which callback method in the ability lifecycle of the Pag package will be triggered?

A.
onBackground( )
A.
onBackground( )
Answers
B.
onInactive( )
B.
onInactive( )
Answers
C.
onForeground( )
C.
onForeground( )
Answers
D.
onStop( )
D.
onStop( )
Answers
Suggested answer: D

If a developer wants to develop a page with a tab function, the developer can use the TabList component provided by HarmonyOS. If you want to set the color of unchecked text to black. Which of the following codes is correct?

A.
ohos:selected_tab_indicator_color=#000000
A.
ohos:selected_tab_indicator_color=#000000
Answers
B.
ohos:tab_indicator_type=#000000
B.
ohos:tab_indicator_type=#000000
Answers
C.
ohos:normal_text_color=#000000
C.
ohos:normal_text_color=#000000
Answers
D.
ohos:selected _text_color=#000000
D.
ohos:selected _text_color=#000000
Answers
Suggested answer: C

When a developer was developing a ticket booking application, he used the sliding selector TimPicker in the time selection of air tickets, according to the requirements of the airline, the time does not need to display the second information, which of the following can meet the needs?

A.
timePicker.enableHour(false);
A.
timePicker.enableHour(false);
Answers
B.
timePicker.showMinute(false);
B.
timePicker.showMinute(false);
Answers
C.
timePicker.enableMinute(false);
C.
timePicker.enableMinute(false);
Answers
D.
timePicker.showSecond(false);
D.
timePicker.showSecond(false);
Answers
Suggested answer: D

If a developer wants to develop a Data Ability for the storage and management of application data, which of the following can help the developer realize the function of inserting multiple pieces of data into the database at one time?

A.
insert (Uri uri,ValuesBucket value)
A.
insert (Uri uri,ValuesBucket value)
Answers
B.
delete(Uri uri,DataAbilityPredicates predicates)
B.
delete(Uri uri,DataAbilityPredicates predicates)
Answers
C.
query (Uri uriString[ ]columns,DataAbilityPredicates predicates)
C.
query (Uri uriString[ ]columns,DataAbilityPredicates predicates)
Answers
D.
batchlnsert (Uri uri, ValuesBucket[]values)
D.
batchlnsert (Uri uri, ValuesBucket[]values)
Answers
Suggested answer: D

An engineer uses a local simulator for application debugging, which of the following describes the error of the local simulator?

A.
You can run both the application-compatible signed and unsigned HAP (HarmonyOS Ability Package) on the local simulator
A.
You can run both the application-compatible signed and unsigned HAP (HarmonyOS Ability Package) on the local simulator
Answers
B.
By default, DevEco Studio does not automatically match the corresponding device emulator
B.
By default, DevEco Studio does not automatically match the corresponding device emulator
Answers
C.
The default shortcut to start running is Shift+F10
C.
The default shortcut to start running is Shift+F10
Answers
D.
The local emulator can run and debug HarmonyOS applications for Lite Wearable and Smart Vision devices
D.
The local emulator can run and debug HarmonyOS applications for Lite Wearable and Smart Vision devices
Answers
Suggested answer: D
Total 705 questions
Go to page: of 71