answersLogoWhite

0

📱

Database Programming

Databases are collections of tables that maintain and display information, often collaboratively; this information can be used for interaction with an application or gaining general knowledge. Questions about database engines and modifying or using them belong in this category.

8,803 Questions

In dbms what is indexes and hashing techniques?

Indexes in DBMS are data structures used to quickly retrieve data based on specific columns in a table. They allow for faster query processing by reducing the number of records that need to be scanned. Hashing techniques in DBMS involve converting data into a hashed value using a hash function, which is then used to index or organize the data for faster retrieval. Hashing provides quick access to data by generating a unique location for each record based on its hash value.

Why have databases become the preferred method of storing data used by an information system?

Databases are preferred for storing data in information systems because they provide efficient and structured ways to organize and access data. They allow for data retrieval and manipulation using a structured query language (SQL) and offer features such as data consistency, integrity, and security. Additionally, they support scalability and can handle large volumes of data efficiently.

Define data dictionary in dbms?

it contains meta data

A sub system that keeps track of the definitions of all data items in the database,relationships that exits between various data structures, indexes that are used too access data quickly,screen and report format definitions that may be used by various application programs.

What is the different between database and file based system?

Well both of these things are related to the record keeping of any organization.File based system was the old method for keeping a record of any organization. In this all the records are saved in general pages registers. And there are many people for handling these records. There were bundles of registers, in which records of many people are stored either, the income tax record. There was not any computer involved in it.

But later on, with the advancement of Information Technology, computer has taken the place of many record keepers. Via data base we mean that a computer programmer create a program or DB in which records of thousand and millions of users can be stored in a one computer, and via one click we can access the record of a particular person. There is no need for finding many registers. A database program for record keeping is install on a single computer for an organization and only one operator can deal with this millions of records.

Its simple example is telephone directory, in previous times the numbers of many users was stored on files and finding them takes so much time, but via the database advancement only via one click you can access a person number and address in a second.

In which database data is collected in the form of tables?

Relational databases like MySQL, PostgreSQL, Oracle, and SQL Server store data in tabular format, commonly referred to as tables. These tables consist of rows and columns, with each row representing a record and each column representing a different attribute or field of that record.

Any large single block of data stored in a database such as a picture or sound file which does not include record fields and cannot be directly searched by the databases search engine?

A binary large object (BLOB) is a data type used to store large amounts of binary data in a database, such as images or audio files. BLOBs are typically indexed but are not directly searchable by the database search engine, as they are stored as a single entity rather than separate fields. To retrieve or access the contents of a BLOB, you typically need to reference it using its identifier.

Why you need to study DBMS?

aside it is in computer science curriculum, we need to study DBMS for it help us to be organize in our files, data, and information. especially for the teachers, school registrar, accounting department and other offices who would like to be organize and when to search for file, data, or information it will consume less time or it will be easier for them to find. and to jive with the trends nowadays.

To Stop 3R's namely:

Rediscovering

Redoing

Reproducing

Difference between Object-based Data Model and Record-based Data Model?

Object-based data model represents data as objects with attributes and methods, providing a way to model real-world entities in a programming language like Java. On the other hand, record-based data model organizes data into fixed-format records or tuples, typically used in databases like SQL to store and retrieve structured information. Object-based data model offers a more dynamic and flexible way to represent data compared to the rigid structure of record-based models.

Is indentation of shore?

Shoreline indentation refers to areas where a coastline curves inward, creating a bay or cove. This indentation can be caused by various factors such as erosion, tectonic activity, or volcanic processes. Indentations in the shoreline provide unique habitats for marine life and can also affect coastal erosion and sediment movement.

How do you store and retrieve a picture in sybase database?

To store a picture in a Sybase database, you can use a BLOB (Binary Large Object) data type column in a table. You can insert the picture into this column using SQL commands or through an application that interacts with the database. To retrieve the picture, you can query the column where the picture is stored and then display or use the binary data as needed.

Describe the three retrieval operations for relational databases.?

The three retrieval operations are:

Selection - which retrieves a subset of rows.

Projection - which retrieves a subset of columns.

Joining -which combines data from two tables.

What is relation instance?

A relation instance is a set of tuples or rows in a relational database that represents a specific snapshot of data at a given point in time. Each tuple in the instance corresponds to a different record within the database and includes values for each attribute defined in the database schema. Multiple instances collectively form the relation or table.

What is the difference between databases and spreadsheets?

Nothing much, really. Other than the fact that a real database might contain ALOT MORE of data than a spreadsheet can. ALSO: The database might contain specific data in any field. Much more spesific that any spreadsheet can. Example: BLOB's. Binear Large Object B's. Those can contain almost anything. There are more details around this, but, anyway, a real database is something much more powerful than any spreadsheet (today anyways).

What is the standing data file?

The standing data file is a file containing static reference data that remains relatively unchanged over time, such as customer information, product details, or geographic data. It is used to provide a base for processing dynamic data and is often accessed by various applications within an organization for consistent information.

What is drop command?

The DROP table command of SQL lets you drop a table from database . The database requires you to empty a table before you eliminate from the database. But there is a condition for dropping a table ; it must be an empty table.

How do you extract information from relational database?

You can extract information from a relational database using Structured Query Language (SQL) queries. By writing SQL queries, you can retrieve data by specifying the table, columns, conditions, and sorting options to meet your requirements. This allows you to extract specific information from the database based on your criteria.

What is trie data structure?

§Trie is a special structure to represent sets of character strings.

§Can also be used to represent data types that are objects of any type e.g. strings of integers.

The word "trie" is derived from the middle letters of the word "retrieval

What is the difference between associative entity and relationship with attribute?

A relationship with attributes should be an associative entity when:

- All relationships for the associative entity should be many

- The associative entity could have meaning independent of the other entities

- The associative entity should have attribute(s), but it may or may not have an identifier

- The associative entity may participate in other relationships other than the entities of the associated relationship

- Ternary relationships should be converted to associative entities

Data is known as what?

Data can be defined as raw facts and statistics that can be processed and analyzed to extract meaningful insights.

What is the difference between distributed and replicated database?

Distributed and replicated databases have a topology of having roles : 'masters' and 'slaves' even though in a replicated database schema, the distinction becomes a little blurred.

Distributed databases are normally those where information is updated on a master. The changes in the master are distributed out to a number of slave databases. The slave databases can be updated themselves but if they are, their information isn't distributed to any other database. Should the master have updated information that would contend with information in a slave, the master would take presidence.

Replicated databases are normally those in which there is the capability to post updates to both 'master' through to 'slave' as well as 'slave' through to 'master'.

What is sql-3?

SQL-3 is short for Structured Query Language Level 3, which is a standard that defines the syntax and semantics of SQL queries. It includes features like advanced outer joins, enhanced data manipulation capabilities, and support for recursive queries. SQL-3 builds upon SQL-92 and provides more advanced functionality for managing databases.

Benefits of information system planning?

Information system planning helps organizations align IT resources with business goals, identify opportunities for technology improvement, and prioritize IT initiatives for maximum impact. It also enables efficient resource allocation and budgeting, as well as improved decision-making based on data-driven insights. Overall, effective information system planning can enhance operational efficiency, promote innovation, and support strategic growth objectives.

Is there a difference between a database and a data capture form?

Yes, a very fundamental one.

The form is the interface that allows you (or a user) to add data to the database.

The database is the thing that stores the information and retrieves it when queried by the database operator.

Define manual based information system?

A manual-based information system does not use any computer devices. All data would be kept in other ways, mainly paper. As a few examples: Before accounts, payroll and spreadsheet applications, people would have worked out this kind of information on paper. People would have handwritten letters or used typewriters instead of word processors. Graphs and diagrams would have been drawn by hand instead of using computer software to do them.

What are the advantages of centralized database?

Centralized databases offer simplified data management, easier maintenance, and increased data consistency due to a single point of control. They also provide better security measures by having a centralized system for monitoring and implementing security protocols. Additionally, centralized databases promote better scalability and efficiency in handling large volumes of data.