Summer Special Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: buysanta

Exact2Pass Menu

Question # 4

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

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

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

A.

Bluetooth device scan can be initiated through the startBtDiscovery() interface

B.

Before starting Bluetooth scanning, you need to register to broadcastBluetoothRemoteDevice

EVENT_DEVICE_DISCOVERED

C.

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

D.

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

Full Access
Question # 7

What attributes are supported by attribute animations?

A.

width

B.

rotate

C.

opacity

D.

scale

Full Access
Question # 8

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

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

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

When using DevEco Studio for debugging, you need to check the properties in configjson regardless of whether you use a real machine or an emulator.

A.

True

B.

False

Full Access
Question # 12

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

What are the componentization characteristics of custom components?

A.

Combinable

B.

Reusable

C.

Configure the lifecycle

D.

Data-driven updates

Full Access
Question # 14

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

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

A.

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

B.

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

C.

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

D.

int sizel =(int)(Dislaylanager.getInstance

().getDefaultDisplay(

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

Full Access
Question # 16

Which of the following container components can be scrolled

A.

Scroll

B.

List

C.

Row

D.

Grid

E.

Column

Full Access
Question # 17

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

The following description of the basic components of the ArkTS declarative development paradigm is correct

A.

Decorator: Used to decorate classes, structs, methods, and variables to give them a special meaning, e.g. @Entry indicates that this is an entrance component.

B.

Custom components: Reusable UI units that can be combined with other components.

C.

UIDescription: A declarative method to describe the structure of the UI, such as a code block in the build() method.

D.

Built-in components: Built-in basic components and layout components in ArkTS by default, such as Column, Text, Divider, Button, etc., can be called by developers.

E.

attributemethod: used to configure component attributes, which are set through attribute methods, such as fontSize(), width(), height(), color(), etc.

F.

Event method: It is used to add the component's response logic to the event, which is set through the event method, such as onClick() following the Button.

Full Access
Question # 19

Encoding is the process of converting information from one form or format to another, which of the following can be encoded?

A.

text

B.

figures

C.

Image

D.

video

Full Access
Question # 20

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

What are the types of background agent reminder services?

A.

Countdown class

B.

Calendar class

C.

Alarm clock class

D.

Schedule

Full Access
Question # 22

What is the correct description of the http module?

A.

HTTP requests support common request methods, such as get, post, and put.

B.

can use on(headersReceive') to subscribe to the request response header.

C.

Theparameters of thepost request can be specified in extraData.

D.

After the createHttp command is successfully executed, an httpRequest object is returned, which includes the request, destroy, on, and off methods.

Full Access
Question # 23

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

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

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

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

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

A.

True

B.

False

Full Access
Question # 28

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

A.

ohos:selected text color=#0000FF

B.

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

C.

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

D.

ohos:operated_text_color="0000FF"

Full Access
Question # 29

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

A.

True

B.

False

Full Access
Question # 30

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

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

A.

True

B.

False

Full Access
Question # 32

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

Cross-terminal migration is a technical solution to realize the flow of user applications, which refers to the simultaneous or alternate operation of FA/PA on multiple terminals to achieve complete services.

A.

True

B.

False

Full Access
Question # 34

Barrier-free color palettes should meet the identification needs of color blindness, and safe color palettes can be found by simulating the visual effects of different similar color defects.

A.

True

B.

False

Full Access
Question # 35

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

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

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

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

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

Which of the following service SDKs has been integrated with device-cloud integration?

A.

SCF

B.

Cloud Database

C.

Cloud storage

D.

Cloud hosting

Full Access
Question # 41

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

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

HarmonyOS provides the Al capability of speech recognition, which can use machine learning technology to analyze the content of text messages of users in SMS or chat applications, and identify the user intent represented by the message content.

A.

True

B.

False

Full Access
Question # 44

Which of the following properties can be used for components that contain text elements, such as Text, Button, TextInput, etc.?

A.

fontColor

B.

fontSize

C.

fontStyle

D.

fontWeight

E.

fontFamily

Full Access
Question # 45

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

Which of the following functions is a lifecycle function for a custom component?

A.

aboutToAppear

B.

aboutToDisappear

C.

onPageShow

D.

onPageHide

E.

onBackPress

Full Access
Question # 47

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

Regarding the Tabs component and the TabContent component, the following description is correct

A.

TabContent component does not support setting a generic width property, and its width is equal to the barWidth property of the Tabs component.

B.

TheTabContent component does not support setting the general height attribute, and its height is determined by the height of the parent Tabs and the height of the TabBar component.

C.

TabsController is used to control tabs to switch between tabs, and does not support one tabscontroller to control multiple tabs.

D.

ThetabBar property of theTabContent component supports components generated using the @Builder constructor.

Full Access
Question # 49

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

What development tools do programmers do not need to install when developing HarmonyOS mobile apps?

A.

HUATEI DevEco Device Tool

B.

HiBurn

C.

DevEco Studio

D.

Visual Studio Code

Full Access
Question # 51

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

A.

writes a function

B.

Test function

C.

Packing function

D.

Deploy functions

Full Access
Question # 52

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

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

String dispatcherName =

"parallelTaskDispatcher";

TaskDispatcher dispatcher =

createParallelTaskDispatcher(dispatcherName,TaskPriority.DEFAULT);

Group group

=dispatcher.createDispatchGroup();

dispatcher.asyncGroupDispatch(group,new

Runnable(){

@Override

public void run(){

HiLog.info(LABEL_LOG,"download taskl is

running ");

}

});

dispatcher.groupDispatchlotify(group,new

Runnable(){

@0verride

public void run(){

HiLog.info(LABEL_L0G,"the close task2 is

running");

}

});

dispatcher.groupDispatchlotify(group,new

Runnable(){

@Override

public void run(){

HiLog.info(LABEL_L0G, "the close task is

running after all tasks in the group are

completed");

}

});

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

A.

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

B.

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

C.

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

D.

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

Full Access
Question # 54

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

A.

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

B.

Account is not registered

C.

uses the Chrome browser

D.

The HUAWEI ID is not verified

Full Access
Question # 55

Which of the following methods can remove a notification?

A.

cancel

B.

cancelAll

C,removeSlot

C.

removeAll

Full Access
Question # 56

Which of the following operations can be performed through the @ohos.systemTime module?

A.

Set the system time

B.

Set the system alarm

C.

Set the system period

D.

Set the system time zone

Full Access
Question # 57

In the same - Page, which of the following methods can be used to deal with the navigation between different pages?

A.

startAbilityForResult ()

B.

presentForResult ()

C.

present()

D.

startAbility()

Full Access
Question # 58

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

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

A.

Commissioning Certificate

B.

Publish certificates

C.

Test Certificate

D.

Operating Certificate

Full Access
Question # 60

Which of the following layers does the JavaSeript framework include?

A.

Front-end frame layer

B.

Engine Layer

C.

Application Layer

D.

Platform adaptation layer

Full Access
Question # 61

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

A.

HTTP

B.

Rich Text

C.

Web Components

D.

Socket

Full Access
Question # 62

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

A.

NFC-A

B.

NFC-B

C.

NFC-C

D.

NFC-F

Full Access
Question # 63

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

What files does an engineer need to use to sign the debugged module when he wants to debug a newly developed application on a real device?

A.

HarmsryAppProxvision file (.p7b).

B.

Digital certificate (.cer).

C.

Private key (.p12)

D.

Request file (.csr).

Full Access
Question # 65

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

A.

The default value of tempo is 1.0

B.

parameter delay cannot be greater than duration

C.

parameter curve can be left unset

D.

parameter iterations can be left unset

Full Access
Question # 66

The maximum length limit of the preference key is ( ) bytes

A.

60

B.

70

C.

80

D.

90

Full Access
Question # 67

A developer uses ListContainer to create a list component that can be swiped, in order to improve the user experience, it needs to display the rebound effect when swiping to the beginning and end of the list, which of the following options can meet this requirement?

A.

listContainer.setReboundEffect(true);

B.

ohos:rebound_effect="true"/>

C.

listContainer.setReboundEffect(false);

D.

ohos:rebound_effect="false"/>

Full Access
Question # 68

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

A.

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

B.

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

C.

Thisevent is triggered when the C onPrepared video is ready.

D.

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

Full Access
Question # 69

When a developer wants to make the vertical scrolling layout take effect when using the ScrollView control, how should the width of the control corresponding to the layout be set?

A.

match_child

B.

Fixed width value

C.

match_parent

D.

match_content

Full Access
Question # 70

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

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

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

A.

Location Services subsystem

B.

DV subsystem

C.

Media Subsystem

D.

Safety subsystem

Full Access
Question # 73

When developing a HarmonyOS application, a developer receives the following product request: If a user logs in to the same HarmonyOS account on device A and device B, the user can log in to the app on device A and synchronize the application account authentication information to account B as needed. After the account authentication information is synchronized, the user can open the application on device B and log in directly without entering the application account authentication information again. Which of the following descriptions of this scene is correct?

A.

The developer can do this with the help of UUIDs, because apps can use UUIDs to uniquely identify the same device during their lifetime

B.

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

C.

The developer can do this with the help of DVID, because the application can access and manage distributed devices based on the DVID

D.

If you use a DVID to achieve the above functions, the DVE is strongly associated with your HarmonyOS account and application information, so you can prevent other applications from accessing the current application data.

Full Access
Question # 74

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

A.

Register the Ability in the application manifest file

B.

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

C.

onConnect() needs to return an IRemoteObject object back

D.

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

Full Access
Question # 75

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

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

A.

delay is set to 0

B.

tempo is set to 1

C.

iterations set to -1

D.

playMode is set to PlayMode.Reverse

Full Access
Question # 77

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

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

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

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

HarmonyOS supports the flexible deployment of multiple terminal devices on demand through design methods such as componentization and miniaturization, and can adapt to different types of hardware resources and functional requirements. Which of the following descriptions of elastic deployment are correct?

A.

Clipping of functions within the component is not supported

B.

supports the association of components and dependencies

C.

The selection of each component is not supported

D.

Supports the configuration of the feature set within the component

Full Access
Question # 82

Which of the following interfaces is NOT an API provided by the preference?

A.

get()

B.

update()

C.

put()

D.

flush()

Full Access
Question # 83

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

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

Which kind of decorator can be used as a page entry component?

A.

@Component

B.

@Entry

C.

@Preview

D.

@Builder

Full Access
Question # 86

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

A.

Plain text

B.

Multi-line text

C.

Long text

D.

Picture

Full Access
Question # 87

What files does an engineer need to use when he wants to debug a newly developed application on a real device?

A.

HarmonyOS AppProvision

B.

Private key

C.

Request file

D.

Digital certificates

Full Access
Question # 88

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

A.

reqPermissions

B.

requestPermissions

C.

defPermissions

D.

canRequestPermissions

Full Access
Question # 89

Which of the following types can be set to display banner notifications?

A.

SlotType.SOCIAL_COMMUNICATION

B.

SlotType.SERVICE_INFORMATION

C.

SlotType.CONTENT_INFORMATION

D.

SlotType.OTHER_TYPES

Full Access
Question # 90

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

A.

LiteoS-M

B.

Linux

C.

UNIX

D.

LiteOS-A

Full Access
Question # 91

A developer called the getDefaultHost(Context context) interface of BluetoothHost to obtain a Bl1uetoothHost instance for managing local Bluetooth operations. The developer uses the following development steps to implement Bluetooth pairing:

1Turn on Bluetooth.

2Scan Bluetooth.

3. Initiate pairing.

Which of the following statements about steps 1, 2, and 3 is true?

A.

calls startBtDiscovery()to complete step 2

B.

The order in which steps 2 and 3 are implemented can be reversed

C.

calls the enableBt()interface to complete step 1

D.

calls startPair()to complete step 3

Full Access
Question # 92

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

A.

HTTP

B.

WebSocket

C.

Socket

D.

Request

Full Access
Question # 93

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

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.

onForeground()

B.

onStop()

C.

onInactive()

D.

onBackground()

Full Access
Question # 95

A developer needs to use the current data network for socket data transmission, and the development process involves the following steps:

1。Send data with sockets.

2。Bind the network with NetHandle.bindSocket().

3。Call NetManager.getDefaultNet() to get the default data network.

4。Call NetManager.getInstance(Context9) to get the instance object of network management.

When the developer combed through the development steps, the above steps were sorted according to the order in which the features were completed in the code. Which of the following is the correct order?

A.

4→1→2→3

B.

4→2→1→3

C.

4→3→2→1

D.

2→1→4→3

Full Access
Question # 96

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

A.

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

B.

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

C.

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

D.

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

Full Access
Question # 97

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

During the development of a HarmonyOS application, a developer needs to obtain the uplink and downlink traffic of a specified NIC. Which of the following interfaces does the developer need?

A.

getAllTxBytes()

B.

getAllRxBytes()

C.

getlfaceTxBytes(String nic)

D.

getlfaceRxBytes(String nic)

Full Access
Question # 99

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

A.

IDE plug-in

B.

Project Template

C.

Command-line tool

D.

Visualization Tools

Full Access
Question # 100

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

A.

a12345

B.

com.demoapp

C.

Deviceld

D.

com.demoapp.FirstAbility

Full Access
Question # 101

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

A.

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

B.

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

C.

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

D.

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

Full Access
Question # 102

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

A.

app

B.

deviceConfig

C.

module

D.

abilities

Full Access
Question # 103

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

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

A.

ohos:visibility= "invisible"

B.

text.setVisibility(Component.HIDE)

C.

ohos:visibility="hide"

D.

text.setVisibility(Component.INVISIBLE)

Full Access
Question # 105

When the state data of @State modification is modified, the () method of the component will be triggered to update the UI interface

A.

build method

B.

onPageShow method

C.

aboutToAppear method

D.

onStart method

Full Access
Question # 106

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

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

A developer has developed an Image component and written the following code, which of the following descriptions of the component is correct?

A.

The Aplant image is scaled to 0.5

B.

Thex-axis and y-axis of the B plant image are scaled to 0.5 and the effect is cropped in half

C.

Thex and y axes of the C plant image are scaled to 0.5 and the transparency is 0.5

D.

The Dplant image is cropped in half

Full Access
Question # 109

A developer needs to use the current scattered data network for socket data transmission, in this scenario, the development process involves the following steps: 1. Use socket to send data.2. Call NetHandle.bindSocket() to bind the network.3. Call NetManager.getDefaultNet() to get the default data network.4. Call NetManager.getInstance(ContextWhen the developer sorts out the development steps, the above steps are sorted according to the order in which the functions are completed in the code. Which of the following is the correct order?

A.

4→1→2→3

B.

4→2→1→3

C.

4→3→2→1

D.

2→1→4→3

Full Access
Question # 110

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

A.

camera

B.

Make a call

C.

Photo

D.

Microphone

Full Access
Question # 111

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

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

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

A.

config.json

B.

ability_main.xml

C.

MainAbilityS1ice.java

D.

string.json

Full Access
Question # 114

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

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

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

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

A.

timePicker.enableHour(false);

B.

timePicker.showMinute(false);

C.

timePicker.enableMinute(false);

D.

timePicker.showSecond(false);

Full Access
Question # 118

HarmonyOS's AI capability provides the function of generating QR codes, for example, if you need to generate a QR code for each mobile phone contact, which of the following describes the QR code correctly?

A.

The width of the generated QR code image can be 2000 pixels

B.

The length of the string must be at least 2953 characters

C.

The height of the generated QR code image can be 1680 pixels

D.

Call the detect() method of IBarcodeDetector to generate the corresponding QR code image byte stream based on the input string information

Full Access
Question # 119

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

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

Which of the following modules provides an E2E encrypted channel in the HarmonyOS streaming architecture to provide a secure cross-terminal transmission mechanism for user applications?

A.

distributed soft bus

B.

Forwarding task management services

C.

Distributed security

D.

Distributed task scheduling

Full Access
Question # 122

In the HarmonyOSsystem architecture, which of the following provides unified peripheral access capabilities and driver development management framework?

A.

KAL (Kernel Abstract Layer)

B.

Ability

C.

UI

D.

HDF (Hardware Driver Foundation)

Full Access
Question # 123

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

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

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

A.

onStart()→onActive()

B.

onStart()→onActive()→onInactive()

C.

onBackground()→onForeground()→onStop()

D.

onActive()→onInactive()

Full Access
Question # 126

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

Which of the following is NOT acomponent of the Harmony OS object-relational mapping database?

A.

Object data manipulation interface

B.

Database

C.

Solid object

D.

Relationship table

Full Access
Question # 128

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

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

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

TaskDispatcher dispatcher =

getUlTaskDispatcher();

Revocable revocable =

________________________(new Runnable(){

@Overide Public void run(){

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

}

},10);

Boolean revoked = revocable.revoke();

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

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

A.

dispatcher.delayDispatch

B.

dispatcher.asyncDispatch

C.

dispatcher.syncDispatch

D.

dispatcher.createDispatchGroup

Full Access
Question # 131

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

A developer wants to implement a registration and login function, and there are two pages, namely registration page A and login page B. When jumping from registration page A to login page B, which of the following is correct about the lifecycle of the two pages?

A.

A(INACTIVE)→B(INITIAL)→B(ACTIVE)→A(BACKGROUND)

B.

B(INITIAL)→B(ACTIVE)→A(INITIAL)→A(BACKGROUND)

C.

A(INACTIVE)→A(BACKGROUND)→B(INITIAL)→B(ACTIVE)

D.

A(INACTIVE)→B(INITIAL)→A(BACKGROUIND)→B(ACTIVE)

Full Access
Question # 133

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

A developer defines an entity class

Student.java and use the following code to construct the table:

@Entity(tableName ="student", ignoredColums

=["ignoredColumn1","ignoredColumn2", indices

= (@Index(value =("firstName.","lastName",

name="name_index", unique = true)))

pub1ic class User extends OrmObject{

@PrimaryKey(autoGenerate= true)

private Integer userld;

private String firstName;

private String lastName;

private int age;

private doub1e balance;

private int ignoredColumn1;

private int ignoredColumn2;

}

Which of the following descriptions of this code is wrong?

A.

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

B.

Doubles creates composite indexes name_index for the "firstName" and "1astName" fields

C.

The name of the data sheet is "student".

D.

The index value of the composite index 'name_index' is not unique

Full Access
Question # 135

When a developer adds a Harmony OS app on the AppGallery web page, which platform does the developer need to choose to add the app?

A.

quick application

B.

Android

C.

Web

D.

HarmonyOS app

Full Access
Question # 136

How to realize distributed communication betweentwo existing Harmony OS devices?

A.

Configure the ohos.permission.lNTERNEl permission in the configuration file

B.

Configure ohos.permission.DISTRIBUTED_DATASYNC permission in the configuration file and dynamically request this permission again

C.

Configure ohos.permission.DISTRIBUTED_DATASYNC permissions in the configuration file

D.

Configure the ohos.permission.IlNTERNET permission in the configuration file and dynamically request this permission again

Full Access
Question # 137

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

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

A.

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

B.

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

C.

onStart()—onActive()→onInActive()

D.

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

Full Access
Question # 139

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

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

A.

ScrollView

B.

PageSlider

C.

Text

D.

ListContainer

Full Access
Question # 141

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

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

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

In the JavaScript UI framework, which layer is used to provide animation parsing, DOM (Document Object Model) tree construction, layout calculation, rendering command construction and drawing, event management, etc.?

A.

Engine Layer

B.

Platform adaptation layer

C.

Front-end frame layer

D.

Application layer

Full Access
Question # 145

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

When a developer develops a JavaScript application on a smart screen. If you want to do some static animation, if you want to move a component 200px horizontally, which of the following styling configurations is correct?

A.

transform: rotate×(200px);

B.

transform: rotateY(200px);

C.

transform: translatex(200px);

D.

transform: scaleX(200px);

Full Access
Question # 147

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

In the JS (JavaScript) UI framework, which layer is used to complete the front-end page parsing?

A.

Engine Layer

B.

Platform adaptation layer

C.

Front-end frame layer

D.

Application layer

Full Access
Question # 149

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

A.

build.gradle

B.

Manifest.xml

C.

MainAbility.java

D.

config.json

Full Access
Question # 150

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

A.

DEFAULT

B.

MIDDLE

C.

HIGH

D.

LOW

Full Access
Question # 151

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

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

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

The developer uses device A (local device) to control device B (remote device) to open the album, which distributed task scheduling capability is used in this scenario?

A.

Enable remote FA (Feature Ability).

B.

Connect to a remote PA (Particle Ability).

C.

Start the remote PA (Particle Ability).

D.

Particle Ability (PA)

Full Access
Question # 155

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

A.

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

B.

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

C.

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

D.

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

Full Access
Question # 156

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

A.

minute

B.

seconds

C.

microseconds

D.

ms

Full Access
Question # 157

When a developer uses the Text component for development, due to the long length of the input string, the content in the middle of the text needs to be truncated with ellipses. Which of the following codes can be used to achieve the above requirements?

A.

ohos:truncation_mode=ellipsis_at_start

B.

ohos: truncation_mode=auto_scrolling

C.

ohos:truncation_mode=ellipsis_at_middle

D.

ohos:truncation_mode=ellipsis_at_end

Full Access
Question # 158

The permission scope of HarmonyOS refers to whichapplications can apply for a permission, which of the following fields does not belong to the permission open scope?

A.

privileged

B.

signature

C.

restricted

D.

deivced

Full Access
Question # 159

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

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

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

A.

True

B.

False

Full Access
Question # 162

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

A.

True

B.

False

Full Access
Question # 163

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

A.

True

B.

False

Full Access
Question # 164

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

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

A developer uses continueAbility() to migrate the distributed news application of the mobile phone to the large screen, and the large screen can also migrate the news browsing page back to the mobile phone.

A.

True

B.

False

Full Access
Question # 167

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

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

A.

True

B.

False

Full Access
Question # 169

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

A.

True

B.

False

Full Access
Question # 170

A developer uses the Wi-Fi "Don't TrustHot-spotConfiguration" feature provided by HarmonyOS to add a specifiedhot-spotto its application, making it prioritize lower than the saved hot-spot. In this case, the system will refuse to connect to thehot-spoteven if it is the most suitablehot-spotafter the system scan.

A.

True

B.

False

Full Access
Question # 171

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

HAR (HarmonyOS Ability Resources) is different from HAP (HarmonyOS Ability Package) in that HAR cannot be installed and run on devices independently, and can only be referenced as dependencies of application modules.

A.

True

B.

False

Full Access
Question # 173

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

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

A.

True

B.

False

Full Access
Question # 175

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

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

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

Intent is a carrier for transmitting information between objects.

A.

True

B.

False

Full Access
Question # 179

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

A.

True

B.

False

Full Access
Question # 180

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

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

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

Image

image(Image)findComponentByld(ResourceTable.Id_cormponent_image);

Image.setPixelMap (ResourceTable.Media hawei);

A.

True

B.

False

Full Access
Question # 183

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

Components can neither be displayed nor interact with when they are not added to a layout, so a user interface contains at least one layout.

A.

True

B.

False

Full Access
Question # 185

AbilitySlice and Page have the same lifecycle state and callback method with the same name, and when the Lifecycle of the Page changes, the same lifecycle change will occur in AbilitySlice. Similarly, as the lifecycle of an AbilitySlice changes, the lifecycle state of a Page changes.

A.

True

B.

False

Full Access
Question # 186

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

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

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

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

When designing a JavaScript UI based on HarmonyOS, if the text component itself cannot be focused, the focus cannot be moved to the component, and the focusableattribute of text is set to true. text component.

A.

True

B.

False

Full Access
Question # 191

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

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

A.

True

B.

False

Full Access
Question # 193

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

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

A.

True

B.

False

Full Access
Question # 195

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

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

A.

True

B.

False

Full Access
Question # 197

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

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

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

A.

True

B.

False

Full Access
Question # 200

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

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

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

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

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

A.

True

B.

False

Full Access
Question # 205

The lightweight preference database is a non-relational database, which mainly provides lightweight key-value operations and supports local applications to store a large amount of data. If a HarmonyOS developer uses a lightweight preference database to save data, the data will be stored in a local file and will not be loaded into memory.

A.

True

B.

False

Full Access
Question # 206

Sservice Abilit calls the onCommand() method after the creation is completed, and the method can be called once when the client starts the service for the first time, and there is no need to call it again in the future

A.

True

B.

False

Full Access
Question # 207

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

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