Search Header Logo

Trắc nghiệm di động

Authored by Đạt Bế

Other

University

Used 3+ times

Trắc nghiệm di động
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Trình bày một thông điệp ngắn gọn cho người sử dụng, thường được hiển thị như một cửa sổ nhỏ, che khuất một phần màn hình thiết bị. Và có một số lựa chọn cho người dùng, đó là:

AlertDialog

Toast View

Notification

ShowView

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Giả sử người ta có RadioGroup gồm nhiều RadioButton, để kiểm tra trạng thía chọn của mỗi RadioButton, ta thường sử dụng cấu trúc nào ?

For( ; ; )

Switch.....Case.... hoặc if....else.....

loop....until...

While()

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Thuộc tính nào sau đây dùng để thay đổi độ cao của một đối tượng

Android:layout_width

Android:layout_height

Android:layout_gravity

Android:layout_margin

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Để viết sự kiện khi click vào một trong Listview có tên lvdanhsach, ta sử dụng phương thức:

lvdanhsach.setItemChecked()

lvdanhsach.setItemCanFocus()

lvdanhsach.setOnItemClickListener()

lvdanhsach.setOnLickListener()

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Để thiết lập Tiêu đề hiển thị hoặc icon cho một TabSpec spec, ta thường gọi đến phương thức:

spec=tab.newTabSpec("t1");

spec.setContent(R.id.tad1);

spec.setIndicator("Calculator");

tab.addTab(spec);

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Layout sử dụng cho màn hình chính của TabSeclector là gì ?

LinearLayout

FrameLayout

TableLayout

RelativeLayout

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Khi đăng ký BroadcastReceiver, nếu ta đăng ký trong....... của Activity: Khi tắt Activity thì Receiver không còn hoạt động nữa

onCreate()

onResume()

onReceive()

onPause()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?