Labour Day - Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70dumps

H14-231_V1.0 Questions and Answers

Question # 6

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

A.

Distributed data management

B.

Ability

C.

Distributed task scheduling

D.

Distributed soft bus

Full Access
Question # 7

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

A.

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

B.

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

C.

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

D.

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

Full Access
Question # 8

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

A.

Ability

B.

KAL (Kernel Abstract Layer)

C.

UI

D.

HDF (Hardware Driver Foundation)

Full Access
Question # 9

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?

A.

Onlnit

B.

OnAttached

C.

OnLayoutReady

D.

OnDetached

Full Access
Question # 10

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

A.

Wearable business subsystem

B.

Location Services Subsystem

C.

Multi-mode input subsystem

D.

Media subsystem

Full Access
Question # 11

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?

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

Full Access
Question # 12

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

A.

Menu

B.

List

C.

Input

D.

Image

Full Access
Question # 13

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?

A.

Converged search interface

B.

Distributed data service interface

C.

Data storage management interface

D.

Relational data services

Full Access
Question # 14

Thedefault size of shared memory in Harmony OS is ?

A.

8M

B.

4M

C.

2M

D.

1M

Full Access
Question # 15

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?

A.

GlobalTaskDispatcher

B.

SpecTaskDispatcher

C.

SerialTaskDispatcher

D.

ParallelTaskDispatcher

Full Access
Question # 16

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?

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

Full Access
Question # 17

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

A.

video

B.

button

C.

canvas

D.

grid-container

Full Access
Question # 18

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?

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

Full Access
Question # 19

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

A.

device is virtual

B.

Decision-making centre

C.

Device management

D.

Data Processing

Full Access
Question # 20

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

Vardevicelnto=dmInstance.getLocaIDevicelnfoSync () :

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

Full Access
Question # 21

If a developer wants to develop a page with a tab function, the developer can use the TabList component provided by HarmonyOS. If you want to set the selected tab to be marked by underlining at the bottom, which of the following codes is correct?

A.

ohos:tab indicator type="bottom_line"

B.

ohos:tab_indicator_type="invisible"

C.

ohos:tab_indicator_type="oval"

D.

ohos:tab_indicator_type="left_line"

Full Access
Question # 22

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

A.

DirectionLayout

B.

DependentLayout

C.

Component

D.

TableLayout

Full Access
Question # 23

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

A.

Official Documentation

B.

Service platform

C.

Training support

D.

Certification Testing

Full Access
Question # 24

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

A.

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

B.

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

C.

onStart()→onCommand()→onStop()

D.

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

Full Access
Question # 25

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?

A.

@State

B.

@ObjectLink

C.

@StorageLink

D.

@Prop

Full Access
Question # 26

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?

A.

onStartContinuation

B.

onRestoreData

C.

onCompleteContinuation

D.

onSaveData

Full Access
Question # 27

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

A.

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

B.

delete(Uri uri,DataAbilityPredicatespredicates)

C.

batchlnsert (Uri uri, ValuesBucket[]values)

D.

insert (Uri uri, ValuesBucket value)

Full Access
Question # 28

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

A.

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

B.

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

C.

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

D.

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

Full Access
Question # 29

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

A.

HAR(HarmonyOS Ability Resources)

B.

APP Pack (Application Package)

C.

HAP (HarmonyOS Ability Package)

D.

pack.info

Full Access
Question # 30

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?

A.

log level

B.

The business area of the log

C.

Log ID

D.

Log type

Full Access
Question # 31

The key generated by the developer contains the public key and the private key used in asymmetric encryption, and in what format is the key stored in the key file?

A.

cer

B.

csr

C.

p12

D.

p7b

Full Access
Question # 32

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

A.

Universal Character Recognition

B.

Text and image super-resolution

C.

Keyword extraction

D.

Part-of-speech annotation

Full Access
Question # 33

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?

A.

Remote connection

B.

Global query

C.

Remote start

D.

Remote migration

Full Access
Question # 34

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

A.

"comment": "xxX"

B.

#XXX

C.

/+××X+/ or /XXX

D.

xXxX

Full Access
Question # 35

Which of the following options is allthe components ofthe Harmony OS package?

A.

Logical code, resource files, and application configuration files

B.

Logical code and application configuration file

C.

Logical code

D.

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

Full Access
Question # 36

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.

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

Full Access
Question # 37

Which of the following interfaces can repeatedly call a function with a fixed time delay between each call?

A.

setTimeout?

B.

setlnterval

C.

clearTimeout

D.

clearlnterval

Full Access
Question # 38

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

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

Full Access
Question # 39

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

A.

DV subsystem

B.

Proprietary business subsystem of smart screen

C.

Media Subsystem

D.

Safety subsystem

Full Access
Question # 40

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

A.

onActive()

B.

onStart()

C.

onStop()

D.

onForeground()

Full Access
Question # 41

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

A.

graphic

B.

media

C.

layout

D.

element

Full Access
Question # 42

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?

A.

onForeground()

B.

onInactive( )

C.

onPause()

D.

onBackground( )

Full Access
Question # 43

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

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

}

}

Full Access
Question # 44

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?

A.

router.push

B.

router.back

C.

uri

D.

intent

Full Access
Question # 45

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?

A.

connectPageAbility(intent,connection)

B.

connectAbility(intent, connection)

C.

onConnect

D.

connectServiceAbility(intent, connection)

Full Access
Question # 46

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?

A.

onSaveData()

B.

onStartContinuation()

C.

onRestoreData()

D.

onCompleteContinuation()

Full Access
Question # 47

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

A.

continueAbility ()

B.

continueAbilityReversibly ()

C.

startAbilityForResult ()

D.

startAbility ()

Full Access
Question # 48

When a developer subscribes to a public event, he processes the public event in the onReceiveEvent() callback function and writes the following code.

EventRunner runner = EventRunner.create();

MyEventHandler myHandler = new

MyEventHandler(rurner);

@Override

public void onReceiveEvent(CommonEventData

commonEventData){

final AsyncCommonEventResult

result=goAsyncCommonEvent Runnable task = new

Runnable(){

@override

pub1ic void run {

......

The action to be performed, defined by the developer

result.finishCommonEvent();

}

};

myHandler.postTask(task);

}

A.

Gives subscribers permissions

B.

implements asynchronous operations, which solves the problem that time-consuming operations cannot be performed on onReceiveEvent

C.

sets the priority of ordered public events

D.

The publisher has the permission to publish sticky public events

Full Access
Question # 49

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

TaskDispatcher globalTaskDispatcher =

getGlobalTaskDispatcher(TaskPriority.DEFAULT);

globalTaskDispatcher.syncDispatch(new

Runnable(){

@Override

public void run(){

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

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

globalTaskDispatcher.syncDispatch(new

Runnable(){

@0verride

pub1ic void run(){

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

}

});

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

A.

2→1→3→4

B.

1→2→3→4

C.

2→1→4→3

D.

4→1→2→3

Full Access
Question # 50

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

}

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

Full Access
Question # 51

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?

A.

onBackground( )

B.

onInactive( )

C.

onForeground( )

D.

onStop( )

Full Access
Question # 52

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

A.

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

B.

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

C.

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

D.

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

Full Access
Question # 53

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

A.

True

B.

False

Full Access
Question # 54

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.

A.

True

B.

False

Full Access
Question # 55

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

A.

True

B.

False

Full Access
Question # 56

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

A.

True

B.

False

Full Access
Question # 57

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.

A.

True

B.

False

Full Access
Question # 58

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

A.

True

B.

False

Full Access
Question # 59

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.

A.

True

B.

False

Full Access
Question # 60

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

A.

True

B.

False

Full Access
Question # 61

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

A.

True

B.

False

Full Access
Question # 62

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

A.

True

B.

False

Full Access
Question # 63

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.

A.

True

B.

False

Full Access
Question # 64

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

A.

True

B.

False

Full Access
Question # 65

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

A.

True

B.

False

Full Access
Question # 66

There is a button on the main interface of a HarmonyOS application, and the display text on the button is "Start Download", after clicking this button, a sub-thread is created to perform time-consuming download operations. After the download is over, you can change the button in the subthread to "Download End".

A.

True

B.

False

Full Access
Question # 67

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

A.

True

B.

False

Full Access
Question # 68

An application can have one or two HAP (HarmonyOS Abi1itPackage) packages of entry type in the same device type.

A.

True

B.

False

Full Access
Question # 69

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

A.

True

B.

False

Full Access
Question # 70

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.

A.

True

B.

False

Full Access
Question # 71

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

A.

True

B.

False

Full Access
Question # 72

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

A.

True

B.

False

Full Access
Question # 73

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.

A.

True

B.

False

Full Access
Question # 74

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

A.

True

B.

False

Full Access
Question # 75

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

A.

True

B.

False

Full Access
Question # 76

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

A.

True

B.

False

Full Access
Question # 77

In the lifecycle of AbilitySlice, the onStart() callback method does not need to be rewritten.

A.

True

B.

False

Full Access
Question # 78

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

A.

True

B.

False

Full Access
Question # 79

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

A.

True

B.

False

Full Access
Question # 80

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

A.

True

B.

False

Full Access
Question # 81

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

A.

True

B.

False

Full Access
Question # 82

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

A.

True

B.

False

Full Access
Question # 83

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.

A.

True

B.

False

Full Access
Question # 84

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.

A.

True

B.

False

Full Access
Question # 85

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

A.

True

B.

False

Full Access
Question # 86

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

A.

True

B.

False

Full Access
Question # 87

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

A.

True

B.

False

Full Access
Question # 88

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.

A.

True

B.

False

Full Access
Question # 89

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.

A.

True

B.

False

Full Access
Question # 90

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

A.

True

B.

False

Full Access
Question # 91

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

A.

True

B.

False

Full Access
Question # 92

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.

A.

True

B.

False

Full Access
Question # 93

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.

A.

True

B.

Error

Full Access
Question # 94

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

A.

True

B.

False

Full Access
Question # 95

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.

A.

True

B.

False

Full Access
Question # 96

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

A.

True

B.

False

Full Access
Question # 97

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

A.

True

B.

False

Full Access
Question # 98

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

A.

True

B.

False

Full Access
Question # 99

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

A.

True

B.

False

Full Access
Question # 100

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

A.

True

B.

False

Full Access
Question # 101

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

A.

True

B.

False

Full Access
Question # 102

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.

A.

True

B.

False

Full Access
Question # 103

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

A.

True

B.

False

Full Access
Question # 104

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

A.

True

B.

False

Full Access
Question # 105

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

A.

Application Layer

B.

Front-end frame layer

C.

Engine Layer

D.

Platform adaptation layer

Full Access
Question # 106

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

A.

True

B.

False

Full Access
Question # 107

In the JavaScript FA development self-record, the file ending hml is used to describe the current page layout structure, the components used in the page, and the hierarchical relationship between these components, and the following code should be placed in the file.

A.

True

B.

False

Full Access
Question # 108

After the card is added to the card management service, the card user caches the view information of the card, so that the cached data can be directly returned the next time the card is obtained, reducing the delay.

A.

True

B.

False

Full Access
Question # 109

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.

A.

True

B.

False

Full Access
Question # 110

If a developer uses the startAbility() method provided in Ability to start a Service, what are the correct descriptions of starting the Service?

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

Full Access
Question # 111

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

A.

Click Attach Debugger to Process

B.

Click Debug

C.

Use the shortcut key Shift+F9

D.

Use the shortcut key Shift+F10

Full Access
Question # 112

What are the componentization characteristics of custom components?

A.

Combinable

B.

Reusable

C.

Configure the lifecycle

D.

Data-driven updates

Full Access
Question # 113

How do I create a new project in DevEco Studio?

A.

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

B.

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

C.

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

D.

Create a new project without having to rename it

Full Access
Question # 114

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

A.

Unpublish a public event

B.

Subscribe to public events

C.

Publish a public event

D.

Unsubscribe from public events

Full Access
Question # 115

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

A.

file system

B.

Memory management

C.

Peripheral management

D.

Thread management

Full Access
Question # 116

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?

A.

Top

B.

Bottom

C.

Start

D.

End

E.

Center

Full Access
Question # 117

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.

A.

True

B.

False

Full Access
Question # 118

A developer tries to use the word segmentation feature of HarmonyOS to tokenize a dry word article, and in this scenario, the word segmentation text exceeds 500 characters, so the parameter error will be returned.

A.

True

B.

False

Full Access
Question # 119

What are the types of background agent reminder services?

A.

Countdown class

B.

Calendar class

C.

Alarm clock class

D.

Schedule

Full Access
Question # 120

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.

A.

True

B.

False

Full Access
Question # 121

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

A.

Application package name and version number information

B.

Ability

C.

Device type information

D.

Application list for application permissions

Full Access
Question # 122

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

A.

Secure boot

B.

Zero trust model

C.

Collaborative Mutual Aid Certification

D.

Multi-factor fusion authentication

Full Access
Question # 123

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

A.

onCreate

B.

onDestroy

C.

onPageShow

D.

onPageHide

E.

onForeground

F.

onBackground

Full Access
Question # 124

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

A.

True

B.

False

Full Access
Question # 125

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

A.

True

B.

False

Full Access
Question # 126

Which of the following processes does the HarmonyOS data lifecycle consist of?

A.

Data storage

B.

Data Usage

C.

Data generation

D.

Data Transfer

Full Access
Question # 127

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

A.

True

B.

False

Full Access
Question # 128

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?

A.

Component Tree

B.

Code Editor

C.

UI interface

D.

Terminal

Full Access
Question # 129

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

A.

Small system equipment

B.

Large-scale system equipment

C.

Lightweight system equipment

D.

Standard system equipment

Full Access
Question # 130

A developer wants to use the list component of the JavaScript UI framework to display a table.

scrollpage="true"

scrollbar="on"

shapemode="round"

scrolleffect="no">

{{Sitem.title}}

{{Sitem.date}}

A.

slides out of the viewport with the non-list part of the page at the top of the list

B.

Displayed when the inverted edge slider is touched, disappears after 2 seconds

C.

The side slider is circular

D.

Swiping to the edge has no effect

Full Access
Question # 131

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

A.

Distributed task scheduling

B.

Distributed data management

C.

Media Subsystem

D.

User Program Framework

Full Access
Question # 132

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

A.

Entry.hap

B.

FeatureB.hap

C.

FeatureC.hap

D.

FeatureA.hap

Full Access
Question # 133

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

A.

display

B.

Camera

C.

Global Positioning System (GPS).

D.

Accelerometer

Full Access
Question # 134

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

A.

True

B.

False

Full Access
Question # 135

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

A.

True

B.

False

Full Access
Question # 136

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.

A.

True

B.

False

Full Access
Question # 137

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

A.

True

B.

False

Full Access
Question # 138

What are the parameters of animation in attribute animation?

A.

playMode

B.

curve

C.

delay

D.

onFinish

Full Access
Question # 139

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

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

Full Access
Question # 140

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

A.

True

B.

False

Full Access
Question # 141

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

A.

True

B.

False

Full Access
Question # 142

Which of the following functions does the HarmonyOS network management module provide?

A.

Data connection management

B.

Data network management

C.

Traffic statistics

D.

Create a local socket

Full Access
Question # 143

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.

A.

True

B.

False

Full Access
Question # 144

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

A.

ability

B.

Module Name

C.

The version number of the app

D.

Module type

Full Access
Question # 145

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?

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

Full Access
Question # 146

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

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

A.

"name_index" is the composite index name

B.

index values are not unique

C.

"ignoredColumns" indicates that the field does not need to be added to the properties of the "user" table

D.

Thetable is named "user".

Full Access
Question # 147

When a developer is developing a smart home application, the Switch component will be used to represent the switch of some devices, and ON should be displayed on the ON status component, and 0FF should be displayed on the closed state component. You can use the following code to meet your needs:

Switch btnSwitch=

(Switch)findComponentByld(ResourceTable.

ld_btn_switch);

btnSwitch.setStateOffText("ON");

btnSwitch.setStateOnText("OFF");

A.

True

B.

False

Full Access
Question # 148

Which of the following statements is correct?

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

Full Access
Question # 149

What are the boot modes of UIAbility?

A.

singleton

B.

specified

C.

multition

D.

Builder

Full Access
Question # 150

HarmonyOS supports on-demand elastic deployment of a variety of terminal devices.

A.

supports the configuration of the feature set within the component

B.

does not support the association of dependencies between components

C.

Support the on-demand selection of each component

D.

Clipping of functions within the component is not supported

Full Access
Question # 151

Which of the following component hierarchies are correct

A.

Text>Span

B.

Button>Column>Image

C.

Button>Image>Text

D.

Image>Text>Span

E.

Column>Row>Button

Full Access
Question # 152

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

A.

True

B.

False

Full Access
Question # 153

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

A.

Service Registration

B.

Service discovery

C.

Service calls

D.

Service synchronization

Full Access
Question # 154

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?

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

Full Access
Question # 155

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?

A.

C/C++

B.

CSS

C.

HTML5

D.

JavaScript

Full Access
Question # 156

What are the data management methods provided by HarmonyOS?

A.

preference

B.

Distributed data services

C.

Relational databases

D.

Distributed data objects

Full Access
Question # 157

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

A.

Minimalist connection

B.

Wildcard card

C.

Minimalist interaction

D.

Hardware Mutual Aid

Full Access
Question # 158

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

A.

deviceConfig information

B.

Layout property configuration information

C.

Version information for the app

D.

deviceType

Full Access
Question # 159

A HarmonyOS application developer displays three flowers in the form of a list, and the interaction logic code of the page is as follows.

A.

The data for the A listcomes from the textList array, so the list will display three rows

B.

src indicates the path of the image, and value indicates the name of the image

C.

The three images are placed in the images subdirectory in the common directory of the same level as the file on the project page

D.

The developer defines the contents of the textList array, which contains three elements

Full Access
Question # 160

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

A.

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

B.

shields different physical transmission channels

C.

Depends on the cloud

D.

The synchronization logic is completely transparent

Full Access
Question # 161

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

A.

Sets the device resolution of the remote emulator

B.

Release the remote emulator that is currently in use

C.

Rotate the screen clockwise

D.

Return to the main interface of the device

Full Access
Question # 162

In HramonyOS, which of the following can developers use the static animation feature to achieve?

A.

The picture is rotated along the center point

B.

The image rotates along the horizontal axis

C.

The picture rotates along the edges

D.

The picture rotates along the vertical axis

Full Access
Question # 163

Regarding the container components Row and Column, the following statement is wrong.Themain axis of A Column container is vertical, and the cross axis is horizontal;

A.

The main axis of the row container is horizontal, and the cross axis is vertical.

B.

The main axis and the cross axis are always perpendicular to each other, and the direction of the Row and Column main axes is different.

C.

The alignment of the subcomponents of the C Column in the direction of the main axis is set using the justifyContent property, and its parameter type is FlexAlign.

D.

Thealignment of D Row's subcomponents in the direction of the cross axis is set using the alignltems property, which is of type HorizontalAlign.

Full Access
Question # 164

What are the following advantages of the HarmonyOS forwarding architecture?

A.

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

B.

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

C.

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

D.

Support multiple applications to be forwarded at the same time.

Full Access
Question # 165

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

A.

NFC message notification

B.

Access to the security element

C.

card emulation

D.

NFC basic query

Full Access
Question # 166

What is the minimum API version supported by HarmonyOS Cloud Development?

A.

API 6

B.

API 7

C.

API 8

D.

API 9

Full Access
Question # 167

Which of the following languages does HarmonyOS support for creating application projects?

A.

C++

B.

Python

C.

JS(JavaScript)

D.

Java

Full Access
Question # 168

What components can the animation property be used in?

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

Full Access
Question # 169

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

A.

IDE plug-in

B.

Project Template

C.

Command-line tools

D.

Visualization Tools

Full Access
Question # 170

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

A.

ToastDialog

B.

Picker

C.

ScrollView

D.

PageSlider

Full Access
Question # 171

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

A.

2GB

B.

10M

C.

1GB

D.

Unlimited

Full Access
Question # 172

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

A.

Entry.hap

B.

FeatureB.hap

C.

FeatureC.hap

D.

FeatureA.hap

Full Access
Question # 173

Which of the following descriptions is wrong when it comes to the simultaneous development of JS (JavaScript) and Java languages in HarmonyOS application development?

A.

Use Java to develop the UI of the application

B.

JS FA calls Java PA

C.

Use JS to develop the logic of the application

D.

Java FA (Feature Ability) calls JS PA (Particle Ability).

Full Access
Question # 174

In order to complete the release of the application, an engineer needs to apply for a digital certificate, which of the following options is correct about the description of the digital certificate?

A.

is in the format of .csr

B.

contains the public key in the key pair

C.

Digital certificates are used to ensure the integrity of the application

D.

is issued by AppGallery Connect

Full Access
Question # 175

What components are the components of the Webview entrance in HarmonyOS?

A.

HTTP

B.

Rich Text

C.

Web Components

D.

Socket

Full Access
Question # 176

Which of the following permissions is required to load network images with the Image component?

A.

ohos.permission.READ_MEDIA

B.

ohos.permission.INTERNET

C.

ohos.permission.GET_NETWORK_INFO

D.

ohos.permission.DISTRIBUTED_DATASYNC

Full Access
Question # 177

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

A.

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

B.

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

C.

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

D.

Support multiple applications to be forwarded at the same time

Full Access
Question # 178

With regard to Web components, the following is incorrect

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.

Full Access
Question # 179

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

A.

package

B.

name

C.

bundleName

D.

page

Full Access
Question # 180

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

A.

All sites

B.

China

C.

Russia

D.

Germany

E.

Singapore

Full Access
Question # 181

How to set reverse playback in attribute animation?

A.

PlayMode.Normal B

B.

PlayMode.Alternate

C.

PlayMode.AlternateReverse

D.

PlayMode.Reverse

Full Access
Question # 182

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

A.

Set the Bluetooth name

B.

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

C.

Send files via Bluetooth

D.

Scan the surrounding Bluetooth settings

Full Access
Question # 183

Which of the following modules does the HarmonyOS forwarding architecture consist of?

A.

Distributed Task Scheduling

B.

Forwarding task management services

C.

Distributed security authentication

D.

Distributed soft bus

Full Access
Question # 184

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

A.

AceAbility

B.

PageAbility

C.

ServiceAbility

D.

MainAbility

Full Access
Question # 185

If a developer develops a HarmonyOS application and remotely launches a Page on phone B, which of the following permissions does not require the user to request authorization by sending a pop-up window at runtime?

A.

ohos.permission.GET_DISTRIBUTED_DEVICE_INFO

B.

ohos.permission.DISTRIBUTED_DEVICE_STATE_CHANGE

C.

ohos.permission.GET_BUNDLE_INFO

D.

ohos.permission.DISTRIBUTED_DATASYNC

Full Access
Question # 186

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

A.

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

B.

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

C.

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

D.

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

Full Access
Question # 187

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

A.

ohos:truncation_mode="none"

B.

ohos:truncation_mode="ellipsis_at_start"

C.

ohos:auto_font_size="true"

D.

ohos:multiple_lines="true"

Full Access
Question # 188

The library file is the third-party code that the application depends on, which of the following library files are correct?

A.

Create a new module with the source code of the library file as a whole, and the entry directly references the classes in the library file

B.

Put the library files in the libs directory in the form of jar, so, etc., and then referencethe dependencies dependencies{Implementation project(":mylibrary ")} through the build.gradle under the project

C.

If the required library files exist in the maven repository, you can use repositories{Maven{Url'XXX'//toadd the project's build.gradle as follows The address of the Maven repository, which can be either a local Maven address or a remote Maven address}

D.

Put the library file in the libs directory in the form of jar.so, and then reference the dependency library through the build.gradle of the application module

dependencies(Implementation project(":mylibrary"))

Full Access
Question # 189

Which of the following methods can be used to deal with navigation within the same page?

A.

Present()

B.

PresentForResult()

C.

StartAbility()

D.

StartAbilityForResult()

Full Access
Question # 190

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

A.

86-189****1234

B.

189****1234

C.

+86189****1234

D.

0086-189****1234

Full Access
Question # 191

In the following scenarios, which ones use the voice broadcast function?

A.

Automatically read aloud e-books

B.

Regular weather broadcast

C.

Convert speech to text

D.

Navigation system real-time voice report on the road ahead

Full Access
Question # 192

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?

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

Full Access
Question # 193

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?

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

Full Access
Question # 194

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

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

Full Access
Question # 195

When a user uses the device camera to flip a blurry text file, he expects the camera app to provide a plug-in to improve the recognition of the text. Which of the following HarmonyOS service features is best suited to meet the needs of this user?

A.

Keyword extraction

B.

Document detection and correction

C.

General character recognition

D.

Image text is super-resolved

Full Access
Question # 196

There are two Text components in the Row component, if the justifyContent alignment method is used, which of the following properties can be aligned to the left and right ends

A.

FlexAlign.Start

B.

FlexAlign.SpaceEvenly

C.

FlexAlign.End

D.

FlexAlign.SpaceBetween

Full Access
Question # 197

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

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

Full Access
Question # 198

The JS UI framework of HarmonyOSis a cross-device high-performance UI development framework that supports declarative programming and cross-device polymorphic UI. Which layer of the JS UI framework mainly completes front-end page parsing, and provides capabilities such as MVVM (Model-View-ViewModel) development mode, page routing mechanism, and custom components.

A.

Front-end frame layer

B.

Engine Layer

C.

Application Layer

D.

Adaptation layer

Full Access
Question # 199

Which of the following combinations cannot realize two-way data synchronization between child components and parent and child components?

A.

@State and @Link

B.

@Provide and @Consume

C.

@Observed and @ObjectLink

D.

@State and @Prop

Full Access
Question # 200

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

A.

Boolean type

B.

String type

C.

Double-precision floating-point type

D.

integer type

Full Access
Question # 201

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

A.

Location Services subsystem

B.

Event Notification Service Subsystem

C.

Media Subsystem

D.

Biometric service subsystem

Full Access
Question # 202

DevEco studio provides remote simulator developers to run and debug HMOS applications, which of the following limitations will the remote simulator have?

A.

Each session lasts for1 hour

B.

Real-name login is required

C.

Automatically releases resources when it expires

D.

Automatic remote simulation by default

Full Access
Question # 203

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

A.

string

B.

Picture

C.

Color

D.

Rounded corners

Full Access
Question # 204

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

A.

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

B.

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

C.

Logical code, resource files, application configuration files

D.

Logical code

Full Access
Question # 205

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?

A.

Distributed Device Virtualization

B.

Distributed Data Service

C.

distributed soft bus

D.

Distributed file services

Full Access
Question # 206

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?

A.

Specify the resource type and resource size

B.

Resource name

C.

Resource size

D.

Specify the resource type and resource name

Full Access
Question # 207

Which of the following options belong to Particle Ability?

A.

Particle Ability supports the Service Ability template

B.

Particle Ability supports Data Ability templates

C.

Particle Ability supports Page Ability templates

D.

has the function of running tasks in the background

Full Access
Question # 208

In order to ensure that the application has better responsiveness, the developer has designed different priorities for tasks A, B, and C. Task A maintains the default priority, Task B has HICH, and Task C has LOW. Which of the following descriptions of tasks A.B, and C is correct?

A.

Task A and B have the highest priority and have a higher chance of being executed than Tasks A and C

B.

can be inferred from the priority design of the developer, who believes that task B does not need to wait for the result

C.

Tasks A, B, and C should not be issued by the same task dispatcher

D.

Task A has the highest priority and has a higher chance of being executed than Tasks B and C

Full Access