Posts

Showing posts from March, 2020

ADBMS MCQs

1) Data models that preceded the relational model include the hierarchical and ___________ models A) relational    B) network    C) database    D) None of the above Correct Ans: network 2) In ______________ Multiple tables that represent the parent class and each child class A) Generalization    B) Polymorphism     C) Inheritance     D) Specialization Correct Ans:Inheritance 3) In _____________, users are permitted to create new data types of their own on their interest. A) DBMS    B) RDBMS    C) ORDBMS    D) All of the above Correct Ans: ORDBMS 4) A means of identifying sub-groups within an entity set which have attributes that are not shared by all the entities (top-down). A) Specialization    B) Generalization    C) Both A & B    D) None of these Correct Ans: Specialization 5) ORDBMS is the data model in which data ...

Databases on the Web and Semi Structured Data-ADBMS

Image
 Overview of XML XML stands for Extensible Markup Language. XML has been proposed as a possible model for data storage and retrieval. XML can be used to provide information about the structure and meaning of the data in the Web pages rather than just specifying how the Web pages are formatted for display on the screen Structure of XML data XML document have hierarchical structure. It must contains root element. Along with that it contains sub-elements, text & attributes.  XML Documents starts with root element and branches to the lowest level of elements. XML specification has two key points: 1) The start, end and empty element tags that delimit the elements are nested with none missing & none overlapping.  2) Single root elements contains all the other elements. XML tree represented graphically. Ex. Product -------Name -------Details -----Price -----Description Document schema Commonly known as XML Schema Defini...

First Python Program

Image
To execute the python program first we need 1) To download the python software with latest version. You can found it on  https://www.python.org/downloads/ 2) Install it with double click and complete the necessary steps. 3) Launch the python IDLE 4) For script mode go to file>new. As I told you before we have two modes to execute python code. First is interpreter mode and the second is script mode. Let us execute with both way. 1) On the interpreter (not to use script file). This is how it looks. On Script Mode:      To execute code on interpreter mode you need to press enter.  To execute the code on script mode you can click on run option from menu or press F5.

Python Introduction

Image
Python is interpreted, object oriented & high level programming language. It is developed by Guido van Rossum in late 1980’s. Python can be used to create web applications, software development etc. It can also connect database systems.  Python supports functional & structured programming. Python works on different platforms. (Windows, Linux, Mac, Raspberry pi etc.) It allows developers to write programs with few lines than any other programming language. Python programs can run on two modes, one is script mode and another is interpreter mode. On an interpreter mode program can execute as soon as it written. Some of the important application areas of python are: Desktop GUI Software Development Business Applications WEB Development Game Development Language Development Scientific & Numeric Computing Official Website: https://www.python.org/ Documentation referred from: https://docs.python.org/3/tutorial/index.html

Data Mining

Introduction to Data Mining