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

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

Question list
Search
Search

List of questions

Search

Related questions











Which of the following does not belong to the system service layer in the HarmonyOS system architecture?

A.
Distributed data management
A.
Distributed data management
Answers
B.
Ability
B.
Ability
Answers
C.
Distributed task scheduling
C.
Distributed task scheduling
Answers
D.
Distributed soft bus
D.
Distributed soft bus
Answers
Suggested answer: B

In the JS (JavaScript) UI framework, which layer is used to complete the front-end page parsing?

A.
Engine Layer
A.
Engine Layer
Answers
B.
Platform adaptation layer
B.
Platform adaptation layer
Answers
C.
Front-end frame layer
C.
Front-end frame layer
Answers
D.
Application layer
D.
Application layer
Answers
Suggested answer: C

If a developer needs to add the Banner function to a page, which of the following components is most suitable for implementing the function?

A.
ScrollView
A.
ScrollView
Answers
B.
PageSlider
B.
PageSlider
Answers
C.
Text
C.
Text
Answers
D.
ListContainer
D.
ListContainer
Answers
Suggested answer: B

A developer is developing an alarm clock application, which of the following components can be used to set the hour, minute, and second of the alarm clock?

A.
Checkbox
A.
Checkbox
Answers
B.
Switch
B.
Switch
Answers
C.
DatePicker
C.
DatePicker
Answers
D.
TimePicker
D.
TimePicker
Answers
Suggested answer: D

When a developer develops an application based on Harmony OS, one of the HAPs (HarmonyOS Ability Package) needs to access the SQLite database to implement the following functions:

Function 1: Create a database.

Function 2: Insert data.

Function 3: Query data.

Which of the following descriptions of the developer's development steps is correct?

A.
The developer can use the query() interface provided by the relational database to implement the function 2
A.
The developer can use the query() interface provided by the relational database to implement the function 2
Answers
B.
The developer can use the getRdbStore interface of the DatabaseHelper class to implement function 1
B.
The developer can use the getRdbStore interface of the DatabaseHelper class to implement function 1
Answers
C.
The developer can use the insert() interface provided by the relational database to implement function 3
C.
The developer can use the insert() interface provided by the relational database to implement function 3
Answers
D.
Before querying data, you need to construct a predicate object for querying and store it in the form of a ValuesBucket
D.
Before querying data, you need to construct a predicate object for querying and store it in the form of a ValuesBucket
Answers
Suggested answer: B

When a developer installs HAP (HarmonyOS Ability Package), what is the reason for the 'STRING LENGTH ERROR' message?

A.
Signature information is not configured
A.
Signature information is not configured
Answers
B.
Package information exceeds the maximum length
B.
Package information exceeds the maximum length
Answers
C.
The device type configured in config.json does not match the debugging device type
C.
The device type configured in config.json does not match the debugging device type
Answers
D.
The compilation and build plugin version does not match the Gradle version
D.
The compilation and build plugin version does not match the Gradle version
Answers
Suggested answer: B

A developer needs to cancel a task, but part of the code segment he wrote was deleted by mistake. The remaining codes are as follows, with the missing codes indicated by the dash:

TaskDispatcher dispatcher =

getUlTaskDispatcher();

Revocable revocable =

________________________(new Runnable(){

@Overide Public void run(){

HiLog.info(L . ABEL_ _LOG,'delay dispatch');

}

},10);

Boolean revoked = revocable.revoke();

HiL og.info(L _ABEL_ LOG),'%{public}b' ,revoked);

Which of the following might be missing pieces in the above code?

A.
dispatcher.delayDispatch
A.
dispatcher.delayDispatch
Answers
B.
dispatcher.asyncDispatch
B.
dispatcher.asyncDispatch
Answers
C.
dispatcher.syncDispatch
C.
dispatcher.syncDispatch
Answers
D.
dispatcher.createDispatchGroup
D.
dispatcher.createDispatchGroup
Answers
Suggested answer: A

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 selected tab to be marked by underlining at the bottom, which of the following codes is correct?

A.
ohos:tab indicator type='bottom_line'
A.
ohos:tab indicator type='bottom_line'
Answers
B.
ohos:tab_indicator_type='invisible'
B.
ohos:tab_indicator_type='invisible'
Answers
C.
ohos:tab_indicator_type='oval'
C.
ohos:tab_indicator_type='oval'
Answers
D.
ohos:tab_indicator_type='left_line'
D.
ohos:tab_indicator_type='left_line'
Answers
Suggested answer: A

When a developer receives a new product demand and asks users to remake old documents such as paper letters into electronic versions, the application can improve the remake effect of the old documents and make the work more correct. What kind of AI-enabled capabilities can be leveraged by HarmonyOS to achieve this?

A.
Text image is super-resolved
A.
Text image is super-resolved
Answers
B.
Image super-resolution
B.
Image super-resolution
Answers
C.
Document detection correction
C.
Document detection correction
Answers
D.
General character recognition
D.
General character recognition
Answers
Suggested answer: A

A developer uses the AI capabilities provided by Harmony OS to achieve the following functions: 1. Perform text detection and recognition of image sources such as document remakes and street view reproductions, and provide translation, search and other related services based on the recognition results. 2. Convert various bills into image information by taking pictures, and then use text recognition technology to convert image information into character information that can be used by computers and other equipment. In order to implement the above functions, which of the following I capabilities is most likely to be used by the developer?

A.
Universal Character Recognition
A.
Universal Character Recognition
Answers
B.
Text and image super-resolution
B.
Text and image super-resolution
Answers
C.
Keyword extraction
C.
Keyword extraction
Answers
D.
Part-of-speech annotation
D.
Part-of-speech annotation
Answers
Suggested answer: A
Total 705 questions
Go to page: of 71