Andriod For Beginner

Interview Question- Database

Question:Define Web Service?
Answer:A web service is a kind of software that is accessible on the Internet. It makes use of the XML messaging system and offers an easy to understand, interface for the end users.

Question:What is new in this field for past few years?
Answer:The initiation of XML in this field is the advancement that provides web service a single language to communicate in between the RPCs, web services and their directories.

Question:What are the different types of web services?
Answer:  There are two types :

  • SOAP
  • RestFull

Question:What is SOAP?
Answer:SOAP stands for Simple Object Access Protocol. It is a XML-based protocol for accessing web services.

Question:What is RESTful web services?
Answer:REST stands for REpresentational State Transfer. It is a architectural style. It is not a protocol like SOAP.

Question:Define WSDL?
Answer:It means Web Services Description Language. It is basically the service description layer in the web service protocol stock. The Service Description layer describes the user interface to a web service.

Question:Differentiate between a SOA and a Web service?
Answer:SOA is a design and architecture to implement other services. SOA can be easily implemented using various protocols such as HTTP, HTTPS, JMS, SMTP, RMI, IIOP, RPC etc. While Web service, itself is an implemented technology. In fact one can implement SOA using the web service.

Question:What’s different in RESTful web services?
Answer:The RESTful web services contains no contract or WSDL file.

Question:Explain what is SQL LITE?
Answer: SQL LITE is a mostly ACID compliant relational database management system contained in a relatively small c programming library

Question:Explain what is SQLite transactions?
Answer:  The transaction is referred as a unit of work that is performed against a database.  It is the propagation of one or more changes to the database. Properties of transactions are determined by ACID.

    • Atomicity: It ensures that all work unit are successfully completed
    • Consistency: It ensures that the database changes states upon a successfully committed transaction
    • Isolation: It enables transactions to operate independently of and transparent to each other
    • Durability: It ensures that the result or effect of a committed transaction persists in case of a system failure


Question:Mention what is the command used to create a database in SQL lite?
Answer:To create a database in SQL lite- command “sqlite3” is used.  The basic syntax to create a database is $sqlite3 DatabaseName.db .3

Interview Question- Android Core (Prev Lesson)
Back to Andriod For Beginner
Inquire Now
close slider