Weekend 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

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 5

A HarmonyOS application developer creates two pages, indlex and detai1, so that the two pages jump to each other. The code of the index page is as follows, which of the following descriptions are correct?

H14-231_V1.0 Question 5

Options:

A.

Text component is used to mark the current page

B.

When you click the button, the lunch event will be triggered

C.

TheText component is used to jump to and from two pages

D.

TheButton component is used to jump to and from two pages

Buy Now
Questions 6

When a developer develops a JavaScript application on the smart screen,Want to do some static animation,If you want to move a component in the horizontal direction by 200px,Which of the following style configurations is correct?

Options:

A.

transform: scaleX(200px)

B.

transform:rotateX(200px)

C.

transform: translatex(200px)

D.

transform: translateY(200px)

Buy Now
Questions 7

What development steps does a developer use to develop an application with a UI?

Options:

A.

Create a project

B.

Run the program

C.

Design interface

D.

Implement the function

Buy Now
Questions 8

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

Buy Now
Questions 9

When creating an application, which field in the app.json5 or config.json file must be the same as the application package name?

Options:

A.

package

B.

name

C.

bundleName

D.

page

Buy Now
Questions 10

The maximum number of simultaneous activations of a Worker thread

Options:

A.

6

B.

7

C.

8

D.

9

Buy Now
Questions 11

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 12

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 13

Which of the following resource directories should the pictures, audios, videos and other media files involved in the application development process be placed in?

Options:

A.

animation

B.

graphic

C.

media

D.

Element

Buy Now
Questions 14

Options:

A.

Resource is a resource reference type that sets the value of a component's properties

B.

refers to application resources in the form of "Sr('app.type.name')", and the app represents the app

resources directory, type represents the resource type (or the location where the resource is stored)

C.

Resource supports all data types

D.

system can load the appropriate Resource resources according to the current configuration, for example, developers can render different layout effects according to the screen size, or provide different strings according to the language settings

Buy Now
Questions 15

Regarding Hongmeng's atomic service, the following statement is correct

Options:

A.

Atomic service is displayed as a card in the Services Hub that can be added to thedesktop

B.

When an atomic service is managed and distributed by the Marketplace, its size cannot exceed 10 MB

C.

Atomic service is an installation-free application with an independent entrance

D.

Atomic services correspond to one HAP package and are used to complete one specific convenience service

Buy Now
Questions 16

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 17

When a developer designs a JavaScript login page, he needs to use Internal Ability to call Data Abiliity to verify the username and password, which of the following can be modified to complete the function?

const ABILITY_TYPE_EXTERNAL=0;

var action=0;

action.bundleName="com.huawei.loginservice"; action.abilityName="com.huawei.loginservice.LoginDataAbility";

action.messageCode=ACTION_MESSAGE_CODE_PLUS;

action.data=actionData;

action.abilityType=ABILITY_TYPE_EXTERNAL; action.syncOption=ACTION_SYNC;

var result=await

FeatureAbility.callAbility(action);

Options:

A.

action.ability Type= ABILITY_TYPE_INTERNAL;

B.

action.abiltyType =ABILITY_TYPE;

C.

const ABILITY_TYPE_INTERNAL=1;

D.

const ABILITY_TYPE_EXTERNAL= 2;

Buy Now
Questions 18

Which of the following accounts does the authentication service support?

Options:

A.

WeChat

B.

QQ

C.

HUAWEI ID

D.

Alipay

Buy Now
Questions 19

HarmonyOS supports the flexible deployment of multiple terminal devices on demand through design methods such as componentization and miniaturization, and can adapt to different types of hardware resources and functional requirements. Which of the following descriptions of elastic deployment are correct?

Options:

A.

Clipping of functions within the component is not supported

B.

supports the association of components and dependencies

C.

The selection of each component is not supported

D.

Supports the configuration of the feature set within the component

Buy Now
Questions 20

In the process of debugging Harmomyos applications, it is a common debugging method for developers to "check whether the change process of variables meets the expected results". To this end, DevEcoStudio provides a visualization of debug variables, which of the following forms can be presented?

Options:

A.

Histogram

B.

Line Chart

C.

tree

D.

Form D

Buy Now
Questions 21

When using HarmonyOS distributed terminals, which of the following items can ensure that the system is safe and reliable?

Options:

A.

Distributed multi-terminal collaborative identity authentication

B.

The distributed terminal must be a Huawei product

C.

In the process of cross-terminal flow of distributed data, the data is classified and hierarchically managed

D.

Build a trusted operating environment on distributed terminals

Buy Now
Questions 22

In the HarmonyOS distributed application scenario of multi-device collaboration, device A is often required to start and stop the service of device B, for example, start and stop the music playback of device B on device A. In the process of starting and stopping a Service, the following statement is correct

Options:

A.

The onStart() methodwill only be called back once by the system duringthe lifetime of the Service

B.

Every time you start the Service method, onCommand()will be called back by the system

C.

can call the methodterminateAbility()or stopAbility()to stop the Service

D.

Service—Once it is running, it can be easily stopped or destroyed by the system

Buy Now
Questions 23

How to set reverse playback in attribute animation?

Options:

A.

PlayMode.Normal B

B.

PlayMode.Alternate

C.

PlayMode.AlternateReverse

D.

PlayMode.Reverse

Buy Now
Questions 24

What kind of custom component can be used as a page entry component with a decorator?

Options:

A.

@Component

B.

@Entry

C.

@Builder

D.

@Preview

Buy Now
Questions 25

The default size of shared memory in HarmonyOSis ?

Options:

A.

8M

B.

2M

C.

4M

D.

1M

Buy Now
Questions 26

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, youneed toinitialize 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 27

The meta-service package consists of one or more HAP packages, and each HAP package shall not exceed ( ) to provide a second-to-open experience.

Options:

A.

2GB

B.

10M

C.

1GB

D.

Unlimited

Buy Now
Questions 28

A developer uses a task distributor to dispatch tasks 1, 2, and 3. The developer added Task 1 and Task 2 to a task group and used syncDispatchBarrier to set up a task execution barrier on that task group. During execution, the discoverer waits for both task 1 and task 2 to be executed before executing task 3. Based on the above scenario analysis, which of the following task distributors may be used by the developer?

Options:

A.

SpecTaskDispatcher

B.

ParallelTaskDispatcher

C.

GlobalTaskDispatcher

D.

Serial TaskDispatcher

Buy Now
Questions 29

Which of the following request methods is appropriate to submit form data to the server?

Options:

A.

RequestMethod.GET

B.

RequestMethod.POST

C.

RequestMethod.PUT

D.

RequestMethod.DELETE

Buy Now
Questions 30

Which of the following interfaces is NOT an API provided by the preference?

Options:

A.

get()

B.

update()

C.

put()

D.

flush()

Buy Now
Questions 31

Which of the following classes is the base class for JavaScript FA (Feature Ability) to run on HarmonyOS?

Options:

A.

AceAbility

B.

PageAbility

C.

ServiceAbility

D.

MainAbility

Buy Now
Questions 32

Which of the following is all the components of the HAP package in HarmonyOS?

Options:

A.

Logical code, resource files, third-party libraries, application configuration files, pack.info

B.

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

C.

Logical code, resource files, application configuration files

D.

Logical code

Buy Now
Questions 33

The Web-like development paradigm provides a series of lifecycle callback methods for custom components, which are the following lifecycle callback methods for developers to manage the internal logic of custom components?

Options:

A.

OnAttached

B.

Onlnit

C.

OnPageShow

D.

OnDestroy

Buy Now
Questions 34

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

Buy Now
Questions 35

What are the following aspects of resource utilization analysis that DevEco Studio Performance Analyzer can perform?

Options:

A.

Memory

B.

Battery

C.

CPU

D.

network

Buy Now
Questions 36

Which of the following components cannot contain subcomponents?

Options:

A.

Row

B.

Button

C.

Text

D.

LoadingProgress

Buy Now
Questions 37

NetworkID is the communication identifier of distributed network device nodes in distributed networking, in order to keep the NetworkID of the same device unchanged, which of the following operations should be avoided?

Options:

A.

The device is factory reset

B.

Device restarts

C.

The device connects to different applications

D.

The device is offline

Buy Now
Questions 38

Which of the following modules provides a full-duplex communication co-ordination?

Options:

A.

HTTP

B.

WebSocket

C.

Socket

D.

Request

Buy Now
Questions 39

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 40

When a developer is developing an application, he calls the IAbilityContribution interface to migrate between multiple pages, what are the methods that belong to the interface?

Options:

A.

onRestoreData()

B.

onCompleteContinuation()

C.

onStartContinuation()

D.

onAbilityConnectDone()

Buy Now
Questions 41

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 42

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 43

When the state data of @State modification is modified, the () method of the component will be triggered to update the UI interface

Options:

A.

build method

B.

onPageShow method

C.

aboutToAppear method

D.

onStart method

Buy Now
Questions 44

Ability and InternalAbility are two different ways to call PA (ParticleAbility) by FA (FeatureAbility).

Options:

A.

Ability has an independent life cycle

B.

Theclass inherited byB Ability is ohos.aafwk.ability.Ability

C.

Ability does not need to be registered with the FA

D.

internalAbility can be called by other FAs

Buy Now
Questions 45

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 46

A developer needs to use the current scattered data network for socket data transmission, and in this scenario, the development process involves the following steps:

1. Use socket to send data

2. Call NetHandle.bindSocket() to bind the network.

3. Call NetManager.getDefaultNet() to get the default data network.

4. Call NetManager.getInstance(Context) to get the instance object of network management.

When the developer combed through the development steps, the above steps were sorted according to the order in which the features were completed in the code. Which of the following is the correct order?

Options:

A.

4→1→2→3

B.

4→2→1→3

C.

4→3→2→1

D.

2→1→4→3

Buy Now
Questions 47

In order to control the access of a specific interface to the caller, an application confirms that the visitor has the required permissions through verifyCallingPermission. Which of the following descriptions is correct?

Options:

A.

If verifyCallingPermission returns a value of 0, the service is not provided

B.

If the caller does not have permission, the service will not be provided

C.

If verifyCallingPermission returns a value of -1. then the service will be provided

D.

If the caller's permission verification is passed, the service will be provided

Buy Now
Questions 48

The declarative development paradigm based on TS extensions provides a series of basic components, the following code describes the structure of a simple page, read this code, which of the following are built-in components?

H14-231_V1.0 Question 48

Options:

A.

Divider

B.

Button

C.

Text

D.

Columm

Buy Now
Questions 49

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 50

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 51

Which of the following is an event method that can obtain the offset of the List slide

Options:

A.

onScroll

B.

onScrolllndex

C.

onReachStart

D.

onReachEnd

Buy Now
Questions 52

When developing a HarmonyOS application, if you want to set the background color for a Text component in the page, the following is correct

Options:

A.

ohos:background_element="$graphic:background

B.

ohos:background_element="$color:green"

C.

ohos:background_element="#0000FF"

D.

ohos:background_element="#880000FF"

Buy Now
Questions 53

Which of the following system resources does the Ark Development Framework provide for developers?

Options:

A.

string

B.

Picture

C.

Color

D.

Rounded corners

Buy Now
Questions 54

Whichof 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 55

A HarmonyOS developer uses the EventHandler mechanism to process four events: A, B, C, and D, where event D retains the default priority, and the priority properties of the other three events are set as follows: Event A: Priority.INTERMEDIATE Event B: Priority.HIGH Event C: Priority.IDLEWhich of the following statements about the above events are correct?

Options:

A.

Event Awill be delivered immediately

B.

EventB D will be delivered before Event B

C.

delivers event C when there are no other events

D.

EventD will be delivered before Event C

Buy Now
Questions 56

After the release of the open beta version, how do the invited test users experience?

Options:

A.

Go to AppGallery and search for the meta-service to be experienced

B.

Enter the servicecenter, turn on the "Developer Testing" switch, and find the meta-service to be experienced in the "Service Testing" at the bottom

C.

Enter the ecological market and search for meta-services to be experienced

D.

Enter the service center and search for the meta-service to be experienced

Buy Now
Questions 57

When a developer is developing a HarmonyOS application, if part of the text in the value field of the JSON resource files of different types of elements in the Element directory does not need to be processed by the translator and will not be displayed on the application interface, a special structure can be used to identify the content that does not need to be translated

Options:

A.

True

B.

False

Buy Now
Questions 58

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 59

Although a Page can contain multiple AbilitySlices, when a Page enters the foreground, the interface displays only one Abilitylice by default.

Options:

A.

True

B.

False

Buy Now
Questions 60

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 61

When a time-consuming operation needs to be performed in a HarmonyOS application, it is preferable to create subthreads in FA instead of creating subthreads in Service.

Options:

A.

True

B.

False

Buy Now
Questions 62

An engineer uses a simulator to debug a HarmonyOS application, which can support two types of HAP: signed and unsigned HAP (Harmomy0S Ability Package).

Options:

A.

True

B.

False

Buy Now
Questions 63

Sservice Abilit calls the onCommand() method after the creation is completed, and the method can be called once when the client starts the service for the first time, and there is no need to call it again in the future

Options:

A.

True

B.

False

Buy Now
Questions 64

A developer calls the terminate method in JavaScript code, which causes the Page Ability to be destroyed.

Options:

A.

True

B.

False

Buy Now
Questions 65

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 66

In JavaScript UI development, for wearable projects and TV projects, the name of the homepage can be not index, and the first page in the pages configuration list is the homepage; for the litewearable project, the name of the homepage must be index.

Options:

A.

True

B.

Error

Buy Now
Questions 67

When a developer uses the JS (JavaScript) UI framework to develop an application, if style =width:"10px is used in the component, the width of the component cannot be dynamically modified. If you use style="width:{{width}}" to set the width of a component, you can dynamically modify the width of the component in a JS file.

Options:

A.

True

B.

False

Buy Now
Questions 68

When users use mobile phones, they will find that the phone number in the text message is often highlighted, and they can dial directly. This is a typical application scenario for entity recognition Al.

Options:

A.

True

B.

False

Buy Now
Questions 69

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 70

HarmonyOS's relational database and object relational mapping database are both based on SQLite.

Options:

A.

True

B.

False

Buy Now
Questions 71

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

Options:

A.

True

B.

False

Buy Now
Questions 72

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

Options:

A.

True

B.

False

Buy Now
Questions 73

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 therecognition results. This is by taking advantage of the super-resolution of text and images in AI.

Options:

A.

True

B.

False

Buy Now
Questions 74

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 75

A developer needs to use the JavaScript UI framework to display the bar chart of the current month's product sales, and can use the chart component to achieve this function.

Options:

A.

True

B.

False

Buy Now
Questions 76

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 77

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

Image

image(Image)findComponentByld(ResourceTable.Id_cormponent_image);

Image.setPixelMap (ResourceTable.Media hawei);

Options:

A.

True

B.

False

Buy Now
Questions 78

The network management module of HarmonyOS can realize the communication between different processes of the machine, and the communication supports streaming socket technology.

Options:

A.

True

B.

False

Buy Now
Questions 79

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 80

A user uses the HarmonyOS distributed task scheduling capability to migrate mobile phone videos to the smart screen for playback. In this scenario, the process of finding whether the smart screen has the same playback software is a global query.

Options:

A.

True

B.

False

Buy Now
Questions 81

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 82

When the user is driving a car, he cannot use the mobile phone with his hands free, but he can control the mobile phone through voice assistant interaction. The abovescenarios belong to a typical class of applications of entity recognition.

Options:

A.

True

B.

False

Buy Now
Questions 83

A developer uses the Wi-Fi "Don't TrustHot-spotConfiguration" feature provided by HarmonyOS to add a specifiedhot-spotto its application, making it prioritize lower than the saved hot-spot. In this case, the system will refuse to connect to thehot-spoteven if it is the most suitablehot-spotafter the system scan.

Options:

A.

True

B.

False

Buy Now
Questions 84

In multiple distributed devices with the same HarmonyOS account, after logging in to an app, the app can synchronize the app account authentication information (account name, token or other) to other devices as needed.

Options:

A.

True

B.

False

Buy Now
Questions 85

With the help of the AI-enabled capabilities of HarmonyOS, it can detect and recognize the textof 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 86

When using EventHandler to implement inter-thread communication, if the callback method of EventHandler and the processing method of EventHandler are used.

Options:

A.

True

B.

False

Buy Now
Questions 87

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

Options:

A.

True

B.

False

Buy Now
Questions 88

The input division method of HarmonyOS is different from that of traditional operating systems, and multi-dimensional inputs will be integrated, so that developers can use application frameworks, UI components or interfaces that come with the system to implement applications with multi-dimensional and natural interaction characteristics.

Options:

A.

True

B.

False

Buy Now
Questions 89

AbilitySlice and Page have the same lifecycle state and callback method with the same name, and when the Lifecycle of the Page changes, the same lifecycle change will occur in AbilitySlice. Similarly, as the lifecycle of an AbilitySlice changes, the lifecycle state of a Page changes.

Options:

A.

True

B.

False

Buy Now
Questions 90

When a developer navigates within the same page, the AbilitySlice is new, even if present(newTargetSlice(), new Intent()) is repeatedly called, it will not cause any AbilitySlice to be out of the stack.

Options:

A.

True

B.

False

Buy Now
Questions 91

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 92

Before starting the debugging of the Entry module, the engineer needs to check whether the "visible" attribute exists in the config.jsnabilities array in the config.jsnabilities file under the Entry module, and if it does not exist, it needs to be added manually, otherwise the debugging of the Entry module cannot enter the breakpoint.

Options:

A.

True

B.

False

Buy Now
Questions 93

The distributed data management of HarmoryoS is based on the distributed soft bus to realize the distributed management of application data and user data.

Options:

A.

True

B.

False

Buy Now
Questions 94

The lightweight preference database is a non-relational database, which mainly provides lightweight key-value operations and supports local applications to store a large amount of data. If a HarmonyOS developer uses a lightweight preference database to save data, the data will be stored in a local file and will not be loaded into memory.

Options:

A.

True

B.

False

Buy Now
Questions 95

Service is running in the background, and users want the application to keep running all the time when playing music, and the foreground Service cannot be used at this time.

Options:

A.

True

B.

False

Buy Now
Questions 96

In HarmonyOS's "1+8+N" strategy, smart microwave oven devices belong to "N" devices.

Options:

A.

True

B.

False

Buy Now
Questions 97

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 98

Intent is a carrier for transmitting information between objects.

Options:

A.

True

B.

False

Buy Now
Questions 99

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

Options:

A.

True

B.

False

Buy Now
Questions 100

After the user enters a piece of text, with the help of the part-of-speech annotation interface, the application can perform automatic word segmentation, and label each word in the word segmentation result with a correct part of speech. However, the part-of-speech tagging feature provided by HarmonyOS only provides a fixed word segmentation granularity, and developers cannot customize the word segmentation granularity as needed when developing applications.

Options:

A.

True

B.

False

Buy Now
Questions 101

HarmonyOS provides the Al capability of Instant Messaging (IM) intent, which can convert speech signals into text or commands, and identify the user's intent represented by the message content.

Options:

A.

True

B.

False

Buy Now
Questions 102

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 103

The following code snippet is used to start the Service of the remote device, if it is replaced with the Service.withDeviceld("deviceld") that starts the local device, it can be deleted.

Intent intent =new Intent();

Operation operation =new Intent.OperationBuilderO

.withDeviceld("deviceld")

.withBundleName

("com.domainname.hiworld.himusic")

.withAbilityName("com.domainname.hiworld.himusic.ServiceAbility")

.withFlags(Intent.FLAG_ABILITYSLICE_MULTI_DEVICE)

.bui1d();

intent.setOperation(operation);

startAbility(intent);

Options:

A.

True

B.

False

Buy Now
Questions 104

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 105

Barrier-free color palettes should meet the identification needs of color blindness, and safe color palettes can be found by simulating the visual effects of different similar color defects.

Options:

A.

True

B.

False

Buy Now
Questions 106

Which of the following properties or events does the web component support?

Options:

A.

fileAccess(fileAccess:boolean)

B.

javaScriptAccess(javaScriptAccess:

boolean)

C.

on(type:'headerReceive',callback:

AsyncCallback):void

D.

onConfirm(callback:(event?:{url:string;

message:string; result:JsResult })=>

boolean)

E.

destroy():void

Buy Now
Questions 107

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

Buy Now
Questions 108

In the process of application development, a developer uses the global concurrent task distributor to dispatch tasks, and if a specific task needs to be executed 10 times, the developer can use applyDispatch to execute the task multiple times.

Options:

A.

True

B.

False

Buy Now
Questions 109

To publish a public event with permissions in HarmonyOS, you need to set subscriber permissions in the code.

Options:

A.

True

B.

False

Buy Now
Questions 110

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 111

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 112

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 113

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 114

What is the correct position setting for the Tabs tab described below?

Options:

A.

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

B.

When barPosition is set to Start (default) and vertical property is true, the tab islocated on the left side of the container.

C.

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

D.

If barPosition is set to End and vertical property is set to true, the tab is located on the right side of the container.

Buy Now
Questions 115

When developers use HarmonyOS distributed terminals, which of the following items can ensure that the system is safe and reliable?

Options:

A.

In theprocess of cross-terminal flow of distributed data, the data is classified and hierarchically managed

B.

Distributed multi-terminal collaborative identity authentication

C.

Build a trusted operating environment on distributed terminals

D.

Thedistributed terminal must be a Huawei product

Buy Now
Questions 116

The description of the ForEach(arr,itemGenerator,index) component is correct

Options:

A.

ForEach can loop through logical code, such asconsole.info ('hello').

B.

The first parameter must be an array, providing a data source for circular rendering.

C.

The second parameter generates the lambda function of the child component, which generates the child component for each array item in the data source.

D.

The third parameter is an anonymous function that generates a unique and stable key value for a given array item.

Buy Now
Questions 117

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 118

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 119

HarmonyOS single-version distributed databases do not enable automatic synchronization between networked devices by default, but you can enable automatic synchronization if necessary.

Options:

A.

True

B.

False

Buy Now
Questions 120

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 121

What attributes are supported by attribute animations?

Options:

A.

width

B.

rotate

C.

opacity

D.

scale

Buy Now
Questions 122

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.

Buy Now
Questions 123

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.

Projectis not synchronized successfully

Buy Now
Questions 124

Which of the following information is contained in moduleJSON5 under entry?

Options:

A.

Application package name and version number information

B.

Ability

C.

Device type information

D.

Application list for application permissions

Buy Now
Questions 125

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 126

Which of the following subsystem sets are included in the basic capability subsystem of the HarmonyOS system architecture?

Options:

A.

Distributed task scheduling

B.

Distributed data management

C.

Media Subsystem

D.

User Program Framework

Buy Now
Questions 127

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

Buy Now
Questions 128

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

Options:

A.

True

B.

False

Buy Now
Questions 129

What are the following types of task dispensers that HarmonyOS provides for developers?

Options:

A.

Global Concurrent Task Dispenser

B.

Concurrent task distributor

C.

Serial task dispenser

D.

Proprietary task distributor

Buy Now
Questions 130

HarmonyOS maintains a stack of AbilitySlice instances for each Page, and each AbilitySlice instance that enters the foreground will be added to the stack.

Options:

A.

True

B.

False

Buy Now
Questions 131

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

Buy Now
Questions 132

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

Options:

A.

Before you start Bluetooth scanning, you need to register for a broadcastBluetoothRemoteDevice.EVENT_DEVICE_DISOOVERED

B.

can initiate a Bluetooth device scan through the startBtDiscovery() interface

C.

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

D.

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

Buy Now
Questions 133

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 134

In HarmomOS, when an application is launched, the system creates an execution thread named "Main Thread" for the application. The main thread, also known as the UI thread, displays and updates the UI interface on the main thread.

Options:

A.

True

B.

False

Buy Now
Questions 135

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

Options:

A.

Android Debug Bridge

B.

Previewer

C.

Simulator

D.

Real machine

Buy Now
Questions 136

Which of the following pop-up functions does ArkU provide?

Options:

A.

AlertDialog

B.

TextPickerDialog

C.

DatePickerDialog

D.

@CustomDialog

E.

TimePickerDialog

Buy Now
Questions 137

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 138

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 139

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

Options:

A.

True

B.

False

Buy Now
Questions 140

If a developer needs to use the JavaScript UI framework to display the bar chart of the month's product sales, he can use the chart component to implement this function.

Options:

A.

True

B.

False

Buy Now
Questions 141

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">

Options:

A.

subassembly loops

B.

subcomponent autoplay

C.

Navigation points can be manipulated

D.

subcomponent autoplay interval 20s

Buy Now
Questions 142

If a developer wants to develop an application on a smart screen, which of thefollowing subsystems will he use?

Options:

A.

DV subsystem

B.

Proprietary business subsystem of smart screen

C.

Safety subsystem

D.

Media subsystem

Buy Now
Questions 143

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

Buy Now
Questions 144

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.

Options:

A.

True

B.

False

Buy Now
Questions 145

There is an application A that occupies a large amount of memory and a background service B on the mobile phone, but there is no binding relationship between the two. What are the following scenarios that may cause Service B to be stopped?

Options:

A.

App A calls onCommand() to stop service B

B.

applies A to call stopAbility() to stop service B

C.

service B calls terminateAbility() by itself

D.

The system is tight on memory and slow to respond

Buy Now
Questions 146

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 147

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.

Options:

A.

True

B.

False

Buy Now
Questions 148

When testing the Bluetooth Low Energy feature of HarmonyOS, a developer needs to make the central device perform Bluetooth scanning. Which of the following descriptions of the developer's actions are correct?

Options:

A.

Get scan filter, if the filter isempty, it is not used to scan without filter

B.

calls startScan() to start scanning the Bluetooth device

C.

Before performing Bluetooth scanning, it is necessary to inherit the advertiseCallback class to implement startResultEvent

Callback, which is used to receive scan results

D.

Call the BleCentralManager(BleCentralManagerCal1lback callback)API to obtain the device management object

Buy Now
Questions 149

What are the componentization characteristics of custom components?

Options:

A.

Combinable

B.

Reusable

C.

Configure the lifecycle

D.

Data-driven updates

Buy Now
Questions 150

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 151

Which of the following methods can remove a notification?

Options:

A.

cancel

B.

cancelAll

C,removeSlot

C.

removeAll

Buy Now
Questions 152

The log content filtered by a developer through relevant information is:

01-2016: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 the log?

Options:

A.

Content defined in HiLogLabel

B.

Errnovalue

C.

Reachable URL value

D.

The log level is WARN

Buy Now
Questions 153

API9 and above, router.pushUrl() method mode parameter can be configured to which of the following modes used by the jump page?

Options:

A.

Standard

B.

Single

C.

Specified

D.

None of the above is true

Buy Now
Questions 154

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

Buy Now
Questions 155

JavaScriptUl does not support async and await syntax.

Options:

A.

True

B.

False

Buy Now
Questions 156

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

Options:

A.

True

B.

False

Buy Now
Questions 157

When developing a HarmonyOSapplication, what methods do I need to call when migrating the FA (Feature Ability) on device A to device B?

Options:

A.

continueAbility ()

B.

continueAbilityReversibly ()

C.

startAbilityForResult ()

D.

startAbility ()

Buy Now
Questions 158

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 159

Which of the following descriptions of the HarmonyOSclipboard function is correct?

Options:

A.

Only clipping is supported

B.

can be copied and pasted into app B in app A

C.

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

D.

Only replication is supported

Buy Now
Questions 160

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 161

In the JS (JavaScript) UI framework, which layer is connected to the system platform platform by abstracting the platform layer and providing an abstract interface?

Options:

A.

Application Layer

B.

Front-end frame layer

C.

Engine Layer

D.

Platform adaptation layer

Buy Now
Questions 162

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 163

Which of the following is NOT acomponent 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 164

A developer found that the app could not usethe network management function of Harmony OS without requesting permissions. In order to use the network management feature, the developer requested the following permissions for their app, which of them is not required for the network management feature?

Options:

A.

ohos.permission.SET_NETWORK_INFO

B.

ohos.permission.INTERNET

C.

ohos.permission.LOCATION

D.

ohos.permission.GETNIPORK_INFO

Buy Now
Questions 165

When a developer designs a navigation application and needs the system to provide accurate positioning, which subsystem will be used?

Options:

A.

Wearable business subsystem

B.

Location Services Subsystem

C.

Multi-mode input subsystem

D.

Media subsystem

Buy Now
Questions 166

If a developer needs to use asyncDispatchBarrier to set up a barrier asynchronously, in this scenario, in order to separate different task groups, the developer can choose which of the following task dispensers?

Options:

A.

GlobalTaskDispatcher

B.

SpecTaskDispatcher

C.

SerialTaskDispatcher

D.

ParallelTaskDispatcher

Buy Now
Questions 167

A developer is developing a ticket booking application, in the selection of the location of the ticket, you need to use the slide selector Picker, in order to highlight the selected text, the developer sets the rendering effect that the selected text margin is greater thanthe ordinary text margin. Which of the following settings are correct?

Options:

A.

B.

Picker.setSelectNormal TextMarginRatio(5.0f);

C.

D.

Picker.setSelectNormalTextMarginRatio(5.0);

Buy Now
Questions 168

When a developer is developing a HarmonyOSapplication, if he needs to annotate information for a certain resource file of different types of elements in the Element directory to facilitate the understanding and use of the resource, which of the following methods can be added (XXX represents the comment text)?

Options:

A.

"comment": "xxX"

B.

#XXX

C.

/+××X+/ or /XXX

D.

xXxX

Buy Now
Questions 169

Before developing the NFC function, a HarmonyOS developer must first confirm whether the device supports the NFC function and whether the NFC is turned on.

Options:

A.

NFC basic query

B.

Access to the security element

C.

card emulation

D.

NFC message notification

Buy Now
Questions 170

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 171

When a developer needs to create a Service Ability when developing a background service, which of the following processes is NOT the step to create the Ability?

Options:

A.

onStart

B.

onCommand

C.

onStop

D.

onActive

Buy Now
Questions 172

Which of the following does not belong to the system service layer in the HarmonyOS system architecture?

Options:

A.

Distributed data management

B.

Ability

C.

Distributed task scheduling

D.

Distributed soft bus

Buy Now
Questions 173

In order to test the distributed file service functions of application A and application B, the developer installs application A and application B on both device 1 and device 2. During the test, application A on device 1 creates a distributed file X, and application B on device 2 creates a distributed file Y. Which of the following descriptions of this scenario is wrong?

Options:

A.

If Device 1 and Device 2 are logged in to different HarmonyoS accounts, distributed file sharing cannot be implemented

B.

If device 1 runs out of power and causes the device to go offline, distributed file X cannot be accessed

C.

With distributed file services, application A on device 1 is able to read and write file Y on device 2

D.

ApplicationA and Application B need to apply for ohos.permission.DISTRIBUTED_DATASYNC permissions to use the full functionality of the distributed file service

Buy Now
Questions 174

A developer now needs to make a motion track recording application, which can report the user's location information in real time. Which of the following is correct?

Options:

A.

Use RequestParam.SCENE_TRAJECTORY_TRACKINGsettings to locate the scene

B.

Apply for the ohos.permission.LOCATION permission only in config.json

C.

dynamically requests user authorization only in the codeohos.permission.LOCATION

D.

Use RequestParam.SCENE_NO_POWER settings to locate the scene

Buy Now
Questions 175

A developer uses HarmonyOS to write half of an email on his mobile phone and click the transfer button to the tablet to continue editing the email.

Options:

A.

Remote FA (Feature Ability)

B.

Start Remote PA (Particle Ability)

C.

FA (Feature Ability) is migrated across devices

D.

Connect to the remote PA (Particle Ability).

Buy Now
Questions 176

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 177

After a developer completesthe development of a Harmony OS application, it needs to be published to AppGallery

Options:

A.

Apply for the release of certificates and profile files→create an AGC project→create a HarmonyOS app→generate a key and certificate request file→compile and build the app→and put it on the app marketplace

B.

Generate a key and certificate request file→create an AGC project→create a HarmonyOS app→apply for a certificate and profile file→compile and build the app,→put it on the Marketplace

C.

Apply for the release of certificates and profile files→compile and build apps→create AGC projects→create HarmonyOSapps→generate keys and certificate request files→and put them on the app marketplace

D.

Generate a key and certificate request file→create an AGC project→create a HarmonyOS app→compile and build an app→apply for a certificate and Profi1e file, and→list it on the Marketplace

Buy Now
Questions 178

In the JS (JavaScript) UI framework, which layer is used to complete the front-end page parsing?

Options:

A.

Engine Layer

B.

Platform adaptation layer

C.

Front-end frame layer

D.

Application layer

Buy Now
Questions 179

When the system creates a page instance for the first time, which method will be called?

Options:

A.

onForeground()

B.

onInactive()

C.

onActive()

D.

onStart()

Buy Now
Questions 180

A HarmonyOSuser downloads and installs a new app that has declared some non-sensitive permissions in the config.json file, and the app may involve some sensitive permissions during operation. Which of the following is correct in this scenario?

Options:

A.

For sensitive permissions that may be involved in the operation of the application, the authorization method is system authorization (system_grant)

B.

For the non-sensitive permissions declared by the application in the config.json file, the application will be dynamically applied for during use

C.

Non-sensitive permissions declared by the app in the config.json file are automatically granted when the user installs the app

D.

For the non-sensitive permissions declared by the app in the config.json file, the authorization method is user authorization (user_grant).

Buy Now
Questions 181

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

Options:

A.

"module": {

"reqPermissions": [

{

"name":"com.myability.permission.MYPERMISSION "

"grantMode":"system_grant",

"availableScope": ["signatures"]

}

}

B.

"module": {

"defPermissions": [

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

"grantMode":"user_grant"

"availableScope": ["signatures"]

}

}

C.

"module": {

"defPermissions": [

{

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

"grantMode":"system_grant"

"availableScope": ["signatures"]

}

}

D.

"module": {

"defPermissions": [

{

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

"grantMode":"system_grant"

"availableScope": ["signatures"]

}

}

Buy Now
Questions 182

TaskDispatcher is the basic interface for Ability to distribute tasks, which hides the implementation details of the thread where the task is located. To ensure that the application is more responsive, we respond to the priority of the design task, which of the following is not the priority of the task?

Options:

A.

MIDDLE

B.

HIGH

C.

DEFAULT

D.

LOW

Buy Now
Questions 183

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 184

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

Buy Now
Questions 185

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 186

WhenthePage 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 187

In the process of coding, software development engineers need to detect whether the Butfer data is read and whether an exception occurs, which of the following methods can be called?

Options:

A.

Errorbuatfer()

B.

Bucferlistencr()

C.

lCodecListener()

D.

ErrorCode()

Buy Now
Questions 188

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 189

A developer needs to use the current data network for socket data transmission, and the development process involves the following steps:

1。Send data with sockets.

2。Bind the network with NetHandle.bindSocket().

3。Call NetManager.getDefaultNet() to get the default data network.

4。Call NetManager.getInstance(Context9) to get the instance object of network management.

When the developer combed through the development steps, the above steps were sorted according to the order in which the features were completed in the code. Which of the following is the correct order?

Options:

A.

4→1→2→3

B.

4→2→1→3

C.

4→3→2→1

D.

2→1→4→3

Buy Now
Questions 190

When a developer designs a PA (Particle Ability) application, which of the following development steps can be omitted?

Options:

A.

Run the program

B.

Implement the function

C.

Create a project

D.

Design interface

Buy Now
Questions 191

If a developer wants to develop a page with a tab function, the developer can use the TabList component provided by HarmonyOS. If you want to set the color of unchecked text to black. Which of the following codes is correct?

Options:

A.

ohos:selected_tab_indicator_color=#000000

B.

ohos:tab_indicator_type=#000000

C.

ohos:normal_text_color=#000000

D.

ohos:selected _text_color=#000000

Buy Now
Questions 192

The developer uses device A (local device) to control device B (remote device) to open the album, which distributed task scheduling capability is used in this scenario?

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)

Buy Now
Questions 193

When an engineer needs to add the function of recording video when developing an application, which of the following interfaces should be called?

Options:

A.

Recorder

B.

Coder

C.

Extractor

D.

Player

Buy Now
Questions 194

If a developer wants to achieve the effect of page swiping in an application, which of the following components does the developer need to select?

Options:

A.

PageSlider

B.

ToastDialog

C.

webView

D.

ProgressBar

Buy Now
Questions 195

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 196

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 197

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 198

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 ofinserting multiple pieces of data into the database at one time?

Options:

A.

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

B.

delete(Uri uri,DataAbilityPredicatespredicates)

C.

batchlnsert (Uri uri, ValuesBucket[]values)

D.

insert (Uri uri, ValuesBucket value)

Buy Now
Questions 199

The permission scope of HarmonyOS refers to whichapplications can apply for a permission, which of the following fields does not belong to the permission open scope?

Options:

A.

privileged

B.

signature

C.

restricted

D.

deivced

Buy Now
Questions 200

Which of the following subsystems is not part of the basic software service subsystem of HarmonyoS?

Options:

A.

Event Notification Service subsystem

B.

Telephone service subsystem

C.

Multimedia subsystem

D.

Location Services subsystem

Buy Now
Questions 201

The engineer fails to access the network through the get request, and the prompt 'Attempt to invoke virtual method' is displayed, which of the following permissions should be configured in config.json?

Options:

A.

harmonyos. permission. INTERNET

B.

harmonyos. permission.ANSWER:

C.

harmonyos. permission. REQUEST

D.

harmonyos. permission. ACCESS_NETTORKSTATE

Buy Now
Questions 202

When a developer specifies a music playback service through an intent when closing a remote service, the developer can realize the ability to disable music playback on remote devices.

Options:

A.

Disconnect remote FA (Feature Ability).

B.

Disabling Remote PA (Particle Ability)

C.

Connect to remote PA (Particle Ability)

D.

FA (Feature Ability) is a cross-line device migration

Buy Now
Questions 203

A user migrates video from a mobile phone to a smart screen for playback and uses the distributed task scheduling capability of HarmonyOS. Which of the following belongs to the process of opening the smart screen playback software when the mobile phone is migrated in this scenario?

Options:

A.

Remote connection

B.

Global query

C.

Remote start

D.

Remote migration

Buy Now
Questions 204

If a developer wants to develop an application on a smart screen, which of the following subsystems will he use?

Options:

A.

DV subsystem

B.

Proprietary business subsystem of smart screen

C.

Media Subsystem

D.

Safety subsystem

Buy Now
Questions 205

When a developer installs HAP (HarmonyOSAbility Package), what is the reason for the "STRING LENGTH ERROR" message?

Options:

A.

Signature information is not configured

B.

Package information exceeds the maximum length

C.

The device typeconfigured in config.json does not match the debugging device type

D.

The compilation and build plugin version does not match the Gradle version

Buy Now
Questions 206

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 207

If a developer wants to stop the service in a Service, which of the following APIs needs to be called?

Options:

A.

terminateAbility()

B.

stopAbility()

C.

connectAbility()

D.

startAbility()

Buy Now
Questions 208

A developer defines an entity class

Student.java and use the following code to construct the table:

@Entity(tableName ="student", ignoredColums

=["ignoredColumn1","ignoredColumn2", indices

= (@Index(value =("firstName.","lastName",

name="name_index", unique = true)))

pub1ic class User extends OrmObject{

@PrimaryKey(autoGenerate= true)

private Integer userld;

private String firstName;

private String lastName;

private int age;

private doub1e balance;

private int ignoredColumn1;

private int ignoredColumn2;

}

Which of the following descriptions of this code is wrong?

Options:

A.

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

B.

Doubles creates composite indexes name_index for the "firstName" and "1astName" fields

C.

The name of the data sheet is "student".

D.

The index value of the composite index 'name_index' is not unique

Buy Now
Exam Code: H14-231_V1.0
Exam Name: HCIP-HarmonyOS Application Developer V1.0
Last Update: Dec 2, 2024
Questions: 695

PDF + Testing Engine

$57.75  $164.99

Testing Engine

$43.75  $124.99
buy now H14-231_V1.0 testing engine

PDF (Q&A)

$36.75  $104.99
buy now H14-231_V1.0 pdf