Labour Day Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: scxmas70

H14-231_V1.0 Exam Dumps - HCIP-HarmonyOS Application Developer V1.0

Question # 4

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

A.

IDLE

B.

HIGH

C.

LOW

D.

IMMEDIATE

Full Access
Question # 5

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

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.

A.

True

B.

False

Full Access
Question # 7

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

A.

System upgrade

B.

Customize the lights off time

C.

Network connection

D.

USB plugging and unplugging

Full Access
Question # 8

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

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

A.

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

B.

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

C.

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

D.

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

Full Access
Question # 10

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

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

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

If there are different components in the layout with the same ID, when the component is searched by ID, the last component found will be returned.

A.

True

B.

False

Full Access
Question # 14

A manufacturer uses the HarmonyOS system to produce a smart oven, which is a lightweight system device in HarmonyOS.

A.

True

B.

False

Full Access
Question # 15

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

Image

image(Image)findComponentByld(ResourceTable.Id_component_image);

Image.setPixelMap (ResourceTable.Media hawei);

A.

True

B.

False

Full Access
Question # 16

Which of the following components are container components?

A.

Button

B.

Row

C.

Column

D.

Image

E.

TextInput

Full Access
Question # 17

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

A.

GPS

B.

Beidou

C.

WLAN

D.

Base Station

E.

Bluetooth

Full Access
Question # 18

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

A.

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

B.

calls startScan() to start scanning the Bluetooth device

C.

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

Callback, which is used to receive scan results

D.

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

Full Access
Question # 19

What attributes are supported by attribute animations?

A.

width

B.

rotate

C.

opacity

D.

scale

Full Access
Question # 20

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

A.

fileAccess(fileAccess:boolean)

B.

javaScriptAccess(javaScriptAccess:

boolean)

C.

on(type:'headerReceive',callback:

AsyncCallback):void

D.

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

message:string; result:JsResult })=>

boolean)

E.

destroy():void

Full Access
Question # 21

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

HarmonyOS provides developers with a HiLog logging system, which of the following log levels are defined in HiLog?

A.

DEBUG

B.

INFO

C.

WARN

D.

FATAL

Full Access
Question # 23

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

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

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

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

Full Access
Question # 26

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

A.

True

B.

False

Full Access
Question # 27

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

What are the common problems in uploading software packages during the listing process of HarmonyOS applications/metaservices?

A.

The release profile file in the package does not match the application of the currently uploaded package

B.

The release certificate in the software package does not match the release certificate in the release profile file

C.

Package Unsigned Indicates Illegal Package

D.

The certificate used in the package has expired, and the expired certificate has expired

Full Access
Question # 29

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

A.

True

B.

False

Full Access
Question # 30

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

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

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

A.

True

B.

False

Full Access
Question # 33

What are the componentization characteristics of custom components?

A.

Combinable

B.

Reusable

C.

Configure the lifecycle

D.

Data-driven updates

Full Access
Question # 34

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

A.

Distributed data management

B.

Distributed soft bus

C.

Distributed device virtualization

D.

Distributed task scheduling

Full Access
Question # 35

A user migrated video from his mobile phone to a smart screen for playback, using the distributed task scheduling capability of HarmonyOS. In this scenario, the process of connecting the mobile phone to the playback software of the smart screen belongs to the remote connection.

A.

True

B.

False

Full Access
Question # 36

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

What are the boot modes of UIAbility?

A.

singleton

B.

specified

C.

multition

D.

Builder

Full Access
Question # 38

If a developer wants to implement the page swiping function in an application, which of the following components can be used to implement the function?

A.

Picker

B.

ListContainer

C.

Switch

D.

ScrollView

Full Access
Question # 39

What are the parts of the HarmonyOS cloud development project?

A.

end development project (Application)

B.

CloudProgram

C.

External Libraries on theside

D.

Public Resource Library (Resource)

Full Access
Question # 40

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

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

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

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

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

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

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.

A.

True

B.

False

Full Access
Question # 47

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

What are the reasons why a developer wants to use the previewer in DevEco Studio to view the application interface of the design, but the previewer cannot be used?

A.

Preview is not supported for files currently open in the editor

B.

SDK has not been updated to the latest version

C.

The previewer resource was not downloaded

D.

Projectis not synchronized successfully

Full Access
Question # 49

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

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

A.

Name of the organization

B.

Common name

C.

Public key

D.

Organizational unit

Full Access
Question # 51

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

A.

@Component

B.

@Entry

C.

@State

D.

@Link

Full Access
Question # 52

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

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

A.

module: {

reqPermissions: [{

name:com.myability.permission.MYPERMISSION,grantMode:system_grant,

availableScope: [signatures]

}

}

B.

module: {

defPermissions: [{

name:name:com.myability.permission.lNTERNET,

grantMode:user grant,

availableScope: [signatures]

}

}

module: {

defPermissions: [{

C.

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

grantMode:system_grant,

availableScope: [signatures]

}

}

module: {

defPermissions: [{

D.

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

grantMode:system_grant,

availableScope: [signatures]

}

}

Full Access
Question # 54

Which of the following is the callback behavior of the Page Ability lifecycle that can destroy the page?

A.

Page is no longer visible to the user, and the system will call onBackground() to notify the developer to release the corresponding resources

B.

triggers onStop() to notify the user to release system resources

C.

takes the Page out of focus and calls onInactive().

D.

Trigger onDestroy() to release system resources

Full Access
Question # 55

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

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

A.

UI framework

B.

AI subsystem

C.

Phone

D.

kernel

Full Access
Question # 57

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

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

A.

onStop()

B.

onlnactive()

C.

onForeground()

D.

onBackground()

Full Access
Question # 59

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

A.

PageSlider

B.

ToastDialog

C.

webView

D.

ProgressBar

Full Access
Question # 60

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?

A.

onStart()

B.

onActive()

C.

onInactive()

D.

onStop()

Full Access
Question # 61

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

A.

Errorbuatfer()

B.

Bucferlistencr()

C.

lCodecListener()

D.

ErrorCode()

Full Access
Question # 62

When a developer is developing a game application, in order to display the download progress of game resources, it is necessary to use a circular progress bar, which of the following components can help the developer complete this function?

A.

RoundProgressBar

B.

PageSlider

C.

ToastDialog

D.

ProgressBar

Full Access
Question # 63

WhenthePage of Harmony OS executes the onForeground() callback, which of the following states will the Page return to first?

A.

INITIAL

B.

INACTIVE

C.

ACTIVE

D.

BACKGROUND

Full Access
Question # 64

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

A.

level is centered

B.

is horizontally centered and shifted to the right by 600

C.

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

D.

is horizontally centered and shifted 600 to the left

Full Access
Question # 65

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

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

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

The distributed soft bus is the base for communication between various devices, which of the following does not belong to the bus hub of the distributed soft bus?

A.

Data and Computing Center

B.

Decision-making centre

C.

Task Bus

D.

Interconnection Management Center

Full Access
Question # 69

A developer obtains a log content: static finalHiLogLabel LABEL = new HiLogLabe1

(HiLog.LOG_APP,Ox00201, "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 # 70

When a developer designs a news browsing application, he needs to achieve the effect that the news list and news details are not displayed on the same page, which of the following needs to be created by the developer?

A.

0 Page Ability, 3 AbilitySlice

B.

1 Page Ability, 2 AbilitySlice

C.

3 Page Ability, 1 AbilitySlice

D.

2 Page Ability, 1 AbilitySlice

Full Access
Question # 71

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

A.

getSupportedMimes()

B.

isEncodeSupportedByMime(String mime)

C.

isDecodeSupportedByMime(String mime)

D.

isDecoderSupportedByFormat(Format format)

Full Access
Question # 72

A developer defines an entity class Student.java and uses the following code to construct a teaching table:

Entity(tableName="student",ignoredColums =["ignoredColumn1"," ignoredColumn2", indices =(@Index(value =("firstName." ,"lastName",name="name_index", unique = true)))

Public class User extends OrmObject{

@PrimaryKey(autoGenerate= true)

Private Integer userld;

Private String firstName;

Private String lastName;

Private int age;

Private double balance;

Private int ignoredColumnl;

Private int ignoredColumn2;

}

Which of the following descriptions of this code is wrong?

A.

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

B.

lndices creates a composite index name_index for the firstName and 1astName fields

C.

The name of the data table is student

The index value of the

D.

composite index name_index is not unique

Full Access
Question # 73

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

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

A.

Check the properties of the config.json file→set the installation method of the hap package→set the debugging code type→start debugging

B.

Set the installation mode of the HAP package→set the debugging code type→check the properties of the configjson file→start debugging

C.

Set the installation method of the HAP package→check the properties of the configjson file→set the debugging code type→start debugging

D.

Set the debuggingcode type→check the properties of the config.json file→set the installation method of the HAP package→start debugging

Full Access
Question # 75

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

A.

NFC basic query

B.

Access to the security element

C.

card emulation

D.

NFC message notification

Full Access
Question # 76

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

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

Which of the following modules does a developer need to call to check whether the HarmonyOS cellular data service is enabled?

A.

@ohos.telephony.sms

B.

@ohos.telephony.data

C.

@ohos.telephony.sim

D.

@ohos.telephony.call

Full Access
Question # 79

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

A.

onStart

B.

onCommand

C.

onStop

D.

onActive

Full Access
Question # 80

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

A.

TaskDispatcher

B.

Group

C.

lAbilityMlanager

D.

BackgroundTaskManager

Full Access
Question # 81

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

The user migrates the video on the mobile phone to the smart screen for playback, and after the mobile phone saves the data, the smart screen calls back which of the following methods is used to recover the data?

A.

onSaveData ()

B.

onStartContinuation ()

C.

onRestoreData ()

D.

onCompleteContinuation ()

Full Access
Question # 83

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

A.

Native only

B.

Dual (JS + JAVA)

C.

JAVA only

D.

Js only

Full Access
Question # 84

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.

A.

ohos.permission.READ.MEDIA

B.

ohos.permssion.WRITE_MEDIA

C.

ohos.permission.INTERNET

D.

ohos.permission.GET_NETWORK_INFO

Full Access
Question # 85

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

A.

onSaveData ()

B.

onStartContinuation ()

C.

onRestoreData (

D.

onCompleteContinuation ()

Full Access
Question # 86

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

A.

Remote FA (Feature Ability)

B.

Start Remote PA (Particle Ability)

C.

FA (Feature Ability) is migrated across devices

D.

Connect to the remote PA (Particle Ability).

Full Access
Question # 87

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

A.

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

B.

can be copied and pasted into app B in app A

C.

Only replication is supported

D.

Only clipping is supported

Full Access
Question # 88

A HarmonyOS developerdevelops an application based on distributed data services, and the developer uses device A, device B, and device C to test the functionality of the application in a distributed scenario. In the test, after device A successfully adds, deletes, and modifies data, device B and device C cannot read the updated data immediately, but after a certain time window, the data of the three devices will reach the same state. In the preceding scenario, what kind of consistency does the application conform to in a distributed database?

A.

Weak consistency

B.

Strong consistency

C.

Eventual consistency

D.

Process consistency

Full Access
Question # 89

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

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

A.

ohos:selected_tab_indicator_color=#000000

B.

ohos:tab_indicator_type=#000000

C.

ohos:normal_text_color=#000000

D.

ohos:selected _text_color=#000000

Full Access
Question # 91

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

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

A.

insert (Uri uri,ValuesBucket value)

B.

delete(Uri uri,DataAbilityPredicates predicates)

C.

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

D.

batchlnsert (Uri uri, ValuesBucket[]values)

Full Access
Question # 93

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?

A.

scrollstart()

B.

scrollend()

C.

scrollto()

D.

scrollby()

Full Access
Question # 94

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

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

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

A.

Percentage

B.

Hidden

C.

Split the line

D.

stretch

Full Access
Question # 97

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

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

A.

MIDDLE

B.

HIGH

C.

DEFAULT

D.

LOW

Full Access
Question # 99

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?

A.

Picker

B.

Checkbox

C.

RadioButton

D.

Switch

Full Access
Question # 100

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

A.

Codec()

B.

Player()

C.

Extractor()

D.

Recorder()

Full Access
Question # 101

When a developer develops a HarmomyOSapplication, if a Text component is used as the title bar of the page, and its width is set to match_parent and its height is set to 50vp, how can the text content in the Text be centered when setting its properties in the layout file?

A.

ohos:thorizontal_center=true"

B.

ohos:center_inparent="true"

C.

ohos:layout_alignment=center

D.

ohos:text_alignment=center

Full Access
Question # 102

Which of the following descriptions of Page and AbilitySlice is correct?

A.

AbilitySlice can exist on its own

B.

Bpage can contain multiple AbilitySlices

C.

There is at least one AbilitySlice in a page

D.

Page can contain only one AbilitySlice

Full Access
Question # 103

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

A.

ohos:text_alignment=start

B.

ohos:text_alignment=bottom

C.

ohos:text_alignment=vertical_center

D.

ohos:text_alignment=horizontal_center

Full Access
Question # 104

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

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.

A.

True

B.

False

Full Access
Question # 106

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

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.

A.

True

B.

False

Full Access
Question # 108

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

A.

True

B.

False

Full Access
Question # 109

If a developer wants to develop a file background download function, there needs to be a Page Ability to provide UI pages, and a ServiceAbility to provide a background file download function. If you want to perform some operations in the Service Ability after connecting to the Service Ability in the Page Ability, you need to implement the onConnect() method in the Service Ability.

A.

True

B.

False

Full Access
Question # 110

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

A.

True

B.

False

Full Access
Question # 111

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

A.

True

B.

False

Full Access
Question # 112

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.

A.

True

B.

False

Full Access
Question # 113

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

A.

True

B.

False

Full Access
Question # 114

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

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.

A.

True

B.

False

Full Access
Question # 116

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

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

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

A.

True

B.

False

Full Access
Question # 119

In order to avoid affecting the startup speed, developers need to postpone the execution of non-essential time-consuming tasks until the time of use, instead of performing all initializations in the onStart() method.

A.

True

B.

False

Full Access
Question # 120

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

A.

True

B.

False

Full Access
Question # 121

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

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

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

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

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.

A.

True

B.

False

Full Access
Question # 126

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.

A.

True

B.

False

Full Access
Question # 127

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

When developing the list component in the JavaScript UI framework, you can use the data of the Map type to dynamically bind the data.

A.

True

B.

False

Full Access
Question # 129

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.

A.

True

B.

False

Full Access
Question # 130

If a developer wants to develop a file background download function, there needs to be a Page Ability to provide U pages, and a Service Ability to provide the background file download function. If you want to perform some operations after connecting to the Service Ability in the Page Ability, you need to implement the onAbilityConnectDone() method in the Page Ability.

A.

True

B.

False

Full Access
Question # 131

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

A.

True

B.

False

Full Access
Question # 132

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.

A.

True

B.

False

Full Access
Question # 133

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

A.

True

B.

False

Full Access
Question # 134

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

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

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

A.

True

B.

False

Full Access
Question # 137

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

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.

A.

True

B.

False

Full Access
Question # 139

When using EventHandler to implement inter-thread communication, if EventRunner takes out the InnerEvent event, EventRunner will directly process the event on the new thread.

A.

True

B.

False

Full Access
Question # 140

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

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.

A.

True

B.

False

Full Access
Question # 142

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

When a developer develops an application based on HarmonyOS, the data used by a developer can be decomposed into multiple objects. The developer needs to add, delete, modify, and check the teaching data, but does not want to write overly complex SQL statements. In this scenario, the developer can use an object-relational mapping database to process the data.

A.

True

B.

False

Full Access
Question # 144

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

A.

True

B.

False

Full Access
Question # 145

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

A.

True

B.

False

Full Access
Question # 146

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

A.

True

B.

False

Full Access
Question # 147

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

A.

True

B.

False

Full Access
Question # 148

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

Suppose that multiple AbilitySlice are associated in MainAbility, and multiple AbilitySlice are switched in the same page, the lifecycle of MainAbility and all AbilitySlice is synchronized.

A.

True

B.

False

Full Access
Question # 150

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.

A.

True

B.

False

Full Access
Question # 151

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

A.

True

B.

False

Full Access
Question # 152

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

A.

True

B.

False

Full Access
Question # 153

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

A.

True

B.

False

Full Access
Question # 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.

A.

True

B.

False

Full Access
Question # 155

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

A.

True

B.

False

Full Access
Question # 156

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

In HarmonyOS, there are some applications that can call out universal cards, which can bring you the experience of using ().

A.

Swipe up icon, information directly

B.

Multiple sizes, choose at will

C.

Add desktops and combine them freely

D.

None of the above is true

Full Access
Question # 158

The library file is the third-party code that the application depends, which are the correct ways to use the following library files?

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 reference the dependencies{Implementation project(:mylibrary)} through the build.gradle under the project

If the required library files exist in the maven repository, you can configure the project's build.gradle as follows to useRepositories {.}

C.

Maven{

Url 'XXX'

// Add a Mavenrepository address, which can be 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 refer to the dependencies (Implementationproject(: mylibrary)) through the build.gradle of the application module.

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

The default size of shared memory in HarmonyOSis ?

A.

8M

B.

2M

C.

4M

D.

1M

Full Access
Question # 161

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

A.

Issued by AppGallery Connect

B.

You need to use DevEco Studio to generate a key

C.

Digital certificates are used to ensure the integrity of the application

D.

The digital certificate format is .csr

Full Access
Question # 162

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

A.

main_pages.json

B.

module.json5

C.

app.json5

D.

package.json

Full Access
Question # 163

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

23597/com.example.myapplication W

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

A.

is defined in the HiLogLabel

B.

Errnovalue

C.

Reachable URL value

D.

The log level is WARN

Full Access
Question # 164

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

A.

Relational database

B.

Object-relational mapping database

C.

Lightweight preference database

D.

Distributed data services

Full Access
Question # 165

If a user wants to migrate the video of his mobile phone to the smart screen for display on a video call, what are the correct items in the description of the scene?

A.

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

B.

Unauthorized HUAWEI IDs are not available

C.

The mobile phone and the smart screen can not be interconnected

D.

You need to use the same HUAWEI ID on both the phone and the smart screen

Full Access
Question # 166

What is the API for lottie to subscribe to events?

A.

lottie.setSpeed()

B.

lottie.setDirection()

C.

animationltem.addEventListener()

D.

animationltem.removeEventListener()

Full Access
Question # 167

Which of the following positioning capabilities does the location service subsystem of HarmonyOS provide?

A.

WLAN location

B.

GPS

C.

Beidou

D.

Base Station

Full Access
Question # 168

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

A.

StackLayout

B.

DependentLayout

C.

DirectionalLayout

D.

TableLayout

Full Access
Question # 169

If a developer uses custom components when developing a HarmonyOS application, what are the correct descriptions of custom components below?

A.

Add tag elements such as styleable and item to values/attrs.xml

B.

In the constructor with the AttrSet parameter of the custom component, useattrSet.getAttr("XxX").get().getStringValue() to get the property

C.

Add xmlns:app="http://schemas.huawei.com/apk/ res/ohos"to the layout.xml of the component definition

D.

In the constructor of the custom component, call array.getlntegor(ResourceManager.styleab1e.***,100)to get the property

Full Access
Question # 170

Which of the following APIs can I use to query the information of Ability?

A.

bundleManager.queryAbilityByWant

B.

BundleManager.getApplicationInfo

C.

BundleManager.getAbilitylnfo

D.

BundleManager.getBundlelnfo

Full Access
Question # 171

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

A.

Text image is super-resolved

B.

Image super-resolution

C.

Document detection correction

D.

General character recognition

Full Access
Question # 172

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

A.

Application Layer

B.

Data Link Layer

C.

Transport Layer

D.

represents the layer

E.

network layer

F.

Session Layer

Full Access
Question # 173

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

A developer has developed a HarmonyOS application that remotely launches a Page on phone B, and which of the following permissions does not need to request the user to grant permission 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 # 175

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

HarmonyOS Capabilities are divided into two types: Feature Ability and Particle Ability.

A.

Service Ability

B.

Data Ability

C.

Page Ability

D.

Ability Slice

Full Access
Question # 177

Distributed task scheduling builds a unified distributed service management (discovery, synchronization, registration, and call) mechanism based on technical characteristics such as distributed soft bus, distributed data management, and distributed profile.

A.

Remote start

B.

Remote connection

C.

Remote migration

D.

Remote call

Full Access
Question # 178

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

A.

onScroll

B.

onScrolllndex

C.

onReachStart

D.

onReachEnd

Full Access
Question # 179

If the HarmonyOS user displays the navigation information on the mobile phone and the smart watchat the same time, if the smart watch is out of power, causing the navigation information to stop displaying, which callback will the navigation app on the mobile phone distribute to receive the termination notification?

A.

onCompleteContinuation

B.

onRemoteTerminated

C.

onSaveData

D.

onRestoreData

Full Access
Question # 180

NetworkID is the communication identifier of distributed network device nodes in distributed networking, and is used to identify network device nodes in distributed services. To meet the privacy requirements in distributed scenarios, in which of thefollowing scenarios will NetworkID change?

A.

The user performs a factory reset of the device

B.

Device restarts

C.

The online list of devices in a distributed network changes from non-idle to empty and persists in empty for 5 minutes

D.

The interface of the application is transferred between different devices

Full Access
Question # 181

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

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

A.

.zip

B.

.app

C.

.apk

D.

.hap

Full Access
Question # 183

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

A.

Distributed multi-terminal collaborative identity authentication

B.

The distributed terminal must be a Huawei product

C.

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

D.

Build a trusted operating environment on distributed terminals

Full Access
Question # 184

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

A.

UI

B.

Distributed data management

C.

User Program Framework

D.

Ability

Full Access
Question # 185

Which of the following development languages can a developer use when developing a HarmonyOS smart screen application?

A.

JavaScript

B.

Python

C.

Andriod

D.

Java

Full Access
Question # 186

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

A.

animation

B.

graphic

C.

media

D.

Element

Full Access
Question # 187

Where is the data of the preference placed after persistence?

A.

In memory

B.

database table

C.

file

D.

Cloud

Full Access
Question # 188

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

Which of the following items is an asynchronous task dispatch method in HarmonyOS threads?

A.

asyncDispatch

B.

asyncGroupDispatch

C.

syncDispatch

D.

delayDispatch

Full Access
Question # 190

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

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

A.

Historically first used

B.

Intelligent Recommendation Mode

C.

History recently used

D.

History is the most used

Full Access
Question # 192

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

A.

multimedia subsystem

B.

Telephone subsystem

C.

Event Notification Service Subsystem

D.

Graphics subsystem

E.

Location Services subsystem

Full Access
Question # 193

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

A.

Numeric

B.

character

C.

Boolean

D.

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

Full Access
Question # 194

Regarding the Button component, which of the following styles is a capsule-type button?

A.

ButtonType.Capsule

B.

ButtonType.Normal

C.

ButtonType.Circle

D.

None of the above

Full Access
Question # 195

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

A.

C++

B.

Python

C.

JS(JavaScript)

D.

Java

Full Access
Question # 196

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

What is the full name of HUKS in Chinese

A.

encryption and decryption system

B.

Common keystore system

C.

Password management system

D.

Access control system

Full Access
Question # 198

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:

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

Full Access
Question # 199

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

A.

@Component

B.

@Entry

C.

@Builder

D.

@Preview

Full Access
Question # 200

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?

A.

onStartContinuation()

B.

onCompleteContinuation()

C.

onRestoreData()

D.

onSaveData()

Full Access
Question # 201

What functions does HarmonyOS provide in app data management to enable developers to seamlessly connect app data between different devices?

A.

Data search service

B.

Local application data management

C.

Data storage management

D.

Distributed data services

Full Access
Question # 202

When I need to create a profile when publishing an application, what type should I choose?

A.

Debug

B.

distribution

C.

runs

D.

Operations

Full Access
Question # 203

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

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

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

A.

HTTP

B.

WebSocket

C.

Socket

D.

Request

Full Access
Question # 206

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

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
Question # 208

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