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

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

Question list
Search
Search

List of questions

Search

Related questions











When a user is on a video call,Want to migrate the mobile phone video to the smart screen for playback,When clicking Migrate,Find that the smart screen is already in the optional list,What are the correct descriptions of the scene?

A.
It embodies the characteristics of extremely fast transmission of distributed soft bus
A.
It embodies the characteristics of extremely fast transmission of distributed soft bus
Answers
B.
requires the mobile phone and the smart screen to be under the same LAN
B.
requires the mobile phone and the smart screen to be under the same LAN
Answers
C.
embodies the self-discovery function of the distributed soft bus
C.
embodies the self-discovery function of the distributed soft bus
Answers
D.
mobile phones and smart screens can make different Huawei accounts
D.
mobile phones and smart screens can make different Huawei accounts
Answers
Suggested answer: A, B, C

There is an application A that occupies a large amount of memory and a background service B on the mobile phone, but there is no binding relationship between the two. What are the following scenarios that may cause Service B to be stopped?

A.
App A calls onCommand() to stop service B
A.
App A calls onCommand() to stop service B
Answers
B.
applies A to call stopAbility() to stop service B
B.
applies A to call stopAbility() to stop service B
Answers
C.
service B calls terminateAbility() by itself
C.
service B calls terminateAbility() by itself
Answers
D.
The system is tight on memory and slow to respond
D.
The system is tight on memory and slow to respond
Answers
Suggested answer: B, C, D

In order to put a series of related download tasks into a task group, a developer uses the following code:

String dispatcherName =

'parallelTaskDispatcher';

TaskDispatcher dispatcher =

createParallelTaskDispatcher(dispatcherName,TaskPriority.DEFAULT);

Group group

=dispatcher.createDispatchGroup();

dispatcher.asyncGroupDispatch(group,new

Runnable(){

@Override

public void run(){

HiLog.info(LABEL_LOG,'download taskl is

running ');

}

});

dispatcher.groupDispatchlotify(group,new

Runnable(){

@0verride

public void run(){

HiLog.info(LABEL_L0G,'the close task2 is

running');

}

});

dispatcher.groupDispatchlotify(group,new

Runnable(){

@Override

public void run(){

HiLog.info(LABEL_L0G, 'the close task is

running after all tasks in the group are

completed');

}

});

If the developer runs this code, which of the following results might occur?

A.
the close task is running after all tasks in the group are completed download task1 is running download task2 is running
A.
the close task is running after all tasks in the group are completed download task1 is running download task2 is running
Answers
B.
download task1 is running the close task is running after all tasks in the group are completed dowmload task2 is running
B.
download task1 is running the close task is running after all tasks in the group are completed dowmload task2 is running
Answers
C.
download task1 is running download task2 is running the close task is running after all tasks in the group are completed
C.
download task1 is running download task2 is running the close task is running after all tasks in the group are completed
Answers
D.
download task2 is running download task1 is running the close task is running after all tasks in the group are completed
D.
download task2 is running download task1 is running the close task is running after all tasks in the group are completed
Answers
Suggested answer: C, D

What are the following scenarios that belong to the public events of the system?

A.
System upgrade
A.
System upgrade
Answers
B.
Customize the lights off time
B.
Customize the lights off time
Answers
C.
Network connection
C.
Network connection
Answers
D.
USB plugging and unplugging
D.
USB plugging and unplugging
Answers
Suggested answer: A, C, D

Which of the following descriptions of the global concurrent task distributor and the concurrent task distributor is correct?

A.
Concurrent task distributor is globally unique
A.
Concurrent task distributor is globally unique
Answers
B.
Global concurrent task dispatcher, obtained by Ability by executing getGlobalTaskDispatcher().
B.
Global concurrent task dispatcher, obtained by Ability by executing getGlobalTaskDispatcher().
Answers
C.
The global concurrent task distributor is globally unique
C.
The global concurrent task distributor is globally unique
Answers
D.
Concurrent task dispatcher, created by Ability to execute createParallelTaskDispatcher() and returned
D.
Concurrent task dispatcher, created by Ability to execute createParallelTaskDispatcher() and returned
Answers
Suggested answer: B, C, D

A developer needs to use the emulator in DevEco Studio, click to log in to the emulator and enter your HUAWEI ID, and the browser will directly jump to the real-name authentication interface. What are the reasons for this problem?

A.
has just completed real-name authentication, but the authentication has not yet taken effect
A.
has just completed real-name authentication, but the authentication has not yet taken effect
Answers
B.
used the Chrome browser
B.
used the Chrome browser
Answers
C.
HUAWEI ID does not have real-name authentication
C.
HUAWEI ID does not have real-name authentication
Answers
D.
The account is not registered
D.
The account is not registered
Answers
Suggested answer: A, C

A software development engineer will debug a piece of code, which of the following methods can be used?

A.
Click Attach Debugger to Process
A.
Click Attach Debugger to Process
Answers
B.
Click Debug
B.
Click Debug
Answers
C.
Use the shortcut key Shift+F9
C.
Use the shortcut key Shift+F9
Answers
D.
Use the shortcut key Shift+F10
D.
Use the shortcut key Shift+F10
Answers
Suggested answer: A, B, C

Knowing the variable int a=123, which of the following codes can successfully print the value of variable a in the console?

A.
HiLog.info(LABEL,String.format('a =%d',a));
A.
HiLog.info(LABEL,String.format('a =%d',a));
Answers
B.
HiLog.info(LABEL,'a=%(public)d',a);
B.
HiLog.info(LABEL,'a=%(public)d',a);
Answers
C.
HiLog.info(LABEL,'a =%d',a);
C.
HiLog.info(LABEL,'a =%d',a);
Answers
D.
HiLog.info(LABEL,'a =%{private}d',a);
D.
HiLog.info(LABEL,'a =%{private}d',a);
Answers
Suggested answer: A, B, D

Which of the following subsystems in HarmonyOS belongs to the Enhanced Software Services subsystem?

A.
Wearable business subsystem
A.
Wearable business subsystem
Answers
B.
Sign-in service subsystem
B.
Sign-in service subsystem
Answers
C.
Smart large-screen business subsystem
C.
Smart large-screen business subsystem
Answers
D.
Media subsystem
D.
Media subsystem
Answers
Suggested answer: A, C

If a developer wants to implement the page swiping function in an application, which of the following components can be used to implement the function?

A.
Picker
A.
Picker
Answers
B.
ListContainer
B.
ListContainer
Answers
C.
Switch
C.
Switch
Answers
D.
ScrollView
D.
ScrollView
Answers
Suggested answer: A, B, D
Total 705 questions
Go to page: of 71