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

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

Question list
Search
Search

List of questions

Search

Related questions











A developer tries to update the text of Text directly in a non-UI thread, but the update fails, how to solve the problem of updating the UI of the non-UI thread in HarmomyOS??

A.
is implemented through the ParallelTaskDispatcher
A.
is implemented through the ParallelTaskDispatcher
Answers
B.
is implemented through the task dispatcher UITaskDispatcher
B.
is implemented through the task dispatcher UITaskDispatcher
Answers
C.
is implemented through the SerialTaskDispatcher
C.
is implemented through the SerialTaskDispatcher
Answers
D.
is implemented through the task dispatcher GlobalTaskDispatcher
D.
is implemented through the task dispatcher GlobalTaskDispatcher
Answers
Suggested answer: B

Which option is not the process of decoding in the conversion of the following information?

A.
player plays music from the record
A.
player plays music from the record
Answers
B.
Convert the data to audio
B.
Convert the data to audio
Answers
C.
Notebook plays video files from the hard drive
C.
Notebook plays video files from the hard drive
Answers
D.
Save the photo in digital form
D.
Save the photo in digital form
Answers
Suggested answer: D

Which of the following security mechanisms can ensure that application data is not maliciously used?

A.
Permission management
A.
Permission management
Answers
B.
App permissions
B.
App permissions
Answers
C.
port security
C.
port security
Answers
D.
Application security
D.
Application security
Answers
Suggested answer: B

A developer has developed an Image component and written the following code, which of the following descriptions of the component is correct?

A.
The A plant image is scaled to 0.5
A.
The A plant image is scaled to 0.5
Answers
B.
The x-axis and y-axis of the B plant image are scaled to 0.5 and the effect is cropped in half
B.
The x-axis and y-axis of the B plant image are scaled to 0.5 and the effect is cropped in half
Answers
C.
The x and y axes of the C plant image are scaled to 0.5 and the transparency is 0.5
C.
The x and y axes of the C plant image are scaled to 0.5 and the transparency is 0.5
Answers
D.
The D plant image is cropped in half
D.
The D plant image is cropped in half
Answers
Suggested answer: C

When a developer needs to create a Service Ability when developing a background service, which of the following processes is NOT the step to create the Ability?

A.
onStart
A.
onStart
Answers
B.
onCommand
B.
onCommand
Answers
C.
onStop
C.
onStop
Answers
D.
onActive
D.
onActive
Answers
Suggested answer: D

In HarmonyOS, which of the following scenarios is the application responsible for instantiation?

A.
Start an AbilitySlice by navigating
A.
Start an AbilitySlice by navigating
Answers
B.
reads a novel through a web page and accidentally clicks on an advertisement, which jumps directly to the app store to request the download of a certain game
B.
reads a novel through a web page and accidentally clicks on an advertisement, which jumps directly to the app store to request the download of a certain game
Answers
C.
Jump to another page via a hyperlink
C.
Jump to another page via a hyperlink
Answers
D.
An app page has messages, contacts, settings, etc., and switch between them
D.
An app page has messages, contacts, settings, etc., and switch between them
Answers
Suggested answer: C

fter a developer sets :ohos:layout_alignment='horizontal_center' in the Text component, he writes: text.setMarginRight (600) in the code, where is the Text displayed in the parent layout?

A.
is horizontally centered and shifted to the right by 600
A.
is horizontally centered and shifted to the right by 600
Answers
B.
The parent layout moves 600 to the top left and right
B.
The parent layout moves 600 to the top left and right
Answers
C.
level is centered
C.
level is centered
Answers
D.
is horizontally centered and shifted 600 to the left
D.
is horizontally centered and shifted 600 to the left
Answers
Suggested answer: D

After the user migrates the navigation of the mobile phone to the smart watch, if the smart watch needs to obtain the data transmitted from the mobile phone, which of the following methods should it be obtained?

A.
onSaveData ()
A.
onSaveData ()
Answers
B.
onStartContinuation ()
B.
onStartContinuation ()
Answers
C.
onRestoreData (
C.
onRestoreData (
Answers
D.
onCompleteContinuation ()
D.
onCompleteContinuation ()
Answers
Suggested answer: C

When a developer is developing a game application, in order to display the download progress of game resources, it is necessary to use a horizontal linear progress bar, which of the following components can help the developer complete this function?

A.
ToastDialog
A.
ToastDialog
Answers
B.
RoundProgressBar
B.
RoundProgressBar
Answers
C.
PageSlider
C.
PageSlider
Answers
D.
ProgressBar
D.
ProgressBar
Answers
Suggested answer: D

In the JS (JavaScript) UI framework, which layer is connected to the system platform platform by abstracting the platform layer and providing an abstract interface?

A.
Application Layer
A.
Application Layer
Answers
B.
Front-end frame layer
B.
Front-end frame layer
Answers
C.
Engine Layer
C.
Engine Layer
Answers
D.
Platform adaptation layer
D.
Platform adaptation layer
Answers
Suggested answer: D
Total 705 questions
Go to page: of 71