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

Viewing page 4 out of 14 pages
Viewing questions 46-60 out of questions
Questions # 46:

Which option is not the process of decoding in the conversion of the following information?

Options:

A.

player plays music from the record


B.

Convert the data to audio


C.

Notebook plays video files from the hard drive


D.

Save the photo in digital form


Expert Solution
Questions # 47:

When the page loses focus, which of the following callback methods will be called bythe system to make it enter the INACTIVE state?

Options:

A.

onStart


B.

onActive


C.

onBackground


D.

onInactive


Expert Solution
Questions # 48:

Which of the following scenarios does not use encoding technology?

Options:

A.

sound travels through twisted pairs


B.

Sound travels through rails


C.

Sound travels by radio


D.

Sound travels through optical fibers


Expert Solution
Questions # 49:

When a developer is developing an online education application, he has designed a feedback function that provides a text input box for users to fill in suggestions, which of the following components can help the developer realize this function?

Options:

A.

TextField


B.

Picker


C.

Checkbox


D.

TabList


Expert Solution
Questions # 50:

When the user migrates the video on the mobile phone to the smart screen for playback, there will be a pop-up prompt for the user to confirm whether to start the migration. During the migration process, which of the following methods is first called?

Options:

A.

onSaveData()


B.

onStartContinuation()


C.

onRestoreData()


D.

onCompleteContinuation()


Expert Solution
Questions # 51:

A developer obtains a log content: static final HiLogLabel LABEL = new HiLogLabe1 (HiLog.LOG_APP,0x00201,"MY_TAG");

Which of the following information can't be obtained?

Options:

A.

log level


B.

The business area of the log


C.

Log ID


D.

Log type


Expert Solution
Questions # 52:

If a developer wants to develop a page with a tab function, the developer can use theTabList component provided by HarmomyOS. If you want to set the horizontal center alignment of text, which of the following codes is correct?

Options:

A.

ohos:text_alignment=start


B.

ohos:text_alignment=bottom


C.

ohos:text_alignment=vertical_center


D.

ohos:text_alignment=horizontal_center


Expert Solution
Questions # 53:

A HarmamyOS developer created three task distributors, serialtask dispatcher_aand dispatcher_b, and a proprietary task dispatcher dispatcher_s. The developer is experiencing a deadlock while using syncDispatch, which of the following causes could cause this phenomenon?

Options:

A.

In the task assigned by the dispatcher_a, the task is dispatched by dispatcher_a again


B.

The thread pool is full


C.

In dispatcher_a assignment tasks, use dispatcher_b to dispatch assignments


D.

On a dedicated thread bound dispatcher_s, use dispatcher_s for syncDispatch


Expert Solution
Questions # 54:

Which of the following component hierarchies is wrong?

Options:

A.

list>listltem>Column


B.

Column>List>Listltem


C.

Grid>Row>Gridltem


D.

Grid>Gridltem


Expert Solution
Questions # 55:

Atomic service is a future-oriented service delivery method provided by HarmonyOS, which of the following statements about atomic service is correct?

Options:

A.

Atomic service consists of one or more HAP packets, and one HAP packet corresponds to one FA or one PA


B.

Atomic services are managed and distributed by AppGallery


C.

All HAP packages (including EntryHAP and FeatureHAP) of the Atomic Service are non-installation-free


D.

Atomic services do not have desktop icons, but they can be manually added to desktops in the form of service cards


E.

Comparedwith the traditional way of installing applications, the E atomic service is lighter, and provides richer entry points and more accurate distribution


Expert Solution
Questions # 56:

If a HarmonyOSapplication developer wants to achieve the following effects, which of the following combinations can achieve the effect?

Question # 56

Question # 56

A)Question # 56

B)Question # 56

C)Question # 56

D)Question # 56

Options:

A.

Option A


B.

Option B


C.

Option C


D.

Option D


Expert Solution
Questions # 57:

When a developer clicks the exit button of an application to release Page Ability resources, which callback method in the Page Ability lifecycle will be triggered?

Options:

A.

onForeground()


B.

onStop()


C.

onInactive()


D.

onBackground()


Expert Solution
Questions # 58:

Regarding the service cards of HarmonyOS applications, the following belong to the card users

Options:

A.

Traditional Applications


B.

Service Center


C.

Desktop


D.

Atomization services


Expert Solution
Questions # 59:

When a developer is developing a smart home application, the Switch component will be used to represent the switch of some devices, and ON should be displayed on the ON status component and OFF should be displayed on the closed state component, what are the following options that can meet the requirements?

Options:

A.

Switch btnSwitch=(Switch)findComponentByld(Resource Table.ld_btn_switch);

btnSwitch.setStateOffText(OFF);

btnSwitch.setStateONText(ON);


B.

Ohos:text_state_off="ON"

Ohos:text_state_on="OFF">


C.

Switch btnSwitch=

(Switch)findComponentByld(ResourceTable.ld_btn_switch); btnSwitch.setStateOffText(ON);

btnSwitch.setStateONText(OFF);


D.

Ohos:text_state_off="OFF"

Ohos:text_state_on="ON">


Expert Solution
Questions # 60:

If a developer wants to obtain the location information of a HarmonyOS device, which of the following methods is correct?

Options:

A.

must apply for ohos.permission.LOCATION_INBACKGROUND permissions and be authorized by the user.


B.

If the application scenario does not require real-time device location, you can obtain the latest historical location result cached by the system


C.

When thereal-time location result of the device is successfully determined by the

system, it will be reported to the application through the onLocationReport interface. Applications can implement their own business logic in the implementation of the onLocationReport API


D.

You can use the system's predefined constant SCENE_TRAJECTORY_TRACKING in a trajectory tracking scene


Expert Solution
Viewing page 4 out of 14 pages
Viewing questions 46-60 out of questions