0% found this document useful (0 votes)
12 views

Android App Development Test

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

Android App Development Test

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

APTECH Computer Education HAZRA

03340731111/9339408422|Near Jatin Das Park Metro | www.aptechkolkata.com | [email protected]

Android App Development [Final Exam Practical]


Time: 2 Hours Marks: 50

Instruction to Candidate:
 Attempt any ONE question from each Group.
 Each Group carries 25 marks.
Group – A
Fundamentals of Java
1. A) Create a function named PRIME ( ). It accepts a number and returns true if the number
is prime otherwise false. Write a program to print the Prime numbers between 1 to N where N
is given input and also find their sum by using that function. Ex: 2, 3, 5, 7, 11, 13, 17… [15]
B) Define a class Geometry that contain overloaded versions of function Area ( ) to calculate
the area of rectangle, square, and circle. Now test the functions. [10]

2. A) Define a class STRING to handle string related operations with the following members:
TEXT : to store the given string
STRING ( ) : constructor
void READ_STRING ( ) : to accept the string
void CASE_CONVERT (int) : convert letter to other case
void CIRCULAR_DECODE ( ) : to develop a string be replacing each letter by converting it
to opposite case & then by the next character in a circular way. Hence “ZebrA” will be
decoded “aFCSb”. Write main ( ) to test your program. [15]
B) Write a program to accept different numbers into an array & sort them in ascending order
by using Selection Sort / Bubble Sort techniques. [10]

3. A) A Unique digit integer is a positive integer (without leading zeros) with no duplicate
digits. For example 7, 135, 214 are all unique digit integers whereas 33, 3121, 300 are not.
Given two positive integers m and n where m < n, write a program to determine how many
unique – digit integers are there in the range between m and n (both inclusive) and also
display them. [15]
Sample Data:
Input: m = 100 N = 120
Output: Total UNIQUE digit integers = 9
The UNIQUE Digits Integers are : 102 103 104 105 106 107 108 109 120
B) Write a program to print the Even and Odd number series up to N by using the concept of
multithreading. [10]

4. A) Define a Student class with a member: roll. Derive a class called Subject from Student
that adds two members’ theory & practical. Define an interface Exam which contain the
members name & internal and a method showname ( ). Define another class called Result
that inherits Exam and Subject. It contains a field total to calculate total marks. Add methods
to each class to get and show its information. Write a main method to test the inheritance. [15]

APTECH Computer Education


APTECH Computer Education HAZRA
03340731111/9339408422|Near Jatin Das Park Metro | www.aptechkolkata.com | [email protected]

B) Write a class to represent a vector of fractions. Now multiply it by a scalar value and print
the vector elements. [10]

Group – B
Android App Development
1. A) Create a Calculator App that can perform the basic arithmetic operation with individual
buttons of digits and sign. [15]
B) Develop a Video Player app that can play a specific video by click on PLAY button. [10]

2. A) Develop an app that can accept and save the student details like Roll, Name, Course and
Marks in a SQLite Student table. [15]
B) Create a Spinner Activity that show the name of 4 countries and show the capital by click
on the country name. [10]

3. A) Develop the Login Activity that accept the username and password from user and verify
it. If it is matched show Welcome activity with Logout button to logout else show error
message. [15]
B) Create an activity with Rating-Bar and show the given rating in Toast. [10]

4. A) Develop an activity to show an option menu with 3 color names and change the back
color after click on the menu item. [15]
B) Create an activity to show a button that will generate an Inbox Style Notification. [10]

APTECH Computer Education

You might also like