Q1) The activity life cycle does not contain.................
Android 2

Quiz
•
Computers
•
1st - 7th Grade
•
Hard
Hanan Elsaid
Used 10+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
onStart()
onCreat()
onAttach()
onPause()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q2) If you need to pass data back from an activity, Which method you should use?
startActivity()
startActivityForResult()
ActivityForResult()
None of the above.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q3) If you want to navigate from one activity to another then android provides you which class?
Object
startActivity
Intent
None of the above.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q4) The types of intents in android is\are
A) Explicit intents
B) Implicit intents
C) Start intents
D) Option A and B are correct.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q5) Suppose that there are two activities in an application named FirstActivity and SecondActivity. You want to send website name from ActivityOne to ActivityTwo. What code you will write? Suppose that website name is “CareerRide.com”
Intent intent=new Intent (this, SecondActivity.class);
intent.putExtra("name", “CareerRide.com”);
startActivity(intent);
Intent intent=new Intent (this, SecondActivity.class);
intent.putExtra( “CareerRide.com”);
startActivity(intent);
Intent intent=new Intent ();
intent.putExtra("name", “CareerRide.com”);
startActivity(intent);
None of the above.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q6) How will you get the data in secondActivity? Refer question Q5
Intent intent=new Intent;
String str= intent.getStringExtra("name");
Toast.makeText(this, str , Toast.LENGTH_LONG).show();
Intent intent=getIntent();
String str= intent.getStringExtra("name");
Toast.makeText(this, str , Toast.LENGTH_LONG).show();
Intent intent=getIntent();
String str= intent.getText("name");
Toast.makeText(this, str , Toast.LENGTH_LONG).show();
None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
...........محلها intent ال
العين
الاذن
القلب
الرجل
Similar Resources on Quizizz
10 questions
Урок03. Переменные. Ввод-вывод

Quiz
•
6th - 7th Grade
10 questions
Python бағдарламалау тілі

Quiz
•
7th Grade
10 questions
Викторина по Python (Урок 1-2)

Quiz
•
5th - 11th Grade
12 questions
Дані різних типів. Python

Quiz
•
7th Grade
9 questions
พื้นฐาน python ม.2

Quiz
•
6th - 8th Grade
11 questions
Móviles

Quiz
•
1st Grade
9 questions
Python

Quiz
•
3rd Grade
12 questions
C4_SESSION 4_ REVIEW

Quiz
•
KG - 1st Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
15 questions
Character Analysis

Quiz
•
4th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
20 questions
Final Exam Vocabulary

Quiz
•
6th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade