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

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

Questions 4

Which of the following statements is correct?

Options:

A.

preference follows the ACID characteristic

B.

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

C.

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

D.

The key of the preference is of type String

Buy Now
Questions 5

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

Options:

A.

AlertDialog

B.

TextPickerDialog

C.

DatePickerDialog

D.

@CustomDialog

E.

TimePickerDialog

Buy Now
Questions 6

When an engineer compiles and builds a HarmonyOS Ability Package (HAP) with debugging signature information in DevEco Studio, he or she needs to apply for a debugging certificate and profile file in advance.

Options:

A.

SignAlg

B.

Certpath File

C.

Profile File

D.

Store File

Buy Now
Questions 7

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

Options:

A.

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

B.

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

C.

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

D.

int sizel =(int)(Dislaylanager.getInstance

().getDefaultDisplay(

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

Buy Now
Questions 8

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 9

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 10

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 11

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

Options:

A.

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

B.

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

C.

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

D.

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

Buy Now
Questions 12

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 13

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 14

JavaScriptUl does not support async and await syntax.

Options:

A.

True

B.

False

Buy Now
Questions 15

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 16

When an intent is used to initiate a request, a developer designs to open a link through a browser, but does not care which browser application the user ultimately chooses.

Options:

A.

Action

B.

AbilityName

C.

Entity

D.

BundleName

Buy Now
Questions 17

On the basis of the supported input events, the multi-mode input defines some input actions commonly used by users as a set of standardized events, and maps the input events of different input devices to the standardized events.

Options:

A.

True

B.

False

Buy Now
Questions 18

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 19

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 20

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 21

What are the boot modes of UIAbility?

Options:

A.

singleton

B.

specified

C.

multition

D.

Builder

Buy Now
Questions 22

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 23

The main axis of the Row container is horizontal, and the cross axis is vertical, and its parameter type is VerticalAlign, and VerticalAlign defines the following types?

Options:

A.

Top

B.

Bottom

C.

Start

D.

End

E.

Center

Buy Now
Questions 24

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 25

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 26

Which of the following information is included in the module.json5 configuration file?

Options:

A.

ability

B.

Module Name

C.

The version number of the app

D.

Module type

Buy Now
Questions 27

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 28

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 29

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 30

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

Options:

A.

True

B.

False

Buy Now
Questions 31

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 32

Which of the following decorators can be used to manage the state of variables in custom components?

Options:

A.

@Component

B.

@Entry

C.

@State

D.

@Link

Buy Now
Questions 33

What are the boot modes of UIAbility?

Options:

A.

multiton

B.

singleton

C.

specified

D.

standard

Buy Now
Questions 34

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 35

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

Options:

A.

True

B.

False

Buy Now
Questions 36

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.

Account is not registered

C.

uses the Chrome browser

D.

The HUAWEI ID is not verified

Buy Now
Questions 37

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 38

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 39

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

Options:

A.

Device certificate certification

B.

Safe Boot

C.

Trusted Execution Environment

D.

Zero trust model

Buy Now
Questions 40

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 41

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 42

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 43

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 44

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 45

A developer wants to use JS (JavaScript) to develop an application on the smart screen,Which of the following development languages does the developer need to master?

Options:

A.

C/C++

B.

CSS

C.

HTML5

D.

JavaScript

Buy Now
Questions 46

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 47

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

String dispatcherName =

"parallelTaskDispatcher";

TaskDispatcher dispatcher =

createParallelTaskDispatcher(dispatcherName,TaskPriority.DEFAULT);

Group group

=dispatcher.createDispatchGroup();

dispatcher.asyncGroupDispatch(group,new

Runnable(){

@Override

public void run(){

HiLog.info(LABEL_LOG,"download taskl is

running ");

}

});

dispatcher.groupDispatchlotify(group,new

Runnable(){

@0verride

public void run(){

HiLog.info(LABEL_L0G,"the close task2 is

running");

}

});

dispatcher.groupDispatchlotify(group,new

Runnable(){

@Override

public void run(){

HiLog.info(LABEL_L0G, "the close task is

running after all tasks in the group are

completed");

}

});

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

Options:

A.

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

B.

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

C.

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

D.

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

Buy Now
Questions 48

Which of the following components are container components?

Options:

A.

Button

B.

Row

C.

Column

D.

Image

E.

TextInput

Buy Now
Questions 49

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 50

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 51

Knowing the variable int a=123, which of the following codes can successfully print the value of variable a in the console?

Options:

A.

HiLog.info(LABEL,String.format("a =%d",a));

B.

HiLog.info(LABEL,"a=%(public)d",a);

C.

HiLog.info(LABEL,"a =%d",a);

D.

HiLog.info(LABEL,"a =%{private}d",a);

Buy Now
Questions 52

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

01-2016:08:36.908

23597/com.example.myapplication W

00201/MY TAG:Failed to visit,reason:503.

Which of the following cannot be obtained by analyzing the log?

Options:

A.

Content defined in HiLogLabel

B.

Errnovalue

C.

Reachable URL value

D.

The log level is WARN

Buy Now
Questions 53

There is a configuration file named "config.json" in the root directory of each HAP package of the HarmonyOS application, which mainly covers the following three aspects:

Options:

A.

The configuration information of the app on a specific device

B.

Configuration information of all abilities in the current module

C.

Global configuration information for the app

D.

HAP package configuration information

Buy Now
Questions 54

If a developer wants to quote the resource files in the base directory and the qualifier directory, which of the following can be used to do so?

Options:

A.

Specify the resource type and resource size

B.

Resource name

C.

Resource size

D.

Specify the resource type and resource name

Buy Now
Questions 55

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

Options:

A.

Memory

B.

Battery

C.

CPU

D.

network

Buy Now
Questions 56

HarmonyOS provides two mechanisms for calling JavaPA (ParticleAbility) by JSFA(FeatureAbility), namely Ability and InternalAbility.

Options:

A.

Ability has an independent life cycle

B.

Ability does not need to be registered with the FA

C.

Theclass inherited by C InternalAbility isohos.ace.ability.AcelnternalAbility

D.

Ability is not allowed to be accessed by other FAs

E.

InternalAbility cannot be called by other FAs

Buy Now
Questions 57

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 58

When a company is developing a HarmonyOSapplication, it needs to customize an artboard control, how to get the X coordinates of the current touch point in the whole screen during the listening of touch events?

Options:

A.

touchEvent.getPointerScreenPosition(touchEvent.getIndex()).getX()

B.

touchEvent.getPointerPosition(touchEvent.getltem()).getX()

C.

touchEvent.getPointerScreenPosition(touchEvent.getltem()).getX()

D.

touchEvent.getPointerPosition(touchEvent.getlndex()).getX()

Buy Now
Questions 59

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 60

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 61

If a developer wants to use the clipboard service of HarmonyOS to implement simple data transfer between applications, which of the following statements is correct?

Options:

A.

can paste the data copied in app A and paste it in app B

B.

You can add or remove callbacks for changes in system clipboard data

C.

can read, write, and query clipboard data from the system clipboard

D.

Clipboard data written to the clipboard service is destroyed at the end of the application

E.

Apps that don't get focus in the foreground also have access to the system clipboard

Buy Now
Questions 62

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 63

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

Options:

A.

The user can know and control

B.

The permission application is complete

C.

Custom permissions can be renamed the same name

D.

Permission requests are minimized

Buy Now
Questions 64

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

Options:

A.

HTTP

B.

WebSocket

C.

Socket

D.

Request

Buy Now
Questions 65

When using the capabilities or data of the corresponding service, you need to apply for the corresponding permissions, and the non-sensitive permissions need to be declared in which field of config.json?

Options:

A.

reqPermissions

B.

requestPermissions

C.

defPermissions

D.

canRequestPermissions

Buy Now
Questions 66

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 67

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

Options:

A.

The mobile phone and the smart screen can be different HUAWEI ID

B.

embodies the self-discovery function of the distributed soft bus

C.

The mobile phone and the smart screen need to be under the same LAN

D.

embodies the characteristics of extremely fast transmission of distributed soft bus

Buy Now
Questions 68

Regarding the boot mode of UIAbility, the following statement is incorrect

Options:

A.

UIAbility supports three launch modes: single-instance, standard-mode, and specified instance, which can be configured in module.json via launchType.

B.

singleton is a single-instance mode, only one instance exists in the system, and if it already exists, the only instance in the system is reused.

C.

standard is the standard mode, anda new instance will be started every time startAbility, and the system defaults to the standard mode.

D.

specifiedis the specified instance mode, and the internal business of Ability decides whether to create multiple instances during runtime.

Buy Now
Questions 69

When a developer develops a background music playback software, he needs to use Service Ability, what are the following correct descriptions of the use process of Service Ability?

Options:

A.

Register the Ability in the application manifest file

B.

When you use the connectAbility() method to connect to a Service, you need to pass in the Intent of the target Service

C.

onConnect() needs to return an IRemoteObject object back

D.

Use setElement() of the Intent to set the target service information

Buy Now
Questions 70

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 71

What are the following types of transition animations in the declarative development paradigm?

Options:

A.

page transition

B.

Transitions between applications

C.

Share element transitions

D.

Transitions within an assembly

Buy Now
Questions 72

. When developing a HarmonyOS application, use a component Text as the title of a page, if you want to make the title invisible and still occupy the space of the current page, the following operations are correct

Options:

A.

ohos:visibility= "invisible"

B.

text.setVisibility(Component.HIDE)

C.

ohos:visibility="hide"

D.

text.setVisibility(Component.INVISIBLE)

Buy Now
Questions 73

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 74

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 75

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 76

Whichof the following does not belong to the application framework layer in theHarmony OS system architecture?

Options:

A.

UI

B.

Distributed data management

C.

User Program Framework

D.

Ability

Buy Now
Questions 77

When developing a HarmonyOS application, which of the following notification types can be implemented by developers?

Options:

A.

Plain text

B.

Long text

C.

Image

D.

card

E.

Media

F.

Multiple lines

Buy Now
Questions 78

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

Options:

A.

CALLS STARTPAIR() TO COMPLETE STEP 3

B.

calls enablebt() to complete step 1

C.

CALLS STARTBTDISCOVERY() TO COMPLETE STEP 2

D.

steps 2 and 3 can be reversed in the order D

Buy Now
Questions 79

There is a configljson configuration file in the root directory of each HAP (HarmonyOS Ability Package) of a HarmonyOS application.

Options:

A.

app

B.

deviceConfig

C.

module

D.

abilities

Buy Now
Questions 80

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

Options:

A.

The default value of tempo is 1.0

B.

parameter delay cannot be greater than duration

C.

parameter curve can be left unset

D.

parameter iterations can be left unset

Buy Now
Questions 81

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 82

Whichof the following subsystems in Harmony OS can achieve data isolation between applications?

Options:

A.

Location Services subsystem

B.

Safety subsystem

C.

Media Subsystem

D.

AI subsystem

Buy Now
Questions 83

When an Intent is used to initiate a request, if both BundleName and AbilityName are specified, which of the following codes is used to directly start the application?

Options:

A.

a12345

B.

com.demoapp

C.

Deviceld

D.

com.demoapp.FirstAbility

Buy Now
Questions 84

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 85

A PageA contains Ability SliceA1 and AbilitySliceA2, which is displayed as AbilitySliceA1 by default. What are the following steps if you want to navigate directly to PageA's AbilitySliceA2 in PageB on the current device?

Options:

A.

Add a route for AbilitySliceA2via addActionRoute() in PageA

B.

Register the action corresponding to PageA in the configuration file

C.

Set the action in the Intent of the PageB navigation

D.

Set Deviceld to empty in the Intent of the PageB navigation

Buy Now
Questions 86

If the user migrates the video on the machine to the smart screen for playback, which of the following callback methods can save the video playback data on the mobile phone?

Options:

A.

onStartContinuation()

B.

onCompleteContinuation()

C.

onRestoreData()

D.

onSaveData()

Buy Now
Questions 87

Which of the following methods can jump to a new page and destroy the current page?

Options:

A.

router.pushUrl( )

B.

router.replaceUrl( )

C.

router.back( )

D.

router.clear( )

Buy Now
Questions 88

When adding user information, if the account uses a mobile phone number, which of the following input formats is correct?

Options:

A.

86-189****1234

B.

189****1234

C.

+86189****1234

D.

0086-189****1234

Buy Now
Questions 89

Which of the following modules needs to be imported to initiate a network data request?

Options:

A.

import http from '@ohos.net.http'

B.

import http from ' @ohos.net.https'

C.

import request from '@ohos.request'

D.

import request from '@ohos.net.request'

Buy Now
Questions 90

When a developer sets a background for a Text component, which of the following methods are correct?

Options:

A.

ohos:basement="$graphic:graphic_src"

B.

ohos:background_element="$graphic:background

C.

ohos:background_element="#000000"

D.

ohos:background_element="$color:black"

Buy Now
Questions 91

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 OFF should be displayed on the closed state component, what are the following options that can meet the requirements?

Options:

A.

Switch btnSwitch=(Switch)findComponentByld(Resource Table.ld_btn_switch);

btnSwitch.setStateOffText(OFF);

btnSwitch.setStateONText(ON);

B.

Ohos:text_state_off="ON"

Ohos:text_state_on="OFF">

C.

Switch btnSwitch=

(Switch)findComponentByld(ResourceTable.ld_btn_switch); btnSwitch.setStateOffText(ON);

btnSwitch.setStateONText(OFF);

D.

Ohos:text_state_off="OFF"

Ohos:text_state_on="ON">

Buy Now
Questions 92

What is the full name of HUKS in Chinese

Options:

A.

encryption and decryption system

B.

Common keystore system

C.

Password management system

D.

Access control system

Buy Now
Questions 93

Do I need manual review after the release of the open beta version?

Options:

A.

Yes

B.

does not need to

C.

Required before testing

D.

Required before release

Buy Now
Questions 94

If a developer needs to use the JavaScript UI framework to develop an application, which of the following components can the developer choose?

Options:

A.

Container component

B.

Media Component

C.

Foundation Components

D.

Canvas component

Buy Now
Questions 95

What kind of struct is used to decoratively indicate that the structure has the ability to be componentized?

Options:

A.

@Component

B.

@Entry

C.

@Builder

D.

@Preview

Buy Now
Questions 96

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 97

The user clicks on the song from the music list page to jump to the playback interface of the song, and clicks back to return to the music list page. Which of the following do developers need to do to implement this feature?

Options:

A.

calls router.back() to return to the music list

B.

Page Ability to create a music list page

C.

Create a Page Ability area for playing the page

D.

calls router.push() to route to the playback interface

Buy Now
Questions 98

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 99

Which of the following items is correct about the objects of HarmonyOS permission protection?

Options:

A.

Photos, contacts, calendars, locations, etc. are app data

B.

Popping up a floating box and creating a shortcut belong to the device capabilities

C.

Device identification, camera, microphone, etc. belong to device data

D.

The objects protected by permissions can be divided into data and capabilities

Buy Now
Questions 100

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 101

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 102

In what ways can developers use device-cloud integration in DevEco Studio?

Options:

A.

IDE plug-in

B.

Project Template

C.

Command-line tool

D.

Visualization Tools

Buy Now
Questions 103

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

Options:

A.

Java

B.

Android

C.

JavaScript

D.

Python

Buy Now
Questions 104

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

Options:

A.

ohos:background_element="$graphic:background

B.

ohos:background_element="$color:green"

C.

ohos:background_element="#0000FF"

D.

ohos:background_element="#880000FF"

Buy Now
Questions 105

When using EventHandler to implement inter-thread communication, if EventRunner takes out the Runnable task, it will trigger the callback method of EventHandler and the processing method of EventHandler.

Options:

A.

True

B.

False

Buy Now
Questions 106

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 107

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 108

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

Options:

A.

True

B.

False

Buy Now
Questions 109

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 110

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 111

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

Options:

A.

True

B.

False

Buy Now
Questions 112

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

Options:

A.

True

B.

False

Buy Now
Questions 113

The Service Ability created by a developer does not have a user interface. Can be launched by other apps. When the user switches to another application, the Service will be killed in the background.

Options:

A.

True

B.

False

Buy Now
Questions 114

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 115

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

Options:

A.

True

B.

False

Buy Now
Questions 116

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 117

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 118

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 119

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

Options:

A.

True

B.

False

Buy Now
Questions 120

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 121

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 122

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 123

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 124

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

Options:

A.

True

B.

False

Buy Now
Questions 125

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 126

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

Options:

A.

True

B.

False

Buy Now
Questions 127

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 128

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 129

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

Options:

A.

True

B.

False

Buy Now
Questions 130

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

Options:

A.

True

B.

False

Buy Now
Questions 131

Intent is a carrier for transmitting information between objects.

Options:

A.

True

B.

False

Buy Now
Questions 132

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 133

In order to improve the user experience, a developer uses ScrollView to realize the scrolling display of photos in an album application, and in order to improve the user experience, the developer sets the ScrollView rebound_effect property to true, so that the photo has a rebound effect when sliding to the bottom.

Options:

A.

True

B.

False

Buy Now
Questions 134

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 135

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 136

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 137

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 138

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 139

In HarmonyOS's "1+8+N" strategy, mobile phones belong to one of the "8" devices.

Options:

A.

True

B.

False

Buy Now
Questions 140

Static animation has a start state, an end state and an intermediate state, if you need to set the transition state and transition effect in the middle, you can use static animation to achieve it.

Options:

A.

True

B.

False

Buy Now
Questions 141

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 142

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 143

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

Options:

A.

True

B.

False

Buy Now
Questions 144

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 145

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

Options:

A.

True

B.

False

Buy Now
Questions 146

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 147

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 148

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

Options:

A.

True

B.

False

Buy Now
Questions 149

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 150

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 151

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

Options:

A.

True

B.

False

Buy Now
Questions 152

The way to find the object of the control declared in the Layout file by ID in HarmonyOS is findComponentByld().

Options:

A.

True

B.

False

Buy Now
Questions 153

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 154

When a developer uses mobile phones and smart screens to develop applications, he can select two device types, smartphones and smart screens, in the AppGallery project.

Options:

A.

True

B.

False

Buy Now
Questions 155

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

Options:

A.

True

B.

False

Buy Now
Questions 156

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 157

Which of the following is NOT a capability provided by Distributed Device Virtualization in HarmonyOS?

Options:

A.

device is virtual

B.

Decision-making centre

C.

Device management

D.

Data Processing

Buy Now
Questions 158

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 159

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 160

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 161

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

Options:

A.

Onlnit

B.

OnAttached

C.

OnLayoutReady

D.

OnDetached

Buy Now
Questions 162

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 163

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

Public void onStart(Intent intent){

super.onStart(intent);

super.setUlContent

(ResourceTable.Layout_ability_main);

Button button =

(Button)findComponentByld(ResourceTable.ld_button);

button.setClickedListener(listener -> present(new

SecondAbilitySlice(),new Intent()));

}

Options:

A.

When you click the button again, the ability crashes

B.

buttonbutton does not show up on the layout

C.

Clicking the button does not respond

D.

Click the button button to jump to a new page

Buy Now
Questions 164

When a HarmonyOS app developer uses the form container, which of the following elements can be submitted and reset?

Options:

A.

Menu

B.

List

C.

Input

D.

Image

Buy Now
Questions 165

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 166

When the user clicks on a song from the music list page and jumps to the playback interface of the song, the principle is that the page route routes to the destination page according to which of the following?

Options:

A.

router.push

B.

router.back

C.

uri

D.

intent

Buy Now
Questions 167

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

Options:

A.

Signature information is not configured

B.

Package information exceeds the maximum length

C.

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

D.

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

Buy Now
Questions 168

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 169

Which of the following fields is not within the scope of permission?

Options:

A.

privileged

B.

signature

C.

restricted

D.

deivced

Buy Now
Questions 170

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 171

In HarmonyOS application development, where can commonly used backgrounds, such as common text backgrounds and button backgrounds, be placed?

Options:

A.

graphic

B.

media

C.

layout

D.

element

Buy Now
Questions 172

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 173

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 174

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

Options:

A.

Application Layer

B.

Front-end frame layer

C.

Engine Layer

D.

Platform adaptation layer

Buy Now
Questions 175

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

Options:

A.

Media Subsystem

B.

Safety subsystem

C.

AI subsystem

D.

Location Services Subsystem

Buy Now
Questions 176

If a developer needs to solve problems such as insufficient image resolution and image compression noise, which of the following AI capabilities can be used by HarmonyOS?

Options:

A.

Document Detection Correction

B.

General Character Recognition

C.

Entity Recognition

D.

Image super-resolution

Buy Now
Questions 177

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 178

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

Options:

A.

Enable remote FA (Feature Ability).

B.

Connect to a remote PA (Particle Ability).

C.

Start the remote PA (Particle Ability).

D.

Particle Ability (PA) of the Guantuan

Buy Now
Questions 179

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 180

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 181

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 182

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 183

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 184

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 185

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

Options:

A.

is horizontally centered and shifted to the right by 600

B.

The parent layout moves 600 to the top left and right

C.

level is centered

D.

is horizontally centered and shifted 600 to the left

Buy Now
Questions 186

Which of the following atomic layout capabilities does not belong to the position of the control element?

Options:

A.

Percentage

B.

Hidden

C.

Split the line

D.

stretch

Buy Now
Questions 187

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 188

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 189

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 190

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

Options:

A.

Wearable business subsystem

B.

Location Services Subsystem

C.

Multi-mode input subsystem

D.

Media subsystem

Buy Now
Questions 191

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 192

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 193

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 194

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

Options:

A.

Picker

B.

Checkbox

C.

RadioButton

D.

Switch

Buy Now
Questions 195

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

Options:

A.

Disconnect remote FA (Feature Ability).

B.

Disabling Remote PA (Particle Ability)

C.

Connect to remote PA (Particle Ability)

D.

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

Buy Now
Questions 196

Thedefault size of shared memory in Harmony OS is ?

Options:

A.

8M

B.

4M

C.

2M

D.

1M

Buy Now
Questions 197

How should a developer choose the Debug Type if he needs to debug JAVA code separately in a JS+JAVA hybrid project?

Options:

A.

Native only

B.

Dual (JS + JAVA)

C.

JAVA only

D.

Js only

Buy Now
Questions 198

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

Options:

A.

Official Documentation

B.

Service platform

C.

Training support

D.

Certification Testing

Buy Now
Questions 199

It is necessary to apply for the permission of certain operation sensitive capabilities. Which of the following is NOT considered a sensitive capability?

Options:

A.

camera

B.

Make a call

C.

Photo

D.

Microphone

Buy Now
Questions 200

Which of the following is NOT part of the software exposure capabilities provided by HarmonyOS Connect?

Options:

A.

chip

B.

Cloud services

C.

Huawei HarmonyoS operating system

D.

Device Partner Platform

Buy Now
Questions 201

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

Options:

A.

Recorder

B.

Coder

C.

Extractor

D.

Player

Buy Now
Questions 202

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

Options:

A.

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

B.

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

C.

onStart()→onCommand()→onStop()

D.

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

Buy Now
Questions 203

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

Function 1: Create a database.

Function 2: Insert data.

Function 3: Query data.

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

Options:

A.

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

B.

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

C.

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

D.

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

Buy Now
Questions 204

A developer needs to use the current scattered data network for socket data transmission, 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(ContextWhen the developer sorts out the development steps, the above steps are sorted according to the order in which the functions are 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 205

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 206

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 207

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 208

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

Options:

A.

scrollstart()

B.

scrollend()

C.

scrollto()

D.

scrollby()

Buy Now
Exam Code: H14-231_V1.0
Exam Name: HCIP-HarmonyOS Application Developer V1.0
Last Update: Oct 14, 2025
Questions: 695

PDF + Testing Engine

$134.99

Testing Engine

$99.99

PDF (Q&A)

$84.99