1 Name the resource that is a compiled visual resource, which can be used as a background, title, or in other parts of the screen.
Drawable is the virtual resource that can be used as a background, title, or in other parts of the screen. It is compiled into an android.graphics.drawable subclass. A drawable resource is a general concept for a graphic that can be drawn. The simplest case is a graphical file (bitmap), which would be represented in Android via a BitmapDrawable class.
Drawable is stored as an individual file in one of the res/drawable folders. The ADT project creation wizard creates these folders by default. You would store bitmaps for different resolutions in the -mdpi, -hdpi, -xhdpi, and -xxhdpi subfolders of res/drawable. If these bitmaps are provided in a different folder, the Android system selects the correct one automatically based on the device configuration.
What is ADB?
ADB stands for Android Debug Bridge. It is a command-line tool that is used to communicate with the emulator instance. ADB can control our device over USB from a computer, copy files back and forth, install and uninstall apps, run shell commands, and more.
It is a client–server program that includes three components:
Q7Does python make use of access specifiers?
Output:
1 What is the difference between UI policy and data policy?
Ans: UI policy acts when a record is inserted or updated through a ServiceNow UI i.e ServiceNow forms while data policy acts whenever a record is inserted or updated into the database through any means.
Servicenow Interview Questions and Answers for Developers
Ans: LDAP is the Lightweight Directory Access Protocol. It is used for user data population and User authentication. Servicenow integrates with LDAP directory to streamline the user login process and to automate the creation of user and assigning them roles
Q4What are docstrings in Python?
Ans: Docstrings are not actually comments, but, they are documentation strings. These docstrings are within triple quotes. They are not assigned to any variable and therefore, at times, serve the purpose of comments as well.
Example:
Output: 2.0
6 Name a few types of reports that you can generate?
Ans: Few reports are:
Q What are the key features of Python?
x=111
and then x="Im a string"
without errorpublic
, private
).