Pass the Huawei HCIP-HarmonyOS H14-231_V1.0 Questions and answers with CertsForce

Viewing page 1 out of 14 pages
Viewing questions 1-15 out of questions
Questions # 1:

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 HarmonyOSto achieve this?

Options:

A.

Text image is super-resolved


B.

Image super-resolution


C.

Document detection correction


D.

General character recognition


Questions # 2:

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

Options:

A.

Permission management


B.

App permissions


C.

port security


D.

Application security


Questions # 3:

Which of the following descriptions of the HarmonyOSclipboard function is correct?

Options:

A.

Only clipping is supported


B.

can be copied in application A, but not pasted in application B


C.

Only replication is supported


D.

can be copied and pasted into app B in app A


Questions # 4:

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?

Options:

A.

onSaveData ()


B.

onStartContinuation ()


C.

onRestoreData (


D.

onCompleteContinuation ()


Questions # 5:

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

Options:

A.

The Aplant image is scaled to 0.5


B.

Thex-axis and y-axis of the B plant image are scaled to 0.5 and the effect is cropped in half


C.

Thex and y axes of the C plant image are scaled to 0.5 and the transparency is 0.5


D.

The Dplant image is cropped in half


Questions # 6:

When a developerdevelops 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?

Options:

A.

The developer can use the query() interface provided by the relational database to implement the function 2


B.

The developer can use the getRdbStore interface of the DatabaseHelper class to implement function 1


C.

The developer can use the insert() interface provided by the relational database to implement function 3


D.

Before queryingdata, you need to construct a predicate object for querying and store it in the form of a ValuesBucket


Questions # 7:

When a developer uses HarmonyOS Device Manager, he wrote the following code, which code description is correct?

Vardevicelnto=dmInstance.getLocaIDevicelnfoSync () :

Options:

A.

Obtain the local device information synchronously


B.

Asynchronously obtain the list of trusted devices


C.

Obtain the list of trusted devices synchronously


D.

Asynchronously obtain local device information


Questions # 8:

When a developer is developing a JavaSriptUI page of a shopping software,he needs to use the list component to display the product information, and which method of the list can be used to scroll to the specified item?

Options:

A.

scrollstart()


B.

scrollend()


C.

scrollto()


D.

scrollby()


Questions # 9:

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?

Options:

A.

4→1→2→3


B.

4→2→1→3


C.

4→3→2→1


D.

2→1→4→3


Questions # 10:

A HarmonyOSuser downloads and installs a new application, which has declared some non-sensitive permissions in the config.json file, and the application may involve some sensitive permissions during running. Which of the following is correct in this scenario?

Options:

A.

For the non-sensitive permissions declared by the app in the config.json file, the authorization method is user authorization (user_grant)


B.

For the non-sensitive permissions declared by the application in the config.json file, the application will be dynamically applied for during use


C.

For the sensitive permissions that may be involved in the running process of the application, the authorization method is system authorization (system_grant).


D.

Non-sensitive permissions declared by the app in the config.json file are automatically granted when the user installs the app


Questions # 11:

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

Options:

A.

Native only


B.

Dual (JS + JAVA)


C.

JAVA only


D.

Js only


Questions # 12:

When an engineer needs to add the function of recording video when developing an application, which of the following interfaces should be called?

Options:

A.

Recorder


B.

Coder


C.

Extractor


D.

Player


Questions # 13:

In distributed task scheduling, if a developer needs to coordinate access from multiple devices, what field in config.json does a developer need to apply for permission?

Options:

A.

deviceld


B.

reqPermissions


C.

Intent


D.

name


Questions # 14:

Which of the following descriptions of Page and AbilitySlice is correct?

Options:

A.

AbilitySlice can exist on its own


B.

Bpage can contain multiple AbilitySlices


C.

There is at least one AbilitySlice in a page


D.

Page can contain only one AbilitySlice


Questions # 15:

A developer defines an entity class Student.java and uses the following code to construct a teaching table:

Entity(tableName="student",ignoredColums =["ignoredColumn1"," ignoredColumn2", indices =(@Index(value =("firstName." ,"lastName",name="name_index", unique = true)))

Public class User extends OrmObject{

@PrimaryKey(autoGenerate= true)

Private Integer userld;

Private String firstName;

Private String lastName;

Private int age;

Private double balance;

Private int ignoredColumnl;

Private int ignoredColumn2;

}

Which of the following descriptions of this code is wrong?

Options:

A.

lgnoredColumns indicates that the field does not need to be added to the attributes of the student table


B.

lndices creates a composite index name_index for the firstName and 1astName fields


C.

The name of the data table is student

The index value of the


D.

composite index name_index is not unique


Viewing page 1 out of 14 pages
Viewing questions 1-15 out of questions