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

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

Question list
Search
Search

List of questions

Search

Related questions











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

A.
Device certificate certification
A.
Device certificate certification
Answers
B.
Safe Boot
B.
Safe Boot
Answers
C.
Trusted Execution Environment
C.
Trusted Execution Environment
Answers
D.
Zero trust model
D.
Zero trust model
Answers
Suggested answer: A, B, C

A developer is using CommonEventData to encapsulate information about ordered public events for data processing when publishing, distributing, and receiving. What do I need to pay attention to when developing?

A.
data is the result data of an ordered public event
A.
data is the result data of an ordered public event
Answers
B.
intent is not allowed to be empty
B.
intent is not allowed to be empty
Answers
C.
intent --- must be empty
C.
intent --- must be empty
Answers
D.
code is the result code of an ordered public event
D.
code is the result code of an ordered public event
Answers
Suggested answer: A, B, D

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
A.
ohos:selected text color=#0000FF
Answers
B.
datePicker.setSelectedTextColor(new Color(Color.getlIntColor( '#0000FF')));
B.
datePicker.setSelectedTextColor(new Color(Color.getlIntColor( '#0000FF')));
Answers
C.
datePicker.setPeratedTextColor(new Color(Color.getIntColor('#000OFF')));
C.
datePicker.setPeratedTextColor(new Color(Color.getIntColor('#000OFF')));
Answers
D.
ohos:operated_text_color='0000FF'
D.
ohos:operated_text_color='0000FF'
Answers
Suggested answer: A, B

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++
A.
C/C++
Answers
B.
CSS
B.
CSS
Answers
C.
HTML5
C.
HTML5
Answers
D.
JavaScript
D.
JavaScript
Answers
Suggested answer: B, C, D

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

A.
DV subsystem
A.
DV subsystem
Answers
B.
Proprietary business subsystem of smart screen
B.
Proprietary business subsystem of smart screen
Answers
C.
Safety subsystem
C.
Safety subsystem
Answers
D.
Media subsystem
D.
Media subsystem
Answers
Suggested answer: A, B, C, D

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

A.
display
A.
display
Answers
B.
Camera
B.
Camera
Answers
C.
Global Positioning System (GPS).
C.
Global Positioning System (GPS).
Answers
D.
Accelerometer
D.
Accelerometer
Answers
Suggested answer: A, B, D

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
A.
Preview is not supported for files currently open in the editor
Answers
B.
SDK has not been updated to the latest version
B.
SDK has not been updated to the latest version
Answers
C.
The previewer resource was not downloaded
C.
The previewer resource was not downloaded
Answers
D.
Project is not synchronized successfully
D.
Project is not synchronized successfully
Answers
Suggested answer: A, B, C, D

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

01-2016:08:36.908

23597/com.example.myapplication W

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

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

A.
Content defined in HiLogLabel
A.
Content defined in HiLogLabel
Answers
B.
Errno value
B.
Errno value
Answers
C.
Reachable URL value
C.
Reachable URL value
Answers
D.
The log level is WARN
D.
The log level is WARN
Answers
Suggested answer: A, C

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 the onStart() method of the Service to start the Service
A.
If the Service is running, the system will call back the onStart() method of the Service to start the Service
Answers
B.
If the Service is running, the system will call back the onCommand() method of the Service to start the Service
B.
If the Service is running, the system will call back the onCommand() method of the Service to start the Service
Answers
C.
If the Service is not already running, the system will call the onCommand() method to start the Service
C.
If the Service is not already running, the system will call the onCommand() method to start the Service
Answers
D.
If the Service is not yet running, the system will call onStart() to initialize the Service
D.
If the Service is not yet running, the system will call onStart() to initialize the Service
Answers
Suggested answer: B, D

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);
A.
int size4 =AttrHelper.convertDimensionToPix(getContext(),'8vp'',0);
Answers
B.
int size3=AttrHelper.convertDimensionToPix(getContext(),'8',0);
B.
int size3=AttrHelper.convertDimensionToPix(getContext(),'8',0);
Answers
C.
int size2 =AttrHe1per.vp2px(8,getContext());
C.
int size2 =AttrHe1per.vp2px(8,getContext());
Answers
D.
int sizel =(int)(Dislaylanager.getInstance ().getDefaultDisplay( getContext().get().getRealAttributes().scalDensity*8 +.5f);
D.
int sizel =(int)(Dislaylanager.getInstance ().getDefaultDisplay( getContext().get().getRealAttributes().scalDensity*8 +.5f);
Answers
Suggested answer: A, C, D
Total 705 questions
Go to page: of 71