
Android Fundamentals - Day 3 : Activities & Intents
Authored by Naga Sriharsha Mulugu
Computers
University - Professional Development
Used 11+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Choose the correct option regarding activity in Android.
An activity is a window that contains the user interface of your application.
An application can have zero or more activities.
An application can have only one activity.
None of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose that there are two activities in an application named ActivityOne and ActivityTwo. You want to invoke ActivityTwo from ActivityOne. What code you will write?
Intent intent=new Intent (this, ActivityTwo.class);
startActivity(intent);
startActivity(new Intent(this, ActivityTwo.class));
None of the above.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the permission for using the camera?
android.permission.USE_CAMERA
android.permission.CAMERA
android.permission.hardware.CAMERA
None of the above.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you need to pass data back from an activity, Which method you should use?
startActivity()
startActivityForResult()
ActivityForResult()
None of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you want to navigate from one activity to another then android provides you which class?
Intent
startActivity
Object
None of the above
6.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
The types of intents in android is\are
Implicit Intent
Explicit Intent
Start Intent
Stop Intent
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In android mini-activities are also known as.
Fragments
Activity
Adapter
None of the above
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?