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
Quiz Final

Quiz
•
1st - 5th Grade
15 questions
Quiz OCT

Quiz
•
1st - 3rd Grade
15 questions
ID&V Procedure Quiz part 2

Quiz
•
1st - 2nd Grade
15 questions
Compliance Door to Door

Quiz
•
1st Grade - Professio...
6 questions
ROUND 4 - Aula DEV

Quiz
•
1st - 12th Grade
12 questions
Capa Semana 10 al 14 de Mayo

Quiz
•
1st - 5th Grade
10 questions
MacBook 2019

Quiz
•
1st Grade
5 questions
CTPAT

Quiz
•
1st - 3rd Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Professional Development
20 questions
addition

Quiz
•
1st - 3rd Grade
20 questions
Subject and predicate in sentences

Quiz
•
1st - 3rd Grade
20 questions
Addition and Subtraction facts

Quiz
•
1st - 3rd Grade
20 questions
Place Value

Quiz
•
KG - 3rd Grade
10 questions
Exploring Properties of Matter

Interactive video
•
1st - 5th Grade
10 questions
Odd and even numbers

Quiz
•
1st - 2nd Grade
10 questions
Exploring the 5 Regions of the United States

Interactive video
•
1st - 5th Grade
7 questions
Parts of Speech

Lesson
•
1st - 12th Grade