For example, we have a file in our raw folder app/src/main/res/raw/sample_teas.json. To get an InputStream for reading it, from out Context context, we can do this:
A. val input = context!!.openRawResource(R.raw.sample_teas)
B. val input = context!!.getRawResource(R.raw.sample_teas)
C. val input = context!!.resources.openRawResource(R.raw.sample_teas)
What is demonstrated by the code below?
// RawDao.kt@Daointerface RawDao {
@RawQueryfun getUserViaQuery(query: SupportSQLiteQuery?): User?}
// Usage of RawDao
...
val query =
SimpleSQLiteQuery("SELECT * FROM User WHERE id = ? LIMIT 1",
arrayOf
A. A method in a Dao annotated class as a raw query method where you can pass the query as a SupportSQLiteQuery.
B. A method in a Dao annotated class as a query method.
C. A method in a RoomDatabase class as a query method.

What is illustrated in the picture?
A. Logcat window with filter settings
B. Debugging native code using LLDB
C. The Variables and Watches panes in the Debugger window
D. The Breakpoints window lists all the current breakpoints and includes behavior settings for each
E. Adding a watchpoint to a variable in memory
The Log class allows you to create log messages that appear in logcat. Generally, you could use the following log methods: (Choose five.)
A. Log.e(String, String) (error)
B. Log.a(String, String) (all outputs)
C. Log.w(String, String) (warning)
D. Log.i(String, String) (information)
E. Log.q(String, String) (questions)
F. Log.d(String, String) (debug)
G. Log.v(String, String) (verbose)
In a class extended PreferenceFragmentCompat. What method is used to inflate the given XML resource and add the preference hierarchy to the current preference hierarchy?
A. findPreference
B. getPreferenceManager
C. addPreferencesFromResource
D. setPreferenceScreen
If you added to your build.gradlefile a room.schemaLocation:
android {defaultConfig {javaCompileOptions {annotationProcessorOptions {arguments = ["room.schemaLocation": "$projectDir/schemas".toString()]}}}}
Then, you build your app or module.
As a result you got a json file, with such path to it:
app/schemas/your_app_package/db_package/DbClass/DB_VERSION.json
What are the correct statements about this file? (Choose all that apply.)
A. It's a file with Room-exported schema
B. Main JSONObject in this file usually should contain a number "formatVersion" and a JSONObject "database"
C. The JSONObject "database" in this file usually should contain such objects, like "entities", "views", "setupQueries", ets.
Which build options in the Build menu to choose to delete all intermediate/cached build files.
A. Make Module
B. Generate Signed Bundle / APK
C. Rebuild Project
D. Clean Project
E. Make Project
What is the placeholder tag
A. To mark text that should not be translated.
B. To raise a translation priority to a higher level
C. To raise a quantity of translations for the string
D. To pick up and move sting translation from a different resource file
Content labels. What attribute to use to indicate that a View should act as a content label for another View?
A. android:contentDescription
B. android:hint
C. android:labelFor
Android uses adapters (from the Adapter class) to connect data with View items in a list. There are many different kinds of adapters available, and you can also write custom adapters. To connect data with View items, the adapter needs to know about the View items. From what is extended the entity that is usually used in an adapter and describes a View item and its position within the RecyclerView?
A. RecyclerView.AdapterDataObserver
B. RecyclerView.ItemDecoration
C. RecyclerView.ViewHolder
D. RecyclerViewAccessibilityDelegate