BCA 6. Question Bank

Similar documents
Introduction To Android

Android App Development. Muhammad Sharjeel COMSATS Institute of Information Technology, Lahore

UNIT:2 Introduction to Android

Android Development Tools = Eclipse + ADT + SDK

ECOM 5341 Mobile Computing(Android) Eng.Ruba A. Salamah

Embedded Systems Programming - PA8001

Android. Lesson 1. Introduction. Android Developer Fundamentals. Android Developer Fundamentals. to Android 1

Programming with Android: System Architecture. Dipartimento di Scienze dell Informazione Università di Bologna

Android for Ubiquitous Computing Researchers. Andrew Rice University of Cambridge 17-Sep-2011

Real-Time Embedded Systems

IJRDTM Kailash ISBN No Vol.17 Issue

SD Module- Android Programming

Mobile OS. Symbian. BlackBerry. ios. Window mobile. Android

Introduction to Android Android Smartphone Programming. Outline University of Freiburg. What is Android? Background University of Freiburg.

Android Programming (5 Days)

Android. (XKE Mars 2009) Erwan Alliaume.

Programming with Android: System Architecture. Luca Bedogni. Dipartimento di Scienze dell Informazione Università di Bologna

Android. Operating System and Architecture. Android. Screens. Main features

MC Android Programming

Programming with Android: System Architecture. Dipartimento di Scienze dell Informazione Università di Bologna

Why Android? Why Android? Android Overview. Why Mobile App Development? 20-Nov-18

SHWETANK KUMAR GUPTA Only For Education Purpose

Android. Michael Greifeneder. Image source: Android homepage

Tutorial on Basic Android Setup

Android Development Tutorial. Yi Huang

Mobile Application Development - Android

Android Programming Lecture 2 9/7/2011

CS 403X Mobile and Ubiquitous Computing Lecture 3: Introduction to Android Programming Emmanuel Agu

Applications. Marco Ronchetti Università degli Studi di Trento

Configuring the Android Manifest File

COSC 3P97 Mobile Computing

Android Software Development Kit (Part I)

1. What are the key components of Android Architecture? 2. What are the advantages of having an emulator within the Android environment?

CS260 Intro to Java & Android 04.Android Intro

An Introduction to Android. Jason Chen Developer Advocate Google I/O 2008

ES E 3 3 L a L b 5 Android development

LECTURE NOTES ON MOBILE APPLICATION DEVELOPMENT

ANDROID SYLLABUS. Advanced Android

UNDERSTANDING ACTIVITIES

Android App Development

Introduction to Android

CSCU9YH Development with Android

University of Babylon - College of IT SW Dep. - Android Assist. Lect. Wadhah R. Baiee Activities

Praktikum Mobile und Verteilte Systeme. Android-Basics. Prof. Dr. Claudia Linnhoff-Popien André Ebert, Sebastian Feld

Android App Development

Android-Basics. Praktikum Mobile und Verteilte Systeme. Prof. Dr. Claudia Linnhoff-Popien André Ebert, Sebastian Feld

Android Overview. Francesco Mercaldo, PhD

Required Core Java for Android application development

COLLEGE OF ENGINEERING, NASHIK-4

Mobile Programming Lecture 1. Getting Started

Lab Android Development Environment

Programmazione di sistemi mobili e tablet

Programming Concepts and Skills. Creating an Android Project

CS 370 Android Basics D R. M I C H A E L J. R E A L E F A L L

Mobile Computing. Introduction to Android

Android App Development. Ahmad Tayeb

Pro Android 2. Sayed Y. Hashimi Satya Komatineni Dave Mac Lean. Apress

Questions and Answers. Q.1) Which of the following is the most ^aeuroeresource hungry ^aeuroepart of dealing with activities on android?

Group B: Assignment No 8. Title of Assignment: To verify the operating system name and version of Mobile devices.

Android Programming in Bluetooth Cochlea Group

COPYRIGHTED MATERIAL. 1Getting Started with Android Programming

Minds-on: Android. Session 1

CS 528 Mobile and Ubiquitous Computing Lecture 1b: Introduction to Android. Emmanuel Agu

Praktikum Entwicklung Mediensysteme. Implementing a User Interface

Android App Development. Mr. Michaud ICE Programs Georgia Institute of Technology

Understand applications and their components. activity service broadcast receiver content provider intent AndroidManifest.xml

Android Ecosystem and. Revised v4presenter. What s New

ANDROID APPS (NOW WITH JELLY BEANS!) Jordan Jozwiak November 11, 2012

Lecture 1 Introduction to Android. App Development for Mobile Devices. App Development for Mobile Devices. Announcement.

CS 4518 Mobile and Ubiquitous Computing Lecture 2: Introduction to Android. Emmanuel Agu

Android Application Development

Hello World. Lesson 1. Android Developer Fundamentals. Android Developer Fundamentals. Layouts, and. NonCommercial

Android" Application Development SAMS. Sams Teach Yourself. Shane Conder. Lauren Darcey. Second Edition

MODULE 2: GETTING STARTED WITH ANDROID PROGRAMMING

Mobile and Ubiquitous Computing: Android Programming (part 1)

Fig. 2.2 New Android Application dialog. 2.3 Creating an App 41

Mobile and Wireless Systems Programming

COMP4521 EMBEDDED SYSTEMS SOFTWARE

Lecture 7: Data Persistence : shared preferences. Lecturer : Ali Kadhim Al-Bermani Mobile Fundamentals and Programming

Programming in Android. Nick Bopp

Agenda. Overview of Xamarin and Xamarin.Android Xamarin.Android fundamentals Creating a detail screen

1. SUPPORT PLATFORMS 2. INSTALLATION GUIDE Install Android SDK

Our First Android Application

Figure 2.10 demonstrates the creation of a new project named Chapter2 using the wizard.

Mobile development initiation

Lab 1: Getting Started With Android Programming

Wirtschaftsinformatik Skiseminar ao. Prof. Dr. Rony G. Flatscher. Seminar paper presentation Dennis Robert Stöhr

Security model. Marco Ronchetti Università degli Studi di Trento

Lab 3. Accessing GSM Functions on an Android Smartphone

Android Beginners Workshop

Diploma in Android Programming (DAP)

Lab 3: Using Worklight Server and Environment Optimization Lab Exercise

Answers to Exercises

Agenda. The Android GUI Framework Introduction Anatomy A real word example Life cycle Findings

Using Eclipse for Android Development

INTRODUCTION TO ANDROID

Introduction to Android Application Development. Mike Kvintus Principal Engineer JDSU

ELET4133: Embedded Systems. Topic 3 Eclipse Tour & Building a First App

A MODEL FOR COMPARATIVE ANALYSIS OF THE SIMILARITY BETWEEN ANDROID AND IOS OPERATING SYSTEMS

Getting started: Installing IDE and SDK. Marco Ronchetti Università degli Studi di Trento

Transcription:

BCA 6 030010601 : Introduction to Mobile Application Development Question Bank Unit 1: Introduction to Android and Development tools Short questions 1. What kind of tool is used to simulate Android application? 2. Can we use C++ language for Android application development? 3. What does Dalvik Virtual Machine generates? 4. NFC feature is available from which version of Android? 5. What kind of situation shall be raised if adb do not working normally? 6. Which feature of Honeycomb Android version makes it differ from other Android versions? 7. Which library provides database support for Android application? 8. List any two perspectives provided by Android sdk. 9. To save string values which file is used? 10. How an application developed with HVGA skin will react during debugging with QVGA skin? 11.Which is latest version of Android OS? Long questions 1. What are the core components under the Android application architecture? Explain any two in detail. 2. What does an Android APK file contains? Explain any two component except dex and class files. 3. To monitor debugging process which tool is useful? Explain other tool of Android in detail. 4. Write a note on Dalvik Virtual Machine component of Android Runtime. 5. List all the versions of android. Explain more features of Android version which contains NFC. 6. Which file is considered as managing file in Android application? Explain each node of that file in detail. 7. Write a note on Android device available in market. 8. Explain various resources which can be specified in Android application project. Give an appropriate example for each. 9. To run a simple application what task should be carry out? Explain about emulator in detail. 10. Explain Android perspectives. 11. Explain the following things in the context of android device: Screen size, Screen density, Orientation, Resolution, Density- independent pixel (dp). 12. How Android supports multiple screen? Explain with an appropriate example. Multiple choice questions 1. LogCat is the part of perspective available in Android ADT. a) Java Perspective b) DDMS c) C/C++ d) Pixel Perfect 2. If targetsdkversion is 2.2 than what shall be the minimum required SDK version? Ms. Neha Topiwala Page 1

a) 4.4 Kitkat b) 4.0 Ice Cream Sandwich c) 1.5 Cupcake d) 4.2 Jelly Bean 3. DVM is part of layer and is also available in same layer. a) Android Runtime, Activity Manager b) Application Framework, Core Libraries c) Android Runtime, Core Libraries d) Libraries, View System 4. Android 3.0 do NOT provide feature. a) 3D desktop b) Support for multi- core processor c) NFC (Near Field Communication) d) Private browser 5. To achieve tabbed browsing library is included after 3.0 Android version. a) FreeType b) WebKit c) SSL d) SGL 6. In Android Architecture layer is used by developers. a) Linux Kernel b) Application Framework c) Libraries d) Android Runtime 7. To share Internet connection feature is useful. a) Media Support b) Tethering c) Bluetooth d) NFC 8. What was the main reason for replacing the Java VM with the Dalvik VM when the Android project began? a) Java VM ran too slow b) Java virtual machine was not free c) Java VM was only for web based application d) Java VM was not optimized for mobile device 9. component of Android Runtime is responsible of generating file. a) Libraries,.apk b) Application Framework,.class c) Dalvik Virtual Machine,.dex d) Dalvik Virtual Machine,.class 10. To monitor Android application s debugging process tool is NOT helpful. a) LogCat b) Console c) Hierarchy Viewer d) Emulator Control 11. From a phone manufacturer's point of view, what makes Android so great? a) It provides everything to make a phone work. b) It allows them to compete with Apple's iphone. c) It makes the hardware work better Ms. Neha Topiwala Page 2

d) Android code is free and open. 12. Ice cream sandwich was successful Android version as, a) It supports smart phone + tablet b) Browser supports flash. c) It is cheaper than older version. d) IOs applications also supported in it. Fill in the blanks 1. Android is a based mobile operating system. 2. The virtual machine enables every Android operating system to run in its own process. 3. For Android application development, RDBMS is used to store and retrieve data. 4. The manages the various versions of the Android SDK currently installed on your computer. 5. The file contains detailed configuration information for your application. 6. The folder contains source code of an Android application. 7. The file is auto generated which can not be modifiable. 8. The Dalvik Virtual Machine generates extension file. 9. Android platform is owned by organization. 10. All the device drivers are part of layer in Android architecture. 11. In years Google has purchased Android. 12. Android has operating system as the kernel. 13. Android version 2.2 is known as nickname. 14. Android first release has launched on phone namely. 15. The latest version of Android is. 16. Ice cream sandwich is the code name of Android version. 17. The hosts all the various Android applications written by third- party developer. Unit- 2: Activities and Intents Short questions 1. Which are the four essential states of an activity? 2. During an activity life cycle which methods invoked only once? 3. What is a the use of setcontentview() method? 4. Where will you declare your activity so the system can access it? 5. Where can you define the icon for your Activity? 6. What do you mean by resource? 7. Which object is passed to oncreate () method? 8. To create an Activity which class must be inherits in our sub class? 9. How Extras object of Intent shall be useful 10. List any two Constants of ViewGroup.LayoutParams class. 11. What is the use of LogCat window in eclipse? 12. Which of the theme is use to an activity to display floating dialog? 13. Which ViewGroup allows to place views either horizontally or vertically? Long questions 1. What is AndroidManifest.xml? Write its usages with an appropriate example. 2. Write a note on activity life cycle. 3. Which methods of the android.util.log class can be used to add logging support to Android application? 4. How many permissions Android application has by default? What should be added to gain access to the built in camera? Ms. Neha Topiwala Page 3

5. What are resources? Explain any two resource type with an appropriate example for each. 6. Describe different image dimension that can be store in drawable directory. 7. Write a snippet to transfer the data from one activity to another activity with possible validation. 8. Explain how to configure intent- filter in AndroidManifest.xml file with example. 9. What do you mean by Activity stack? Explain with an appropriate diagram. Multiple choice questions 1. If you are calling an Activity which has not been registered in AndroidManifest.xml file, than what shall be the result? a) Application will run normally b) Error: ActivityNotFoundException c) Error: ClassNotFoundException d) Error: NullPointerException 2. To close an Activity method is useful. a) stop() b) finish() c) kill() d) close() 3. What shall be output if you forget to set xml file reference in Activity file using setcontentview() method a) Error: NullPointerException b) Application shall be launch without view. c) Android shall set design automatically. d) Error: ViewNotFoundException 4. What shall be output of following code: TextView textview; textview = (EditText) findviewbyid(r.id.txtv); a) Object gets initialized b) Error: NullPointerException raised c) Error: ViewNotFoundException raised d) Error: ClassCastException raised 5. In AndroidManifest.xml file attribute is used to specify theme of application. a) android:theme= @android.style/apptheme b) android:style= @theme/apptheme c) android:theme= @style/apptheme d) android:style= @android.theme/apptheme 6. Which of the following is the way to specify schema of xml file? a) android:xmlns= http://schemas.android.com/apk/res/android b) android:xmlns= https://schemas.android.com/res/apk/android c) xmlns:android= http://schemas.android.com/apk/res/android d) xmlns:android= http://schemas.android.com/res/apk/android 7. Which of the following file saves reference to resources? a) bin/r.java b) gen/r.class c) gen/r.java d) res/r.class 8. In Android project assets folder do NOT contains. a) Text file b) Html file Ms. Neha Topiwala Page 4

c) layout file d) Database file 9. Which of the following is the way to fetch values from received intent? a) Intent i = getvalues(); b) Intent i = getservice().getintent(); c) Intent i = getintent(); d) Intent i = getresource(); 10. Which of the following is NOT the state of Activity? a) Create b) Resume c) Release d) Destroy 11. Which of the following package is used to link two Activities? a) android.context.intent b) android.widget.intent c) android.content.intent d) android.activity.intent 12. Which of the following is package of Button view? a) android.app.* b) android.widget.* c) android.intent.* d) android.view.* 13. To monitor Android application s debugging process tool is NOT helpful. a) LogCat b) Console c) Hierarchy Viewer d) Emulator Control 14. Which of the following category creates launcher icon for the activity? a) android.intent.category.launcher b) android.content.category.launcher c) android.intent.action.main d) android.intent.category.default 15. What shall be height for below layout? <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > </LinearLayout> a) Same as content height. b) Same as device height. c) Same as device width. d) None of the above. Ms. Neha Topiwala Page 5