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

Questions 136

The user and provider of the service card do not require permanent operation, and when it is necessary to add, remove, or request to update the card, the card management service will pull up the card provider to obtain the card information.

Options:
A.

True

B.

False

Huawei H14-231_V1.0 Premium Access
Questions 137

The following description of the basic components of the ArkTS declarative development paradigm is correct

Options:
A.

Decorator: Used to decorate classes, structs, methods, and variables to give them a special meaning, e.g. @Entry indicates that this is an entrance component.

B.

Custom components: Reusable UI units that can be combined with other components.

C.

UIDescription: A declarative method to describe the structure of the UI, such as a code block in the build() method.

D.

Built-in components: Built-in basic components and layout components in ArkTS by default, such as Column, Text, Divider, Button, etc., can be called by developers.

E.

attributemethod: used to configure component attributes, which are set through attribute methods, such as fontSize(), width(), height(), color(), etc.

F.

Event method: It is used to add the component's response logic to the event, which is set through the event method, such as onClick() following the Button.

Questions 138

Which of the following functions does the HarmonyOS network management module provide?

Options:
A.

Data connection management

B.

Data network management

C.

Traffic statistics

D.

Create a local socket

Questions 139

If a developer uses the startAbility() method provided in Ability to start a Service, what are the correct descriptions of starting the Service?

Options:
A.

If the Service is running, the system will call back theonStart() method of the Service to start the Service

B.

If the Service is running, the system will call back the onCommand() method of theService to start the Service

C.

If the Service is not already running, the system will call the onCommand() method to start the Service

D.

If the Service is not yet running, the system will call onStart() to initialize the Service

Questions 140

In order to put a series of related download tasks into a task group, a developer uses the following code:

String dispatcherName =

"parallelTaskDispatcher";

TaskDispatcher dispatcher =

createParallelTaskDispatcher(dispatcherName,TaskPriority.DEFAULT);

Group group

=dispatcher.createDispatchGroup();

dispatcher.asyncGroupDispatch(group,new

Runnable(){

@Override

public void run(){

HiLog.info(LABEL_LOG,"download taskl is

running ");

}

});

dispatcher.groupDispatchlotify(group,new

Runnable(){

@0verride

public void run(){

HiLog.info(LABEL_L0G,"the close task2 is

running");

}

});

dispatcher.groupDispatchlotify(group,new

Runnable(){

@Override

public void run(){

HiLog.info(LABEL_L0G, "the close task is

running after all tasks in the group are

completed");

}

});

If the developer runs this code, which of the following results might occur?

Options:
A.

the close task is running after all tasks in the group are completed download task1 is running download task2 is running

B.

download task1 is running the close task is running after all tasks in the group are completed dowmload task2 is running

C.

download task1 is running download task2 is running the close task is running after all tasks in the group are completed

D.

download task2 is running download task1 is running the close task is running after all tasks in the group are completed

Questions 141

Regarding the Tabs component and the TabContent component, the following description is correct

Options:
A.

TabContent component does not support setting a generic width property, and its width is equal to the barWidth property of the Tabs component.

B.

TheTabContent component does not support setting the general height attribute, and its height is determined by the height of the parent Tabs and the height of the TabBar component.

C.

TabsController is used to control tabs to switch between tabs, and does not support one tabscontroller to control multiple tabs.

D.

ThetabBar property of theTabContent component supports components generated using the @Builder constructor.

Questions 142

Which of the following component hierarchies are correct

Options:
A.

Text>Span

B.

Button>Column>Image

C.

Button>Image>Text

D.

Image>Text>Span

E.

Column>Row>Button

Questions 143

What services will be automatically activated after a HarmonyOS Cloud development project is created?

Options:
A.

SCF

B.

Cloud Database

C.

Cloud storage

D.

Certification services

Questions 144

Which of the following methods can a developer use to obtain the actual pixel size corresponding to 8VP on the current device?

Options:
A.

int size4 =AttrHelper.convertDimensionToPix(getContext(),"8vp”,0);

B.

int size3=AttrHelper.convertDimensionToPix(getContext(),"8",0);

C.

int size2 =AttrHe1per.vp2px(8,getContext());

D.

int sizel =(int)(Dislaylanager.getInstance

().getDefaultDisplay(

getContext().get().getRealAttributes().scalDensity*8 +.5f);

Questions 145

Which of the following can set the rounded corner effect of the ShapeElement?

Options:
A.

Bin Java code set: int radius =

B.

AttrHelper.vp2px(8)

element.setCornerRadiiArray(new float[]

{radius,radius,radius,radius,radius,radius,radius,radius})

C.

Set in XML:

D.

is set in Java code:

element.setCornerRadius(AttrHelper.vp2px(8))

Questions 146

A developer has multiple versions of the object-relational mapping database, and the developer calls the BOOKstoreUpgrade class to upgrade the database version, and the version number of the BOOKstoreUpgrade class is configured as "3", and the actual version number of the current BOOKstore.db is "1", in this case, TestormMigration12, TestormMigration23 The onMigration method is automatically called to complete the database upgrade.

Options:
A.

True

B.

False

Questions 147

Which of the following functions is a lifecycle function for a custom component?

Options:
A.

aboutToAppear

B.

aboutToDisappear

C.

onPageShow

D.

onPageHide

E.

onBackPress

Questions 148

Mobile terminal devices have penetrated into all aspects of people's daily life, such as checking the weather, news and anecdotes of the city, traveling taxi, travel navigation, and sports records. These accustomed activities are inseparable from locating the location of the user's terminal equipment. What positioning technologies does HarmonyOS's location services subsystem provide?

Options:
A.

GPS

B.

Beidou

C.

WLAN

D.

Base Station

E.

Bluetooth

Questions 149

What are the scenario-based capabilities included in the HarmonyOS feature?

Options:
A.

One-time development and multi-terminal deployment

B.

can be divided and combined, free circulation

C.

Unified ecology and native intelligence

D.

High-frequency operation to improve efficiency

Questions 150

What are the features of Huawei DevEco Studio, which is a multi-device unified development environment?

Options:
A.

Support distributed multi-terminal application development

B.

Support multi-device previewer

C.

Support rapid development of FA (Feature Ability) and PA (Partic1eAbility).

D.

Support multi-device emulators