Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2
I- MOBILE PROGRAMMING (25 MARKS)
1. What language is supported by Android for application development? (2marks)
2. Do all mobile phones support the latest Android operating system? (2marks) 3. What is the difference between Mobile device testing and mobile application testing? . (2marks) 4. What are the different states wherein a process is based? (4marks) 5. What are the four essential states of an activity? (4marks) 6. What is the Android Architecture? List the components. (4marks) 7. What is Android? (2marks) 8. What Is the Google Android SDK? (2marks) II- OBJECT ORIENTED PROGRAMMING (20marks) 1. Fill the blank (3marks) a. Anything that has attributes and member functions that operates on attributes is known as a (n) -------------- b. The object operations are called --------------- c. The --------------- initializes an object’s attributes and establishes the conditions that do not change 2. What are the major components of an object? (3marks) 3. What is the difference between private and public class members? (2marks) 4. What is data hiding or encapsulation? (2marks) 5. Design a class called Cube that has the following data member side of data type double. Supply the following methods: a constructor with one argument, a getter and setter method for the side of the cube, the volume equals to side raised to the power three. Implement the class Cube and write a test class CubeTest in C++ or Java to verify the functionalities of the class Cube (10marks) SECTION III: OOM-UML 1. A company consists of departments. Departments are located in one or more
offices. One office acts as a headquarter. Each department has a manager
who is recruited from the set of employees. Your task is to model the system
for the company.
Task:
Draw a class diagram which consists of all the classes in your system their
attributes and operations, relationships between the classes, multiplicity
specifications, and other model elements that you find appropriate. (16MARKS)