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

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

Question list
Search
Search

Related questions











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

A.
delay is set to 0
A.
delay is set to 0
Answers
B.
tempo is set to 1
B.
tempo is set to 1
Answers
C.
iterations set to -1
C.
iterations set to -1
Answers
D.
playMode is set to PlayMode.Reverse
D.
playMode is set to PlayMode.Reverse
Answers
Suggested answer: C

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

A.
The default value of tempo is 1.0
A.
The default value of tempo is 1.0
Answers
B.
parameter delay cannot be greater than duration
B.
parameter delay cannot be greater than duration
Answers
C.
parameter curve can be left unset
C.
parameter curve can be left unset
Answers
D.
parameter iterations can be left unset
D.
parameter iterations can be left unset
Answers
Suggested answer: B

Which of the following permissions is required to initiate a network request using HTTP?

A.
ohos.permission.USE_BLUETOOTH
A.
ohos.permission.USE_BLUETOOTH
Answers
B.
ohos.permission.INTERNET
B.
ohos.permission.INTERNET
Answers
C.
ohos.permission.REQUIRE_FORM
C.
ohos.permission.REQUIRE_FORM
Answers
D.
ohos.permission.LOCATION
D.
ohos.permission.LOCATION
Answers
Suggested answer: B

Which of the following request methods is appropriate to submit form data to the server?

A.
RequestMethod.GET
A.
RequestMethod.GET
Answers
B.
RequestMethod.POST
B.
RequestMethod.POST
Answers
C.
RequestMethod.PUT
C.
RequestMethod.PUT
Answers
D.
RequestMethod.DELETE
D.
RequestMethod.DELETE
Answers
Suggested answer: B

Which of the following properties about Web components is incorrect?

A.
Set whether to enable the access of the Chinese system of the application, which is enabled by default. Access to files in the rawfile path in $rawfile(filepath/filename) is not affected by this attribute.
A.
Set whether to enable the access of the Chinese system of the application, which is enabled by default. Access to files in the rawfile path in $rawfile(filepath/filename) is not affected by this attribute.
Answers
B.
imageAccess specifies whether to allow automatic loading of image resources, which is allowed by default.
B.
imageAccess specifies whether to allow automatic loading of image resources, which is allowed by default.
Answers
C.
javaScriptAccess is set to whether to allow JavaScript script execution, which is not allowed by default.
C.
javaScriptAccess is set to whether to allow JavaScript script execution, which is not allowed by default.
Answers
D.
zoomAccess sets whether to support gesture zoom, which is allowed by default.
D.
zoomAccess sets whether to support gesture zoom, which is allowed by default.
Answers
Suggested answer: C

Regarding the ResponseCode returned by the request, which of the following descriptions is incorrect?

A.
A ResponseCode.OK has a value of 200, indicating that the request is successful. It is generally used for GET and POST requests.
A.
A ResponseCode.OK has a value of 200, indicating that the request is successful. It is generally used for GET and POST requests.
Answers
B.
A value of 404 for the B ResponseCode.NOT_FOUND indicates that the server was unable to locate the resource (web page) based on the client's request.
B.
A value of 404 for the B ResponseCode.NOT_FOUND indicates that the server was unable to locate the resource (web page) based on the client's request.
Answers
C.
A value of 500 for the C ResponseCode.INTERNAL_ERROR indicates an internal server error and the request could not be completed.
C.
A value of 500 for the C ResponseCode.INTERNAL_ERROR indicates an internal server error and the request could not be completed.
Answers
D.
A value of 404 indicates that the resource requested by the client no longer exists.
D.
A value of 404 indicates that the resource requested by the client no longer exists.
Answers
Suggested answer: D

Which package is imported using the preferences?

A.
@ohos.data.rdb
A.
@ohos.data.rdb
Answers
B.
@ohos.data.preferences
B.
@ohos.data.preferences
Answers
C.
@ohos.router
C.
@ohos.router
Answers
D.
@ohos.data.storage
D.
@ohos.data.storage
Answers
Suggested answer: B

Where is the data of the preference placed after persistence?

A.
In memory
A.
In memory
Answers
B.
database table
B.
database table
Answers
C.
file
C.
file
Answers
D.
Cloud
D.
Cloud
Answers
Suggested answer: C

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

A.
get()
A.
get()
Answers
B.
update()
B.
update()
Answers
C.
put()
C.
put()
Answers
D.
flush()
D.
flush()
Answers
Suggested answer: B

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

A.
SlotType.SOCIAL_COMMUNICATION
A.
SlotType.SOCIAL_COMMUNICATION
Answers
B.
SlotType.SERVICE_INFORMATION
B.
SlotType.SERVICE_INFORMATION
Answers
C.
SlotType.CONTENT_INFORMATION
C.
SlotType.CONTENT_INFORMATION
Answers
D.
SlotType.OTHER_TYPES
D.
SlotType.OTHER_TYPES
Answers
Suggested answer: A
Total 705 questions
Go to page: of 71