Android Java Programming - Q2

Quiz
•
Professional Development
•
1st Grade
•
Medium
Yusuf Rizal
Used 5+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sebagai seorang android developer, untuk mengubah ukuran font pada teks dalam layout Anda menggunakan atribut "android:textSize". Manakah yang merupakan rekomendasi penulisan syntax untuk mengubah ukuran font menjadi 18 ?
android:textSize="18sp"
android:textSize="18dp"
android:textSize="18point"
android:textSize="18sd"
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Pernyataan yang benar mengenai potongan kode pada gambar adalah .....
Menciptakan hidden Intent
Menciptakan implicit Intent
Menciptakan explicit Intent
Memulai sebuah activity baru
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Method apa yang anda gunakan untuk mengambil referensi ke Android View dengan menggunakan atribut id dari resources XML ?
findViewByReference(int id)
findViewById(int id)
retrieveResourceById(int id)
findViewById(String id)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Perhatikan potongan kode pada gambar yang tersedia!
Manakah kode yang benar untuk menggantikan
Toast.LENGTH_LONG
Toast.shortTime
Toast.longTime
Toast.Time
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Standar tampilan posisi Toast adalah muncul pada bagian bawan screen dan berada ditengah screen secara horizontal.
Apa cara untuk mengubah posisi toast tersebut ?
Toast.coordinat
Toast.position
Toast.location
Toast.setGravity
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Baris kode manakah yang digunakan untuk menambahkan click listener kedalam sebuah komponen button .....
setOnClickListener
setOnItemClickListener
setOnItemClicked
setOnListItemClickListener
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah pernyataan yang tidak tepat mengenai class Toast .....
Anda dapat mengatur tata letak secara custom untuk Toast
Anda tidak perlu menutup atau menyembunyikan Toast, karena dapat menutup secara otomatis
Sebuah Toast hanya dapat dibuat oleh class Activity
Toast ditampilkan hanya untuk salah satu periode berikut: Toast.LENGTH_SHORT atau Toast.LENGTH_LONG
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Build Web Apps - Quiz 2

Quiz
•
1st - 2nd Grade
10 questions
Kuis Awal Pembelajaran

Quiz
•
1st - 5th Grade
10 questions
Company Overview-Mix

Quiz
•
1st Grade
12 questions
Desarrollo Spring Boot

Quiz
•
1st - 3rd Grade
14 questions
QA Test (виды, REST, DB)

Quiz
•
1st Grade
8 questions
Code of Conduct Quiz

Quiz
•
1st - 3rd Grade
10 questions
Fixed Voice & VAS

Quiz
•
1st Grade
10 questions
Google Meet

Quiz
•
1st Grade - University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade