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: 4

Questions 46

When developing HarmonyOS applications, the main function of EventHandler is to deliver InnerEvent events or Runnable tasks to other threads for processing.

Options:
A.

IDLE

B.

HIGH

C.

MIDDLE

D.

LOW

E.

IMMEDIATE

Huawei H14-231_V1.0 Premium Access
Questions 47

What are the following advantages of the HarmonyOS forwarding architecture?

Options:
A.

Support remote service invocation and other capabilities, which can easily design business.

B.

Support different forms of devices, such as mobile phones, tablets, TVs, watches, etc.

C.

Unified flow management UI, supporting device discovery, selection, and task management.

D.

Support multiple applications to be forwarded at the same time.

Questions 48

An engineer uses a local simulator for application debugging, which of the following describes the wrong local simulator?

Options:
A.

Youcan run both the application-compatible signed and unsigned HAP (HarmonyOSAbility Package) on the local simulator

B.

By default, DevEco Studio does not automatically match the corresponding device emulator

C.

The default shortcut to start running is Shift+F10

D.

The local emulator can run and debug HarmonyOS applications for LiteWearable and Smart Vision devices

Questions 49

With regard to Web components, the following is incorrect

Options:
A.

WebController can control various behaviors of web components, such as forward, backward, runJavaScript, etc.

B.

The web component supports the setting of various properties such as fileAccess.javaScriptAccess, for example, .javaScriptAccess(true) indicates that JavaScript scripts are allowed to be executed.

C.

The web component supports a variety of events, such as onConfirm and onConsole, for example, the onConfirm callback is triggered when a web page calls confirm().

D.

The ohos.permission.INTERNET permission is required to access both online and offline web pages using the web component.

Questions 50

A HarmonyOS developer created two serial task distributors, dispatchera anddispatcher_b, and also created a proprietary task dispatcher. Which of the following scenarios can cause deadlocks due to improper use of syncDispatch?

Options:
A.

On a dedicated thread, dispatchers are used forsyncDispatch

B.

uses dispatcherb to dispatch tasks synchronously in dispatchera tasks

C.

In the tasks dispatchedby dispatcher_a, the dispatcher_a is used again to dispatch the task

D.

The thread pool is full

Questions 51

NetworkID is the communication identifier of distributed network device nodes in distributed networking, and is used to identify network device nodes in distributed services. To meet the privacy requirements in distributed scenarios, in which of thefollowing scenarios will NetworkID change?

Options:
A.

The user performs a factory reset of the device

B.

Device restarts

C.

The online list of devices in a distributed network changes from non-idle to empty and persists in empty for 5 minutes

D.

The interface of the application is transferred between different devices

Questions 52

In HarmonyOS, there are some applications that can call out universal cards, which can bring you the experience of using ().

Options:
A.

Swipe up icon, information directly

B.

Multiple sizes, choose at will

C.

Add desktops and combine them freely

D.

None of the above is true

Questions 53

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?

Options:
A.

Document Detection Correction

B.

General Character Recognition

C.

Entity Recognition

D.

Image super-resolution

Questions 54

A developer tries to update the text of Text directly in a non-UI thread, but the update fails, how to solve the problem of updating the UI of the non-UI thread in HarmomyOS??

Options:
A.

is implemented through the ParallelTaskDispatcher

B.

is implemented through the task dispatcher UITaskDispatcher

C.

is implemented through the SerialTaskDispatcher

D.

is implemented through the task dispatcher GlobalTaskDispatcher

Questions 55

Which of the following options is allthe components ofthe Harmony OS package?

Options:
A.

Logical code, resource files, and application configuration files

B.

Logical code and application configuration file

C.

Logical code

D.

Logical code, resource files, third-party libraries, and application configuration files

Questions 56

When the system destroys a page, which of the following callback methods will be triggered?

Options:
A.

onActive()

B.

onStart()

C.

onStop()

D.

onForeground()

Questions 57

When a developer develops a JavaScript application on a smart screen. If you want to do some static animation, if you want to move a component 200px horizontally, which of the following styling configurations is correct?

Options:
A.

transform: rotateƗ(200px);

B.

transform: rotateY(200px);

C.

transform: translatex(200px);

D.

transform: scaleX(200px);

Questions 58

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

Options:
A.

layout

B.

Cross-device call

C.

Graphical controls

D.

Window Management Framework

Questions 59

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

Options:
A.

module: {

reqPermissions: [{

name:com.myability.permission.MYPERMISSION,grantMode:system_grant,

availableScope: [signatures]

}

}

B.

module: {

defPermissions: [{

name:name:com.myability.permission.lNTERNET,

grantMode:user grant,

availableScope: [signatures]

}

}

module: {

defPermissions: [{

C.

name:name:com.myability.permission.INTERNET,

grantMode:system_grant,

availableScope: [signatures]

}

}

module: {

defPermissions: [{

D.

name:name:com.myability.permission.MYPERMISSION,

grantMode:system_grant,

availableScope: [signatures]

}

}

Questions 60

When a developer needs to specify the exact coordinates of the x-axis and y-axis of a sub-component when laying out a component, which layout can be used to achieve this function?

Options:
A.

DirectionalLayout

B.

PositionLayout

C.

DependentLayout

D.

StackLayout