1

What are the screen sizes supported by android?

  • i. small
  • ii. normal
  • iii. large
  • iv. extra large
  • i
  • i & ii
  • all
  • I, ii, and iii

Answer: C All
Description: For simplicity, Android groups all actual screen sizes into four generalized sizes: small, normal, large, and extra large.
Related questions:
difference between dp, px, dip, dpi
Screen sizes supported by android

2

What is dx tool in android?

  • Used to compile android java files.
  • tool used to run android applications.
  • converts all .class files to dvm understandable format, i.e dex
  • all of the above

Answer: C converts all .class files to dvm understandable format, i.e dex
Description: DVM (Dalvik Virtual Machine) understands only .dex format, and not .class format. All android applications runs in DVM. So we have to convert all .class files into dalvik understandable format (android byte code). This is done by dx tool.
Related questions:
Full form of DVM
what is DVM
difference between JVM & DVM

3

What are the Dialog classes available in android ?

  • i. Alert Dialog
  • ii. Timepicker Dialog
  • iii. Progress Dialog
  • iv. DatePicker Dialog
  • i
  • i and ii
  • i, ii, iii
  • All

Answer: D All
Description: Dialogs are 4 types:
1. Alert dialog
2. Date picker dialog
3. Time picker dialog
4. Progress dialog
Related questions:
difference between menus and dialogs
Dialog types in android

4

Which component is not started by an intent?

  • Activity
  • Content Provider
  • Services
  • Broadcast Receiver

Answer: B Content Provider
Description: Note : we use content resolver to start or communicate with content providers.

5

Why android is popular?

  • i. Because android is free platform to develope mobile applications. android is under apache license, which means you can download code and use it for free of cost and make money out of it. No one asks for any royalty fee. Profits margins are very high. That's why many service based companies like infosys and cts also entering into mobile field.
  • ii. Android programming is done in java, which is very poplur for its simplicity. Any one can learn java very easily and program. Since android is based on java, application development time will be reduced and applications can be released very fastly.
  • iii. Since android software is free, mobile device costs has reduced drastically making smart phones available for even a common man. This is also one more reason to make it most successful platform for mobile devices.
  • iv. Android can be used on almost any kind of embedded devices like robots, traffic signals, bmw cars, washing machines, TVs, tablets, notebooks, sony wrist watches, etc.. There is no end for its usability.
  • v. Google and 83 other companies (OHA) backs android to make it successfulby contributing code to android for free of cost.
  • I & ii
  • I,ii,iii,&iv
  • I,ii,iii,iv,&v.
  • I,ii, &iii

Answer: C I,ii,iii,iv,&v.
Description: Related questions:
difference between android and ios

6

Why android is better than ios?

  • i. ios programs are Developed in c-with-objects which is very tough for normal programmers to code. Android is based on java which is very easy to code. This is the first major advantage of android over iOS. There is huge developer forum community help for java developers, where as very less forum communities for ios.
  • ii. Too many restrictions to publish ios applications in apple play store. There are no restrictions to upload android applications into google play store.
  • iii. ios applications runs only on apple approved hardware, chipsets and ios. Where as Android applications can run on any android powered device as longs as that runs a linux flavoured operating system and containsi android sdk. android is not limited for only mobiles. It can be used to develop applications for tablets, notepads, robots, wrist watches, etc. There is pure monopoly in ios in terms of controlling who can develope and manufacture.
  • iv. android is a free software, any one can download use and make money out of it. Google won't object. But ios is not free ware, one has to pay huge royalty to use it.
  • i&iv
  • I,iii,&iv
  • I,ii,iii,&iv
  • I,ii,&iii

Answer: C I,ii,iii,&iv
Description:

7

Why android comes into existence?

  • 1.Google's Entry into electronic devices to make its search and other apps where ever it is possible.
  • 2.Google can increase its ad-revenue from mobile devices also, if it penetrates into mobiles.
  • 3.To increase user exp in mobile usage.
  • 4.Creating mobile eco system build on top of GOOGLE-ANDROID, so that it can build its existing desktop empire on it.
  • 5.To support individual developers and small companies to come up with innovative ideas to develope apps and earn money with out paying any royalty.
  • 1,2,3
  • 1,2,3,4,5
  • 3,5
  • 3,4,5

Answer: B 1,2,3,4,5
Description:

8

Why android is slow?
While using android phone after some time user may feel like android is very slow.there can be multiple reasons for this.

  • i. User might have loaded tons of applications and data. First check for how much memory is available by going to settings-sdcard & phone storage.
  • ii. Too many back ground services might be running which consumes lot of memory. Eg: facebook service, google map service, and other google services always keep running in the background to sync data from gmail and facebook. So when it is not required, you can forcefully close those services by going to settings-applications-running services.
  • iii. Recent firmware upgrade might be one more reason. Don't upgrade to all latest versions on your age old hardware which really can't accommodate all the new features which requires upgraded hardware as well. Many people will try to forcefully upgrade to new android releases by rooting the phone, which is wrong.
  • i
  • ii & i
  • iii, ii, & i
  • ii & iii

Answer: C iii, ii, & i
Description:

9

What is the difference between android and ios?

  • i. ios programs are Developed in c-with-objects which is very tough for normal programmers to code. Android is based on java which is very easy to code. This is the first major advantage of android over iOS. There is huge developer forum community help for java developers, where as very less forum communities for ios.
  • ii. Too many restrictions to publish ios applications in apple play store. There are no restrictions to upload android applications into google play store.
  • iii. ios applications runs only on apple approved hardware, chipsets and ios. Where as Android applications can run on any android powered device as longs as that runs a linux flavoured operating system and containsi android sdk. android is not limited for only mobiles. It can be used to develop applications for tablets, notepads, robots, wrist watches, etc. There is pure monopoly in ios in terms of controlling who can develope and manufacture.
  • iv. android is a free software, any one can download use and make money out of it. Google won't object. But ios is not free ware, one has to pay huge royalty to use it.
  • i & iv
  • I, iii, & iv
  • I, ii, iii, & iv
  • I, ii, & iii

Answer: C I, ii, iii, & iv
Description:

10

What is the difference between android and windows?

  • i. windows phones are based on windows phone platform which is owned by Microsoft. android phones are based on android platform with linux o.s which is backed and supported by Google.
  • ii. Windows phone platform is closed software (proprietry), where as android platform is open source which is free for every one.
  • iii. there are very less number of free apps for windows phones in play stores. There are more than 7lack android apps in play store. Most of the android apps in play store are free applications. User don't need to pay for downloading apps.
  • iv. Windows phones uses bing as the default search engine in the phone. Android phones uses google as the default search engine in the phone.
  • v. Most of the windows phones are released under NOKIA brand as it is acquired by microsoft. Most of the android phones are released with Samsung, LG, and other brands.
  • vi. Many of the phone manifacturing companies like samsung, lg, huawei, micromax, prefers android as it is free source so that the profit margins are very high compared to windows.
  • vi,v,iv,iii,ii, & i
  • vi,v,iv,iii, & i
  • vi,v,iii,ii, & i
  • vi,iv,iii,ii, & i

Answer: A vi,v,iv,iii,ii, & i
Description:

11

What is the difference between android 4.2 and 4.3? What all the new features added in 4.3?

  • Autocomplete dialpad- just start touching numbers or letters and the dial pad will suggest phone numbers or names.
  • location detection through wi-fi will not use wi-fi all the time.
  • support latest indstry standard OpenGLES 3.0 graphics version. additional language support has been added for hindi, swahili, zulu, and africaans.
  • All are true

Answer: D All are true
Description:

12

What is the difference between android 4.3 and 4.4? what all the new features added in 4.4 kitkat?

  • i. you don't even need to touch the screen. now you can use google voice search to do almost every thing on your phone. to launch voice search just say "OK google".
  • ii. beautiful full screen movie art will be displayed while playing songs with device in lock mode. you can play, pause, or seek.
  • iii. 4.4 has faster multi tasking capability.
  • iv. 4.4 prioritizes the contacts to whom you are speaking most.
  • v. Now you can print photos, documents, and web pages from your phone or tablet. You can print to any printer connected to Google Cloud Print, to HP ePrint printers, and to other printers that have apps in the Google Play Store.
  • I, ii, iii, iv, & v
  • I, ii, iii, & iv
  • i, ii, & iii
  • i & iii

Answer: A I, ii, iii, iv, & v
Description:

13

What is the difference between android and iphone?

  • i. iphone runs on ios. Android programs runs on android SDK on Linux platform.
  • ii. ios is not a free software (closed source), where as android is a free software (open source).
  • iii. iphone is the product of apple company which uses ios which is also a software made by apple. Where as android software is developed and maintained by Google.
  • iv. Its very easy upload applications to playstore using android, compared to ios.
  • v. For 3rd party developer applications, money earning rate is more in iphone platform compared to android. As android contains mostly free apps.
  • vi. iphones are solely released by apple company, where many of the android devices are released by companies like samsung, lg, etc.. Google has very less contribution in releasing android enabled phones except nexus phones and tablets. Google does only software part mostly.
  • vi, v, iv, iii, ii, & i
  • vi, iv, iii, ii, & i
  • v, iii, ii, & i
  • vi, v, iv, iii, & i

Answer: A vi, v, iv, iii, ii, & i
Description:

14

dex file means?

  • 1. Android programs are compiled into .dex (Dalvik Executable) files to execute with DVM. dex files are light weight when compared to .class files, and takes less memory and runs faster.
  • 2. DEX files are used to initialize and execute applications developed for the Android mobile OS.
  • 3. DVM (Dalvik Virtual Machine) where an android application runs, can understand only .dex files. It can't understand .class files.
  • 1,2
  • 2,3
  • 1,2,3
  • None are correct

Answer: C 1,2,3
Description: Just like all java programs runs in JVM, similarly all android applications runs in DVM. But DVM can understand only .dex files, it can't understand .class files. Dex full form is dalvik executable. Dex files are light weight when compared to .class files.
Related questions:
Android compilation and execution process
What is dx tool

15

How do you give version numbers for application which is targeted for both mobiles and tablets? Will you give same version or different version?

  • Same
  • Differs by 1
  • Differs by .1
  • None are correct

Answer: A Same
Description: It is not based the version number that we differentiate between mobile version and tablet version, but it is by using fragments in the application.
Related questions:
How to upgrade database tables in android application Updating android application with latest tables

16

what is size of apk in Kb ?

  • 200 kb
  • 1 mb
  • 30 kb
  • We cannot predict the size of .apk file because it depends upon the source code, images, layouts and other resources of the application.

Answer: D We cannot predict the size of .apk file because it depends upon the source code, images, layouts and other resources of the application.
Description:

17

What is the latest API level and version number of android as on May 2014?

  • (API level 15) Android 4.4 Jelly Bean
  • (API level 19) Android 4.4 KitKat
  • (API level 16) Android 4.2 KitKat
  • (API level 16) Android 4.0 Ice Cream Sandwitch

Answer: B (API level 19) Android 4.4 KitKat
Description:

18

What is the folder structure of an Android Application?

  • Folder Structure of Android Application:
    1. src
    2. gen
    3. bin
    3. res
    4. values
  • Folder structure of Android Application:
    1. src
    2. images
    3. screens
    4. designs
  • Folder Structure of Android Application:
    1. code
    2. icons
    3. libs
    4. admin
  • None are correct

Answer: A Folder Structure of Android Application:
1. src
2. gen
3. bin
3. res
4. values
Description: src folder contains source files .java, .c etc. gen folder will contain automatic generated files like R.java. Bin folder will contain binary files which are generated after compiling and linking like .class files and .apk file. Res folder will contain various resources required for your project. This folder again contains many sub folders like menu folder to create menus, layout folder to create layouts for your activities, drawable folder to store images used in your project. values folder will contain styles and strings related xml files.

19

How Android is best over IOS?

  • 1. Android is open source which is free of cost to use, where as IOS is a closed source which is not free of cost.
  • 2. Android is based on Java which is easy and faster to learn compared to IOS which is based on C with objects which is tough to learn when compared to java for early developers.
  • 3. Android doesn't charge royalties(money) to the phone manufacturers who uses android for their phones. Where as IOS is not royalty free. This is the reason why many phone manufacturers (OEMs) opt for Android when compared to other platforms.
  • 4. Since many phones are released in Android, market share of android is almost 80% when compared to IOS which is just 16% of market share.
  • 1,2
  • 1,2,3,4
  • 1,2,3
  • None are correct

Answer: B 1,2,3,4
Description:

20

How do you solve compatability issues?

  • 1. Use dp (density independent pixels) in place of px for view width and height.
  • 2. Create verious density image with same name for drawable- mdpi, hdpi, xhdpi, xxhdpi.
  • 3. Use nine-patch images for better scaling with out blur effect.
  • 4. Avoid hard coded width and height values, and always give width and height with respect to parent.
  • 5. Use fragments if you are targeting your application for both mobiles and tablets.
  • 1,2,3,4,5
  • 2,4,5
  • 1,2,3,5
  • None are correct