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

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

Question list
Search
Search

Related questions











Which of the following methods can jump to a new page and destroy the current page?

A.
router.pushUrl( )
A.
router.pushUrl( )
Answers
B.
router.replaceUrl( )
B.
router.replaceUrl( )
Answers
C.
router.back( )
C.
router.back( )
Answers
D.
router.clear( )
D.
router.clear( )
Answers
Suggested answer: B

For example, if you want to implement an advertising pop-up window now, including information such as pictures and text, you can use the following pop-up window

A.
AlertDialog
A.
AlertDialog
Answers
B.
@CustomDialog
B.
@CustomDialog
Answers
C.
TextPickerDialog
C.
TextPickerDialog
Answers
D.
TimePickerDialog
D.
TimePickerDialog
Answers
Suggested answer: B

Which of the following permissions is required to load network images with the Image component?

A.
ohos.permission.READ_MEDIA
A.
ohos.permission.READ_MEDIA
Answers
B.
ohos.permission.INTERNET
B.
ohos.permission.INTERNET
Answers
C.
ohos.permission.GET_NETWORK_INFO
C.
ohos.permission.GET_NETWORK_INFO
Answers
D.
ohos.permission.DISTRIBUTED_DATASYNC
D.
ohos.permission.DISTRIBUTED_DATASYNC
Answers
Suggested answer: B

In which of the following files can you set the path configuration information of the page?

A.
main_pages.json
A.
main_pages.json
Answers
B.
module.json5
B.
module.json5
Answers
C.
app.json5
C.
app.json5
Answers
D.
package.json
D.
package.json
Answers
Suggested answer: A

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

A.
60
A.
60
Answers
B.
70
B.
70
Answers
C.
80
C.
80
Answers
D.
90
D.
90
Answers
Suggested answer: C

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

A.
ButtonType.Capsule
A.
ButtonType.Capsule
Answers
B.
ButtonType.Normal
B.
ButtonType.Normal
Answers
C.
ButtonType.Circle
C.
ButtonType.Circle
Answers
D.
None of the above
D.
None of the above
Answers
Suggested answer: A

Which of the following combinations cannot realize two-way data synchronization between child components and parent and child components?

A.
@State and @Link
A.
@State and @Link
Answers
B.
@Provide and @Consume
B.
@Provide and @Consume
Answers
C.
@Observed and @ObjectLink
C.
@Observed and @ObjectLink
Answers
D.
@State and @Prop
D.
@State and @Prop
Answers
Suggested answer: D
A.
Resource is a resource reference type that sets the value of a component's properties
A.
Resource is a resource reference type that sets the value of a component's properties
Answers
B.
refers to application resources in the form of 'Sr('app.type.name')', and the app represents the app resources directory, type represents the resource type (or the location where the resource is stored)
B.
refers to application resources in the form of 'Sr('app.type.name')', and the app represents the app resources directory, type represents the resource type (or the location where the resource is stored)
Answers
C.
Resource supports all data types
C.
Resource supports all data types
Answers
D.
system can load the appropriate Resource resources according to the current configuration, for example, developers can render different layout effects according to the screen size, or provide different strings according to the language settings
D.
system can load the appropriate Resource resources according to the current configuration, for example, developers can render different layout effects according to the screen size, or provide different strings according to the language settings
Answers
Suggested answer: C

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

A.
Numeric
A.
Numeric
Answers
B.
character
B.
character
Answers
C.
Boolean
C.
Boolean
Answers
D.
Numeric, character, boolean, and these 3 types of array types.
D.
Numeric, character, boolean, and these 3 types of array types.
Answers
Suggested answer: D

Which of the following components cannot contain subcomponents?

A.
Row
A.
Row
Answers
B.
Button
B.
Button
Answers
C.
Text
C.
Text
Answers
D.
LoadingProgress
D.
LoadingProgress
Answers
Suggested answer: D
Total 705 questions
Go to page: of 71