ExamGecko
Home / Huawei / H14-231_V1.0 / List of questions
Ask Question

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

List of questions

Question 491

Report
Export
Collapse

The following description of the basic components of the ArkTS declarative development paradigm is correct

Decorator: Used to decorate classes, structs, methods, and variables to give them a special meaning, e.g. @Entry indicates that this is an entrance component.
Decorator: Used to decorate classes, structs, methods, and variables to give them a special meaning, e.g. @Entry indicates that this is an entrance component.
Custom components: Reusable UI units that can be combined with other components.
Custom components: Reusable UI units that can be combined with other components.
UI Description: A declarative method to describe the structure of the UI, such as a code block in the build() method.
UI Description: A declarative method to describe the structure of the UI, such as a code block in the build() method.
Built-in components: Built-in basic components and layout components in ArkTS by default, such as Column, Text, Divider, Button, etc., can be called by developers.
Built-in components: Built-in basic components and layout components in ArkTS by default, such as Column, Text, Divider, Button, etc., can be called by developers.
attribute method: used to configure component attributes, which are set through attribute methods, such as fontSize(), width(), height(), color(), etc.
attribute method: used to configure component attributes, which are set through attribute methods, such as fontSize(), width(), height(), color(), etc.
Event method: It is used to add the component's response logic to the event, which is set through the event method, such as onClick() following the Button.
Event method: It is used to add the component's response logic to the event, which is set through the event method, such as onClick() following the Button.
Suggested answer: A, B, C, D, E, F
asked 18/09/2024
Nghia To Duc
53 questions

Question 492

Report
Export
Collapse

Regarding the Tabs component and the TabContent component, the following description is correct

TabContent component does not support setting a generic width property, and its width is equal to the barWidth property of the Tabs component.
TabContent component does not support setting a generic width property, and its width is equal to the barWidth property of the Tabs component.
The TabContent component does not support setting the general height attribute, and its height is determined by the height of the parent Tabs and the height of the TabBar component.
The TabContent component does not support setting the general height attribute, and its height is determined by the height of the parent Tabs and the height of the TabBar component.
TabsController is used to control tabs to switch between tabs, and does not support one tabscontroller to control multiple tabs.
TabsController is used to control tabs to switch between tabs, and does not support one tabscontroller to control multiple tabs.
The tabBar property of the TabContent component supports components generated using the @Builder constructor.
The tabBar property of the TabContent component supports components generated using the @Builder constructor.
Suggested answer: A, B, C, D
asked 18/09/2024
Shrini Ch
30 questions

Question 493

Report
Export
Collapse

The description of the ForEach(arr,itemGenerator,index) component is correct

ForEach can loop through logical code, such as console.info ('hello').
ForEach can loop through logical code, such as console.info ('hello').
The first parameter must be an array, providing a data source for circular rendering.
The first parameter must be an array, providing a data source for circular rendering.
The second parameter generates the lambda function of the child component, which generates the child component for each array item in the data source.
The second parameter generates the lambda function of the child component, which generates the child component for each array item in the data source.
The third parameter is an anonymous function that generates a unique and stable key value for a given array item.
The third parameter is an anonymous function that generates a unique and stable key value for a given array item.
Suggested answer: B, C, D
asked 18/09/2024
Martijn Pollmann
36 questions

Question 494

Report
Export
Collapse

Which of the following properties can be used for components that contain text elements, such as Text, Button, TextInput, etc.?

fontColor
fontColor
fontSize
fontSize
fontStyle
fontStyle
fontWeight
fontWeight
fontFamily
fontFamily
Suggested answer: A, B, C, D, E
asked 18/09/2024
Benjamin Colart
47 questions

Question 495

Report
Export
Collapse

Which of the following component hierarchies are correct

Text>Span
Text>Span
Button>Column>Image
Button>Column>Image
Button>Image>Text
Button>Image>Text
Image>Text>Span
Image>Text>Span
Column>Row>Button
Column>Row>Button
Suggested answer: A, B, E
asked 18/09/2024
Alex Bu
45 questions

Question 496

Report
Export
Collapse

How do I create a new project in DevEco Studio?

Create a new file on your computer and name it 'new harmonyOS project'
Create a new file on your computer and name it 'new harmonyOS project'
If you have a project open, select 'file>new>Create Project from the DevEco Studio menu
If you have a project open, select 'file>new>Create Project from the DevEco Studio menu
If you open DevEco Studio for the first time, click 'Create new Project' on the welcome page
If you open DevEco Studio for the first time, click 'Create new Project' on the welcome page
Create a new project without having to rename it
Create a new project without having to rename it
Suggested answer: B, C
asked 18/09/2024
Orenthial Johnson
31 questions

Question 497

Report
Export
Collapse

Which of the following information is included in the module.json5 configuration file?

ability
ability
Module Name
Module Name
The version number of the app
The version number of the app
Module type
Module type
Suggested answer: A, B, D
asked 18/09/2024
Junwei Li
37 questions

Question 498

Report
Export
Collapse

Which of the following functions is a lifecycle function for a custom component?

aboutToAppear
aboutToAppear
aboutToDisappear
aboutToDisappear
onPageShow
onPageShow
onPageHide
onPageHide
onBackPress
onBackPress
Suggested answer: A, B, C, D, E
asked 18/09/2024
Larry Wong
34 questions

Question 499

Report
Export
Collapse

Which of the following decorators can be used to manage the state of variables in custom components?

@Component
@Component
@Entry
@Entry
@State
@State
@Link
@Link
Suggested answer: C, D
asked 18/09/2024
Ehsan Ali
40 questions

Question 500

Report
Export
Collapse

API9 and above, router.pushUrl() method mode parameter can be configured to which of the following modes used by the jump page?

Standard
Standard
Single
Single
Specified
Specified
None of the above is true
None of the above is true
Suggested answer: A, B
asked 18/09/2024
dennis schouwenaars
35 questions
Total 705 questions
Go to page: of 71