Huawei H14-231_V1.0 Exam Questions
HCIP-HarmonyOS Application Developer V1.0 (Page 9 )

Updated On: 17-Feb-2026

A developer defines an entity class Student.java and uses the following code to construct a teaching table:

Entity(tableName="student",ignoredColums =["ignoredColumn1"," ignoredColumn2", indices =(@Index(value =("firstName." ,"lastName",name="name_index", unique = true)))

Public class User extends OrmObject{

@PrimaryKey(autoGenerate= true)

Private Integer userld;

Private String firstName;

Private String lastName;

Private int age;

Private double balance;

Private int ignoredColumnl;

Private int ignoredColumn2;

}

Which of the following descriptions of this code is wrong?

  1. lgnoredColumns indicates that the field does not need to be added to the attributes of the student table
  2. lndices creates a composite index name_index for the firstName and 1astName fields
  3. The name of the data table is student
    The index value of the
  4. composite index name_index is not unique

Answer(s): D



Now a Text component is used as the title of a page, and Text needs to be set to be invisible, but it still occupies the current layout space, which of the following is correct?

  1. ohos:visibility= hide
  2. text.setVisibility(Component. VISIBLE)
  3. ohos:visibility=visible
  4. ohos: visibi1ity=invisible

Answer(s): D



The default size of shared memory in Harmony OS is ?

  1. 8M
  2. 4M
  3. 2M
  4. 1M

Answer(s): C



TaskDispatcher is the basic interface for Ability to distribute tasks, which hides the implementation details of the thread where the task is located. To ensure that the application is more responsive, we respond to the priority of the design task, which of the following is not the priority of the task?

  1. MIDDLE
  2. HIGH
  3. DEFAULT
  4. LOW

Answer(s): A



In order to test the distributed file service functions of application A and application B, the developer installs application A and application B on both device 1 and device 2. During the test, application A on device 1 creates a distributed file X, and application B on device 2 creates a distributed file Y.
Which of the following descriptions of this scenario is wrong?

  1. If Device 1 and Device 2 are logged in to different HarmonyoS accounts, distributed file sharing cannot be implemented
  2. If device 1 runs out of power and causes the device to go offline, distributed file X cannot be accessed
  3. With distributed file services, application A on device 1 is able to read and write file Y on device 2
  4. Application A and Application B need to apply for ohos.permission.DISTRIBUTED_DATASYNC permissions to use the full functionality of the distributed file service

Answer(s): C






Post your Comments and Discuss Huawei H14-231_V1.0 exam dumps with other Community members:

Join the H14-231_V1.0 Discussion