{"id":6147,"date":"2021-05-10T06:36:50","date_gmt":"2021-05-10T06:36:50","guid":{"rendered":"https:\/\/www.scmgalaxy.com\/tutorials\/?p=6147"},"modified":"2021-05-10T07:08:26","modified_gmt":"2021-05-10T07:08:26","slug":"dbms-interview-qa-part-1","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/dbms-interview-qa-part-1\/","title":{"rendered":"DBMS Interview Q&#038;A Part- 1"},"content":{"rendered":"\n<h5 class=\"wp-block-heading\">Q. What is Data  ?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A.<\/strong> Data refers to raw facts and figures that can be recorded.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Q. What is Database ?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A. <\/strong>Database refers to the collection of interrelated and coherent data.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Q. Explain DBMS ?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"block-6dd739f4-3f59-4e01-bc84-3fe42e47a63e\"><strong>A.<\/strong> DBMS stands for Database Management System. It is a software<br>package designed to define, manipulate, retrieve and manage data in<br>database.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Q. Why DBMS ?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"block-be293b80-1ba9-4550-b118-ec6b9d119b99\"><strong>A.<\/strong> To make information easy to access and protected, we use database<br>management systems. DBMS is important because it manages the data<br>efficiently and allow users to perform multiple tasks on it with the ease.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Q. What is a database system?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"block-87aacc1a-6300-4442-ba51-444d3e959c87\"><strong>A. <\/strong>The collection of database and DBMS software together is known as a<br>database system.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Q. What do you mean by Data Modelling ?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"block-046c18f7-6254-4c7b-8d1d-520b0a082bab\"><strong>A.<\/strong> Data Modelling is the set of conceptual tools for describing data<br>relationship, data semantics, and consistency constraints. Different data<br>models are : Network model, Relational model, Object Oriented model, ER<br>model, and more.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Q. Explain RDBMS ?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A.<\/strong> RDBMS stands for Relational Database Management System. It<br>arranges information into allied rows and columns. RDMS is an information<br>management system which is oriented on a data model. RDBMS Example<br>systems are SQL Server, Oracle, MySQL, MariaDB and SQLite.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Q. Explain Abstraction of Data, with reference to DBMS ?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A.<\/strong> Data Abstraction refers to the process of hiding background details from<br>user.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Q. Explain the 3 L\u2019s of Data Abstraction ?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A. <\/strong>It refers to three levels of abstraction. They are :<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>Physical Level <\/strong>: It is lowest level of abstraction. It describes how data is<br>actually stored. It also describes complex data structure in detail.<\/li><li><strong>Logical Level<\/strong> : It describes what data get stored in the database and what are the relationships among them.<\/li><li><strong>View Level <\/strong>: It is the highest level of data abstraction that only describes a part of database indirectly<\/li><\/ol>\n\n\n\n<h5 class=\"wp-block-heading\">Q. What is Database Schema ?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A.<\/strong> Schema refers to the overall structure of database without data values.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Q. What do you mean by transparent DBMS?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A. <\/strong>The transparent DBMS is a type of DBMS which keeps its physical<br>structure hidden from users.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Q. Explain ER Model ?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">A. This model is based on the perception of real world that consists of<br>collection of basic entities and relationship among these objects. It is the<br>graphical representation of the database.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Q. What do you understand by Data Independency ?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A. <\/strong>It refers to the capacity to change data at one level without affecting next<br>higher level is called Data Independence. It is of two types : Physical DI,<br>Logical DI.<br><strong>Physical DI :<\/strong> It indicates that physical storage of device could be changed<br>without affecting conceptual view.<br><strong>Logical DI :<\/strong> It indicates that conceptual schema can be changed without<br>affecting existing external schema.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Q. What is a Database Language ?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A. <\/strong>Database Language is a medium by which we can interact with the<br>database system through some set of commands. These commands are<br>structured.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Q. What is a Tuple ?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A.<\/strong> A single row of a table, which contains a single record for that relation is<br>called a tuple.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Q. Explain degree and Cardinality ?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A.<\/strong> Degree is the total number of attributes in a relation or table and<br>cardinality is total number of tuples\/rows in a relation\/table.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Q. What is a relation in DBMS ?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A. <\/strong>A database relation refers to an individual table in a relational database.<br>A table is a relation because it stores the relation between data in its<br>column-row format.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Q. What is the role of DML Compiler ?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A. <\/strong>It translates DML statements in a query language into low-level<br>instructions that the query evaluation engine can easily understand.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Q. Explain me the role of using clause for queries ?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">A. Clause enables you to specify conditions that filters the results as per<br>the requirement. Some of the most commonly used clauses are : having,<br>where etc.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Q. What is a Query ?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A. <\/strong>Query is a statement that is used for the extraction of data from<br>database.<br>For example \u2013 select * from table1 is a query<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Q. What is Subquery ?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A.<\/strong> Subquery is a query within query.<br>For example \u2013 select * from students where marks = ( select max(marks)<br>from students);<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Q. Explain BCNF ?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A.<\/strong> BCNF is Boyce-Codd Normal Form. It is considered to be the advanced<br>version of 3 NF. Hence it is also refered to as 3.5 NF. A relation is said to<br>be in BCNF, if it satisfies following rules :<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>It is in 3NF.<\/li><li>For every functional dependency P->Q, P should be the super key of the table.<\/li><\/ol>\n\n\n\n<h5 class=\"wp-block-heading\">Q. What are Stored Procedures ?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A.<\/strong> Stored Procedure refers to the set of Structured Query Language(SQL)<br>statements stored in a relational database management system as a group.<br>It can further be reused and shared by multiple programs. It provides a<br>layer of security between a user interface and database.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Q. What is Data ? A. Data refers to raw facts and figures that can be recorded. Q. What is [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[72],"tags":[5282,766,482],"class_list":["post-6147","post","type-post","status-publish","format-standard","hentry","category-database","tag-dbms","tag-interview","tag-questions"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>DBMS Interview Q&amp;A Part- 1 - scmGalaxy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.scmgalaxy.com\/tutorials\/dbms-interview-qa-part-1\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"DBMS Interview Q&amp;A Part- 1 - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"Q. What is Data ? A. Data refers to raw facts and figures that can be recorded. Q. What is [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/dbms-interview-qa-part-1\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2021-05-10T06:36:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-10T07:08:26+00:00\" \/>\n<meta name=\"author\" content=\"Chandan Kumar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Chandan Kumar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/dbms-interview-qa-part-1\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/dbms-interview-qa-part-1\\\/\"},\"author\":{\"name\":\"Chandan Kumar\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/0990c0a2b3e841b474db853d83993e98\"},\"headline\":\"DBMS Interview Q&#038;A Part- 1\",\"datePublished\":\"2021-05-10T06:36:50+00:00\",\"dateModified\":\"2021-05-10T07:08:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/dbms-interview-qa-part-1\\\/\"},\"wordCount\":763,\"commentCount\":0,\"keywords\":[\"dbms\",\"Interview\",\"Questions\"],\"articleSection\":[\"Database\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/dbms-interview-qa-part-1\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/dbms-interview-qa-part-1\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/dbms-interview-qa-part-1\\\/\",\"name\":\"DBMS Interview Q&A Part- 1 - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"datePublished\":\"2021-05-10T06:36:50+00:00\",\"dateModified\":\"2021-05-10T07:08:26+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/0990c0a2b3e841b474db853d83993e98\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/dbms-interview-qa-part-1\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/dbms-interview-qa-part-1\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/dbms-interview-qa-part-1\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DBMS Interview Q&#038;A Part- 1\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/0990c0a2b3e841b474db853d83993e98\",\"name\":\"Chandan Kumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/74c343a5ceb90ca898e3d70936f38c44a8ce15becca310570da3b614131b436f?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/74c343a5ceb90ca898e3d70936f38c44a8ce15becca310570da3b614131b436f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/74c343a5ceb90ca898e3d70936f38c44a8ce15becca310570da3b614131b436f?s=96&d=mm&r=g\",\"caption\":\"Chandan Kumar\"},\"description\":\"Be a Full Stack Developer and eager to learn new Technology. Knowledge: CSS, Bootstrap, Javascript, PHP, WordPress, Joomla, Moodle, Laravel, AJAX, Jquery, Java, Dart, Flutter, Photoshop, CorelDraw, Pagemaker &amp; Office Package\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/chandan\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"DBMS Interview Q&A Part- 1 - scmGalaxy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.scmgalaxy.com\/tutorials\/dbms-interview-qa-part-1\/","og_locale":"en_US","og_type":"article","og_title":"DBMS Interview Q&A Part- 1 - scmGalaxy","og_description":"Q. What is Data ? A. Data refers to raw facts and figures that can be recorded. Q. What is [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/dbms-interview-qa-part-1\/","og_site_name":"scmGalaxy","article_published_time":"2021-05-10T06:36:50+00:00","article_modified_time":"2021-05-10T07:08:26+00:00","author":"Chandan Kumar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Chandan Kumar","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/dbms-interview-qa-part-1\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/dbms-interview-qa-part-1\/"},"author":{"name":"Chandan Kumar","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/0990c0a2b3e841b474db853d83993e98"},"headline":"DBMS Interview Q&#038;A Part- 1","datePublished":"2021-05-10T06:36:50+00:00","dateModified":"2021-05-10T07:08:26+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/dbms-interview-qa-part-1\/"},"wordCount":763,"commentCount":0,"keywords":["dbms","Interview","Questions"],"articleSection":["Database"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/dbms-interview-qa-part-1\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/dbms-interview-qa-part-1\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/dbms-interview-qa-part-1\/","name":"DBMS Interview Q&A Part- 1 - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"datePublished":"2021-05-10T06:36:50+00:00","dateModified":"2021-05-10T07:08:26+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/0990c0a2b3e841b474db853d83993e98"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/dbms-interview-qa-part-1\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/dbms-interview-qa-part-1\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/dbms-interview-qa-part-1\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"DBMS Interview Q&#038;A Part- 1"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/0990c0a2b3e841b474db853d83993e98","name":"Chandan Kumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/74c343a5ceb90ca898e3d70936f38c44a8ce15becca310570da3b614131b436f?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/74c343a5ceb90ca898e3d70936f38c44a8ce15becca310570da3b614131b436f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/74c343a5ceb90ca898e3d70936f38c44a8ce15becca310570da3b614131b436f?s=96&d=mm&r=g","caption":"Chandan Kumar"},"description":"Be a Full Stack Developer and eager to learn new Technology. Knowledge: CSS, Bootstrap, Javascript, PHP, WordPress, Joomla, Moodle, Laravel, AJAX, Jquery, Java, Dart, Flutter, Photoshop, CorelDraw, Pagemaker &amp; Office Package","url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/chandan\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/6147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=6147"}],"version-history":[{"count":11,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/6147\/revisions"}],"predecessor-version":[{"id":6159,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/6147\/revisions\/6159"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=6147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=6147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=6147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}