Summer Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ecus65

Huawei H14-231_V1.0 - HCIP-HarmonyOS Application Developer V1.0

Page: 2 / 14
Total 695 questions

The Ark Development Framework of HarmonyOS includes a Web-like development paradigm based on TS extensions and a declarative development paradigm based on JS extensions.

A.

True

B.

False

An engineer wrote the following code, which items are correct in the description of the following code?

@Entity(tableName="user",ignoredColumns={"ignoredColumn1","ignoredColumn2"},indices ={@Index(value ={"firstName","lastName"),name="name_index",unique =true)})

A.

"name_index" is the composite index name

B.

index values are not unique

C.

"ignoredColumns" indicates that the field does not need to be added to the properties of the "user" table

D.

Thetable is named "user".

When using EventHandler to implement thread interrogation communication, if EventRurner takes out the InnerEvent event, EventRunner will directly process the event on the new thread.

A.

True

B.

False

What types of conversion functions are supported for static animations in HarmonyOS?

A.

rotate: Rotates the specified angle of the specified assembly along the horizontal or vertical axis or center point

B.

animation-timing-function: Describes the speed curve of animation execution to make the animation smoother

C.

translate: Moves the specified component the required distance horizontally or vertically

D.

scale: Scales the specified component down or in portrait orientation to the desired scale

If there are different components in the layout with the same ID, when the component is searched by ID, the last component found will be returned.

A.

True

B.

False

What capabilities does the public event service provide for the application?

A.

Unpublish a public event

B.

Subscribe to public events

C.

Publish a public event

D.

Unsubscribe from public events

HarmonyOS is classified according to the size of the device's memory, which of the following categories can be divided into?

A.

Small system equipment

B.

Large-scale system equipment

C.

Lightweight system equipment

D.

Standard system equipment

Suppose that multiple AbilitySlice are associated in MainAbility, and multiple AbilitySlice are switched in the same page, the lifecycle of MainAbility and all AbilitySlice is synchronized.

A.

True

B.

False

A developer uses the JavaScript UI framework's swiper sliding container to develop a banner scrolling effect, which are the correct items in the following description of the swiper code?

indicator="true"autoplay="true"interval="2000"

loop="true"digital="false">

A.

subassembly loops

B.

subcomponent autoplay

C.

Navigation points can be manipulated

D.

subcomponent autoplay interval 20s

A developer needs to read the resource file in the rawfile folder, and the following code can be used to read it successfully.

Image

image(Image)findComponentByld(ResourceTable.Id_component_image);

Image.setPixelMap (ResourceTable.Media hawei);

A.

True

B.

False

Which of the following service management mechanisms does HarmonyOS's distributed task scheduling consist of?

A.

Service Registration

B.

Service discovery

C.

Service calls

D.

Service synchronization

Which of the following descriptions of the global concurrent task distributor and the concurrent task distributor is correct?

A.

Concurrent task distributor is globally unique

B.

Global concurrent task dispatcher, obtained by Ability by executing getGlobalTaskDispatcher().

C.

The global concurrent task distributor is globally unique

D.

Concurrent task dispatcher, created by Ability to execute createParallelTaskDispatcher() and returned

A developer wants to use JS (JavaScript) to develop an application on the smart screen,Which of the following development languages does the developer need to master?

A.

C/C++

B.

CSS

C.

HTML5

D.

JavaScript

A developer tries to use the word segmentation feature of HarmonyOS to tokenize a dry word article, and in this scenario, the word segmentation text exceeds 500 characters, so the parameter error will be returned.

A.

True

B.

False

If a developer uses the DevEco Studio tool for application development, which of the following commissioning methods does the tool support?

A.

Android Debug Bridge

B.

Previewer

C.

Simulator

D.

Real machine