6th SEM QB-MAD
6th SEM QB-MAD
6th SEM QB-MAD
Module 1:
Module 2:
1. Design and Implement a simple Activity with two EditText for reading two numbers and
Button to perform addition and display the result in a TextView.
2. Write the XML code snippet with important attributes for:
a. Image Button
b. Floating Action Button
c. Checkbox
3. Design and implement a simple Autocomplete TextView for the following string suggestion.
String[] city={“Bengal”, “Bangalore”, “Bangladesh”,”Bellary”}.
4. Design a simple toggle button and explain the use of textOff and textOn attributes on toggle
button.
[Ref Link: https://abhiandroid.com/ui/togglebutton]
5. Design and implement a simple text spinner to load values like:
1. What are the different data types available in Kotlin? Explain with
examples.
2. Explain simple control statement in kotlin.
3. With simple examples, explain the following in kotlin.
a. Classes and Objects
b. Interfaces
c. Generics
d. Enums