Black Friday Sale - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 65percent

Welcome To DumpsPedia

H14-231_V1.0 Sample Questions Answers

Questions 4

When designing an application, the program needs to include the global configuration information of the application and the configuration information of the HarmonyOS Ability Package (HAP). In which file can the developer configure this information?

Options:

A.

build.gradle

B.

Manifest.xml

C.

MainAbility.java

D.

config.json

Buy Now
Questions 5

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 6

When a developer receives a new product demand and asks users to remake old documents such as paper letters into electronic versions, the application can improve the remake effect of the old documents and make the work more correct. What kind of AI-enabled capabilities can be leveraged by HarmonyOSto achieve this?

Options:

A.

Text image is super-resolved

B.

Image super-resolution

C.

Document detection correction

D.

General character recognition

Buy Now
Questions 7

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 8

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 9

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 10

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 11

When the user migrates the video on the mobile phone to the smart screen for playback, there will be a pop-up prompt for the user to confirm whether to start the migration. During the migration process, which of the following methods is first called?

Options:

A.

onSaveData()

B.

onStartContinuation()

C.

onRestoreData()

D.

onCompleteContinuation()

Buy Now
Questions 12

When the engineer is developing JS (JavaScript), the application can successfully load the local image in the common path, but cannot load the network image.

Options:

A.

ohos.permission.READ.MEDIA

B.

ohos.permssion.WRITE_MEDIA

C.

ohos.permission.INTERNET

D.

ohos.permission.GET_NETWORK_INFO

Buy Now
Questions 13

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 14

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 15

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

Options:

A.

For the non-sensitive permissions declared by the app in the config.json file, the authorization method is user authorization (user_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.

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

D.

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

Buy Now
Questions 16

An engineer uses a local simulator for application debugging, which of the following describes the error of the local simulator?

Options:

A.

You can run both the application-compatible signed and unsigned HAP (HarmonyOSAbility Package) on the local simulator

B.

By default, DevEco Studio does not automatically match the corresponding deviceemulator

C.

The default shortcut to start running is Shift+F10

D.

The local emulator can run and debug HarmonyOS applications for Lite Wearable and Smart Vision devices

Buy Now
Questions 17

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 18

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 19

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

Options:

A.

True

B.

False

Buy Now
Questions 20

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 21

What are the boot modes of UIAbility?

Options:

A.

singleton

B.

specified

C.

multition

D.

Builder

Buy Now
Questions 22

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 23

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 24

Which of the following sorting types does the trusted list of devices found by HarmonyOS Device Manager contain?

Options:

A.

Historically first used

B.

Intelligent Recommendation Mode

C.

History recently used

D.

History is the most used

Buy Now
Questions 25

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 26

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 27

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 28

HarmonyOSdefines different open scopes and authorization methods to protect data according to the sensitivity of the data involved in the interface

Options:

A.

restricted: the certificate can be applied in a controllable manner

B.

privileged: pre-made privileged app

C.

deviceAuthenticationed: device authentication application

D.

signature: the platform signature application

Buy Now
Questions 29

When designing the application, the developer added a Text component and a Button component, and the development sample is shown below. What layout does the developer not have to choose to place the components?

Options:

A.

StackLayout

B.

DependentLayout

C.

DirectionalLayout

D.

TableLayout

Buy Now
Questions 30

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 31

A developer uses the HarmonyOS Bluetooth Low Energy function to achieve cross-distance wireless communication, how does the central device and peripheral devices interact in this scenario?

Options:

A.

After the peripheral device and the central device establish a GATT connection, the peripheral device can query various data supported by the central device

B.

The peripheral device acts as a server and can receive GATT connection requests from the central device

C.

Peripherals are responsible for sending broadcasts

D.

The central device scans peripherals and discovers broadcasts

Buy Now
Questions 32

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

Options:

A.

LiteoS-M

B.

Linux

C.

UNIX

D.

LiteOS-A

Buy Now
Questions 33

Cross-terminal migration and collaboration are the capabilities of which HarmonyOS feature

Options:

A.

Develop multiple deployments at one time

B.

can be divided or combined

C.

Unified ecology

D.

Free circulation

Buy Now
Questions 34

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

Options:

A.

.zip

B.

.app

C.

.apk

D.

.hap

Buy Now
Questions 35

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 36

Which of the following types of NFC tags are supported by HarmonyOS?

Options:

A.

NFC-A

B.

NFC-B

C.

NFC-C

D.

NFC-F

Buy Now
Questions 37

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 38

If a developer wants to set up a dial pad, he will use round buttons and capsule buttons, what are the shape types that will be used in the background layer?

Options:

A.

oval

B.

rectangle

C.

line

D.

are

Buy Now
Questions 39

The Minimalist Protocol is a communication protocol customized by HarmonyOS, which layers of the traditional communication protocol are simplified?

Options:

A.

Application Layer

B.

Data Link Layer

C.

Transport Layer

D.

represents the layer

E.

network layer

F.

Session Layer

Buy Now
Questions 40

Which of the following combinations can realize the one-way state synchronization of child components from parent and child components?

Options:

A.

@State and @Link

B.

@Provide and @Consume

C.

@State and @Prop

D.

@Observed and @ObjectLink

Buy Now
Questions 41

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 42

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 43

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 44

When a developer is developing a UI, he writes the following code, which of the following is the correct implementation effect?

Options:

A.

The two words "classmate" are evenly distributed horizontally on two lines

B.

Text wraps automatically and keeps the upper and lower widths

C.

The four characters "Hello classmates" are evenly distributed vertically on a column

D.

The 4 words "Hello classmates" are evenly distributed horizontally on one line

Buy Now
Questions 45

When a data engineer constructs a data table, which of the following can be used as data types?

Options:

A.

Boolean type

B.

String type

C.

Double-precision floating-point type

D.

integer type

Buy Now
Questions 46

When a developer is developing an application, he creates a Checkbox component and writes the following code, which of the following descriptions of the code segment is correct?

ohos:height="match_content"

ohos:width="match_content"

ohos:text="This is a checkbox"

ohos:marked="false"

ohostext_color_on=“#000000”

ohos:text_color_off="#FFFFFF"

ohos:text_size="#000000"/>

Options:

A.

sets the selected text color to black

B.

sets the initial state to Selected

C.

Set the text font size to 20fp

D.

sets the color of unselected text to black

Buy Now
Questions 47

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

Options:

A.

multimedia subsystem

B.

Telephone subsystem

C.

Event Notification Service Subsystem

D.

Graphics subsystem

E.

Location Services subsystem

Buy Now
Questions 48

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 49

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 50

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 51

If an engineer is about to debug a Harmony OS application on an emulator device, which of the following correct debugging processes is the following?

Options:

A.

Check the properties of theconfig.json file→the device debugging code type→the installation method of the HarmonyOS Ability Package (HAP) package

B.

Check the attributes of the config.json file→→the installation method of the HarmonyOS Ability Package (HAP) package

C.

Set the code type→device HAP (HarmonyOSAbility Package) package installation method→check the config.json file attributes

D.

Toinstall the HarmonyOS Ability Package (HAP) package on a device→check the attributes of the config.json file→the debugging code type of the device

Buy Now
Questions 52

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

Options:

A.

Start an AbilitySlice by navigating

B.

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

C.

Jump to another page via a hyperlink

D.

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

Buy Now
Questions 53

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 54

After a developer sets :ohos:layout_ alignment="horizontal _center" in the Text component, he writes: text.setTranslationX(600) in the code, where is the Text displayed in the parent layout?

Options:

A.

level is centered

B.

is horizontally centered and shifted to the right by 600

C.

The parent layout is moved 600 to the top left and right

D.

is horizontally centered and shifted 600 to the left

Buy Now
Questions 55

The HarmonyOS video module supports the development of video services and the opening of the ecosystem, allowing developers to easily play, operate, and develop new functions of video media through the open interfaces. Video playback includes playback controls, playback settings, and playback queries, such as start/stop playback, playback speed settings, and whether to loop playback. When developing a video playback feature, which of the following steps is correct?

Options:

A.

Create a Player instance→construct a data source object and set the media source→call method prepare(),→call method play(), call method stop(→→call method release()

B.

Create a Player instance → call the prepare() → play() →construct the data source object and set the media source→call the stop()→release().

C.

Construct a data source object and set the media source→create a Player instance→call method play(),→call method prepare(),→call method stop(→call method release()

D.

Call the prepare() method→create a Plawer instance→construct a data source object and set the media source→call method→create a Player instance, Play()→call method stop()→call method release()

Buy Now
Questions 56

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 57

When a developer was developing a ticket booking application, he used the sliding selector TimPicker in the time selection of air tickets, according to the requirements of the airline, the time does not need to display the second information, which of the following can meet the needs?

Options:

A.

timePicker.enableHour(false);

B.

timePicker.showMinute(false);

C.

timePicker.enableMinute(false);

D.

timePicker.showSecond(false);

Buy Now
Questions 58

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

Options:

A.

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

B.

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

C.

onStart()—onActive()→onInActive()

D.

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

Buy Now
Questions 59

In order to ensure better responsiveness of the application, developers need to use the task distributor to design the priority of the task.

Options:

A.

DEFAULT

B.

MIDDLE

C.

HIGH

D.

LOW

Buy Now
Questions 60

In order to help users find data in the app through the global search app, a HarmonyOSdeveloper needs to index the data of the app and configure the global search searchable entities. Which of the following interfaces can the developer choose to index their application data?

Options:

A.

Converged search interface

B.

Distributed data service interface

C.

Data storage management interface

D.

Relational data services

Buy Now
Questions 61

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

Options:

A.

UI framework

B.

AI subsystem

C.

Phone

D.

kernel

Buy Now
Questions 62

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 63

If a developer needs to add the Banner function to a page, which of the following components is most suitable for implementing the function?

Options:

A.

ScrollView

B.

PageSlider

C.

Text

D.

ListContainer

Buy Now
Questions 64

In the Page Ability lifecycle of HarmonyOS, when the system creates a Page instance for the first time, which of the following callback methods will be triggered first?

Options:

A.

onStart()

B.

onActive()

C.

onInactive()

D.

onStop()

Buy Now
Questions 65

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

Options:

A.

connectPageAbility(intent,connection)

B.

connectAbility(intent, connection)

C.

onConnect

D.

connectServiceAbility(intent, connection)

Buy Now
Questions 66

Which of the following security mechanisms can ensure that application data is not maliciously used?

Options:

A.

Permission management

B.

App permissions

C.

port security

D.

Application security

Buy Now
Questions 67

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

Vardevicelnto=dmInstance.getLocaIDevicelnfoSync () :

Options:

A.

Obtain the local device information synchronously

B.

Asynchronously obtain the list of trusted devices

C.

Obtain the list of trusted devices synchronously

D.

Asynchronously obtain local device information

Buy Now
Questions 68

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 69

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 70

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

Options:

A.

Preparation for circulation

B.

Circulation

C.

End of circulation

D.

The circulation is complete

Buy Now
Questions 71

What events can the next piece of code handle?

Options:

A.

public class CustonLomponent extends Componentimplements

Component.DrawTask,Component.EstimateSizeListener,Component.TouchEventListener

{

......

public CustomComponent (Context context){

...

Set up a TouchEvent to respond to events

setlouchEventListener(this);

}

...

@Override

public boolean onTouchEvent(Component

component,TouchEvent touchEvent){

switch (touchEven

B.

Neither event can be processed

C.

can only handle DOWN events

D.

Only UP events can be processed

Buy Now
Questions 72

Which description of the HarmonyOS clipboard can be correctly interpreted in the following scenarios?

Options:

A.

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

B.

can be copied and pasted into app B in app A

C.

Only replication is supported

D.

Only clipping is supported

Buy Now
Questions 73

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 74

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 75

What is the "1" in HarmonyOS's "1+8+N" strategy?

Options:

A.

mobile phone

B.

Tablet

C.

Watch

D.

Smart screen

Buy Now
Questions 76

When an engineer develops an application and needs to add the function of extracting videos, which of the following interfaces should be called?

Options:

A.

Codec()

B.

Player()

C.

Extractor()

D.

Recorder()

Buy Now
Questions 77

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 78

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

TaskDispatcher dispatcher =

getUlTaskDispatcher();

Revocable revocable =

________________________(new Runnable(){

@Overide Public void run(){

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

}

},10);

Boolean revoked = revocable.revoke();

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

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

Options:

A.

dispatcher.delayDispatch

B.

dispatcher.asyncDispatch

C.

dispatcher.syncDispatch

D.

dispatcher.createDispatchGroup

Buy Now
Questions 79

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 80

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 81

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

Options:

A.

onConneCtenxt()

B.

connectPageAbility(intent.connection)

C.

connectAbility(intent.connection);

D.

connectServiceAbility(intent,connection);

Buy Now
Questions 82

When a developer clicks the exit button of an application to release PageAbility resources, which callback method in the ability lifecycle of the Pag package will betriggered?

Options:

A.

onBackground( )

B.

onInactive( )

C.

onForeground( )

D.

onStop( )

Buy Now
Questions 83

HarmonyOSprovides developers with different abilities according to different application scenarios, for example, if a developer plans to develop a background music playback function, which of the following is correct about the configuration of the ability in config.json?

Options:

A.

“type: “service

B.

“type: “page

C.

“type: “ability

D.

“type: “data

Buy Now
Questions 84

A developer has developed with the Text component, and the effect is as follows, which piece of code can be used to achieve the effect?

Options:

A.

ohos:width="match_content"

ohos:text="HarmonyOS:Hello world!"

ohos:text_color="$color: white"

ohos:text_size="100"

ohos:multiple_lines="true"

ohos:top_margin="15"

ohos:left_margin="15"

ohos:right_margin="15"

ohos:background_element="$graphic:background_text"/>

B.

ohos:width="match_parent"

ohos:text="HarmonyOS:Hello world!"

ohos:text_color="$color: white"

ohos:text_size="100"

ohos:multiple_lines="true"

ohos:top_margin="15"

ohos:left_margin="15"

ohos:right_margin="15"

ohos:background_element="$graphic:background_text"/>

C.

ohos:width="match_parent"

ohos:text="HarmonyOS:Hello world!"

ohos:text_color="$color: white"

ohos:text_size="100"

ohos:multiple_lines="false"

ohos:top_margin="15"

ohos:left_margin="15"

ohos:right_margin="15"

ohos:background_element="$graphic:background_text"/>

D.

ohos:width="match_content"

ohos:text="HarmonyOS:Hello world!"

ohos:text_color="$color: white"

ohos:text_size="100"

ohos:multiple_lines="false"

ohos:top_margin="15"

ohos:left_margin="15"

ohos:right_margin="15"

ohos:background_element="$graphic:background_text"/>

Buy Now
Questions 85

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 86

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 87

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 88

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

Options:

A.

True

B.

False

Buy Now
Questions 89

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 90

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 91

HarmonyOS application packages are released in the form of application packs, which are composed of one or more HAPs (HarmonyOS Ability Packages) and pack.info describing each HAP attribute.

Options:

A.

True

B.

False

Buy Now
Questions 92

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 93

The user application package of HarmonyOS may not contain a HAP package of the feature type.

Options:

A.

True

B.

False

Buy Now
Questions 94

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 95

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 96

When MainAbility and MainAbilitySlice 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 97

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 98

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 99

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

Options:

A.

True

B.

False

Buy Now
Questions 100

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 101

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 102

Intent is a carrier for transmitting information between objects.

Options:

A.

True

B.

False

Buy Now
Questions 103

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 104

HarmonyOS provides the NFC message notification function, through which developers can obtain the message of the NFC switch state change and the NFC field strength message.

Options:

A.

True

B.

False

Buy Now
Questions 105

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

Options:

A.

True

B.

False

Buy Now
Questions 106

If a developer wants to be able to get the return result when the user returns from the navigation target AbilitySlice, they should use presentForResult() to implement the navigation. When the user returns from the navigation target AbilitySlice, the system will call onResult() to receive and process the returned result.

Options:

A.

True

B.

False

Buy Now
Questions 107

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 108

The callback mechanism provided by the Ability class can enable the Page instance to switch in the background following the user's operation.

Options:

A.

True

B.

False

Buy Now
Questions 109

When an Intent is used to initiate a request, if both BundleName and Abilitylame are specified, the application can be started directly according to the full name of the Ability (for example, "com.demcapp.FooAbility").

Options:

A.

True

B.

False

Buy Now
Questions 110

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 111

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 112

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

Options:

A.

True

B.

Error

Buy Now
Questions 113

Motion sensors may be a single physical sensor, or they may be composed of multiple physical sensors.

Options:

A.

True

B.

False

Buy Now
Questions 114

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 115

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

Options:

A.

True

B.

False

Buy Now
Questions 116

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 117

JavaScript FA (Feature Ability) lifecycle events are divided into application lifecycle and page lifecycle.

Options:

A.

True

B.

False

Buy Now
Questions 118

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

Options:

A.

True

B.

False

Buy Now
Questions 119

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 120

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 121

The data generated by a developer's use of Data Ability can be shared between different applications on the same device, but cannot be shared across devices.

Options:

A.

True

B.

False

Buy Now
Questions 122

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 123

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 124

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

Options:

A.

True

B.

False

Buy Now
Questions 125

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 126

PositionLayout is an adaptive layout, which is mainly used in scenarios where multiple components at the same level need to automatically adjust the number of columns on different screen sizes.

Options:

A.

True

B.

False

Buy Now
Questions 127

A user grants permission X to application A of a certain device, and on the device, application A persists the state of this permission grant and can call all interfaces controlled by permission X at any time.

Options:

A.

True

B.

False

Buy Now
Questions 128

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

Options:

A.

True

B.

False

Buy Now
Questions 129

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

Options:

A.

True

B.

False

Buy Now
Questions 130

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

Options:

A.

True

B.

False

Buy Now
Questions 131

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 132

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

Options:

A.

True

B.

False

Buy Now
Questions 133

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 134

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 135

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

Options:

A.

True

B.

False

Buy Now
Questions 136

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 137

What are the parameters of animation in attribute animation?

Options:

A.

playMode

B.

curve

C.

delay

D.

onFinish

Buy Now
Questions 138

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 139

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

Options:

A.

True

B.

False

Buy Now
Questions 140

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 141

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 142

In HarmonyOS, when a subscription action is performed after an out-of-order public event is published, subscribers can also receive the out-of-order public event.

Options:

A.

True

B.

False

Buy Now
Questions 143

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 144

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 145

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

Options:

A.

Component Tree

B.

Code Editor

C.

UI interface

D.

Terminal

Buy Now
Questions 146

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

Options:

A.

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

B.

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

C.

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

D.

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

Buy Now
Questions 147

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 148

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 149

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 150

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

Options:

A.

ohos:selected text color=#0000FF

B.

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

C.

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

D.

ohos:operated_text_color="0000FF"

Buy Now
Questions 151

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 152

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 153

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 154

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 155

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 156

What are the componentization characteristics of custom components?

Options:

A.

Combinable

B.

Reusable

C.

Configure the lifecycle

D.

Data-driven updates

Buy Now
Questions 157

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 158

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 159

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 160

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 161

. If a developer wants to use the distributed device virtualization capabilities of HarmonyOS, which of the following hardware can be selected by the developer?

Options:

A.

display

B.

Camera

C.

Global Positioning System (GPS).

D.

Accelerometer

Buy Now
Questions 162

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 163

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 164

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 165

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 166

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 167

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 168

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 169

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 170

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 171

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

Options:

A.

True

B.

False

Buy Now
Questions 172

Which of the following container components can be scrolled

Options:

A.

Scroll

B.

List

C.

Row

D.

Grid

E.

Column

Buy Now
Questions 173

Which of the following component hierarchies are correct

Options:

A.

Text>Span

B.

Button>Column>Image

C.

Button>Image>Text

D.

Image>Text>Span

E.

Column>Row>Button

Buy Now
Questions 174

Which of the following methods can remove a notification?

Options:

A.

cancel

B.

cancelAll

C,removeSlot

C.

removeAll

Buy Now
Questions 175

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 176

A software development engineer will debug a piece of code, which of the following methods can be used?

Options:

A.

Click Attach Debugger to Process

B.

Click Debug

C.

Use the shortcut key Shift+F9

D.

Use the shortcut key Shift+F10

Buy Now
Questions 177

Relational databases provide the ability to add, delete, modify, and query local data.

Options:

A.

corresponds to the interface where data is inserted, and returns the line number of the latest inserted data when the insertion is successful, and 0 when it fails.

B.

For interfaces that update data, the return value indicates the number of rows affected by the update operation, and returns 0 if the update fails.

C.

For interfaces that delete data, the return value indicates the number of deleted data rows, and if the deletion fails, it returns 0.

D.

For APIs that query data, you cannot run native SQL statements for query operations

Buy Now
Questions 178

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 179

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 180

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 181

What are the life cycle states of UIAbility?

Options:

A.

Create

B.

WindowStageCreate

C.

dForeground

D.

Background

E.

WindowStageDestroy

F.

Destroy

Buy Now
Questions 182

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 183

In the stage model, what are the following configuration files that belong to the AppScope folder?

Options:

A.

main_pages.json

B.

module.json5

C.

app.json5

D.

package.json

Buy Now
Questions 184

When publishing an application, I need to create a certificate, and what type of certificate type should I choose?

Options:

A.

Commissioning Certificate

B.

Publish certificates

C.

Test Certificate

D.

Operating Certificate

Buy Now
Questions 185

What data types are supported for the storage of preference preferences values

Options:

A.

Numeric

B.

character

C.

Boolean

D.

Numeric, character, boolean, and these 3 types of array types.

Buy Now
Questions 186

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 187

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 188

Which of the following modules needs to be imported for page routing?

Options:

A.

import prompt from '@ohos.prompt'

B.

import router from '@ohos.router'

C.

import Notification from'@ohos.notification'

D.

import window from '@ohos.window'

Buy Now
Questions 189

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 190

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 191

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?

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 192

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

23597/com.example.myapplication W

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

Options:

A.

is defined in the HiLogLabel

B.

Errnovalue

C.

Reachable URL value

D.

The log level is WARN

Buy Now
Questions 193

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 194

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 195

Which of the following permissions is required to initiate a network request using HTTP?

Options:

A.

ohos.permission.USE_BLUETOOTH

B.

ohos.permission.INTERNET

C.

ohos.permission.REQUIRE_FORM

D.

ohos.permission.LOCATION

Buy Now
Questions 196

In HarmonyOS, Intents are the carriers for transferring information between objects, and which of the following items can be set through Intents?

Options:

A.

Deviceld

B.

BundleName

C.

AbilityName

D.

Action

Buy Now
Questions 197

The software engineer will encode the data, which can take two coding methods: ordinary and pipeline, which of the following are the differences between these two coding methods?

Options:

A.

In pipeline mode, the application needs to call the setSource() method of the Source class

B.

In the B pipeline mode, the application must continuously transfer data B to the Code instance

C.

Inpipeline mode, it is not necessary for the application to continuously transfer data to the Code instance

D.

Inpipe mode, the app is automatically parsed and transferred to the Code instance after it is correctly configured

Buy Now
Questions 198

With regard to Web components, the following is incorrect

Options:

A.

WebController can control various behaviors of web components, such as forward, backward, runJavaScript, etc.

B.

The web component supports the setting of various properties such as fileAccess.javaScriptAccess, for example, .javaScriptAccess(true) indicates that JavaScript scripts are allowed to be executed.

C.

The web component supports a variety of events, such as onConfirm and onConsole, for example, the onConfirm callback is triggered when a web page calls confirm().

D.

The ohos.permission.INTERNET permission is required to access both online and offline web pages using the web component.

Buy Now
Questions 199

Which of the following databases uses SQLite as the persistent storage engine in HarmonyOS data management?

Options:

A.

Relational database

B.

Object-relational mapping database

C.

Lightweight preference database

D.

Distributed data services

Buy Now
Questions 200

An engineer uses a local simulator for application debugging, which of the following describes the wrong local simulator?

Options:

A.

Youcan run both the application-compatible signed and unsigned HAP (HarmonyOSAbility Package) on the local simulator

B.

By default, DevEco Studio does not automatically match the corresponding device emulator

C.

The default shortcut to start running is Shift+F10

D.

The local emulator can run and debug HarmonyOS applications for LiteWearable and Smart Vision devices

Buy Now
Questions 201

If a developer wants to use the device virtualization feature of HarmonyOS, which subsystem will he use?

Options:

A.

Location Services subsystem

B.

DV subsystem

C.

Media Subsystem

D.

Safety subsystem

Buy Now
Questions 202

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

Options:

A.

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

B.

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

C.

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

D.

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

Buy Now
Questions 203

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 204

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 205

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 206

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

Options:

A.

All sites

B.

China

C.

Russia

D.

Germany

E.

Singapore

Buy Now
Questions 207

Regarding the callback event of the Video component, the following statement is incorrect

Options:

A.

onStart is triggered when the video is playing, and you can get the video duration here.

B.

This event is triggered at the end of the B onFinish video.

C.

Thisevent is triggered when the C onPrepared video is ready.

D.

onUpdate is triggered when the playback progress changes, the unit is s, and the update interval is 250 ms.

Buy Now
Questions 208

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
Exam Code: H14-231_V1.0
Exam Name: HCIP-HarmonyOS Application Developer V1.0
Last Update: Nov 15, 2024
Questions: 695
$57.75  $164.99
$43.75  $124.99
$36.75  $104.99
buy now H14-231_V1.0