Nội dung text Mobile Programming Qns.pdf
Prepared by Uni Bytes / www.unibytes.xyz Don't use our content without permission. Tribhuvan University Faculty of Humanities and Social Science Semester: VI Subject: Mobile Programming 2019 Batch Group B Attempt any SIX questions 2. What is smart mobile device? Explain different platform used in mobile device. 3. What is surface manager library? How DVM is differ from ART? 4. What are important attribute used in Absolute Layout? Develop a simple calculator application with two input fields for inputting numbers and two button for performing multiplication and division and display the result in Text View using Absolute Layout. 5. What is difference between activity and fragment? Develop an android application to create user interface for input length, width, and height of Rectangular box and Button for Volume in one fragment when button is clicked then these input data are passed into second fragment and calculate yolume of Rectangular box and display result in TextView. 6. What is Toast? Develop an android application to create alert dialog to input any number and then calculate factorial of number and display the result in Toast. 7. What are different data types supported by SQLite? How to decode JSON data in android application? Explain with suitable example. 8. What do you mean by View hierarchy in IOS programming? Write a swift program to find sum of all elements of 1-D array. Group C Attempt any TWO questions. 9. What is difference between ArrayAdapter and CursorAdapter? Develop an android application to display the application name with logo (i.e., YouTube, Facebook, Twitter, Tiktok, Snapchat, Telegram etc.,) in Grid View and display their site in another activity when Grid View item is clicked. 10. Why we use API in android? Provided that SQLITE database named "Hospital" with table named Doctor with following columns (Did as Integer, DName as Text, and Specialization as Text and Experience as Real). Develop an android application to connect database and insert records of Doctor and display the Doctor information whose experience is less than 5.5 years. 11. What does android APK file contains? Develop an android application with context menu having menu item "Red", "Yellow", "Green", "Black" and "Blue" etc. and change background color of layout when user select menu item accordingly. Don’t Forget to Follow Uni Bytes