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

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

Question list
Search
Search

List of questions

Search

Related questions











The distributed soft bus is the base for communication between various devices, which of the following does not belong to the bus hub of the distributed soft bus?

A.
Data and Computing Center
A.
Data and Computing Center
Answers
B.
Decision-making centre
B.
Decision-making centre
Answers
C.
Task Bus
C.
Task Bus
Answers
D.
Interconnection Management Center
D.
Interconnection Management Center
Answers
Suggested answer: C

When a developer is developing an online education application, in order to improve the user experience, if the user Answer:s the question correctly, a dialog box of 'Congratulations on the correct Answer:' will pop up at the top of the window.

A.
ToastDialog
A.
ToastDialog
Answers
B.
Picker
B.
Picker
Answers
C.
ScrollView
C.
ScrollView
Answers
D.
PageSlider
D.
PageSlider
Answers
Suggested answer: A

Which of the following does not belong to the application framework layer in the Harmony OS system architecture?

A.
UI
A.
UI
Answers
B.
Distributed data management
B.
Distributed data management
Answers
C.
User Program Framework
C.
User Program Framework
Answers
D.
Ability
D.
Ability
Answers
Suggested answer: B

A developer has developed a news browsing application, and the news list page is displayed by default when the application is opened, which of the following methods does the developer use to achieve this function?

A.
Intent()
A.
Intent()
Answers
B.
setMainRoute()
B.
setMainRoute()
Answers
C.
addActionRoute()
C.
addActionRoute()
Answers
D.
onStart()
D.
onStart()
Answers
Suggested answer: C

When using the capabilities or data of the corresponding service, you need to apply for the corresponding permissions, and the non-sensitive permissions need to be declared in which field of config.json?

A.
reqPermissions
A.
reqPermissions
Answers
B.
requestPermissions
B.
requestPermissions
Answers
C.
defPermissions
C.
defPermissions
Answers
D.
canRequestPermissions
D.
canRequestPermissions
Answers
Suggested answer: A

A developer is writing a piece of code to control the access rights of an Ability

Apps with the ohos.permission.CAMERA permission can access this ability. The relevant code completed by the developer in config.json is as follows:

'abilities': [

{

'name': '. MainAbility',

'description':

'Sstring:description_main_abi1ity',

'icon' : '$media:hiworld.png',

'label': 'HiCamera',

'1aunchType': 'standard',

'orientation': 'portrait',

'visible': false,______________________________

} ]

Which of the following should the developer add to the horizontal line?

A.
'permissions': [ 'ohos.permission.CAMERA' ]
A.
'permissions': [ 'ohos.permission.CAMERA' ]
Answers
B.
'defPermissions':[ {'ohos.permission.CAMERA'}]
B.
'defPermissions':[ {'ohos.permission.CAMERA'}]
Answers
C.
'reqPermissions': [ { 'ohos.permission.CAMERA''}]
C.
'reqPermissions': [ { 'ohos.permission.CAMERA''}]
Answers
D.
'permissions': [ 'ohos.permission.LOCATION']
D.
'permissions': [ 'ohos.permission.LOCATION']
Answers
Suggested answer: A

When a user uses the device camera to flip a blurry text file, he expects the camera app to provide a plug-in to improve the recognition of the text. Which of the following HarmonyOS service features is best suited to meet the needs of this user?

A.
Keyword extraction
A.
Keyword extraction
Answers
B.
Document detection and correction
B.
Document detection and correction
Answers
C.
General character recognition
C.
General character recognition
Answers
D.
Image text is super-resolved
D.
Image text is super-resolved
Answers
Suggested answer: C

When a developer develops a JavaScript application on the smart screen,Want to do some static animation,If you want to move a component in the horizontal direction by 200px,Which of the following style configurations is correct?

A.
transform: scaleX(200px)
A.
transform: scaleX(200px)
Answers
B.
transform:rotateX(200px)
B.
transform:rotateX(200px)
Answers
C.
transform: translatex(200px)
C.
transform: translatex(200px)
Answers
D.
transform: translateY(200px)
D.
transform: translateY(200px)
Answers
Suggested answer: C

When designing the application, the developer added a Text component and a Button component, and the development sample is shown below. What layout does the developer not have to choose to place the components?

A.
StackLayout
A.
StackLayout
Answers
B.
DependentLayout
B.
DependentLayout
Answers
C.
DirectionalLayout
C.
DirectionalLayout
Answers
D.
TableLayout
D.
TableLayout
Answers
Suggested answer: A

When a developer clicks the exit button of an application to release Page Ability resources, which callback method in the Page Ability lifecycle will be triggered?

A.
onForeground()
A.
onForeground()
Answers
B.
onStop()
B.
onStop()
Answers
C.
onInactive()
C.
onInactive()
Answers
D.
onBackground()
D.
onBackground()
Answers
Suggested answer: B
Total 705 questions
Go to page: of 71