Summer Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Free Huawei H14-231_V1.0 Practice Exam with Questions & Answers | Set: 2

Questions 16

When a company is developing a HarmonyOSapplication, it needs to customize an artboard control, how to get the X coordinates of the current touch point in the whole screen during the listening of touch events?

Options:
A.

touchEvent.getPointerScreenPosition(touchEvent.getIndex()).getX()

B.

touchEvent.getPointerPosition(touchEvent.getltem()).getX()

C.

touchEvent.getPointerScreenPosition(touchEvent.getltem()).getX()

D.

touchEvent.getPointerPosition(touchEvent.getlndex()).getX()

Huawei H14-231_V1.0 Premium Access
Questions 17

Which package is imported using the preferences?

Options:
A.

@ohos.data.rdb

B.

@ohos.data.preferences

C.

@ohos.router

D.

@ohos.data.storage

Questions 18

In the distributed terminal scenario, the "correct person" refers to the data accessor and business operator who have passed identity authentication. The "right person" is a prerequisite to ensure that user data is not illegally accessed and user privacy is not leaked. What does HarmonyOS use to implement collaborative authentication?

Options:
A.

Zero Trust model

B.

Trusted Execution Environment

C.

Multi-factor fusion authentication

D.

Collaborative Mutual Aid Certification

Questions 19

Which of the following component hierarchies is wrong?

Options:
A.

list>listltem>Column

B.

Column>List>Listltem

C.

Grid>Row>Gridltem

D.

Grid>Gridltem

Questions 20

In HramonyOS, which of the following can developers use the static animation feature to achieve?

Options:
A.

The picture is rotated along the center point

B.

The image rotates along the horizontal axis

C.

The picture rotates along the edges

D.

The picture rotates along the vertical axis

Questions 21

The library file is the third-party code that the application depends, which are the correct ways to use the following library files?

Options:
A.

Create a new module with the source code of the library file as a whole, and the entry directly references the classes in the library file

B.

Put the library files in the libs directory in the form of jar, so, etc., and then reference the dependencies{Implementation project(:mylibrary)} through the build.gradle under the project

If the required library files exist in the maven repository, you can configure the project's build.gradle as follows to useRepositories {.}

C.

Maven{

Url 'XXX'

// Add a Mavenrepository address, which can be a local Maven address or a remote Maven address

}

D.

Put the library file in the libs directory in the form of jar.so, and then refer to the dependencies (Implementationproject(: mylibrary)) through the build.gradle of the application module.

Questions 22

A developer has developed a HarmonyOS application that remotely launches a Page on phone B, and which of the following permissions does not need to request the user to grant permission by sending a pop-up window at runtime?

Options:
A.

ohos.permission.GET_DISTRIBUTED_DEVICE_INFO

B.

ohos.permission.DISTRIBUTED_DEVICE STATE_CHANGE

C.

ohos.permission.GET_BUNDLE_INFO

D.

ohos.permission.DISTRIBUTED_DATASYNC

Questions 23

What kind of struct is used to decoratively indicate that the structure has the ability to be componentized?

Options:
A.

@Component

B.

@Entry

C.

@Builder

D.

@Preview

Questions 24

When using HarmonyOS distributed terminals, which of the following items can ensure that the system is safe and reliable?

Options:
A.

Distributed multi-terminal collaborative identity authentication

B.

The distributed terminal must be a Huawei product

C.

In the process of cross-terminal flow of distributed data, the data is classified and hierarchically managed

D.

Build a trusted operating environment on distributed terminals

Questions 25

If a developer wants to use the distributed capabilities of HarmonyOS, which of the following options can the developer choose?

Options:
A.

Distributed device virtualization

B.

Distributed data management

C.

Distributed soft bus

D.

Distributed task scheduling

Questions 26

When a developer develops a JavaScript application on the smart screen,Want to do some static animation,If you want to move a component in the horizontal direction by 200px,Which of the following style configurations is correct?

Options:
A.

transform: scaleX(200px)

B.

transform:rotateX(200px)

C.

transform: translatex(200px)

D.

transform: translateY(200px)

Questions 27

In the collaborative office scenario, project the document on the mobile phone to the smart screen, and perform page turning and zoom operations on the document on the smart screen. What distributed capabilities are used in the preceding scenarios?

Options:
A.

Distributed Device Virtualization

B.

Distributed Data Service

C.

distributed soft bus

D.

Distributed file services

Questions 28

What kind of custom component can be used as a page entry component with a decorator?

Options:
A.

@Component

B.

@Entry

C.

@Builder

D.

@Preview

Questions 29

When developing a HarmonyOS application, which of the following notification types can be implemented by developers?

Options:
A.

Plain text

B.

Long text

C.

Image

D.

card

E.

Media

F.

Multiple lines

Questions 30

In a live broadcast scenario, where the anchor uses an action camera as the live broadcast camera, what are the distributed capabilities of HarmonyOS used in this scenario?

Options:
A.

Distributed file services

B.

Virtualization of distributed devices

C.

Cloth data services

D.

Distributed soft bus