0% found this document useful (0 votes)
6 views3 pages

HCA Paper Exam For Mobile (Useless)

Just small notes I have

Uploaded by

pahotchaptchet4
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views3 pages

HCA Paper Exam For Mobile (Useless)

Just small notes I have

Uploaded by

pahotchaptchet4
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

INSTITUT UNIVERSITAIRE DE LA COTE

Bachelor of Technology
SECOND SEMESTER
HARMONIZED CA MAKING GUIDE
2024/2025 Academic year

Department: IT Option: HND SWE Level: 2

Course code/ Title: / Mobile application and security Credit value:

Duration: 2h Date: Venue: Examination Hall

Course Instructor Mr AZOBOU KIADJEU CEDRIC

Instructions
1. The answers must be clear as possible to avoid any misunderstanding.
2. Any types of documents rather than the ones given by the invigilators are prohibited
3. In the MCQ part, each question has one (01) and only one good answer. Draw a table with 02 entries one for question
number and the other one for the letter corresponding to your good answer.
4. In the open answer questions, give a clear answer for each question with the maximum details according to the total
number of marks given
5. In the case study, your answers need to be oriented on practice. Give answers that can permit a technician to achieve the
goal. not just for the comprehension.
30marks
SECTION A: GENERAL QUESTIONS
PART1: MCQ 20marks

1- What best defines a mobile application?


a. A desktop tool b. A web page
c. A software program designed to run on d. A web app that is running on a smartphone
smartphones or tablets browser
2- Which of the following is NOT a category of mobile applications?
a. Native b. Hybrid
c. Web-based d. Serverless
3- A mobile app specifically designed to work on one platform is called:
a. Hybrid app b. Native app
c. Web app d. Cross-platform app
4- Mobile applications can run on which devices?
a. Refrigerators b. Smartphones and tablets
c. Printers d. Desktop monitors
5- Which language is most commonly used for Android mobile app development?
a. Swift b. C#
c. Ruby d. Java/Kotlin
6- Which app is widely used for social communication?
a. Instagram b. Adobe Reader
c. Calculator d. Terminal
7- Which of these is a professional networking mobile app?
a. YouTube b. LinkedIn
Page 1 of 3
c. Netflix d. Snapchat
8- Which is the most widely used mobile OS worldwide?
a. iOS b. Android
c. Linux d. Windows Mobile
9- Which company develops iOS?
a. Samsung b. Google
c. Apple d. Microsoft
10- What language is primarily used to build iOS apps?
a. Kotlin b. Python
c. Java d. Swift
11- Hybrid apps are built using:
a. C++ b. Python only
c. Web technologies like HTML, CSS, d. Java
JavaScript
12- Which tool is commonly used to build hybrid apps?
a. Android Studio b. Xcode
c. React Native d. WordPress
13- A native app typically has better:
a. Web compatibility b. UI/UX performance
c. Boot time d. Firewall rules
14- Web-based apps require:
a. An active internet connection to function b. App Store approval
c. High storage space d. Native libraries
15- Which type of app generally provides the best performance?
a. Hybrid b. Web
c. Native d. Progressive web
16- Which language is commonly used for hybrid app development?
a. Java b. Kotlin
c. Swift d. JavaScript
17- A key limitation of web-based apps is:
a. Expensive to develop b. Poor cross-platform support
c. Limited access to device features d. Large install size
18- If budget is limited and cross-platform support is essential, the best choice is:
a. Native b. Web-based
c. Hardware-specific d. Hybrid
19- What constraint can prevent the use of native apps?
a. Need for performance b. Device-level security
c. App store distribution d. Budget and time limitations
20- Which app type has the fastest deployment cycle for content updates?
a. Native b. Web
c. AR apps d. Game engines

Page 2 of 3
PART2: OPEN ANSWER QUESTIONS 10marks
1- What is an Activity in Android? 01mrk

2- Describe the lifecycle of an Activity. Just list in order all methods of the activity life 01mrk
cycle

3- What method is used to set the layout of an Activity? 01mrk

4- How can you navigate from one activity to another? 01mrk

5- Where should you initialize UI components like buttons and text views in an activity? 01mrk

6- Explain the difference between onStart() and onResume() methods. 01mrk

7- Which tag can be use to add a Button to a layout XML file? 01mrk

8- Explain the purpose of the android:id attribute in XML. 01mrk

9- What is the difference between match_parent and wrap_content? 01mrk

10- What layout would you use to align elements horizontally or vertically? List 02 other 01mrk
layout that can be used

10mrks
SECTION B: CASE STUDY
Situation:
You are asked to create a login screen for an Android application using Java. The screen will have two input
fields (username and password), and a login button. When the button is clicked, the app should check
whether the inputs are empty and display a Toast message accordingly.

1- What method is used to define the layout of an activity? 02mrks

2- Write the XML code snippet for two EditText fields (username, password) and a 02mrks

Button.

3- How do you get the value of an EditText in Java? 01mrk

4- Where should you call findViewById() to initialize the views? 02mrks

5- What layout would you use to stack inputs vertically? 01mrk

6- How do you declare a string array in Java to represent contact names? 02mrks

Page 3 of 3

You might also like