Android Development Practice Test

0%

What is the most recent Android smartphone version?

Correct! Wrong!

Explanation:
Google's Android Lollipop is the fifth major version of the Android smartphone operating system. Android's 12th version, with versions ranging from 5.0 to 5.1.1. On June 25, 2014, at the Google I/O conference, it was unveiled. On November 12, 2014, it was made accessible to select users via official over-the-air updates from the Google I/O 2014 conference. Devices that run Google-supported Android distributions

Which of these aren't included in Android's native libraries?

Correct! Wrong!

Explanation:
Dalvik is a deprecated process virtual machine in the Android operating system that runs Android-specific applications. Dalvik was a critical component of the Android software stack in Android versions 4.4 "KitKat" and before, which were widely used on mobile devices such as smartphones and tablets, as well as smart TVs and wearables.

What is the activity's parent class?

Correct! Wrong!

Explanation:
ContextThemeWrapper adds theming functionality to a Context; otherwise, no theme can be applied to Views. You are the creator. That's why, for example, Activity layouts support themes but widget layouts don't. Additionally, you can make your own ContextThemeWrapper to replace the existing theme with a different one.

What is Java bytecode compiled into while developing an Android app?

Correct! Wrong!

Explanation:
Dalvik bytecode is made up of a single.dex file that contains all of the application's classes.

Which of the following kernels is used by Android?

Correct! Wrong!

Explanation:
The Linux kernel is a Unix-like operating system kernel that is free and open-source, monolithic, modular, and multitasking.Linus Torvalds invented and developed it in 1991 for his i386-based PC, and it was quickly adopted as the kernel.for the GNU operating system, which was designed as a free UNIX alternative. It has spawned a significant number of offspring since then.Linux is a term that refers to a group of operating system distributions.

Which operating system serves as the Android stack's base?

Correct! Wrong!

Explanation:
Linux is a group of open-source Unix-like operating systems based on Linus Torvalds' Linux kernel, which was initially released on September 17, 1991. A Linux distribution is a collection of Linux packages.

Which of the following components an Intent doesn't activate?

Correct! Wrong!

Explanation:
Content providers can assist an app in managing access to data kept by it and other apps, as well as providing a mechanism to share data with other apps. They encapsulate data and provide tools for data security definition. Content providers are the standard interface for connecting data from one process to code from another.

What is the name of the Java bytecode to Dalvik bytecode converter program?

Correct! Wrong!

Explanation:
Android developers know that dex compilation is a key step in building an APK. This is the process of transforming . class bytecode into . dex bytecode for the Android Runtime (or Dalvik, for older versions of Android).

After being installed on a device, each Android program is stored in a _______ .

Correct! Wrong!

Explanation:
Binder is an interprocess communication and remote method invocation technology designed specifically for Android.

Which of the three basic components of an.apk file is not one of these?

Correct! Wrong!

Explanation:
WebKit is an Apple-developed browser engine that is largely utilized in the Safari web browser and other iOS web browsers. The BlackBerry Browser, PlayStation consoles starting with the PS3, Tizen mobile operating systems, and a browser included with the Amazon Kindle e-book reader all use WebKit.

Which of the following languages is the basis for Android?

Correct! Wrong!

Explanation:
Java is a high-level, object-oriented programming language with a focus on minimizing implementation dependencies.

You'll need an AVD to make an emulator. What exactly does it mean?

Correct! Wrong!

Explanation:
The properties of an Android phone, tablet, Wear OS, Android TV, or Automotive OS device that you want to emulate in the Android Emulator are defined by an Android Virtual Device (AVD).

Which of the following businesses purchased Android?

Correct! Wrong!

Explanation:
Google LLC is a multinational technology corporation based in the United States that specializes in Internet-related services and products such as online advertising technologies, a search engine, cloud computing, software, and hardware.

What does not have any UI components and runs in the background?

Correct! Wrong!

Explanation:
A service is basically a component that can function in the background even when the user isn't interacting with your app, therefore you should only develop one if you need one.

The method can be used to stop an activity.

Correct! Wrong!

Explanation:
The activity is destroyed and returned to the home screen after using the finish () method.

The Emulator simulates the operation of a genuine phone. Which feature of the game can't be simulated with an emulator?

Correct! Wrong!

Explanation:
You may use the Android sensor framework to access a variety of sensors. Some sensors are hardware-based, while others are software-based. Physical components embedded into a cellphone or tablet device are known as hardware-based sensors.

Is Android ROM available?

Correct! Wrong!

Explanation:
No, Android isn't available in ROM format just yet. There's the Android open source project, and there's a slew of roms for earlier and newer Android versions.

Android doesn't support which of the following file formats?

Correct! Wrong!

Explanation:
An AVI (Audio Video Interleaved) file is a sound and video format that follows the Microsoft Windows Resource Interchange File Format (RIFF) standard. AVI files (those ending in.avi) require a specific player, which may be included with your Web browser or must be downloaded separately.

How many layouts does Android have?

Correct! Wrong!

Explanation:
The 6 types of layout
Linear Layout
Relative Layout
Web View Layout
Frame Layout
List View Layout
Grid View Layout

The Content Provider is turned on by .

Correct! Wrong!

Explanation:
The correct answer
Using Content Resolver

In Android, which of the following are the screen densities?

Correct! Wrong!

Explanation:
The correct answer
All of the above

Which of the following does not have anything to do with the fragment class?

Correct! Wrong!

Explanation:
The correct answer
Cursor Fragment

Which of the following is the Android database?

Correct! Wrong!

Explanation:
SQLite is a C library that implements a relational database management system. SQLite is not a client–server database engine, in contrast to many other database management systems. Rather, it's a part of the end.

Which of the following are indirectDirect Service subclasses?

Correct! Wrong!

Explanation:
The InputMethodService provides a basic framework for typical UI elements (input view, candidates view, and running in fullscreen mode), but it is up to the implementor to decide how to use them.

In Android, which of the following are the screen sizes?

Correct! Wrong!

Explanation:
The correct answer
All of the above