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

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

Question list
Search
Search

List of questions

Search

Related questions











A developer needs to use the current data network for socket data transmission, and the development process involves the following steps:

1 Send data with sockets.

2 Bind the network with NetHandle.bindSocket().

3 Call NetManager.getDefaultNet() to get the default data network.

4 Call NetManager.getInstance(Context9) to get the instance object of network management.

When the developer combed through the development steps, the above steps were sorted according to the order in which the features were completed in the code. Which of the following is the correct order?

A.
4123
A.
4123
Answers
B.
4213
B.
4213
Answers
C.
4321
C.
4321
Answers
D.
2143
D.
2143
Answers
Suggested answer: C

How should a developer choose the Debug Type if he needs to debug JAVA code separately in a JS+JAVA hybrid project?

A.
Native only
A.
Native only
Answers
B.
Dual (JS + JAVA)
B.
Dual (JS + JAVA)
Answers
C.
JAVA only
C.
JAVA only
Answers
D.
Js only
D.
Js only
Answers
Suggested answer: C

In HarmonyOS application development, where can commonly used backgrounds, such as common text backgrounds and button backgrounds, be placed?

A.
graphic
A.
graphic
Answers
B.
media
B.
media
Answers
C.
layout
C.
layout
Answers
D.
element
D.
element
Answers
Suggested answer: A

If a developer needs to solve problems such as insufficient image resolution and image compression noise, which of the following AI capabilities can be used by HarmonyOS?

A.
Document Detection Correction
A.
Document Detection Correction
Answers
B.
General Character Recognition
B.
General Character Recognition
Answers
C.
Entity Recognition
C.
Entity Recognition
Answers
D.
Image super-resolution
D.
Image super-resolution
Answers
Suggested answer: D

Which of the following subsystems does a developer use when using the facial recognition feature of HarmonyOS?

A.
Multi-mode input subsystem
A.
Multi-mode input subsystem
Answers
B.
Media Subsystem
B.
Media Subsystem
Answers
C.
Safety subsystem
C.
Safety subsystem
Answers
D.
Graphics subsystem
D.
Graphics subsystem
Answers
Suggested answer: C

How do I define the permissions correctly when a developer needs to customize the permissions for a third-party application for Harmony OS?

A.
module: { reqPermissions: [{ name:com.myability.permission.MYPERMISSION,grantMode:system_grant, availableScope: [signatures] } }
A.
module: { reqPermissions: [{ name:com.myability.permission.MYPERMISSION,grantMode:system_grant, availableScope: [signatures] } }
Answers
B.
module: { defPermissions: [{ name:name:com.myability.permission.lNTERNET, grantMode:user grant, availableScope: [signatures] } } module: { defPermissions: [{
B.
module: { defPermissions: [{ name:name:com.myability.permission.lNTERNET, grantMode:user grant, availableScope: [signatures] } } module: { defPermissions: [{
Answers
C.
name:name:com.myability.permission.INTERNET, grantMode:system_grant, availableScope: [signatures] } } module: { defPermissions: [{
C.
name:name:com.myability.permission.INTERNET, grantMode:system_grant, availableScope: [signatures] } } module: { defPermissions: [{
Answers
D.
name:name:com.myability.permission.MYPERMISSION, grantMode:system_grant, availableScope: [signatures] } }
D.
name:name:com.myability.permission.MYPERMISSION, grantMode:system_grant, availableScope: [signatures] } }
Answers
Suggested answer: D

A developer needs to use the current scattered data network for socket data transmission, in this scenario, the development process involves the following steps: 1. Use socket to send data.2. Call NetHandle.bindSocket() to bind the network.3. Call NetManager.getDefaultNet() to get the default data network.4. Call NetManager.getInstance(ContextWhen the developer sorts out the development steps, the above steps are sorted according to the order in which the functions are completed in the code. Which of the following is the correct order?

A.
4123
A.
4123
Answers
B.
4213
B.
4213
Answers
C.
4321
C.
4321
Answers
D.
2143
D.
2143
Answers
Suggested answer: C

Developers will use the UI framework provided by Harmony OS when developing mobile phone pages, which of the following is not a UI framework?

A.
layout
A.
layout
Answers
B.
Cross-device call
B.
Cross-device call
Answers
C.
Graphical controls
C.
Graphical controls
Answers
D.
Window Management Framework
D.
Window Management Framework
Answers
Suggested answer: B

HarmonyOS provides developers with different abilities according to different application scenarios, for example, if a developer plans to develop a background music playback function, which of the following is correct about the configuration of the ability in config.json?

A.
''type: ''service
A.
''type: ''service
Answers
B.
''type: ''page
B.
''type: ''page
Answers
C.
''type: ''ability
C.
''type: ''ability
Answers
D.
''type: ''data
D.
''type: ''data
Answers
Suggested answer: A

A HarmonyOS user downloads and installs a new app that has declared some non-sensitive permissions in the config.json file, and the app may involve some sensitive permissions during operation. Which of the following is correct in this scenario?

A.
For sensitive permissions that may be involved in the operation of the application, the authorization method is system authorization (system_grant)
A.
For sensitive permissions that may be involved in the operation of the application, the authorization method is system authorization (system_grant)
Answers
B.
For the non-sensitive permissions declared by the application in the config.json file, the application will be dynamically applied for during use
B.
For the non-sensitive permissions declared by the application in the config.json file, the application will be dynamically applied for during use
Answers
C.
Non-sensitive permissions declared by the app in the config.json file are automatically granted when the user installs the app
C.
Non-sensitive permissions declared by the app in the config.json file are automatically granted when the user installs the app
Answers
D.
For the non-sensitive permissions declared by the app in the config.json file, the authorization method is user authorization (user_grant).
D.
For the non-sensitive permissions declared by the app in the config.json file, the authorization method is user authorization (user_grant).
Answers
Suggested answer: C
Total 705 questions
Go to page: of 71