ExamGecko
Home Home / Huawei / H14-231_V1.0

Huawei H14-231_V1.0 Practice Test - Questions Answers, Page 47

Question list
Search
Search

List of questions

Search

Related questions











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

A.
Service Registration
A.
Service Registration
Answers
B.
Service discovery
B.
Service discovery
Answers
C.
Service calls
C.
Service calls
Answers
D.
Service synchronization
D.
Service synchronization
Answers
Suggested answer: A, B, C, D

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

A.
file system
A.
file system
Answers
B.
Memory management
B.
Memory management
Answers
C.
Peripheral management
C.
Peripheral management
Answers
D.
Thread management
D.
Thread management
Answers
Suggested answer: A, B, C, D

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

A.
IDLE
A.
IDLE
Answers
B.
HIGH
B.
HIGH
Answers
C.
LOW
C.
LOW
Answers
D.
IMMEDIATE
D.
IMMEDIATE
Answers
Suggested answer: A, B, C, D

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
A.
Small system equipment
Answers
B.
Large-scale system equipment
B.
Large-scale system equipment
Answers
C.
Lightweight system equipment
C.
Lightweight system equipment
Answers
D.
Standard system equipment
D.
Standard system equipment
Answers
Suggested answer: A, B, C

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
A.
GPS
Answers
B.
Beidou
B.
Beidou
Answers
C.
WLAN
C.
WLAN
Answers
D.
Base Station
D.
Base Station
Answers
E.
Bluetooth
E.
Bluetooth
Answers
Suggested answer: A, B, C, D, E

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

A.
corresponds to the interface where data is inserted, and returns the line number of the latest inserted data when the insertion is successful, and 0 when it fails.
A.
corresponds to the interface where data is inserted, and returns the line number of the latest inserted data when the insertion is successful, and 0 when it fails.
Answers
B.
For interfaces that update data, the return value indicates the number of rows affected by the update operation, and returns 0 if the update fails.
B.
For interfaces that update data, the return value indicates the number of rows affected by the update operation, and returns 0 if the update fails.
Answers
C.
For interfaces that delete data, the return value indicates the number of deleted data rows, and if the deletion fails, it returns 0.
C.
For interfaces that delete data, the return value indicates the number of deleted data rows, and if the deletion fails, it returns 0.
Answers
D.
For APIs that query data, you cannot run native SQL statements for query operations
D.
For APIs that query data, you cannot run native SQL statements for query operations
Answers
Suggested answer: B, C

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
A.
Name of the organization
Answers
B.
Common name
B.
Common name
Answers
C.
Public key
C.
Public key
Answers
D.
Organizational unit
D.
Organizational unit
Answers
Suggested answer: A, B, C, D

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

A.
To implement function 2, you need to use the createGroup() and removeGroup() interfaces, and you need to ohos.permission.GET_WIFI_INFO permissions
A.
To implement function 2, you need to use the createGroup() and removeGroup() interfaces, and you need to ohos.permission.GET_WIFI_INFO permissions
Answers
B.
In order to achieve the above functions, you need to initialize the P2P messenger through the init(), interface, and need to request ohos.permssion.GET_WIFI_INFO and ohos.premission.SET_WIFI_INFO permissions.
B.
In order to achieve the above functions, you need to initialize the P2P messenger through the init(), interface, and need to request ohos.permssion.GET_WIFI_INFO and ohos.premission.SET_WIFI_INFO permissions.
Answers
C.
In order to implement feature 3, connect() needs to be used, and ohos.permission.SET_WIFI_INFO permission needs to be requested
C.
In order to implement feature 3, connect() needs to be used, and ohos.permission.SET_WIFI_INFO permission needs to be requested
Answers
D.
To implement function 1, you need to use the discoverDevices() interface, and you need to request the ohos.permission.SET WIFI INFO permission
D.
To implement function 1, you need to use the discoverDevices() interface, and you need to request the ohos.permission.SET WIFI INFO permission
Answers
Suggested answer: A, B

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 broadcast BluetoothRemoteDevice.EVENT_DEVICE_DISOOVERED
A.
Before you start Bluetooth scanning, you need to register for a broadcast BluetoothRemoteDevice.EVENT_DEVICE_DISOOVERED
Answers
B.
can initiate a Bluetooth device scan through the startBtDiscovery() interface
B.
can initiate a Bluetooth device scan through the startBtDiscovery() interface
Answers
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
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
Answers
D.
You can use the getLocalName() interface to check whether Bluetooth is turned on
D.
You can use the getLocalName() interface to check whether Bluetooth is turned on
Answers
Suggested answer: A, B, C

Which of the following can set the rounded corner effect of the ShapeElement?

A.
B in Java code set: int radius =
A.
B in Java code set: int radius =
Answers
B.
AttrHelper.vp2px(8) element.setCornerRadiiArray(new float[] {radius,radius,radius,radius,radius,radius,radius,radius})
B.
AttrHelper.vp2px(8) element.setCornerRadiiArray(new float[] {radius,radius,radius,radius,radius,radius,radius,radius})
Answers
C.
Set in XML:
C.
Set in XML:
Answers
D.
is set in Java code: element.setCornerRadius(AttrHelper.vp2px(8))
D.
is set in Java code: element.setCornerRadius(AttrHelper.vp2px(8))
Answers
Suggested answer: B, C, D
Total 705 questions
Go to page: of 71