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

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

Question list
Search
Search

List of questions

Search

Related questions











In the HarmonyOS system architecture, which of the following can shield the differences between multiple cores and provide basic kernel capabilities for the upper layer?

A.
Ability
A.
Ability
Answers
B.
KAL (Kernel Abstract Layer)
B.
KAL (Kernel Abstract Layer)
Answers
C.
UI
C.
UI
Answers
D.
HDF (Hardware Driver Foundation)
D.
HDF (Hardware Driver Foundation)
Answers
Suggested answer: B

When a developer uses Page Ability to open a ServiceAbility, he needs to pass parameters through Intent, at what stage is the parameter obtained in the whole process null?

onStart( ) in A S ervice.

A.
bility
A.
bility
Answers
B.
PageAbility
B.
PageAbility
Answers
C.
ServiceAbility
C.
ServiceAbility
Answers
D.
ServiceAbility
D.
ServiceAbility
Answers
Suggested answer: B

When a developer clicks the exit button of an application to release Page Ability resources, which callback method in the Page Ability lifecycle will be triggered?

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

In order to help users find data in the app through the global search app, a HarmonyOS developer needs to index the data of the app and configure the global search searchable entities. Which of the following interfaces can the developer choose to index their application data?

A.
Converged search interface
A.
Converged search interface
Answers
B.
Distributed data service interface
B.
Distributed data service interface
Answers
C.
Data storage management interface
C.
Data storage management interface
Answers
D.
Relational data services
D.
Relational data services
Answers
Suggested answer: A

Which of the following fields is not within the scope of permission?

A.
privileged
A.
privileged
Answers
B.
signature
B.
signature
Answers
C.
restricted
C.
restricted
Answers
D.
deivced
D.
deivced
Answers
Suggested answer: D

If a HarmonyOS engineer is about to debug a HarmonyOS application on an emulator device, which of the following debugging processes is correct?

A.
Check the properties of the config.json file set the installation method of the hap package set the debugging code type start debugging
A.
Check the properties of the config.json file set the installation method of the hap package set the debugging code type start debugging
Answers
B.
Set the installation mode of the HAP package set the debugging code type check the properties of the configjson file start debugging
B.
Set the installation mode of the HAP package set the debugging code type check the properties of the configjson file start debugging
Answers
C.
Set the installation method of the HAP package check the properties of the configjson file set the debugging code type start debugging
C.
Set the installation method of the HAP package check the properties of the configjson file set the debugging code type start debugging
Answers
D.
Set the debugging code type check the properties of the config.json file set the installation method of the HAP package start debugging
D.
Set the debugging code type check the properties of the config.json file set the installation method of the HAP package start debugging
Answers
Suggested answer: D

If a developer wants to use the video playback function of HarmonyOS, which of the following subsystems will he use?

A.
Media Subsystem
A.
Media Subsystem
Answers
B.
Safety subsystem
B.
Safety subsystem
Answers
C.
AI subsystem
C.
AI subsystem
Answers
D.
Location Services Subsystem
D.
Location Services Subsystem
Answers
Suggested answer: A

A developer is developing a ticket booking application, in the selection of the location of the ticket, you need to use the slide selector Picker, in order to highlight the selected text, the developer sets the rendering effect that the selected text margin is greater than the ordinary text margin. Which of the following settings are correct?

A.
<Picker...... ohos:selected_normal_text_margin_ratio='5.0'/>
A.
<Picker...... ohos:selected_normal_text_margin_ratio='5.0'/>
Answers
B.
Picker.setSelectNormal TextMarginRatio(5.0f);
B.
Picker.setSelectNormal TextMarginRatio(5.0f);
Answers
C.
<Picker...... ohos:selected_normal_text_margin_ratio='0.5'/>
C.
<Picker...... ohos:selected_normal_text_margin_ratio='0.5'/>
Answers
D.
Picker.setSelectNormalTextMarginRatio(5.0);
D.
Picker.setSelectNormalTextMarginRatio(5.0);
Answers
Suggested answer: B

Which description of the HarmonyOS clipboard can be correctly interpreted in the following scenarios?

A.
can be copied in application A, but cannot be pasted in application B
A.
can be copied in application A, but cannot be pasted in application B
Answers
B.
can be copied and pasted into app B in app A
B.
can be copied and pasted into app B in app A
Answers
C.
Only replication is supported
C.
Only replication is supported
Answers
D.
Only clipping is supported
D.
Only clipping is supported
Answers
Suggested answer: B

The HarmonyOS video module supports the development of video services and the opening of the ecosystem, allowing developers to easily play, operate, and develop new functions of video media through the open interfaces. Video playback includes playback controls, playback settings, and playback queries, such as start/stop playback, playback speed settings, and whether to loop playback. When developing a video playback feature, which of the following steps is correct?

A.
Create a Player instance construct a data source object and set the media source call method prepare(), call method play(), call method stop( call method release()
A.
Create a Player instance construct a data source object and set the media source call method prepare(), call method play(), call method stop( call method release()
Answers
B.
Create a Player instance call the prepare() play() construct the data source object and set the media source call the stop() release().
B.
Create a Player instance call the prepare() play() construct the data source object and set the media source call the stop() release().
Answers
C.
Construct a data source object and set the media source create a Player instance call method play(), call method prepare(), call method stop( call method release()
C.
Construct a data source object and set the media source create a Player instance call method play(), call method prepare(), call method stop( call method release()
Answers
D.
Call the prepare() method create a Plawer instance construct a data source object and set the media source call method create a Player instance, Play() call method stop() call method release()
D.
Call the prepare() method create a Plawer instance construct a data source object and set the media source call method create a Player instance, Play() call method stop() call method release()
Answers
Suggested answer: A
Total 705 questions
Go to page: of 71