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

H14-231_V1.0 HCIP-HarmonyOS Application Developer V1.0 Questions and Answers

Questions 4

A developer has developed an Image component and written the following code, which of the following descriptions of the component is correct?

Options:

A.

The A plant image is scaled to 0.5

B.

The x-axis and y-axis of the B plant image are scaled to 0.5 and the effect is cropped in half

C.

The x and y axes of the C plant image are scaled to 0.5 and the transparency is 0.5

D.

The D plant image is cropped in half

Buy Now
Questions 5

HarmonyOS's AI capability provides the function of generating QR codes, for example, if you need to generate a QR code for each mobile phone contact, which of the following describes the QR code correctly?

Options:

A.

The width of the generated QR code image can be 2000 pixels

B.

The length of the string must be at least 2953 characters

C.

The height of the generated QR code image can be 1680 pixels

D.

Call the detect() method of IBarcodeDetector to generate the corresponding QR code image byte stream based on the input string information

Buy Now
Questions 6

When a developer uses the Text component for development, due to the long length of the input string, the content in the middle of the text needs to be truncated with ellipses. Which of the following codes can be used to achieve the above requirements?

Options:

A.

ohos:truncation_mode=ellipsis_at_start

B.

ohos: truncation_mode=auto_scrolling

C.

ohos:truncation_mode=ellipsis_at_middle

D.

ohos:truncation_mode=ellipsis_at_end

Buy Now
Questions 7

A developer needs to cancel a task, but part of the code segment he wrote was deleted by mistake. The remaining codes are as follows, with the missing codes indicated by the dash:

TaskDispatcher dispatcher =

getUlTaskDispatcher();

Revocable revocable =

________________________(new Runnable(){

@Overide Public void run(){

HiLog.info(L . ABEL_ _LOG,"delay dispatch");

}

},10);

Boolean revoked = revocable.revoke();

HiL og.info(L _ABEL_ LOG),"%{public}b" ,revoked);

Which of the following might be missing pieces in the above code?

Options:

A.

dispatcher.delayDispatch

B.

dispatcher.asyncDispatch

C.

dispatcher.syncDispatch

D.

dispatcher.createDispatchGroup

Buy Now
Questions 8

A Page Instance can contain a group of related pages, and each page is represented by an AbilitySlice instance.

Options:

A.

True

B.

False

Buy Now
Questions 9

The callback mechanism provided by the Ability class can allow the Page instance to switch with the user's operation background

Options:

A.

True

B.

False

Buy Now
Questions 10

Which of the following components are container components?

Options:

A.

Button

B.

Row

C.

Column

D.

Image

E.

TextInput

Buy Now
Questions 11

If an engineer uses the two-way preview function of JavaScript in DevEco Studio, which of the following items can be supported after the function is enabled?

Options:

A.

Component Tree

B.

Code Editor

C.

UI interface

D.

Terminal

Buy Now
Questions 12

Which of the following statements is true about the use of the previewer?

Options:

A.

In the process of developing UI code, if you add or remove UI components, you only need to Ctrl+S to save them, and then the previewer will immediately refresh the preview result

B.

On the previewer interface, you can operate the interface interaction actions of the application/service in the previewer, such as clicking, jumping, swiping, etc., which is consistent with the interface interaction experience of the application/service running on the real device

C.

Component previews are implemented by adding annotations @Preview front of the component

D.

The page preview is achieved by adding annotations to the header of the ETS file @Entry the project

Buy Now
Questions 13

If a UI is no longer visible to the user, but you don't want to destroy it, which method will the system call to release the corresponding resources?

Options:

A.

onBackground

B.

onPause

C.

onForeground

D.

onInactive

Buy Now
Questions 14

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

Options:

A.

onActive()

B.

onStart()

C.

onStop()

D.

onForeground()

Buy Now
Questions 15

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

Buy Now
Questions 16

Which of the following belongs to the lifecycle of starting a Service Ability?

Options:

A.

onStart()→onComrand()→onBackground()→onStop()

B.

onStart()→onCommand()—onForeground()→onBackground()→onStop()

C.

onStart()→onCommand()→onStop()

D.

onStart()→ onCommand()→onBackground()→ onDisconnect()→onStop()

Buy Now
Questions 17

When a developer uses HarmonyOS Device Manager, he wrote the following code, which code description is correct?

Vardevicelnto=dmInstance.getLocaIDevicelnfoSync () :

Options:

A.

Obtain the local device information synchronously

B.

Asynchronously obtain the list of trusted devices

C.

Obtain the list of trusted devices synchronously

D.

Asynchronously obtain local device information

Buy Now
Questions 18

A developer uses the threading function of HarmonyoS and writes the following code, which is the correct order of the execution result of the code?

TaskDispatcher globalTaskDispatcher =

getGlobalTaskDispatcher(TaskPriority.DEFAULT);

globalTaskDispatcher.syncDispatch(new

Runnable(){

@Override

public void run(){

HiLog.info (LABEL_LOG,"sync task1 run");//1

HiLog.info (LABEL_LOG, "after sync task1");//2

globalTaskDispatcher.syncDispatch(new

Runnable(){

@0verride

pub1ic void run(){

HiLog.info(LABEL_LOG,"sync task2 run"); 3

}

});

HiLog.info (LABEL_LOG, "after sync task2");//4

Options:

A.

2→1→3→4

B.

1→2→3→4

C.

2→1→4→3

D.

4→1→2→3

Buy Now
Questions 19

The distributed soft bus is the base for communication between various devices, which of the following does not belong to the bus hub of the distributed soft bus?

Options:

A.

Data and Computing Center

B.

Decision-making centre

C.

Task Bus

D.

Interconnection Management Center

Buy Now
Questions 20

When a user is traveling by car, a navigation route is planned on the mobile phone, and after getting into the car, the user migrates the mobile phone navigation to the large screen of the car machine. In this scenario, which interface is used to implement cross-device migration?

Options:

A.

IAbilityConnection

B.

IAbilityContinuation

C.

AbilityContinuation

D.

AbilityConnection

Buy Now
Questions 21

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

Buy Now
Questions 22

A developer is developing an online education application, and there are multiple choice questions and multiple choice questions in the student Answer: interface, which of the following components is suitable for displaying multiple choice questions?

Options:

A.

Picker

B.

Checkbox

C.

RadioButton

D.

Switch

Buy Now
Questions 23

The Ability (referred to as "Service") of the Service template is only used for background running tasks, and the priority of background Services is relatively low, and when the resources are insufficient, the system may recycle the running background Service

Options:

A.

True

B.

False

Buy Now
Questions 24

HarmonyOS developers can use the "chos. Permission.CET_NET7ORK_INFO request permission to Modify Network Connection Status.

Options:

A.

True

B.

False

Buy Now
Questions 25

A developer wants to implement a registration and login function, and there are two pages, namely registration page A and login page B. When jumping from registration page A to login page B, which of the following is correct about the lifecycle of the two pages?

Options:

A.

A(INACTIVE)→B(INITIAL)→B(ACTIVE)→A(BACKGROUND)

B.

B(INITIAL)→B(ACTIVE)→A(INITIAL)→A(BACKGROUND)

C.

A(INACTIVE)→A(BACKGROUND)→B(INITIAL)→ B(ACTIVE)

D.

A(INACTIVE)→B(INITIAL)→A(BACKGROUIND)→ B(ACTIVE)

Buy Now
Questions 26

In HarmonyOS, which of the following scenarios is the application responsible for instantiation?

Options:

A.

Jump to another page through a hyperlink

B.

reads a novel through a web page and accidentally clicks on an advertisement, which jumps directly to the app store to request the download of a certain game

C.

An app page has messages, contacts, settings, etc., and you can switch between them

D.

Start an AbilitySlice by navigating

Buy Now
Questions 27

Which of the following gesture types does the HarmonyOS declarative development paradigm provide?

Options:

A.

Pan gesture

B.

Press and hold gestures

C.

Tap gesture

D.

Pinch gesture

Buy Now
Questions 28

HarmonyOS adopts a multi-core design, which supports the selection of appropriate OS kernels for different resource-constrained devices, and the kernel abstraction layer provides basic kernel capabilities for the upper layer by shielding the differences between multiple cores, including which of the following?

Options:

A.

Memory management

B.

File Management

C.

Network management

D.

Peripheral management

E.

Process Management

F.

Thread Management

Buy Now
Questions 29

Which of the following scenarios is part of the HarmonyOS notification function?

Options:

A.

Push version updates

B.

Push advertising messages

C.

Displays received text messages

D.

Instant messaging

Buy Now
Questions 30

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 the following 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

Buy Now
Questions 31

A developer has developed a news browsing application, and the news list page is displayed by default when the application is opened, which of the following methods does the developer use to achieve this function?

Options:

A.

Intent()

B.

SetMainRoute()

C.

AddActionRoute()

D.

onStart()

Buy Now
Questions 32

Which field needs to be configured in the module.json5 file for UIAbility startup mode?

Options:

A.

module

B.

skills

C.

launchType

D.

abilities

Buy Now
Questions 33

The distributed soft bus is the base for communication between various devices, which of the following does not belong to the bus hub of the distributed soft bus?

Options:

A.

Data and Computing Center

B.

Decision-making centre

C.

Task Bus

D.

Interconnection Management Center

Buy Now
Questions 34

HarmonyOS provides developers with data management functions, which of the following are the following?

Options:

A.

Converged Search

B.

Data storage management

C.

Distributed data services

D.

Distributed file services

E.

Local database

Buy Now
Questions 35

What is the format of the software package when uploading and publishing a software package?

Options:

A.

.zip

B.

.app

C.

.apk

D.

.hap

Buy Now
Questions 36

Where is the data of the preference placed after persistence?

Options:

A.

In memory

B.

database table

C.

file

D.

Cloud

Buy Now
Questions 37

What features can developers use to implement collaborative identity authentication through HarmonyOS?

Options:

A.

Secure boot

B.

Zero trust model

C.

Collaborative Mutual Aid Certification

D.

Multi-factor fusion authentication

Buy Now
Questions 38

What functions does UIAbility's lifecycle include?

Options:

A.

onCreate

B.

onForeground

C.

onBackground

D.

onDestroy

Buy Now
Questions 39

The network management module of HarmonyOS provides a data network management function, which can effectively manage HTTP caches to reduce data traffic.

Options:

A.

True

B.

False

Buy Now
Questions 40

In a HarmonyOS application, which of the following and the ComponentContainer object are actually composed of the interface elements that the user sees?

Options:

A.

DirectionLayout

B.

DependentLayout

C.

Component

D.

TableLayout

Buy Now
Questions 41

A HarmonyOS developer develops an application based on distributed data services, and the developer uses device A, device B, and device C to test the functionality of the application in a distributed scenario. In the test, after device A successfully adds, deletes, and modifies data, device B and device C cannot read the updated data immediately, but after a certain time window, the data of the three devices will reach the same state. In the preceding scenario, what kind of consistency does the application conform to in a distributed database?

Options:

A.

Weak consistency

B.

Strong consistency

C.

Eventual consistency

D.

Process consistency

Buy Now
Questions 42

Which of the following is the background agent reminder function module supported from API9.

Options:

A.

@ohos.reminderAgentManager

B.

@ohos.reminderManager

C.

@ohos.reminderAgent

D.

@ohos.notificationManager

Buy Now
Questions 43

A manufacturer uses the HarmonyOS system to produce a smart oven, which is a lightweight system device in HarmonyOS.

Options:

A.

True

B.

False

Buy Now
Questions 44

How to realize distributed communication between two existing Harmony OS devices?

Options:

A.

Configure the ohos.permission.lNTERNEl permission in the configuration file

B.

Configure ohos.permission.DISTRIBUTED_DATASYNC permission in the configuration file and dynamically request this permission again

C.

Configure ohos.permission.DISTRIBUTED_DATASYNC permissions in the configuration file

D.

Configure the ohos.permission.IlNTERNET permission in the configuration file and dynamically request this permission again

Buy Now
Questions 45

When a developer specifies a music playback service through an intent when starting a remote service, device A (local device) can start the music playback capability of device B (remote device).

Options:

A.

Enable remote FA (Feature Ability).

B.

Connect to a remote PA (Particle Ability).

C.

Start the remote PA (Particle Ability).

D.

Particle Ability (PA) of the Guantuan

Buy Now
Questions 46

If a developer wants to develop a page with a tab function, the developer can use the TabList 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

Buy Now
Questions 47

Regarding the position setting of the Tabs component tab, the following is the wrong description

Options:

A.

When barPosition is set to Start (the default value) and the vertical attribute is false (the default value), the tab is located at the top of the container

B.

If barPosition is set to Start (the default value) and the vertical attribute is set to true, the tab is located on the left side of the container

C.

When barPosition is set to End and vertical is set to false (the default), the tab is located at the bottom of the container

D.

When barPosition is set to End and vertical is set to true, the tab is located at the bottom of the container

Buy Now
Questions 48

Which of the following items is an asynchronous task dispatch method in HarmonyOS threads?

Options:

A.

asyncDispatch

B.

asyncGroupDispatch

C.

syncDispatch

D.

delayDispatch

Buy Now
Questions 49

When I need to create a profile when publishing an application, what type should I choose?

Options:

A.

Debug

B.

distribution

C.

runs

D.

Operations

Buy Now
Questions 50

What components can the animation property be used in?

Options:

A.

can only be a base component

B.

can only container components

C.

Basic components and container components

D.

None of the above is true

Buy Now
Questions 51

The streaming capability of HarmonyOS breaks the boundaries of devices and enables multi-device linkage, enabling users to separable, merge, and stream, enabling distributed services such as cross-device email editing, multi-device collaborative fitness, and multi-screen games. Which of the following options is one of the advantages of the HarmonyOS forwarding architecture?

Options:

A.

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

B.

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

C.

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

D.

Support multiple applications to be forwarded at the same time

Buy Now
Questions 52

Regarding the Button component, which of the following styles is a capsule-type button?

Options:

A.

ButtonType.Capsule

B.

ButtonType.Normal

C.

ButtonType.Circle

D.

None of the above

Buy Now
Questions 53

A developer designed an application, when the user receives a notification, if the user clicks on the notification, it will jump to a new page, and if the notification is not clicked, the new page will not be triggered.

Options:

A.

NotificationSlot

B.

triggerlntentAgent

C.

setName

D.

setDescription

Buy Now
Questions 54

The user migrates the video on the mobile phone to the smart screen for playback, and after the mobile phone saves the data, the smart screen calls back which of the following methods is used to recover the data?

Options:

A.

onSaveData ()

B.

onStartContinuation ()

C.

onRestoreData ()

D.

onCompleteContinuation ()

Buy Now
Questions 55

Now a Text component is used as the title of a page, and the Text needs to be set to be invisible, but it still occupies the current layout space, which of the following is correct?

Options:

A.

ohos:visibility="invisible"

B.

text.setVisibility(Component.VISIBLE);

C.

ohos:visibility="visible"

D.

ohos:visibility="hide"

Buy Now
Questions 56

Which of the following is part of the basic software service subset in HarmonyOS?

Options:

A.

multimedia subsystem

B.

Telephone subsystem

C.

Event Notification Service Subsystem

D.

Graphics subsystem

E.

Location Services subsystem

Buy Now
Questions 57

A developer calls the getDefauitHOST(Context context) interface of Bluetooth HOST to obtain a Bluetooth HOST instance for managing local Bluetooth operations. This developer experiments with the following development steps to implement Bluetooth pairing. 1Turn on Bluetooth, 2Scan Bluetooth3 Initiate pairingWhich of the following statements about steps 1, 2, and 3 are correct?

Options:

A.

CALLS STARTPAIR() TO COMPLETE STEP 3

B.

calls enablebt() to complete step 1

C.

CALLS STARTBTDISCOVERY() TO COMPLETE STEP 2

D.

steps 2 and 3 can be reversed in the order D

Buy Now
Questions 58

Distributed task scheduling builds a unified distributed service management (discovery, synchronization, registration, and call) mechanism based on technical characteristics such as distributed soft bus, distributed data management, and distributed profile.

Options:

A.

Remote start

B.

Remote connection

C.

Remote migration

D.

Remote call

Buy Now
Questions 59

When using the location capability of HarmonyOS, developers need to apply for the LOCATION permission, which is a non-sensitive permission and needs to be declared in config.json.

Options:

A.

True

B.

False

Buy Now
Questions 60

When developing the list component in the JavaScript UI framework, you can use the data of the Map type to dynamically bind the data.

Options:

A.

True

B.

False

Buy Now
Questions 61

An engineer uses the WLAN P2P function, and the engineer can establish a P2P group.

Options:

A.

True

B.

False

Buy Now
Questions 62

When designing a JavaScript UI based on HarmonyOS, if the text component itself cannot be focused, the focus cannot be moved to the component, and the focusable attribute of text is set to true. text component.

Options:

A.

True

B.

False

Buy Now
Questions 63

If a developer wants to develop a file background download function, there needs to be a Page Ability to provide UI pages, and a ServiceAbility to provide a background file download function. If you want to perform some operations in the Service Ability after connecting to the Service Ability in the Page Ability, you need to implement the onConnect() method in the Service Ability.

Options:

A.

True

B.

False

Buy Now
Questions 64

When an engineer packages an application, DevEco Studio will package all the HAP (HarmonyOS Ability Package) modules in the project directory into the application, so if there are HAP modules in the project directory that do not need to be packaged into the application, the tool will automatically delete them and then compile and build the application.

Options:

A.

True

B.

False

Buy Now
Questions 65

If you need to use a composite animation, you can combine multiple animation objects and add them to the AnimatorGroup. AnimatorGroup provides two methods: runserially() and runParallel(), which indicate that the animation starts sequentially and the animation starts at the same time, respectively

Options:

A.

True

B.

False

Buy Now
Questions 66

A developer wants to use macOS for HarmonyOS application development, but the development tool DevEco Studio does not support macOS installation.

Options:

A.

True

B.

False

Buy Now
Questions 67

A HarmonyOS developer uses syncDispatch to synchronously dispatch tasks when developing applications. In this scenario, syncDispatch dispatches the task and waits for the task to complete on the current thread, so the current thread is not blocked until it returns.

Options:

A.

True

B.

False

Buy Now
Questions 68

When developing HarmonyOS applications, if the client and server need to communicate across processes, you can use idl to define programming interfaces that are recognized by both.

Options:

A.

True

B.

False

Buy Now
Questions 69

If the third-party library used by the developer involves permission management, the permission needs to be declared one by one in the config.json file of the application.

Options:

A.

True

B.

False

Buy Now
Questions 70

A home appliance manufacturer used HarmonyOS to produce a high-end refrigerator with a display (256MB of memory), which is not part of HarmonyOS's standard system device.

Options:

A.

True

B.

False

Buy Now
Questions 71

If a developer wants to develop a file background download function, there needs to be a Page Ability to provide U pages, and a Service Ability to provide the background file download function. If you want to perform some operations after connecting to the Service Ability in the Page Ability, you need to implement the onAbilityConnectDone() method in the Page Ability.

Options:

A.

True

B.

False

Buy Now
Questions 72

In the Javascript UI framework, to realize the jump between pages, you need to specify the uri in the page routing router to find the target page.

Options:

A.

True

B.

False

Buy Now
Questions 73

In order to avoid affecting the startup speed, developers need to postpone the execution of non-essential time-consuming tasks until the time of use, instead of performing all initializations in the onStart() method.

Options:

A.

True

B.

False

Buy Now
Questions 74

With the help of HarmonyOS's Al capability, it can detect and recognize the text of image sources such as document remakes and street view reproductions, and can also be integrated into other applications to provide text detection and recognition functions, and provide translation, search and other related services based on the recognition results. This is by taking advantage of the super-resolution of text and images in AI.

Options:

A.

True

B.

False

Buy Now
Questions 75

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.

Options:

A.

True

B.

False

Buy Now
Questions 76

When a developer develops an application based on HarmonyOS, the data used by a developer can be decomposed into multiple objects. The developer needs to add, delete, modify, and check the teaching data, but does not want to write overly complex SQL statements. In this scenario, the developer can use an object-relational mapping database to process the data.

Options:

A.

True

B.

False

Buy Now
Questions 77

The global search portal provided on HarmonyOS has a desktop drop-down search box or a negative screen search box.

Options:

A.

True

B.

False

Buy Now
Questions 78

Huawei's latest mobile phones、HarmonyOS system is pre-installed in the smart screen.Among them, the mobile phone does not belong to the HarmonyOS large system device.The smart screen belongs to the large system device。

Options:

A.

True

B.

Error

Buy Now
Questions 79

When a developer starts a music player on a remote device, he or she may not fill in the Deviceld of the remote device.

Options:

A.

True

B.

False

Buy Now
Questions 80

Frame rate is the frequency (rate) at which a bitmap image appears continuously on a display in frames, measured in hertz (Hz).

Options:

A.

True

B.

False

Buy Now
Questions 81

After the page is jumped or overwritten, it will enter the INACTIVE state, but the resources will not be released, and when the page switches back to the ACTIVE state, the click event will still respond normally.

Options:

A.

True

B.

False

Buy Now
Questions 82

Sampling refers to the process of sampling a digital signal in a continuous time domain at certain time intervals to obtain a discrete signal in the discrete time domain.

Options:

A.

True

B.

False

Buy Now
Questions 83

The MainAbility of a HarmonyOS application has multiple AbilitySlices, and when the AbilitySlice health state is switched, the MainAbility state is INACTIVE.

Options:

A.

True

B.

False

Buy Now
Questions 84

When an application calls a service, the service will check the permissions of the application, and the service cannot be used if there is no corresponding permission.

Options:

A.

True

B.

False

Buy Now
Questions 85

In a HarmonyOS application, there must be one and only one HAP of the feature type.

Options:

A.

True

B.

False

Buy Now
Questions 86

A HarmonyOS application may not contain a hap package of the feature type.

Options:

A.

True

B.

False

Buy Now
Questions 87

A developer uses continueAbility() to migrate the distributed news application of the mobile phone to the large screen, and the large screen can also migrate the news browsing page back to the mobile phone.

Options:

A.

True

B.

False

Buy Now
Questions 88

In the process of developing an application based on HarmonyOS, in order to avoid applying for permissions that are unrelated to the user's required functions, a developer uses the UUID generated by the application instead of the device ID to reduce the permission application. The developer's actions exemplify the principle of applying for permissions in the vicinity.

Options:

A.

True

B.

False

Buy Now
Questions 89

HAR (HarmonyOS Ability Resources) is different from HAP (HarmonyOS Ability Package) in that HAR cannot be installed and run on devices independently, and can only be referenced as dependencies of application modules.

Options:

A.

True

B.

False

Buy Now
Questions 90

Developers can create user interfaces directly on AbilitySlice or on Ability.

Options:

A.

True

B.

False

Buy Now
Questions 91

Lightweight data storage is suitable for data storage involving a large number of data relationships and business relationships, and has better read and write performance than relational databases and object-relational mapping databases.

Options:

A.

True

B.

False

Buy Now
Questions 92

When MainAbility and MainAbiitySlice are bound together, the lifecycles of the two are synchronized, including the callback method for transitioning between states.

Options:

A.

True

B.

False

Buy Now
Questions 93

Sampling refers to the process of sampling a digital signal in a continuous time domain at certain time intervals to obtain a discrete signal in the discrete time domain.

Options:

A.

True

B.

False

Buy Now
Questions 94

A manufacturer used HarmonyoS to produce a dash cam (memory is 64MB), which is small in size and light in weight, and is a lightweight system device.

Options:

A.

True

B.

False

Buy Now
Questions 95

Distributed data services can isolate data belonging to different applications to ensure that data between different applications cannot be accessed to each other through distributed data services.

Options:

A.

True

B.

False

Buy Now
Questions 96

In order to improve the image quality of network source images, developers can use the Instant Messaging (IM) class intent recognition interface provided by HarmoyOS.

Options:

A.

True

B.

False

Buy Now
Questions 97

When installing the HarmonyOS application development environment, if the network can directly access the Internet, developers need to set up Gradle and NPM agents to configure the development environment correctly.

Options:

A.

True

B.

False

Buy Now
Questions 98

The application package names of the application projects created by JavaSaript and the applications compiled by the Java projects are HAR (HarmonyOS Ability Resources) and HAP (HarmonyOS Ability Package), respectively.

Options:

A.

True

B.

False

Buy Now
Questions 99

In HarmonyOS, both relational databases and object-relational mapping databases can use SQL statements to manipulate databases.

Options:

A.

True

B.

False

Buy Now
Questions 100

When the Page of Harmony OS executes the onForeground() callback, which of the following states will the Page return to first?

Options:

A.

INITIAL

B.

INACTIVE

C.

ACTIVE

D.

BACKGROUND

Buy Now
Questions 101

When a developer develops an application based on Harmony OS, one of the HAPs (HarmonyOS Ability Package) needs to access the SQLite database to implement the following functions:

Function 1: Create a database.

Function 2: Insert data.

Function 3: Query data.

Which of the following descriptions of the developer's development steps is correct?

Options:

A.

The developer can use the query() interface provided by the relational database to implement the function 2

B.

The developer can use the getRdbStore interface of the DatabaseHelper class to implement function 1

C.

The developer can use the insert() interface provided by the relational database to implement function 3

D.

Before querying data, you need to construct a predicate object for querying and store it in the form of a ValuesBucket

Buy Now
Questions 102

When a developer is developing a JavaSriptUI page of a shopping software, he needs to use the list component to display the product information, and which method of the list can be used to scroll to the specified item?

Options:

A.

scrollstart()

B.

scrollend()

C.

scrollto()

D.

scrollby()

Buy Now
Questions 103

When a developer develops a HarmomyOS application, if a Text component is used as the title bar of the page, and its width is set to match_parent and its height is set to 50vp, how can the text content in the Text be centered when setting its properties in the layout file?

Options:

A.

ohos:thorizontal_center=true"

B.

ohos:center_inparent="true"

C.

ohos:layout_alignment=center

D.

ohos:text_alignment=center

Buy Now
Questions 104

fter a developer sets :ohos:layout_alignment="horizontal_center" in the Text component, he writes: text.setMarginRight (600) in the code, where is the Text displayed in the parent layout?

Options:

A.

is horizontally centered and shifted to the right by 600

B.

The parent layout moves 600 to the top left and right

C.

level is centered

D.

is horizontally centered and shifted 600 to the left

Buy Now
Questions 105

Both the provider and user of DataAbility use a URI (UnifomResourceldentifier) to identify a specific data, and the format of the URI is as follows:

Scheme://[authority]/[path] [? query][#fragment]

Which is the correct URI description in the cross-device scenario and the local device scenario?

Options:

A.

In cross-device scenarios, you do not need to enter authority

B.

In cross-device scenarios, the scheme is fixed to "dataability".

C.

In the local device scenario, authority does not need to be specified

D.

In the local setting, the path does not need to be specified

Buy Now
Questions 106

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()

Buy Now
Questions 107

When a developer is developing a game application, in order to display the download progress of game resources, it is necessary to use a horizontal linear progress bar, which of the following components can help the developer complete this function?

Options:

A.

ToastDialog

B.

RoundProgressBar

C.

PageSlider

D.

ProgressBar

Buy Now
Questions 108

When a developer compiles a project, the compilation fails, and the message "This device type does not match project profile" is displayed, because the device type configured in "config.json" does not match the device type for debugging, and "deviceType" needs to be configured in the "module" tag.

Options:

A.

True

B.

False

Buy Now
Questions 109

On the basis of the supported input events, HarmonyOS's multi-dimensional input defines some input actions commonly used by users as a set of standardized events, maps the input events of different input devices to the standardized events, and can obtain a unified experience when using multiple input devices to operate different terminal devices or applications.

Options:

A.

True

B.

False

Buy Now
Questions 110

In HarmonyOS, by default, the UI interface is displayed and updated in the main thread

Options:

A.

True

B.

False

Buy Now
Questions 111

HarmonyOS not only has the system capability of a single device, but also supports deployment on multiple devices with different memory sizes based on the same set of system capabilities

Options:

A.

True

B.

False

Buy Now
Questions 112

HarmonyOS's distributed soft bus enables distributed management of application data and user data.

Options:

A.

True

B.

False

Buy Now
Questions 113

When a developer has multiple versions of the object-relational mapping database, and the developer calls the BookStoreUpgrade class to upgrade the database version, the version number of the BookStoreUpgrade class is configured as "2", and the actual version number of the current BookStore.db is "1".

Options:

A.

True

B.

False

Buy Now
Questions 114

When a developer adds a Harmony OS app on the AppGallery web page, which platform does the developer need to choose to add the app?

Options:

A.

quick application

B.

Android

C.

Web

D.

HarmonyOS app

Buy Now
Questions 115

What is the process of cross-terminal migration from an application on HarmonyOS device A to the application on device B by calling the distributed task scheduling capability to continue sbility?

Options:

A.

Preparation for circulation

B.

Circulation

C.

End of circulation

D.

The circulation is complete

Buy Now
Questions 116

A developer designs a game application with MainAbility on the home page, click the game icon on the desktop, and then press the Home button to hide the game in the background, how does the life cycle of MainAbility change?

Options:

A.

onStart ()→onResume()—onInActive()→onBackground()

B.

onStart()→onActive()→onInActive()→onStop()

C.

onStart()—onActive()→onInActive()

D.

onStart()→onActive()→onlnActive()→onBackground()

Buy Now
Questions 117

Which of the following belongs to the application layer in the HarmonyOS system architecture?

Options:

A.

UI framework

B.

AI subsystem

C.

Phone

D.

kernel

Buy Now
Questions 118

Which of the following is NOT a component of the Harmony OS object-relational mapping database?

Options:

A.

Object data manipulation interface

B.

Database

C.

Solid object

D.

Relationship table

Buy Now
Questions 119

When the developer jumps to a new page through the button button, the following code is created. If you don't add "" Button button = (Button) findComponentByld(ResourceTable.ld_button) ;" What happens to this line of code?

Public void onStart(Intent intent){

super.onStart(intent);

super.setUlContent

(ResourceTable.Layout_ability_main);

Button button =

(Button)findComponentByld(ResourceTable.ld_button);

button.setClickedListener(listener - > present(new

SecondAbilitySlice(),new Intent()));

}

Options:

A.

When you click the button again, the ability crashes

B.

button button does not show up on the layout

C.

Clicking the button does not respond

D.

Click the button button to jump to a new page

Buy Now
Questions 120

If the user displays the navigation information on the mobile phone and the smart watch at the same time, if the smart watch is out of power, causing the navigation information to terminate the display, which callback method will the navigation application on the mobile phone receive the termination notification?

Options:

A.

onCompleteContinuation

B.

onRestoreData

C.

onRemoteTerminated

D.

onSaveData

Buy Now
Questions 121

When a developer uses Page Ability to open a ServiceAbility, he needs to pass parameters through Intent, at what stage is the parameter obtained in the whole process null?

onStart( ) in A S ervice.

Options:

A.

bility

B.

PageAbility

C.

ServiceAbility

D.

ServiceAbility

Buy Now
Questions 122

Which of the following is the callback behavior of the Page Ability lifecycle that can destroy the page?

Options:

A.

Page is no longer visible to the user, and the system will call onBackground() to notify the developer to release the corresponding resources

B.

triggers onStop() to notify the user to release system resources

C.

takes the Page out of focus and calls onInactive().

D.

Trigger onDestroy() to release system resources

Buy Now
Questions 123

Which of the following modules provides an E2E encrypted channel in the HarmonyOS streaming architecture to provide a secure cross-terminal transmission mechanism for user applications?

Options:

A.

distributed soft bus

B.

Forwarding task management services

C.

Distributed security

D.

Distributed task scheduling

Buy Now
Questions 124

If a developer wants to develop a file background download function, there needs to be a Page Ability to provide UI pages, and a Service Ability to provide the background file download function. Which of the following can invoke Service Ability in Page Ability?

Options:

A.

connectPageAbility(intent,connection)

B.

connectAbility(intent, connection)

C.

onConnect

D.

connectServiceAbility(intent, connection)

Buy Now
Questions 125

In the HarmonyOS system architecture, which of the following can shield the differences between multiple cores and provide basic kernel capabilities for the upper layer?

Options:

A.

Ability

B.

KAL (Kernel Abstract Layer)

C.

UI

D.

HDF (Hardware Driver Foundation)

Buy Now
Questions 126

If a developer wants to develop a Data Ability for the storage and management of application data, which of the following can help the developer realize the function of inserting multiple pieces of data into the database at one time?

Options:

A.

insert (Uri uri,ValuesBucket value)

B.

delete(Uri uri,DataAbilityPredicates predicates)

C.

query (Uri uri,String[ ]columns,DataAbilityPredicates predicates)

D.

batchlnsert (Uri uri, ValuesBucket[]values)

Buy Now
Questions 127

If a developer wants to use the JavaScript UI framework to develop a graffiti application that allows users to draw custom graphics, which of the following components can be used by the developer?

Options:

A.

video

B.

button

C.

canvas

D.

grid-container

Buy Now
Questions 128

A developer uses the AI capabilities provided by Harmony OS to achieve the following functions: 1. Perform text detection and recognition of image sources such as document remakes and street view reproductions, and provide translation, search and other related services based on the recognition results. 2. Convert various bills into image information by taking pictures, and then use text recognition technology to convert image information into character information that can be used by computers and other equipment. In order to implement the above functions, which of the following I capabilities is most likely to be used by the developer?

Options:

A.

Universal Character Recognition

B.

Text and image super-resolution

C.

Keyword extraction

D.

Part-of-speech annotation

Buy Now
Questions 129

After the creation of a custom component of the Web development paradigm, which of the following callbacks will be triggered when it is added to the Page component tree?

Options:

A.

Onlnit

B.

OnAttached

C.

OnLayoutReady

D.

OnDetached

Buy Now
Questions 130

A developer defines an entity class Student.java and uses the following code to construct a teaching table:

Entity(tableName="student",ignoredColums =["ignoredColumn1"," ignoredColumn2", indices =(@Index(value =("firstName." ,"lastName",name="name_index", unique = true)))

Public class User extends OrmObject{

@PrimaryKey(autoGenerate= true)

Private Integer userld;

Private String firstName;

Private String lastName;

Private int age;

Private double balance;

Private int ignoredColumnl;

Private int ignoredColumn2;

}

Which of the following descriptions of this code is wrong?

Options:

A.

lgnoredColumns indicates that the field does not need to be added to the attributes of the student table

B.

lndices creates a composite index name_index for the firstName and 1astName fields

C.

The name of the data table is student

The index value of the

D.

composite index name_index is not unique

Buy Now
Questions 131

Which of the following descriptions of the HarmonyOS clipboard function is correct?

Options:

A.

Only clipping is supported

B.

can be copied in application A, but not pasted in application B

C.

Only replication is supported

D.

can be copied and pasted into app B in app A

Buy Now
Questions 132

Which of the services provided by the HarmonyOS Connect solution is Device Parter?

Options:

A.

Official Documentation

B.

Service platform

C.

Training support

D.

Certification Testing

Buy Now
Questions 133

When developing a HarmonyOS application, which of the following is NOT a permission that should be followed?

Options:

A.

The user can know and control

B.

The permission application is complete

C.

Custom permissions can be renamed the same name

D.

Permission requests are minimized

Buy Now
Questions 134

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

Buy Now
Questions 135

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.

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

Buy Now
Questions 136

Harmony OS adopts a multi-core design, which supports the selection of suitable OS kernels for different resource-constrained devices

Options:

A.

LiteoS-M

B.

Linux

C.

UNIX

D.

LiteOS-A

Buy Now
Questions 137

What is wrong about the animation parameter in the attribute animation?

Options:

A.

The default value of tempo is 1.0

B.

parameter delay cannot be greater than duration

C.

parameter curve can be left unset

D.

parameter iterations can be left unset

Buy Now
Questions 138

What files do I need to sign when running an app on a HarmonyOS device?

Options:

A.

.cer file

B.

.p12 file

C.

.csr file

D.

.P7b file

Buy Now
Questions 139

After developing a HarmonyOS application, the developer needs to package the application into an app for publishing it to AppGallery. You can use DevEco Studio to generate a key, in what format is the key stored in the keystore file?

Options:

A.

p12

B.

.csr

C.

p7b

D.

.cer

Buy Now
Questions 140

Which of the following belong to the lifecycle callback method of Page Ability?

Options:

A.

onStart

B.

onForeground

C.

onActive

D.

onCreate

Buy Now
Questions 141

A software development engineer uses the traditional Bluetooth native management method to manage Bluetooth, which of the following functions can the engineer achieve?

Options:

A.

Set the Bluetooth name

B.

Get a list of Bluetooth devices that have been paired with Bluetooth for the machine

C.

Send files via Bluetooth

D.

Scan the surrounding Bluetooth settings

Buy Now
Questions 142

In DevEco Studio, what form can developers use to develop HarmonyOS cloud?

Options:

A.

IDE plug-in

B.

Project Template

C.

Command-line tools

D.

Visualization Tools

Buy Now
Questions 143

Which of the following APIs can I use to query the information of Ability?

Options:

A.

bundleManager.queryAbilityByWant

B.

BundleManager.getApplicationInfo

C.

BundleManager.getAbilitylnfo

D.

BundleManager.getBundlelnfo

Buy Now
Questions 144

Which of the following subsystems in the HarmonyOS subsystem belongs to the hardware service subsystem set?

Options:

A.

Location Services subsystem

B.

Event Notification Service Subsystem

C.

Media Subsystem

D.

Biometric service subsystem

Buy Now
Questions 145

Which of the following NFC functions can developers use when developing apps based on HarmonyOS?

Options:

A.

NFC message notification

B.

Access to the security element

C.

card emulation

D.

NFC basic query

Buy Now
Questions 146

When creating a test user for a meta-service, you need to select the storage location of the user list

Options:

A.

All sites

B.

China

C.

Russia

D.

Germany

E.

Singapore

Buy Now
Questions 147

Which field must the meta service package name end in?

Options:

A.

mservice

B.

Any field

C.

hap

D.

har

Buy Now
Questions 148

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

Buy Now
Questions 149

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 the real-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

Buy Now
Questions 150

What files does an engineer need to use to sign the debugged module when he wants to debug a newly developed application on a real device?

Options:

A.

HarmsryAppProxvision file (.p7b).

B.

Digital certificate (.cer).

C.

Private key (.p12)

D.

Request file (.csr).

Buy Now
Questions 151

When developing an application, a developer uses the WLANP2P function to realize point-to-point data transmission between devices. The functionality of the application is as follows: Function 1: Discover the peer device. Function 2: Create and remove groups. Function 3: Initiate a connection to the peer device. Which of the above features is correct in the following descriptions?

Options:

A.

To implement function 2, you need to use the createGroup() and removeGroup( ) interfaces, and you need to request ohos. permission. GET_WIFI_INFO permissions

B.

To achieve function 1, you need to use the discoverDevice() interface, and you need to request ohos. permission. SET_WIFI_INFO Limitations

C.

In order to achieve function 3, the connect() interface needs to be used, and the ohos.permission.SET_WIFI_INFO permissions need to be requested

D.

In order to achieve the above functions, you need to initialize the P2P messenger through the init() interface, and you need to request ohos.permission.GET_WIFI_INFO and ohos.permission.SET_WIFI_INFO permissions

Buy Now
Questions 152

HarmonyOS Capabilities are divided into two types: Feature Ability and Particle Ability.

Options:

A.

Service Ability

B.

Data Ability

C.

Page Ability

D.

Ability Slice

Buy Now
Questions 153

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

Buy Now
Questions 154

What are the following development languages that a developer can use to develop a mobile app using HarmonyOS?

Options:

A.

Java

B.

Android

C.

JavaScript

D.

Python

Buy Now
Questions 155

A developer has developed a news browsing application, and the news list page is displayed by default when the application is opened, which of the following methods does the developer use to achieve this function?

Options:

A.

Intent()

B.

setMainRoute()

C.

addActionRoute()

D.

onStart()

Buy Now
Questions 156

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

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

Options:

A.

name_index is the compound 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.

The table name is user

Buy Now
Questions 157

When developing a HarmonyOS application, a developer receives the following product request: If a user logs in to the same HarmonyOS account on device A and device B, the user can log in to the app on device A and synchronize the application account authentication information to account B as needed. After the account authentication information is synchronized, the user can open the application on device B and log in directly without entering the application account authentication information again. Which of the following descriptions of this scene is correct?

Options:

A.

The developer can do this with the help of UUIDs, because apps can use UUIDs to uniquely identify the same device during their lifetime

B.

If the developer borrows the UUID to achieve the above requirements, the UUID logo will still exist after the application is uninstalled.

C.

The developer can do this with the help of DVID, because the application can access and manage distributed devices based on the DVID

D.

If you use a DVID to achieve the above functions, the DVE is strongly associated with your HarmonyOS account and application information, so you can prevent other applications from accessing the current application data.

Buy Now
Questions 158

Which of the following functions can be achieved through the sidebar button of the remote simulator?

Options:

A.

Sets the device resolution of the remote emulator

B.

Release the remote emulator that is currently in use

C.

Rotate the screen clockwise

D.

Return to the main interface of the device

Buy Now
Questions 159

If a developer uses custom components when developing a HarmonyOS application, what are the correct descriptions of custom components below?

Options:

A.

Add tag elements such as styleable and item to values/attrs.xml

B.

In the constructor with the AttrSet parameter of the custom component, use attrSet.getAttr("XxX").get().getStringValue() to get the property

C.

Add xmlns:app="http://schemas.huawei.com/apk/ res/ohos" to the layout.xml of the component definition

D.

In the constructor of the custom component, call array.getlntegor(ResourceManager.styleab1e.***,100) to get the property

Buy Now
Questions 160

The log content filtered by a developer through relevant information is: 01-20 16:08:36.908

23597/com.example.myapplication W

00201/MY-TAG:Failed to visit,reason:503.Which of the following cannot be obtained by analyzing this log?

Options:

A.

is defined in the HiLogLabel

B.

Errno value

C.

Reachable URL value

D.

The log level is WARN

Buy Now
Questions 161

Which of the following does not belong to the application framework layer in the Harmony OS system architecture?

Options:

A.

UI

B.

Distributed data management

C.

User Program Framework

D.

Ability

Buy Now
Questions 162

To test the HarmonyOS Bluetooth Low Energy function, a developer uses a central device to call the startScan() interface and scans for a peripheral device. In order for the central device to complete the data exchange with the peripherals, the developer implemented the following development steps.

Options:

A.

GATT connection is successful, and the peripheral device can call the write method to write the eigenvalue data to the central device

B.

After the central device obtains the peripherals, it calls connect (boolean isAUtoConnect, BlePeripheraCallback callback) to establish a GATT connection with the peripherals

C.

After the C GATT connection is successful, the central device can call the discoverServices() interface to obtain various data supported by the peripheral equipment

D.

After the GATT connection is started, the developer needs to determine whether the GATT connection is successful based on the serviceDiscoveredEvent(int status) callback result

Buy Now
Questions 163

How do I define the permissions correctly when a developer needs to customize the permissions for a third-party application for Harmony 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]

}

}

Buy Now
Questions 164

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

Buy Now
Questions 165

Which modules in the following figure can be installed and operated independently?

H14-231_V1.0 Question 165

Options:

A.

Entry.hap

B.

FeatureB.hap

C.

FeatureC.hap

D.

FeatureA.hap

Buy Now
Questions 166

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

Options:

A.

Service Registration

B.

Service discovery

C.

Service calls

D.

Service synchronization

Buy Now
Questions 167

A user migrated video from his mobile phone to a smart screen for playback, using the distributed task scheduling capability of HarmonyOS. In this scenario, the process of connecting the mobile phone to the playback software of the smart screen belongs to the remote connection.

Options:

A.

True

B.

False

Buy Now
Questions 168

In HarmonyOS, when switching between pages, if you use Ability Switching, it is equivalent to constantly switching new pages in the same window, and if you use AbilitySlice to switch, a new window will pop up.

Options:

A.

True

B.

False

Buy Now
Questions 169

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

Buy Now
Questions 170

HarmonyOS Distributed File Service can automatically share files under different accounts.

Options:

A.

True

B.

False

Buy Now
Questions 171

Which of the following statements is correct?

Options:

A.

preference follows the ACID characteristic

B.

Preference is to access data in the form of Key-Value

C.

The number of data stored in the preference is recommended not to exceed 10,000

D.

The key of the preference is of type String

Buy Now
Questions 172

To publish sticky public events in armonyOS, the publisher must first apply for the permissions required to publish sticky public events in config.json.

Options:

A.

True

B.

False

Buy Now
Questions 173

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

Options:

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

Buy Now
Questions 174

HarmonyOS not only has the system capability of a single device, but also supports deployment on multiple devices with different memory sizes based on the same set of system capabilities.

Options:

A.

True

B.

False

Buy Now
Questions 175

What development tools do programmers do not need to install when developing HarmonyOS mobile apps?

Options:

A.

HUATEI DevEco Device Tool

B.

HiBurn

C.

DevEco Studio

D.

Visual Studio Code

Buy Now
Questions 176

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.

UI Description: 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.

attribute method: 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.

Buy Now
Questions 177

When a developer develops a social application, he needs to develop a plug-in that generates a contact QR code. In this scenario, the developer can use the code generation Al capability provided by HarmonyOS, which can return the corresponding QR code image byte stream based on the given string information.

Options:

A.

True

B.

False

Buy Now
Questions 178

HarmonyOS provides the Al capability of speech recognition, which can use machine learning technology to analyze the content of text messages of users in SMS or chat applications, and identify the user intent represented by the message content.

Options:

A.

True

B.

False

Buy Now
Questions 179

When developing an application, a developer uses the WLAN P2P function to realize point-to-point data transmission between devices. Function 2, Create and remove groups, Function 3, Initiate a connection to the peer device.Which of the above functions is correct in the following descriptions?

Options:

A.

To implement function 2, you need to use the createGroup() and removeGroup() interfaces, and you need to ohos.permission.GET_WIFI_INFO permissions

B.

In order to achieve the above functions, you need to initialize the P2P messenger through the init(), interface, and need to request ohos.permssion.GET_WIFI_INFO and ohos.premission.SET_WIFI_INFO permissions.

C.

In order to implement feature 3, connect() needs to be used, and ohos.permission.SET_WIFI_INFO permission needs to be requested

D.

To implement function 1, you need to use the discoverDevices() interface, and you need to request the ohos.permission.SET WIFI INFO permission

Buy Now
Questions 180

When a user is on a video call,Want to migrate the mobile phone video to the smart screen for playback,When clicking Migrate,Find that the smart screen is already in the optional list,What are the correct descriptions of the scene?

Options:

A.

It embodies the characteristics of extremely fast transmission of distributed soft bus

B.

requires the mobile phone and the smart screen to be under the same LAN

C.

embodies the self-discovery function of the distributed soft bus

D.

mobile phones and smart screens can make different Huawei accounts

Buy Now
Questions 181

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);

Buy Now
Questions 182

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 0FF should be displayed on the closed state component. You can use the following code to meet your needs:

Switch btnSwitch=

(Switch)findComponentByld(ResourceTable.

ld_btn_switch);

btnSwitch.setStateOffText("ON");

btnSwitch.setStateOnText("OFF");

Options:

A.

True

B.

False

Buy Now
Questions 183

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

Options:

A.

aboutToAppear

B.

aboutToDisappear

C.

onPageShow

D.

onPageHide

E.

onBackPress

Buy Now
Questions 184

When a developer is developing a flight booking application, he needs to use the sliding selector DatePicker in the date selection of air tickets, and in order to improve the user experience, he needs to set the color of a single year/month/day item in operation to blue (#0000FF), which of the following items can meet the development needs?

Options:

A.

ohos:selected text color=#0000FF

B.

datePicker.setSelectedTextColor(new Color(Color.getlIntColor( "#0000FF")));

C.

datePicker.setPeratedTextColor(new Color(Color.getIntColor("#000OFF")));

D.

ohos:operated_text_color="0000FF"

Buy Now
Questions 185

What are the parameters of animation in attribute animation?

Options:

A.

playMode

B.

curve

C.

delay

D.

onFinish

Buy Now
Questions 186

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

Buy Now
Questions 187

Which of the following properties can be used for components that contain text elements, such as Text, Button, TextInput, etc.?

Options:

A.

fontColor

B.

fontSize

C.

fontStyle

D.

fontWeight

E.

fontFamily

Buy Now
Questions 188

Encoding is the process of converting information from one form or format to another, which of the following can be encoded?

Options:

A.

text

B.

figures

C.

Image

D.

video

Buy Now
Questions 189

Which of the following are the animation control APIs provided by lottie?

Options:

A.

lottie.play()

B.

lottie.pause()

C.

lottie.stop()

D.

lottie.goToAndPlay()

Buy Now
Questions 190

When developing HarmonyOS applications, if the client and server need to communicate across processes, you can use idl to define programming interfaces that are recognized by both.

Options:

A.

True

B.

False

Buy Now
Questions 191

If a reading app uses the language recognition capability provided by HarmonyOS, the app can automatically read a novel.

Options:

A.

True

B.

False

Buy Now
Questions 192

What are the data management methods provided by HarmonyOS?

Options:

A.

preference

B.

Distributed data services

C.

Relational databases

D.

Distributed data objects

Buy Now
Questions 193

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

Buy Now
Questions 194

The distributed database is based on the KV data model and provides KV access interfaces.

Options:

A.

True

B.

False

Buy Now
Questions 195

What are the following options that belong to the JavaScript UI framework?

Options:

A.

Application Layer

B.

Front-end frame layer

C.

Engine Layer

D.

Platform adaptation layer

Buy Now
Questions 196

If a developer wants to implement the page swiping function in an application, which of the following components can be used to implement the function?

Options:

A.

Picker

B.

ListContainer

C.

Switch

D.

ScrollView

Buy Now
Questions 197

What are the boot modes of UIAbility?

Options:

A.

multiton

B.

singleton

C.

specified

D.

standard

Buy Now
Questions 198

When using Bluetooth Low Energy in HarmonyOS, the peripheral device, as a client, can receive GATT connection requests from the central device, but cannot Answer: requests for reading and writing eigenvalue content from the central device.

Options:

A.

True

B.

False

Buy Now
Questions 199

Which of the following descriptions of traditional Bluetooth operation is correct for HarmonyOS devices?

Options:

A.

Bluetooth device scan can be initiated through the startBtDiscovery() interface

B.

Before starting Bluetooth scanning, you need to register to broadcast BluetoothRemoteDevice

EVENT_DEVICE_DISCOVERED

C.

You can use the getLocalName() interface to check whether Bluetooth is turned on

D.

If you want to get the scanned device, you must inherit the onReceiveEvent(CommonEventData data) method that implements the ConmonEventSubscriber class when you register the broadcast, and receive the EVENT_DEVICE_DISCOVERED broadcast

Buy Now
Questions 200

When a developer is developing an application, he uses DevEco Studio to create an empty Java project, but does not install Node.js separately, and can still develop the project normally.

Options:

A.

True

B.

False

Buy Now
Questions 201

Which of the following service SDKs has been integrated with device-cloud integration?

Options:

A.

SCF

B.

Cloud Database

C.

Cloud storage

D.

Cloud hosting

Buy Now
Questions 202

Which of the following properties of state decorator decorating must be initialized locally?

Options:

A.

@State

B.

@Prop

C.

@Link

D.

@Provide

E.

@Consume

Buy Now
Questions 203

What are the reasons why a developer wants to use the previewer in DevEco Studio to view the application interface of the design, but the previewer cannot be used?

Options:

A.

Preview is not supported for files currently open in the editor

B.

SDK has not been updated to the latest version

C.

The previewer resource was not downloaded

D.

Project is not synchronized successfully

Buy Now
Questions 204

JavaScriptUl does not support async and await syntax.

Options:

A.

True

B.

False

Buy Now
Questions 205

Cross-terminal migration is a technical solution to realize the flow of user applications, which refers to the simultaneous or alternate operation of FA/PA on multiple terminals to achieve complete services.

Options:

A.

True

B.

False

Buy Now
Questions 206

When developing a HarmonyOS application, a developer receives the following product request: If a user logs in to the same HarmonyOS account on device A and device B, the user can log in to the app on device A and synchronize the application account authentication information to device B as needed. After the account authentication information is synchronized, the user can open the application on device B and log in directly without entering the application account authentication information again. Which of the following descriptions of this scene is correct?

Options:

A.

The developer can do this with the help of DVID, as the application can access and manage distributed devices based on the DVID

B.

The developer can use the UUID to do this, because the app can uniquely identify the same device with the UUID during its lifetime

C.

If the developer uses the UUID to achieve the above requirements, the UUID flag will still exist after the application is uninstalled

D.

If the developer uses the DVID to achieve the above functions, the DVID is strongly associated with the HarmonyOS account and application information, so it can prevent other applications from accessing the current application data

Buy Now
Questions 207

When a developer uses HarmoyOS system security, which of the following functions makes the device have the ability to prove its security to other virtual devices?

Options:

A.

Device certificate certification

B.

Safe Boot

C.

Trusted Execution Environment

D.

Zero trust model

Buy Now
Exam Code: H14-231_V1.0
Exam Name: HCIP-HarmonyOS Application Developer V1.0
Last Update: May 8, 2026
Questions: 695

PDF + Testing Engine

$63.52  $181.49

Testing Engine

$50.57  $144.49
buy now H14-231_V1.0 testing engine

PDF (Q&A)

$43.57  $124.49
buy now H14-231_V1.0 pdf