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

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

Question list
Search
Search

Related questions











A HarmonyOS application developer creates two pages, indlex and detai1, so that the two pages jump to each other. The code of the index page is as follows, which of the following descriptions are correct?

A.
Text component is used to mark the current page
A.
Text component is used to mark the current page
Answers
B.
When you click the button, the lunch event will be triggered
B.
When you click the button, the lunch event will be triggered
Answers
C.
The Text component is used to jump to and from two pages
C.
The Text component is used to jump to and from two pages
Answers
D.
The Button component is used to jump to and from two pages
D.
The Button component is used to jump to and from two pages
Answers
Suggested answer: A, B, D

What are the following types of transition animations in the declarative development paradigm?

A.
page transition
A.
page transition
Answers
B.
Transitions between applications
B.
Transitions between applications
Answers
C.
Share element transitions
C.
Share element transitions
Answers
D.
Transitions within an assembly
D.
Transitions within an assembly
Answers
Suggested answer: A, C, D

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

A.
bundleManager.queryAbilityByWant
A.
bundleManager.queryAbilityByWant
Answers
B.
BundleManager.getApplicationInfo
B.
BundleManager.getApplicationInfo
Answers
C.
BundleManager.getAbilitylnfo
C.
BundleManager.getAbilitylnfo
Answers
D.
BundleManager.getBundlelnfo
D.
BundleManager.getBundlelnfo
Answers
Suggested answer: A, C, D

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

A.
The parent component's regular variables cannot be used to initialize @Link or @Prop variables
A.
The parent component's regular variables cannot be used to initialize @Link or @Prop variables
Answers
B.
@StorageLink and @StorageProp are allowed to be passed from the parent component to the child component
B.
@StorageLink and @StorageProp are allowed to be passed from the parent component to the child component
Answers
C.
The @Prop variable of the parent component can initialize the eState or @Link variable of the child component
C.
The @Prop variable of the parent component can initialize the eState or @Link variable of the child component
Answers
D.
The @State variable of the parent component cannot initialize the @State variable of the child component
D.
The @State variable of the parent component cannot initialize the @State variable of the child component
Answers
Suggested answer: A, C, D

What are the following advantages of the HarmonyOS forwarding architecture?

A.
Support remote service invocation and other capabilities, which can easily design business.
A.
Support remote service invocation and other capabilities, which can easily design business.
Answers
B.
Support different forms of devices, such as mobile phones, tablets, TVs, watches, etc.
B.
Support different forms of devices, such as mobile phones, tablets, TVs, watches, etc.
Answers
C.
Unified flow management UI, supporting device discovery, selection, and task management.
C.
Unified flow management UI, supporting device discovery, selection, and task management.
Answers
D.
Support multiple applications to be forwarded at the same time.
D.
Support multiple applications to be forwarded at the same time.
Answers
Suggested answer: A, B, C

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

A.
Set the system time
A.
Set the system time
Answers
B.
Set the system alarm
B.
Set the system alarm
Answers
C.
Set the system period
C.
Set the system period
Answers
D.
Set the system time zone
D.
Set the system time zone
Answers
Suggested answer: A, B, C, D

The declarative development paradigm based on TS extensions provides a series of basic components, the following code describes the structure of a simple page, read this code, which of the following are built-in components?

A.
Divider
A.
Divider
Answers
B.
Button
B.
Button
Answers
C.
Text
C.
Text
Answers
D.
Columm
D.
Columm
Answers
Suggested answer: B, C

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

A.
string
A.
string
Answers
B.
Picture
B.
Picture
Answers
C.
Color
C.
Color
Answers
D.
Rounded corners
D.
Rounded corners
Answers
Suggested answer: A, B, C

What are the following aspects of resource utilization analysis that DevEco Studio Performance Analyzer can perform?

A.
Memory
A.
Memory
Answers
B.
Battery
B.
Battery
Answers
C.
CPU
C.
CPU
Answers
D.
network
D.
network
Answers
Suggested answer: A, B, C, D

Which of the following breakpoint management functions does the JS code type support?

A.
normal line breakpoint
A.
normal line breakpoint
Answers
B.
Exception breakpoint
B.
Exception breakpoint
Answers
C.
symbol breakpoint
C.
symbol breakpoint
Answers
D.
method breakpoint
D.
method breakpoint
Answers
Suggested answer: A, B, D
Total 705 questions
Go to page: of 71