Winter Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exc65

The logs queried by a developer are as follows. HiLog.warn(LABEL, "Failed to visit %(private) s,reason:%(public}d.",url, exrno); What kind of level does the log belong to?

A.

WARN

B.

FalseCode()

C.

INFO

D.

DEBUG

If a developer wants to develop an application on a smart screen, which of the following subsystems will he use?

A.

DV subsystem

B.

Proprietary business subsystem of smart screen

C.

Media Subsystem

D.

Safety subsystem

When a developer uses the Text component for development, due to the long length of the input string, the content in the middle of the text needs to be truncated with ellipses. Which of the following codes can be used to achieve the above requirements?

A.

ohos:truncation_mode=ellipsis_at_start

B.

ohos: truncation_mode=auto_scrolling

C.

ohos:truncation_mode=ellipsis_at_middle

D.

ohos:truncation_mode=ellipsis_at_end

When a developer calls HarmonyOS Abi1ity Resources (HAR) in an application module, he or she needs to merge the config.json file of HAP and the config.json file of HAR into a single config.json file when compiling and building a HarmonyS Ability Package (HAP). During the merging process, under what circumstances will the values of tags conflict?

A.

HAP has no label value; The HAR has a tag value, and the value can be B

B.

HAP has a label value, and the value is A; HAR has no label value

C.

NeitherHAP nor HAR had labeled values

D.

HAP has a label value, and the value is A. The HAR has a tag value, and the value can be B

Which of the following descriptions of the HarmonyOSclipboard function is correct?

A.

Only clipping is supported

B.

can be copied and pasted into app B in app A

C.

can be copied in application A, but not pasted in application B

D.

Only replication is supported

Developers will use the UI framework provided by Harmony OS when developing mobile phone pages, which of the following is not a UI framework?

A.

layout

B.

Cross-device call

C.

Graphical controls

D.

Window Management Framework

Which of the following products belongs to the security products in the smart homeecology?

A.

Large-screen refrigerator

B.

smart door lock

C.

Rice cooker

D.

Water heater

Which of the following subsystems does a developer use when using the facial recognition feature of HarmonyOS?

A.

Multi-mode input subsystem

B.

Media Subsystem

C.

Safety subsystem

D.

Graphics subsystem

A developer now needs to make a motion track recording application, which can report the user's location information in real time. Which of the following is correct?

A.

Use RequestParam.SCENE_TRAJECTORY_TRACKINGsettings to locate the scene

B.

Apply for the ohos.permission.LOCATION permission only in config.json

C.

dynamically requests user authorization only in the codeohos.permission.LOCATION

D.

Use RequestParam.SCENE_NO_POWER settings to locate the scene

When the system creates a page instance for the first time, which method will be called?

A.

onForeground()

B.

onInactive()

C.

onActive()

D.

onStart()

When the page loses focus, which of the following callback methods will be called bythe system to make it enter the INACTIVE state?

A.

onStart

B.

onActive

C.

onBackground

D.

onInactive

In the HarmonyOS system architecture, which of the following can shield the differences between multiple cores and provide basic kernel capabilities for the upper layer?

A.

Ability

B.

KAL (Kernel Abstract Layer)

C.

UI

D.

HDF (Hardware Driver Foundation)

When the user clicks on a song from the music list page and jumps to the playback interface of the song, the principle is that the page route routes to the destination page according to which of the following?

A.

router.push

B.

router.back

C.

uri

D.

intent

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?

A.

lgnoredColumns indicates that the field does not need to be added to the attributes of the student table

B.

lndices creates a composite index name_index for the firstName and 1astName fields

C.

The name of the data table is student

The index value of the

D.

composite index name_index is not unique

When a developer designs a news browsing application, he needs to achieve the effect that the news list and news details are not displayed on the same page, which of the following needs to be created by the developer?

A.

0 Page Ability, 3 AbilitySlice

B.

1 Page Ability, 2 AbilitySlice

C.

3 Page Ability, 1 AbilitySlice

D.

2 Page Ability, 1 AbilitySlice