Winter Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: geek65

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

Questions 4

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 5

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 6

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 7

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 8

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 9

Which of the following products belongs to the security products in the smart homeecology?

Options:

A.

Large-screen refrigerator

B.

smart door lock

C.

Rice cooker

D.

Water heater

Buy Now
Questions 10

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 11

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 12

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 13

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 14

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 does the user recover the data?

Options:

A.

onStartContinuation

B.

onRestoreData

C.

onCompleteContinuation

D.

onSaveData

Buy Now
Questions 15

In order to cope with complex application business logic, a developer needs to create multiple threads to perform multiple tasks. In this case, the code is complex and difficult to maintain, and the interaction between tasks and threads becomes more complex. To solve this problem, which of the following interfaces can the developer use to distribute different tasks?

Options:

A.

TaskDispatcher

B.

Group

C.

lAbilityMlanager

D.

BackgroundTaskManager

Buy Now
Questions 16

HarmonyOSsupports developers to customize permissions in the "reqPermissions" field to access permission-protected objects

Options:

A.

config.json

B.

ability_main.xml

C.

MainAbilityS1ice.java

D.

string.json

Buy Now
Questions 17

The logs queried by a developer are as follows. HiLog.warn(LABEL, "Failed to visit %(private) s,reason:%(public}d.",url, exrno); What kind of level does the log belong to?

Options:

A.

WARN

B.

FalseCode()

C.

INFO

D.

DEBUG

Buy Now
Questions 18

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 19

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 20

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

Which of the following information can't be obtained?

Options:

A.

log level

B.

The business area of the log

C.

Log ID

D.

Log type

Buy Now
Questions 21

Developers will use the UI framework provided by Harmony OS when developing mobile phone pages, which of the following is not a UI framework?

Options:

A.

layout

B.

Cross-device call

C.

Graphical controls

D.

Window Management Framework

Buy Now
Questions 22

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 23

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 24

In the declarative development paradigm, which of the following decorator decorated state variables needs to be initialized locally, and the initialized value can be overridden by the construction parameters?

Options:

A.

@State

B.

@ObjectLink

C.

@StorageLink

D.

@Prop

Buy Now
Questions 25

What lifecycle processes will be triggered when a developer creates a Page instance and lets the instance be displayed in the foreground?

Options:

A.

onStart()→onActive()

B.

onStart()→onActive()→onInactive()

C.

onBackground()→onForeground()→onStop()

D.

onActive()→onInactive()

Buy Now
Questions 26

A HarmonyOS developerdevelops 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 27

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 28

How to realize distributed communication betweentwo 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 29

If a HarmonyOS developerhas developed multiple applications and ensured that the data between different applications cannot be accessed through the triplet of account, application, and database, which of the following services can the developer use to achieve this function?

Options:

A.

Distributed file services

B.

Distributed data services

C.

Data search services

D.

Data storage management

Buy Now
Questions 30

If a developer wants to use the HarmonyOS speech recognition function, which of the following subsystems will he use?

Options:

A.

Location Services subsystem

B.

security subsystem

C.

Media Subsystem

D.

AI subsystem

Buy Now
Questions 31

When I use the interface to set the system time in HarmonyoS, which of the following is the smallest time unit?

Options:

A.

minute

B.

seconds

C.

microseconds

D.

ms

Buy Now
Questions 32

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 33

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 34

Inwhat form will the application package of Harmony OS be released and put on the shelves?

Options:

A.

HAR(HarmonyOS Ability Resources)

B.

APP Pack (Application Package)

C.

HAP (HarmonyOS Ability Package)

D.

pack.info

Buy Now
Questions 35

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

If an engineer needs to determine whether a device supports the corresponding decoder of the specified MIME (Multipurpose Internet Mail Extensions), which of the following interfaces should be selected?

Options:

A.

getSupportedMimes()

B.

isEncodeSupportedByMime(String mime)

C.

isDecodeSupportedByMime(String mime)

D.

isDecoderSupportedByFormat(Format format)

Buy Now
Questions 37

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 38

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 39

Which of the following descriptions of the HarmonyOSclipboard 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 40

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 41

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 42

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

Options:

A.

ohos:text_alignment=start

B.

ohos:text_alignment=bottom

C.

ohos:text_alignment=vertical_center

D.

ohos:text_alignment=horizontal_center

Buy Now
Questions 43

Which of the following subsystems does a developer use when using the facial recognition feature of HarmonyOS?

Options:

A.

Multi-mode input subsystem

B.

Media Subsystem

C.

Safety subsystem

D.

Graphics subsystem

Buy Now
Questions 44

If there are 3 Ability sharing a Service instance, how can I exit the Service instance?

Options:

A.

Ability does not need to quit

B.

All abilities bound to the Service instance are exited

C.

has 1 Ability to exit

D.

has 2 Ability exits

Buy Now
Questions 45

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 46

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 47

After the user migrates the navigation of the mobile phone to the smart watch, if the smart watch needs to obtain the data transmitted from the mobile phone, which of the following methods should it be obtained?

Options:

A.

onSaveData ()

B.

onStartContinuation ()

C.

onRestoreData (

D.

onCompleteContinuation ()

Buy Now
Questions 48

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 49

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 50

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 selected tab to be marked by underlining at the bottom, which of the following codes is correct?

Options:

A.

ohos:tab indicator type="bottom_line"

B.

ohos:tab_indicator_type="invisible"

C.

ohos:tab_indicator_type="oval"

D.

ohos:tab_indicator_type="left_line"

Buy Now
Questions 51

When a developer needs to specify the exact coordinates of the x-axis and y-axis of a sub-component when laying out a component, which layout can be used to achieve this function?

Options:

A.

DirectionalLayout

B.

PositionLayout

C.

DependentLayout

D.

StackLayout

Buy Now
Questions 52

Thedefault size of shared memory in Harmony OS is ?

Options:

A.

8M

B.

4M

C.

2M

D.

1M

Buy Now
Questions 53

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 54

Intent is a carrier for transmitting information between objects.

Options:

A.

True

B.

False

Buy Now
Questions 55

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 56

HarmonyOS provides access to external storage devices, such as USB flash drives, SD cards, etc.

Options:

A.

True

B.

False

Buy Now
Questions 57

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 58

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 59

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 60

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 61

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 62

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 63

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 64

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 65

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

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

Options:

A.

True

B.

False

Buy Now
Questions 68

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 69

The object relational mapping database mainly provides light-grade Key-Value exploration, which supports local applications to store less data, and the data is stored in local files and also loaded in memory, so the access speed is faster and more efficient.

Options:

A.

True

B.

False

Buy Now
Questions 70

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 71

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

Options:

A.

True

B.

False

Buy Now
Questions 72

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 73

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 74

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 75

In the HarmonyOS system architecture, the distributed data management module belongs to the framework layer.

Options:

A.

True

B.

False

Buy Now
Questions 76

HarmonyOS's Data Ability is used to provide an interface for operation data, but cannot provide file-related operations.

Options:

A.

True

B.

False

Buy Now
Questions 77

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 78

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 79

AR (HarmonyOSAbilityResources) Different HAPs (HarmonyOSAbilityPackage), HAR cannot be installed and run on the device independently, and can only be referenced as a dependency of the application module.

Options:

A.

True

B.

False

Buy Now
Questions 80

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 81

A Page Ability (hereinafter referred to as a "Page") may consist of one or more AbilitySlice, which refers to the sum of a single page of an application and its controllogic.

Options:

A.

True

B.

False

Buy Now
Questions 82

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 83

The atomic service consists of one or more HAP packets, andone HAP packet corresponds to one FA or one PA. Each FA or PA can be operated independently to perform 1 specific function.

Options:

A.

True

B.

False

Buy Now
Questions 84

MATCH_CONTENT indicates that the component size will expand to the maximum allowed by the parent component and occupy the remaining size in the direction of the parent component

Options:

A.

True

B.

False

Buy Now
Questions 85

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 86

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 87

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 88

The ListContainer grid layout can be realized through the setLayoutManager() method

Options:

A.

True

B.

False

Buy Now
Questions 89

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

Options:

A.

True

B.

False

Buy Now
Questions 90

Operations such as the display and update of the UI interface are carried out on the main thread, so the main thread is also called the UI thread.

Options:

A.

True

B.

False

Buy Now
Questions 91

HarmonyOS supports entity recognition, which can highlight relevant entity information and set up quick operation entrances. For example, the phone number in this message will be highlighted, and the user can dial it directly.

Options:

A.

True

B.

False

Buy Now
Questions 92

In DevEco Studio, engineers can log in to the emulator after passing the real-name authentication of their HUAWEI ID.

Options:

A.

True

B.

False

Buy Now
Questions 93

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

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

Options:

A.

True

B.

False

Buy Now
Questions 96

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 97

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

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 100

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 101

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

Options:

A.

True

B.

False

Buy Now
Questions 102

A developer needs to make a list of the minimum necessary permissions for the application he develops. If the minimum necessary permissions list is output correctly, the lack of one of these permissions will cause the application-related services to be unable to implement or run normally.

Options:

A.

True

B.

False

Buy Now
Questions 103

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 104

If a third-party application has registered the callback of the airplane mode setting item in advance, when the user modifies the airplane mode status of the terminal through the system settings, the application will detect the change of this setting item and adapt it. If the airplane mode is detected to be turned off, the app will go offline, and if the airplane mode is detected and turned on, the app will recapture the online data.

Options:

A.

True

B.

False

Buy Now
Questions 105

What are the parts of the HarmonyOS cloud development project?

Options:

A.

end development project (Application)

B.

CloudProgram

C.

External Libraries on theside

D.

Public Resource Library (Resource)

Buy Now
Questions 106

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

Options:

A.

Unpublish a public event

B.

Subscribe to public events

C.

Publish a public event

D.

Unsubscribe from public events

Buy Now
Questions 107

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

Image

image(Image)findComponentByld(ResourceTable.Id_component_image);

Image.setPixelMap (ResourceTable.Media hawei);

Options:

A.

True

B.

False

Buy Now
Questions 108

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 109

What are the following scenarios that belong to the public events of the system?

Options:

A.

System upgrade

B.

Customize the lights off time

C.

Network connection

D.

USB plugging and unplugging

Buy Now
Questions 110

In order to solve the problem of safety risks when walking or cycling, a travel navigation company uses HarmoryOS to push mobile navigation reminders to its watch.

Options:

A.

Distributed data management

B.

Distributed soft bus

C.

Distributed device virtualization

D.

Distributed task scheduling

Buy Now
Questions 111

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 112

The main function of EventHandler is to deliver InnerEvent events or Runnable tasks to other threads for processing.

Options:

A.

IDLE

B.

HIGH

C.

LOW

D.

IMMEDIATE

Buy Now
Questions 113

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 114

A developer is using CommonEventData to encapsulate information about ordered public events for data processing when publishing, distributing, and receiving. What do I need to pay attention to when developing?

Options:

A.

data is the result data of an ordered public event

B.

intent is not allowed to be empty

C.

intent—must be empty

D.

codeis the result code of an ordered public event

Buy Now
Questions 115

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 116

How do I create a new project in DevEco Studio?

Options:

A.

Create a new file on your computer and name it "new harmonyOS project"

B.

If you have a project open, select 'file>new>Create Project from the DevEco Studio menu

C.

If you open DevEco Studio for the first time, click "Create new Project" on the welcome page

D.

Create a new project without having to rename it

Buy Now
Questions 117

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

Options:

A.

True

B.

False

Buy Now
Questions 118

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 119

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 120

To publish an app, a HarmonyOS developer needs to use a certificate request file (Cerificate Signing Request) to apply for a digital certificate from AppGallery Connect.

Options:

A.

Name of the organization

B.

Common name

C.

Public key

D.

Organizational unit

Buy Now
Questions 121

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

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 toCtrl+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/servicein 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.

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

Buy Now
Questions 124

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 125

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

Options:

A.

True

B.

False

Buy Now
Questions 126

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 127

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

Options:

A.

One-time development and multi-terminal deployment

B.

can be divided and combined, free circulation

C.

Unified ecology and native intelligence

D.

High-frequency operation to improve efficiency

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

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

Options:

A.

Small system equipment

B.

Large-scale system equipment

C.

Lightweight system equipment

D.

Standard system equipment

Buy Now
Questions 130

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 DVIDto 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 131

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

Options:

A.

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

B.

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

C.

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

D.

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

Buy Now
Questions 132

The HarmonyOS Media Management module provides capabilities for audio playback, audio recording, audio and video synthesis, and video decoding.

Options:

A.

True

B.

False

Buy Now
Questions 133

HarmonyOS adopts a multi-core design, which supports the selection of appropriate OS kernels for different resource-constrained devices, and which of the following capabilities does the kernel provide for the operating system?

Options:

A.

file system

B.

Memory management

C.

Peripheral management

D.

Thread management

Buy Now
Questions 134

What are the componentization characteristics of custom components?

Options:

A.

Combinable

B.

Reusable

C.

Configure the lifecycle

D.

Data-driven updates

Buy Now
Questions 135

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 theoptional 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 136

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 137

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 138

What operations are supported by SCF in device-cloud integration?

Options:

A.

writes a function

B.

Test function

C.

Packing function

D.

Deploy functions

Buy Now
Questions 139

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

Options:

A.

Entry.hap

B.

FeatureB.hap

C.

FeatureC.hap

D.

FeatureA.hap

Buy Now
Questions 140

What are the boot modes of UIAbility?

Options:

A.

singleton

B.

specified

C.

multition

D.

Builder

Buy Now
Questions 141

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 142

The KV data model is a SQL-type database whose data is organized, indexed, and stored in the form of key-value pairs.

Options:

A.

True

B.

False

Buy Now
Questions 143

A developer needs to use the emulator in DevEco Studio, click to log in to the emulator and enter your HUAWEI ID, and the browser will directly jump to the real-name authentication interface. What are the reasons for this problem?

Options:

A.

has just completed real-name authentication, but the authentication has not yet taken effect

B.

used the Chrome browser

C.

HUAWEI ID does not have real-name authentication

D The account is not registered

Buy Now
Questions 144

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 145

What is correct about Web Component Description A?

Options:

A.

web componentis a component that provides the ability to display web pages.

B.

Theincoming address of a web component can be a local resource or a network resource.

C.

WebController can control various behaviors of web components, such as the forward and backward functions of web pages.

D.

When accessing online web pages, you need to add network permissions.

Buy Now
Questions 146

Which of the following container components can be scrolled

Options:

A.

Scroll

B.

List

C.

Row

D.

Grid

E.

Column

Buy Now
Questions 147

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 148

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 149

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

Options:

A.

GPS

B.

Beidou

C.

WLAN

D.

Base Station

E.

Bluetooth

Buy Now
Questions 150

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 broadcastBluetoothRemoteDevice

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 151

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

Options:

A.

SCF

B.

Cloud Database

C.

Cloud storage

D.

Certification services

Buy Now
Questions 152

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 153

What are the types of background agent reminder services?

Options:

A.

Countdown class

B.

Calendar class

C.

Alarm clock class

D.

Schedule

Buy Now
Questions 154

Which of the following are the lifecycle callback functions of Ability?

Options:

A.

onCreate

B.

onDestroy

C.

onPageShow

D.

onPageHide

E.

onForeground

F.

onBackground

Buy Now
Questions 155

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 156

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 157

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 158

The log content is "01-20 16:08:36.90823597-23597/com.example. myapplicition w00201/MY_TAG: Failed to visit . reason: 503." By analyzing the log, you can't get the following items?

Options:

A.

errno value

B.

The log level is Warn

C.

The log level is DEBUG

D.

Content defined in HiLoglabel

Buy Now
Questions 159

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 160

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 161

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 162

A user migrates video playback from his mobile phone to a smart screen and uses the distributed task scheduling capability of HarmonyOS. Which of the following is the process of connecting the video to the smart screen playback in this scenario?

Options:

A.

Remote connection

B.

Global query

C.

Remote migration

D.

Remote start

Buy Now
Questions 163

After developing a HarmonyOS application, the developerneeds 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 164

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 165

The developer is developing a ticket booking application, and uses the slide selector Picker to select the starting point of the ticket and writes the following code.

ohos:id="$+id:test_picker"

ohos:selected_text_color="#FFFFFF"

ohos:value="55"

ohos:max_value="10"

ohos:selector_item_num="10"

ohos:bottom_line_element="#FFFFFF"

ohos:selected_text_size="16fp"/>

Options:

A.

Set the font size of the selected Chinese version to 16fp

B.

Choose the color of the Chinese text as white

C.

The current value is 10

D.

The maximum value is 10

Buy Now
Questions 166

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

Options:

A.

HTTP

B.

WebSocket

C.

Socket

D.

Request

Buy Now
Questions 167

Which of the following features does HarmonyOS smart home devices include?

Options:

A.

Minimalist connection

B.

Wildcard card

C.

Minimalist interaction

D.

Hardware Mutual Aid

Buy Now
Questions 168

When a developer develops a HarmonyOS application and uses an intent pass object, which of the following descriptions of intent are correct?

Options:

A.

does not specify the BundleName and Ability Name to implement the jump, and the application is started according to other attributes in the operation

B.

Specify the BundleName and AbilityName to implement the jump, and start the application directly according to the full name of the Ability

C.

deals with the work of an application as a whole

D.

is a long-lifecycle, D-program with no user interface that keeps the app running in the background and doesn't disappear by switching pages

Buy Now
Questions 169

Which of the following items are correctly described about the HarmonyOS distributed database?

Options:

A.

The interface is simple, and the backup and encryption features are simple and configurable

B.

shields different physical transmission channels

C.

Depends on the cloud

D.

The synchronization logic is completely transparent

Buy Now
Questions 170

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

Options:

A.

onForeground()

B.

onStop()

C.

onInactive()

D.

onBackground()

Buy Now
Questions 171

Which of the following options belong to Particle Ability?

Options:

A.

Particle Ability supports the Service Ability template

B.

Particle Ability supports Data Ability templates

C.

Particle Ability supports Page Ability templates

D.

has the function of running tasks in the background

Buy Now
Questions 172

When a developer is developing an online education application, in order to improve the user experience, if the userAnswer:s the question correctly, a dialog box of "Congratulations on the correctAnswer:" will pop up at the top of the window.

Options:

A.

ToastDialog

B.

Picker

C.

ScrollView

D.

PageSlider

Buy Now
Questions 173

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

Options:

A.

Entry.hap

B.

FeatureB.hap

C.

FeatureC.hap

D.

FeatureA.hap

Buy Now
Questions 174

The application package name cannot contain some reserved fields, which of the following fields meets the specification?

Options:

A.

test

B.

harmony

C.

system

D.

ohos

Buy Now
Questions 175

In the game scene, when playing games on the smart screen, you can use the mobile phone as a remote control handle, and with the help of the mobile phone's gravity sensor, acceleration sensor, and touch ability, it provides players with a more convenient and smooth gaming experience. What distributed capabilities are used to use the mobile phone as a remote control controller in this scenario?

Options:

A.

Distributed Device Virtualization

B.

Distributed task scheduling

C.

Distributed file services

D.

Distributed soft bus

Buy Now
Questions 176

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 177

When a developer calls Particle Ability (PA) with FA (Feature Ability), callAbility returns the error "Internal ability not register.", what key steps does the developer need to check?

Options:

A.

checks that the Ability filled in on the JS (JavaScript) side is 1

B.

In the AccAbility inheritance class, whether the register method is executed for the AcelnternalAbility inheritance class

C.

Whether the bundLeName and abilityName filled in on the JS (JavaScript) side are the same as the names filled in the AcelnternalAbility inheritance class constructor

D.

Check that the Internal Ability entered on the JS (JavaScript) side is 0

Buy Now
Questions 178

Which of the following situations will not call back the onFinish function?

Options:

A.

delay is set to 0

B.

tempo is set to 1

C.

iterations set to -1

D.

playMode is set to PlayMode.Reverse

Buy Now
Questions 179

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

Options:

A.

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

B.

Atomic services are managed and distributed by AppGallery

C.

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

D.

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

E.

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

Buy Now
Questions 180

In the distributed terminal scenario, only by ensuring that the equipment used by theuser is safe and reliable can the user's data be effectively protected on the virtual terminal and avoid the leakage of user privacy. What does HarmonyOS do to ensure that your devices are reliable?

Options:

A.

Trusted Execution Environment

B.

Safe Boot

C.

Device certificate authentication

D.

Collaborative Mutual Aid Certification

Buy Now
Questions 181

A HarmonyOSengineer needs to apply for a digital certificate to complete the release of the application, which of the following descriptions of digital certificates is wrong?

Options:

A.

Issued by AppGallery Connect

B.

You need to use DevEco Studio to generate a key

C.

Digital certificates are used to ensure the integrity of the application

D.

The digital certificate format is .csr

Buy Now
Questions 182

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 183

If a developer wants to use the notification function of HarmonyOS when developing an application, which of the following notification styles can be selected by the developer?

Options:

A.

Plain text

B.

Multi-line text

C.

Long text

D.

Picture

Buy Now
Questions 184

A HarmonyOS developer created two serial task distributors, dispatchera anddispatcher_b, and also created a proprietary task dispatcher. Which of the following scenarios can cause deadlocks due to improper use of syncDispatch?

Options:

A.

On a dedicated thread, dispatchers are used forsyncDispatch

B.

uses dispatcherb to dispatch tasks synchronously in dispatchera tasks

C.

In the tasks dispatchedby dispatcher_a, the dispatcher_a is used again to dispatch the task

D.

The thread pool is full

Buy Now
Questions 185

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?

Options:

A.

Divider

B.

Button

C.

Text

D.

Columm

Buy Now
Questions 186

Which of the following subsystems in HarmonyOS is part of the basic software servicesubsystem set?

Options:

A.

Media Subsystem

B.

Location Services Subsystem

C.

Telephony subsystem

D.

Event Notification Service Subsystem

Buy Now
Questions 187

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 188

When a developer uses the Text component for development, because the length ofthe input string is too long, which of the following codes can be used to display the entire content?

Options:

A.

ohos:truncation_mode="none"

B.

ohos:truncation_mode="ellipsis_at_start"

C.

ohos:auto_font_size="true"

D.

ohos:multiple_lines="true"

Buy Now
Questions 189

Which of the following permissions is required when using the Video component to play network videos?

Options:

A.

ohos.permission.READ_MEDIA

B.

ohos.permission.INTERNET

C.

ohos.permission.WRITE_MEDIA

D.

ohos.permission.LOCATION

Buy Now
Questions 190

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 191

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 192

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 193

ArkTS Stage model supports API Version 9, is it correct about its project directory structure?

Aoh-package.json5 is used to store application-level configuration information, including signatures, product configurations, etc

Bbuild-profile.json5 is used to configure the entry and package name of the third-party package declaration file

Cmodule.json5 contains the configuration information of HAP, the configuration information applied to a specific device, and the global configuration information of the application

Dapp.json5 is used to write application-level compilation and build task scripts

258 DevEco Studio provides an emulator for developers to run and debug HarmonyOS applications/services.

A localemulator is created and runs on the local machine and requires login authorization

BThe local emulator supports functions such as volume adjustment, battery level adjustment, screen rotation, etc

CYou don't need to sign your application/service when you install it on your local emulator

DDevEco Studio will start the compilation build of the application/service, and the application/service will run on the local simulator after completion

259. After installing Lottie through OHPM, in which file will the relevant configuration information be generated?

Options:

A.

module.json5

B.

oh-package.json5

C.

app.json5

D.

main_page.json

Buy Now
Questions 194

If a developer wants to use the distributed capabilities of HarmonyOS, which of the following options can the developer choose?

Options:

A.

Distributed device virtualization

B.

Distributed data management

C.

Distributed soft bus

D.

Distributed task scheduling

Buy Now
Questions 195

In the collaborative office scenario, project the document on the mobile phone to the smart screen, and perform page turning and zoom operations on the document on the smart screen. What distributed capabilities are used in the preceding scenarios?

Options:

A.

Distributed Device Virtualization

B.

Distributed Data Service

C.

distributed soft bus

D.

Distributed file services

Buy Now
Questions 196

Where is the data of the preference placed after persistence?

Options:

A.

In memory

B.

database table

C.

file

D.

Cloud

Buy Now
Questions 197

What principles of permission should be followed when developing HarmonyOS applications?

Options:

A.

The user can know and control

B.

The permission application is complete

C.

Custom permissions to prevent duplicate names

D.

Permission requests are minimized

Buy Now
Questions 198

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, as the app can be used during its lifetime

The UUID uniquely identifies the same device

B.

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

C.

Developers can achieve the above requirements with the help of DVID, because the application can be accessed and managed according to the DVID

Distributed equipment

D.

If the developer uses the DVIDto 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 199

In the declarative development paradigm, which of the following rules about the constructor method initializes member variables is wrong?

Options:

A.

The parent component's regular variables cannot be used to initialize @Link or @Prop variables

B.

@StorageLink and @StorageProp are allowed to be passed from the parent component to the child component

C.

The @Prop variable of the parent component can initialize the eState or @Linkvariable of the child component

D.

The @State variable of theparent component cannot initialize the @State variable of the child component

Buy Now
Questions 200

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 Serviceis not already running, the system calls the onCommand() method to start the Service

B.

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

C.

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

D.

If the Service isnot already running, onStart() is called to initialize the Service

Buy Now
Questions 201

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 202

Which of the following options belong to the kernel layer in the HarmonyOS system architecture?

Options:

A.

LiteOS

B.

HDF (Hardware Driver Foundation)

C.

Linux

D.

KAL(Kerne1 Abstract Layer)

Buy Now
Questions 203

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 204

If a developer uses the Text component to develop a UI interface, if the outside of the Text component needs to be left blank, which of the following codes can the developer use?

Options:

A.

ohos:top_padding="15"

B.

ohos:top_margin="15"

C.

ohos:top_padding="30"

D.

ohos:top_margin="30"

Buy Now
Questions 205

When a developer uses the distributed task scheduling capability of HarmonyOS, which of the following features can be selected by the developer?

Options:

A.

Remote start

B.

Remote call

C.

Remote connection

D.

Migration

Buy Now
Questions 206

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

Options:

A.

package

B.

name

C.

bundleName

D.

page

Buy Now
Questions 207

A developer is writing a piece of code to control the access rights of an Ability

Apps with the ohos.permission.CAMERA permission can access this ability. The relevant code completed by the developer in config.json is as follows:

"abilities": [

{

"name": ". MainAbility",

"description":

"Sstring:description_main_abi1ity",

"icon" : "$media:hiworld.png",

"label": "HiCamera",

"1aunchType": "standard",

"orientation": "portrait",

"visible": false,______________________________

} ]

Which of the following should the developer add to the horizontal line?

Options:

A.

"permissions": [

"ohos.permission.CAMERA" ]

B.

"defPermissions":[

{"ohos.permission.CAMERA"}]

C.

"reqPermissions": [ {

"ohos.permission.CAMERA”}]

D.

"permissions": [

"ohos.permission.LOCATION"]

Buy Now
Questions 208

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.

Afterthe 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
Exam Code: H14-231_V1.0
Exam Name: HCIP-HarmonyOS Application Developer V1.0
Last Update: Nov 21, 2024
Questions: 695
H14-231_V1.0 pdf

H14-231_V1.0 PDF

$28  $80
H14-231_V1.0 Engine

H14-231_V1.0 Testing Engine

$33.25  $95
H14-231_V1.0 PDF + Engine

H14-231_V1.0 PDF + Testing Engine

$45.5  $130