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

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

Question list
Search
Search

List of questions

Search

Related questions











The user clicks on the song from the music list page to jump to the playback interface of the song, and clicks back to return to the music list page. Which of the following do developers need to do to implement this feature?

A.
calls router.back() to return to the music list
A.
calls router.back() to return to the music list
Answers
B.
Page Ability to create a music list page
B.
Page Ability to create a music list page
Answers
C.
Create a Page Ability area for playing the page
C.
Create a Page Ability area for playing the page
Answers
D.
calls router.push() to route to the playback interface
D.
calls router.push() to route to the playback interface
Answers
Suggested answer: A, D

When a developer develops a background music playback software, he needs to use Service Ability, what are the following correct descriptions of the use process of Service Ability?

A.
Register the Ability in the application manifest file
A.
Register the Ability in the application manifest file
Answers
B.
When you use the connectAbility() method to connect to a Service, you need to pass in the Intent of the target Service
B.
When you use the connectAbility() method to connect to a Service, you need to pass in the Intent of the target Service
Answers
C.
onConnect() needs to return an IRemoteObject object back
C.
onConnect() needs to return an IRemoteObject object back
Answers
D.
Use setElement() of the Intent to set the target service information
D.
Use setElement() of the Intent to set the target service information
Answers
Suggested answer: A, B, C

If a developer needs to use the JavaScript UI framework to develop an application, which of the following components can the developer choose?

A.
Container component
A.
Container component
Answers
B.
Media Component
B.
Media Component
Answers
C.
Foundation Components
C.
Foundation Components
Answers
D.
Canvas component
D.
Canvas component
Answers
Suggested answer: A, B, C, D

If a developer uses the startAbility() method provided in Ability to start a Service, what are the correct descriptions of starting the Service?

A.
If the Service is not already running, the system calls the onCommand() method to start the Service
A.
If the Service is not already running, the system calls the onCommand() method to start the Service
Answers
B.
If the Service is running, the system will call back the onStart() method of the Service to start the Service
B.
If the Service is running, the system will call back the onStart() method of the Service to start the Service
Answers
C.
If the Service is running, the system will call back the onCommand() method of the Service to start the Service
C.
If the Service is running, the system will call back the onCommand() method of the Service to start the Service
Answers
D.
If the Service is not already running, onStart() is called to initialize the Service
D.
If the Service is not already running, onStart() is called to initialize the Service
Answers
Suggested answer: A, C, D

If a developer uses the Text component to develop a UI interface, if the outside of the Text component needs to be left blank, which of the following codes can the developer use?

A.
ohos:top_padding='15'
A.
ohos:top_padding='15'
Answers
B.
ohos:top_margin='15'
B.
ohos:top_margin='15'
Answers
C.
ohos:top_padding='30'
C.
ohos:top_padding='30'
Answers
D.
ohos:top_margin='30'
D.
ohos:top_margin='30'
Answers
Suggested answer: B, D

What development steps does a developer use to develop an application with a UI?

A.
Create a project
A.
Create a project
Answers
B.
Run the program
B.
Run the program
Answers
C.
Design interface
C.
Design interface
Answers
D.
Implement the function
D.
Implement the function
Answers
Suggested answer: A, B, C, D

Which of the following languages does HarmonyOS support for creating application projects?

A.
C++
A.
C++
Answers
B.
Python
B.
Python
Answers
C.
JS(JavaScript)
C.
JS(JavaScript)
Answers
D.
Java
D.
Java
Answers
Suggested answer: A, C, D

In the following scenarios, which ones use the voice broadcast function?

A.
Automatically read aloud e-books
A.
Automatically read aloud e-books
Answers
B.
Regular weather broadcast
B.
Regular weather broadcast
Answers
C.
Convert speech to text
C.
Convert speech to text
Answers
D.
Navigation system real-time voice report on the road ahead
D.
Navigation system real-time voice report on the road ahead
Answers
Suggested answer: A, B, D

Which of the following NFC functions can developers use when developing apps based on HarmonyOS?

A.
NFC message notification
A.
NFC message notification
Answers
B.
Access to the security element
B.
Access to the security element
Answers
C.
card emulation
C.
card emulation
Answers
D.
NFC basic query
D.
NFC basic query
Answers
Suggested answer: A, B, C, D

Which of the following functions can be achieved through the sidebar button of the remote simulator?

A.
Sets the device resolution of the remote emulator
A.
Sets the device resolution of the remote emulator
Answers
B.
Release the remote emulator that is currently in use
B.
Release the remote emulator that is currently in use
Answers
C.
Rotate the screen clockwise
C.
Rotate the screen clockwise
Answers
D.
Return to the main interface of the device
D.
Return to the main interface of the device
Answers
Suggested answer: A, B, C, D
Total 705 questions
Go to page: of 71