Huawei H14-231_V1.0 HCIP-HarmonyOS Application Developer V1.0 Exam Practice Test

Page: 1 / 14
Total 699 questions
Question 1

Relational databases provide the ability to add, delete, modify, and query local data.



Answer : B, C


Question 2

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?



Answer : A


Question 3

Operations such as the display and update of the UI interface are carried out on the main thread, so the main thread is also called the UI thread.



Answer : A


Question 4

A developer is developing an alarm clock application, which of the following components can be used to set the hour, minute, and second of the alarm clock?



Answer : D


Question 5

The Minimalist Protocol is a communication protocol customized by HarmonyOS, which layers of the traditional communication protocol are simplified?



Answer : A, D


Question 6

When a developer designs a JavaScript login page, he needs to use Internal Ability to call Data Abiliity to verify the username and password, which of the following can be modified to complete the function?

const ABILITY_TYPE_EXTERNAL=0;

var action=0;

action.bundleName="com.huawei.loginservice"; action.abilityName="com.huawei.loginservice.LoginDataAbility";

action.messageCode=ACTION_MESSAGE_CODE_PLUS;

action.data=actionData;

action.abilityType=ABILITY_TYPE_EXTERNAL; action.syncOption=ACTION_SYNC;

var result=await

FeatureAbility.callAbility(action);



Answer : A, C


Question 7

The lightweight preference database is a non-relational database, which mainly provides lightweight key-value operations and supports local applications to store a large amount of data. If a HarmonyOS developer uses a lightweight preference database to save data, the data will be stored in a local file and will not be loaded into memory.



Answer : B


Page:    1 / 14   
Total 699 questions