1. Trang chủ
  2. » Công Nghệ Thông Tin

TỔNG hợp 100 câu hỏi ôn tập ANDROID

24 257 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 24
Dung lượng 202,14 KB

Nội dung

TỔNG HỢP CÂU HỎI ÔN TẬP ANDROID Made by HK 1. Does Android support AWT and Swing? Yes No 2. What is Android? mobile operating system windows operating system programming language application software 3. For DateTime manipulation which package is used in android? view test util text 4. In which package classes that help for network access in android are available? java.net android.net android.nfc android.mtp 5. ExpandableListView is used for simplified tree representation Tree generation Tree creation Tree deletion 6. In Android, you can raise notifications via ___________________ Notification NotificationManager note Manager 7. Which of the following file describes the application being built and what components – activities, services, etc. – are being supplied by that application? build.xml AndroidManifest.xml Manifest.xml Android.xml 8. ADB stands for Android Debug Bridge Application Debug Bridge Android Data Bridge Application Data Bridge 9. Requesting the use of other applications data or services requires the userpermission element to be added to your___________ file Manifest.xml Android.xml AndroidManifest.xml none of these 10. Which of the following(s) isare the nicknames of version(s) of Android? 1)cupcake 2)muffin 3)honeycomb 4)gingerbread 1,2,3 2,3,4 1,3,4 1,2,4 11. To insert data into a content provider, you need to use______ 1) insert() 2) bulkInsert() 3) getContentProvider() 4)update() 1 and 2 3 and 4 all of the above none of these 12. For writing Android code using cc++ , you need to use________ SDK JDK NDK The Native Development Kit (NDK) MDK 13. You get a TabSpec instance from the host via ___________ newTabSpec() setContent() setIndicator() setup()

TỔNG HỢP CÂU HỎI ÔN TẬP ANDROID Made by HK Does Android support AWT and Swing? Yes No What is Android? mobile operating system windows operating system programming language application software For Date/Time manipulation which package is used in android? view test util text In which package classes that help for network access in android are available? java.net android.net android.nfc android.mtp ExpandableListView is used for simplified tree representation Tree generation Tree creation Tree deletion In Android, you can raise notifications via _ Notification NotificationManager note Manager Which of the following file describes the application being built and what components – activities, services, etc – are being supplied by that application? build.xml AndroidManifest.xml Manifest.xml Android.xml ADB stands for Android Debug Bridge Application Debug Bridge Android Data Bridge Application Data Bridge Requesting the use of other applications' data or services requires the userpermission element to be added to your _ file Manifest.xml Android.xml AndroidManifest.xml none of these 10 Which of the following(s) is/are the nicknames of version(s) of Android? 1)cupcake 2)muffin 3)honeycomb 4)gingerbread 1,2,3 2,3,4 1,3,4 1,2,4 11 To insert data into a content provider, you need to use 1) insert() 2) bulkInsert() 3) getContentProvider() 4)update() and and all of the above none of these 12 For writing Android code using c/c++ , you need to use SDK JDK NDK The Native Development Kit (NDK) MDK 13 You get a TabSpec instance from the host via _ newTabSpec() setContent() setIndicator() setup() 14 Which of the following widgets helps you to embed images in your activities? ImageView ImageButton both a and b none of these 15 database is automatically supplied to you by Android Apache Oracle SQLite MySql 16 Eclipse is an Android tool IDE Integrated Development Environment (IDE) Android interface none of these 17 Which of the following Dialog boxes are supported by Android? 1) AlertDialog 2) ProgressDialog 3) DatePickerDialog 4) TimePickerDialog and and all of the above none of these 18 For building Android application we need JDK SDK ADK MDK 19 Which of the following format is not supported by Android? mp4 3gp AVI FLV 20 Which of the following are different storage methods available in Android? 1) Shared Preferences 2) Internal Storage 3) External Storage 4) SQLite Databases 5) Network Connection 6)Intermediate storage 1,2,3,4,6 2,3,4,5,6 1,2,3,4,5 all of above 21 In pause state activity not in focus, but visible on screen activity not in focus, not visible on screen activity is focus also visible on screen activity is focus ,not visible on screen 22 Which is the base class for all android classes? Object Class Android none of these 23 What you mean AIDL? Android Interface Data language Android Interface Definition Language Application Interface Data Language Application Interface Definition Language 24 For MIME Text/Html document , encoding will be in UTF-8 ASCIEE EBCDIC BCD 25 Which of the following feature(s) is/are supported by Android? multitasking Bluetooth video chatting all of these 26 Which of the following exception(s) is/are supported by Android? 1) InflateException 2) Surface.OutOfResourceException 3) SurfaceHolder.BadSurfaceTypeException 4) WindowManager.BadTokenException and and All of the above None of these 27 “res/“ holds resources Java source code application static files 28 Android uses both the content, and the _ type as ways to identify content on the device Uri, MIME MIME,HTTP Uri,HTTP uri,FTP 29 An Android SDK is required to develop the application for Android Yes No 30 What is APK? Application package kit Application package file Android package kit Android package file 31 Which of the following file explains what the application consists of? Strings XML R file Manifest Layout file 32 Android provides a few standard themes, listed in R.style X.style manifest.XML application 33 _makes appropriate list of application data for the other applications service provider content provider application provider resource 34 R file generates Automatically Manually Emulated None of these 35 Android application is written with _ programming language java Net linux c++ 36 Does Android make assumption about device screen size, resolution or chipset? Yes No 37 For , code used by Android is not an open source Device driver video driver WiFi driver Bluetooth driver Closed: Graphics driver, WiFi chipset driver, orientation sensor, the radio baseband software and camera drivers 38 If you are using tools that are not Android-enabled, you can use the _script, found in the tools/ directory in your SDK installation build.xml activityCreator.py Android.xml Manifest.xml 39 What is mean by localization? representing the products in different languages representing the products in different region representing the people in different languages representing the products in different languages with different attribute 40 Which of the following tools are used by developer to test the application? 1)physical Android phone 2)SDK 3)third party Emulator 4)JDK 5)winrunner 1,2,3 3,4,5 all of the above none of these 41 ‘values’ subfolder has _ which defines constant value XML file Image file doc file none of these 42 What is mean by AAPT? Android Asset Packaging Tool Application Asset Packaging Tool Android Application Packaging Tool none of these 43 Which compiler is used for compilation of Android code? Mobile Interpretive Compiler Dex compiler AIC DIC  Android Programs are commonly written in Java and compiled to bytecode for the Java virtual machine, which is then translated to Dalvik bytecode and stored in dex (Dalvik EXecutable) and odex (Optimized Dalvik EXecutable) files 44 field is used for single-line input or multiple-line input Android:autoText Android:capitalize Android:digits Android:singleLine 45 Which of the following services are provided by Android operating system? 1)location 2)sensor reading 3)WiFi 4)cloud computing 1,2,3 and more 2,3,4and more All of the above None of these 46 Browsers that are available for Android are based on _ google crome firefox open source webkit IE 47 field provides automatic spelling assistance Android:autoText Android:capitalize Android:digits Android:singleLine 48 Dex compiler compiles and converts source code into a byte code called Delvik byte code java byte code Android byte code none of these 49 Android:layout_alignParentTop property takes a simple _ value integer character float Boolean 50 What you mean by BLOB? Bytes less object Binary large objects Binary low object bit low object 51 Which of the following resources can you use directly from available resources? style styleable string raw 52 _ field automatically capitalizes the first letter of entered text Android:autoText Android:capitalize Android:digits Android:singleLine 53 Typically MIME type will be html text Text/HTML Doc 54 Which of the following scripts is used for building the application and installing it on the device? build.xml AndroidManifest.xml Manifest.xml Android.xml 55 _ field accepts only certain digits Android:autoText Android:capitalize Android:digits Android:singleLine 56 Which of the following(s) is/are component of APK file? Resources Delvik Executable Both a and b None of the above 57 Funny fact about start of the Android is It was called as Eureka The first version of Android was released without an actual phone on the market It was a close source It was for desktop 58 Which of the following source code does an Android application uses and converts it into a Delvik executable? the SDK the JDK java source code NET source code 59 Which of the following holds the application once it is compiled? res/ assets/ src/ bin/ 60 Which of the following corporation bought Android? microsoft apple google none of these 61 Which of the following methods we use to get the root of the tree? findViewById() getParentOfType() getRootView() getParent() 62 “assets/” holds resources Java source code application static files 63 Which of the following file(s) is/are used to provide layout of your screen? 1) Strings XML 2)R file 3)Manifest 4)Layout file All of the above None of these 64 What is mean by ANR? Application not Recognized Android not recognized Application Not Responding None of these 65 Which of the following don’t have any UI component and run as a background process? services simulator Emulator none of these 66 If Fragment and activity is running and activity is destroyed, what is the effect on the fragment? Fragment is destroyed Fragment runs as it is Fragment goes in idle state none of these  To create a fragment, there is need to extend the fragment class and implement several life cycle callback method The life cycle activity is paused all the fragments in it are paused Similarly, if an activity is destroyed then all its fragment are destroyed 67 AVD stands for Android Virtual Device Application virtual device Android video device None of these 68 To update contents of content provider using curser and commit you need to call commitUpdates() updates() commit() none of these 69 Which class contains constant in MTP and PTP specification? MtpStorageInfo MtpConstants MtpDevice MtpObjectInfo 70 The menu can be placed into alphabetic shortcut mode by calling setup() setQwertyMode() setContent() setIndicator() 71 For receiving an instance of Menu, we have to use setup() setIndicator() onCreate() onCreateOptionsMenu() 72 Which exception is thrown when a given package, application, or component name can not be found? PackageManager.NameNotFoundException Resources.NotFoundException ParseException FormatException 73 For creating user interface in Android, you have to use Eclipse java and XML java and SQL Java and Pl/sql 74 is a means of interacting with activities or other Android components IPB IPC Inter-Process Communication PCB PCI 75 In _, sender specifies type of receiver Implicit intent Explicit intent a and b none of these 75 In _, sender specifies type of receiver Implicit intent Explicit intent a and b none of these 76 Android's mobile operating system is based on a modified version of the _ Linux kernel Unix kernel windows Mac 77 The _ application is an email monitoring application Mail Buzz MailBuzz MailBox 78 What you mean by dex? Dalvik expansion Dalvik extension Dalvik executables David executables 79 If you want to increase the whitespace between widgets, you will need to use the property Android:padding Android:digits Android:capitalize Android:autoText 80 A single screen , the user sees on the device at one time, is known as _ service GUI activity application 81 The NotificationManager is a _ system service user service interactive service none of these 82 Using a content provider, which of the following operations are able to perform? 1) create 2) read 3) update 4) delete 1,2,3 2,3,4 all of the above none of these 83 Which of the following file contains the text that your application used? web.xml manifest.xml string.xml text.xml 84 Which of the following data type(s) are supported by AIDL? 1)string 2)list 3)map 4)All native java datatype 1,2 and All of the above None of these 85 APK package contains files .dex XML DOC Xls 87 Which of the following holds Java source code for the application? res/ assets/ src/ bin/ 88 The simplest widget is the label, referred to in Android as a TextView grid view lableview none of these 89 Which package we need to use for writing android test cases? text test widget security 90 Which of the following(s) is/are the part of Android native library? 1)webkit 2)openGL 3)SQLite 4)openUX 5)Dalvik 1,2,3 3,4,5 All of the above None of these 91 The custom typeface of Android is called Droid Norad includes Tapas  The custom typeface of Android is called Norad It is only used in the text logo 92 Is it possible to write Android code using c/c++? yes no  The Native Development Kit (NDK) is a set of tools that allows you to use C and C++ code with Android, and provides platform libraries 93 Which of the following type(s) of notification is/are available in Android? 1) Tost notification 2)Status bar notification 3)Dialog notification 4)alert notification 1,2,3 2,3,4 1,3,4 none of these 94 IPC stands for Inter process communication Intra process communication Inter process control Intra process control 95 At the time of making the network call user interface is sluggish or gets crash due to hardware problem virus network latency too much load 96 Is it possible to run java source code directly on Android? Yes No  No, it is not possible to run java source code directly on android because, android uses Davik Virtual Machine and not traditional JVM 97 What is meant by SIP? session Initiation Protocol session information protocol server information protocol server initiation protocol  SIP stands for Session Initiation Protocol This protocol allow applications easily set up outgoing and incoming voice calls, without having to manage sessions, transport-level communication, or audio record or playback directly 98 Which are the states in service life cycle? 1)starting 2)paused 3)running 4)destroyed 5) wait 6)yield 1,2,3,5 1,3,4 2,5,6 none of these 99 If you provide a _, your choice identifier (second parameter) can be Runnable Tapas Includes Droide 100 Is the Bluetooth serial port profile supported by Android? yes No ... on the device? build.xml AndroidManifest.xml Manifest.xml Android. xml 55 _ field accepts only certain digits Android: autoText Android: capitalize Android: digits Android: singleLine 56 Which... available for Android are based on _ google crome firefox open source webkit IE 47 field provides automatic spelling assistance Android: autoText Android: capitalize Android: digits Android: singleLine... single-line input or multiple-line input Android: autoText Android: capitalize Android: digits Android: singleLine 45 Which of the following services are provided by Android operating system? 1)location

Ngày đăng: 07/11/2018, 16:26

TỪ KHÓA LIÊN QUAN

w