Q: 4
What is the file that determines the basic configuration (specifically activities, services, broadcast
receivers, etc.) in an Android application?
Options
Discussion
Honestly, gotta go with A. The manifest is what actually lists out the core components like activities and services. D is just where the bytecode lives, easy distractor here. If anyone thinks differently let me know but I'm pretty sure it's A.
A unless they're asking for the file directly used at runtime, but config means Manifest.xml pretty much every time on these.
Had something like this in a mock and went with D, since classes.dex actually holds all the code logic. I thought that meant it also controlled what activities or services run, so picked D here. Pretty sure someone will tell me if that's backwards.
D , I thought classes.dex has the app logic so should control structure too.
A
A for config stuff, Manifest.xml is where the app's components get declared. Not seeing how D would fit for configuration.
I don’t think it’s D. A is the config file where you declare activities, services, receivers-all the app components. D (classes.dex) is just compiled bytecode, not really configuration data. This one pops up a lot as a trick option in practice sets. Pretty sure A is right, feel free to chime in if I missed something.
Its A, D gets people since it's important but it's code not configuration. Seen this in similar questions before.
A tbh, the manifest is the one that actually declares app components. D looks tempting but that's just where the compiled code goes, not configuration. Pretty sure this is a classic trap option situation.
D isn't config, it's the code. Manifest.xml (A) is what defines activities and services. Pretty sure A.
Be respectful. No spam.
Question 4 of 35