Quizzes
Take Quizzes
Animal
Nutrition
Love
Relationship
Computer
Sports
Society
Business
Geography
Language
Personality
Harry Potter
Movie
Television
Music
Online Exam
Health
Country
Art
Entertainment
Celebrity
Math
Game
Book
Fun
Science
Food
History
Education
All Topics
Create a Quiz
Quiz Maker
Training Maker
Survey Maker
Flashcards
Brain Games
See All
ProProfs.com
Search
Create A Quiz
Take Quizzes
Animal
Nutrition
Love
Relationship
Computer
Sports
Society
Business
Geography
Language
Personality
Harry Potter
Movie
Television
Music
Online Exam
Health
Country
Art
Entertainment
Celebrity
Math
Game
Book
Fun
Science
Food
History
Education
All Topics
Products
Quiz Maker
Training Maker
Survey Maker
Flashcards
Brain Games
See All
ProProfs.com
Quizzes
Quizzes
›
Computer
Sematec Android Quiz
10 Questions
|
By Asgari.sematec | Updated: Mar 20, 2022
| Attempts: 423
Share
Start
Share on Facebook
Share on Twitter
Share on Whatsapp
Share on Pinterest
Share on Email
Copy to Clipboard
Embed on your website
Question
1
/ 11
🏆
Rank #--
▾
0 %
0/100
Score
0/100
1.
What method you should override to use Android's menu which is placed on the action bar?
A. onCreateOptionsMenu( )
B. onCreateMenu( )
C. onMenuCreated( )
D. onMenuCreated( )
Submit
Start Quiz
About This Quiz
.
2.
What first name or nickname would you like us to use?
You may optionally provide this to label your report, leaderboard, or certificate.
2.
Which of the following is NOT a valid usage for Intents?
A. Activate and Activity.
B. Activate a Service.
C. Activate a Broadcast receiver.
D. Activate a SQLite DB Connection.
Submit
3.
Which of the following lines of code is used to pass a value to the next activity?
A. Intent i = new Intent(this,newActivity);i. addExtra(“test”);startActivity(i);
B. Intent i = new Intent(this,newActivity);i. putValue(“test”);startActivity(i);
C. Intent i = new Intent(this,newActivity);i. putValue(“value1”,“test”); startActivity(i);
D. Intent i = new Intent(this,newActivity);i. putExtra(“value1”,“test”); startActivity(i);
Submit
4.
Which of the following is incorrect about intents?
A. They can be used to start an Activity.
B. They can be used to start a service.
C. They can be used to start database insertion.
D. They can be used to start a dialog-themed activity.
Submit
5.
What is the name of the class used by Intent to store additional information?
A. Extra
B. Parcelable
C. Bundle
D. DataStore
Submit
6.
Which of the following attributes is used to set an activity screen to landscape orientation?
A. screenorientation = landscape
B. screenOrientation=”landscape”
C. android:ScreenOrientation=“landscape”
D. android:screenOrientation=”landscape”
Submit
7.
When the user clicks on an action item in the action bar, which of the following Activity methods does the system call?
A. onOptionsItemSelected()
B. onOptionsItemClicked()
C. onActionButtonSelected()
D. onActionBarItemSelected()
Submit
8.
Which method should you use to start a sub-activity?
A. startActivity(Intent intent)
B. startActivityForResult(Intent intent)
C. startService(Intent intent)
D. startSubActivity(Intent intent)
Submit
9.
Which Which of the following does NOT correctly describe interface android.widget.Adapter?
A. It is an object that acts as a bridge between a View and underlying data for that view.
B. It provides access to the data items.
C. It provides access to deprecated ListView methods.
D. It is responsible for making a View for each item in the data set.
Submit
10.
Consider the following code: Intent intent = new Intent(); intent.setAction(Intent.ACTION_VIEW); intent.setData(android.net.Uri.parse("https://www.androidatc.com")); startActivity(intent); Which of the following is correct about the code above?
A. It sends a result to a new Activity in a Bundle.
B. It will not compile without adding the INTERNET permission the Manifest file.
C. It starts any activity in the application that has a WebView in its layout.
D. When it is executed, the system starts an intent resolution process to start the right Activity.
Submit
×
Thank you for your feedback!
View My Results
Related Quizzes
Tablet Quiz: What Tablet Should I Buy Quiz
Tablet Quiz: What Tablet Should I Buy Quiz
Thank you for your feedback!
Would you like to edit this question to improve it?
No thanks
Name:
Email:
Oops! Give us more information:
Incorrect Question
Incorrect Answer
Typos
I have a feedback
Submit
Please provide name and email to proceed.
Please provide correct email to proceed.
Please provide feedback.
Please select the option.
All (10)
Unanswered (
)
Answered (
)
What method you should override to use Android's menu which is placed...
Which of the following is NOT a valid usage for Intents?
Which of the following lines of code is used to pass a value to the...
Which of the following is incorrect about intents?
What is the name of the class used by Intent to store additional...
Which of the following attributes is used to set an activity screen to...
When the user clicks on an action item in the action bar, which of the...
Which method should you use to start a sub-activity?
Which Which of the following does NOT correctly describe interface...
Consider the following code: Intent intent = new...
X
OK
X
OK
Cancel
X
OK
Cancel
Your Rank: #-- / --
Leaderboard
✕