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

Discuss the difference between a composite key and a composite attribute.How would each be indicated in an ERD?

Attribute is the property of entity.The composite attribute is like address(where street no,house no,town name all include).Composite key is also an attribute,but only which attribute are work as a unique identifier. Example:> In an ERD if vendor placed with orders then order(order day, order number) vendor(vendor code,vendor address) Here, order and vendor both are entity and order number, vendor code both are Composite key(because those are unique)but vendor address is a Composite attribute and order day(may be not unique)is an attribute only. So, we can conclude that all attribute not Composite key.

What is a manual information system?

A manual information system is a method of managing and storing information without the use of computers or automated systems. Information is typically recorded and stored in physical documents such as paper files, logs, or index cards, and is manually updated and accessed by individuals as needed. These systems rely on human intervention for data input, processing, and retrieval.

What are the differences between file systems and database systems?

Document system is used to control how information is put away and recovered. Without a document framework, data set in a stockpiling region would be one vast collection of information with no real way to tell where one bit of data stops and the following starts, while database frameworks store organized data in an entrance controlled way utilizing components that make seeking significantly speedier while giving different methods for defending information from coincidental defilement or adjustment.

Which type of database model connects data in different files through the use of a key field?

The relational database model connects data through the use of a key field, which is called a primary key in one table and a foreign key in another table. This key field establishes a relationship between different tables by uniquely identifying records.

How to Combine two databases?

To combine two databases, you can export the data from one database and import it into the other. This can be done using tools like MySQL Workbench or by writing scripts to transfer the data. Make sure to map the corresponding table structures and handle any conflicts or data inconsistencies during the merge process. Backup both databases before merging to avoid any data loss.

Disadvantages of relational database model?

  1. Lack of scalability: Relational databases can struggle with scalability as the data grows in size and complexity.
  2. Performance issues: Join operations and complex queries can lead to slower performance in relational databases.
  3. Data redundancy: Normalization in relational databases can result in storing data in multiple tables, leading to redundancy and inefficiency.

What is the difference between an information system and an information management system?

Often, they are used interchangeably. Basically, think of an Information System (IS)as that system that is used by and accessable to everyone. Any factory worker may use an Information System to look up a part, or you may use an Information System in the library to find a book. The Management Information System, or MIS, is that system that is used by management to make management decisions. So the factory worker may not have access to the MIS, but the CEO would use the MIS to schedule work flow, hire more employees, make decisions about building new factories. The librarian in your local library would use the IS to find a book but an MIS to schedule other librarians to work on peak traffic days.

Management Information Systems is alao a type of software which allows the adminstrator on a network the ability to control how programs, data and information is accesed, used and so on.

  • These systems allow the administrator access to information on the welfare or security of the network.
  • Jobs such as daily task creation, routine backups and database population, etc. can be controlled and automated to run at will or at preset times.
  • With these systems, access to the people, data and programs on the company intranet becomes a snap with reports and visual information.
  • A large number of things such as computers, system security levels and people can be controlled by these systems.
  • A MIS will usually sit on top of and contol the actual information system, which is the base and structure of a company network or corporate knowledgebase of the underlying company as it were.
  • These systems also allows an administrator to automate some repetitious tasks.

When companies build a network of data, poeople, programs and such this information can become quite extensive and cumbersome, and very hard to manage - hence the MIS to control it in an organized fashion.

Examples of manual data processing?

Manual data processing involves tasks such as sorting, organizing, and calculating data without the use of computers. Examples include tallying sales figures using a pen and paper, creating reports by hand, or filling out forms manually instead of using digital systems.

What is security control related to information systems?

In security control, information systems are used to communicate between officers and store classified data. Ideally, information systems help to ensure security and make work easier for security officers.

You have received an email this morning asking for your email account password or you will be removed from the database Is this genuine or some sort of identity theft?

No genuine company will ever need to ask you for your password. This is a type of scam called phishing. Please report it to your service provider. Many companies have dedicated email addresses for reporting these sort of hoaxes.

What is a secondary key in relational databases?

A secondary key is a field that is identified as being suitable for indexing the data such as a surname, It is used to sort the data in a different order to the primary key, A table can have many secondary keys in fact every field could be a secondary key. Hope this helps !

Show the difference bw 3-levels of data abstraction in DBMS?

The three levels of data abstraction in a DBMS are physical, logical, and view.

  1. Physical level: Describes how data is stored in the database, including details like data storage and access paths.
  2. Logical level: Focuses on the structure of the data in the database, including schemas, tables, and relationships.
  3. View level: Represents how users view the data, providing a customized and simplified representation of the data to different user groups.

What are the advantages of relational databases?

Basically that any given data needs only to be stored once. Take zip codes for example, if you have a table that gives any zip-code a name, that name needs only to be stored once. For every address, the zip-code will then lookup the correct address. Almost every database nowdays has this capability, although, in some cases, this relationship maust be performed manually by a 'lookup' function. Like the one used in Excel for example. --

What is second normal form in DBMS?

Second normal form is valid in a table which have composite primary key which is made with the combination of two columns.So if we have A,B,C,D,E attributes in our table and C,D are fully functional dependent on A,B.But E is partially functional dependent on A,B,Mean if we use Only B to define E coloumn then that will be suffecent.so then we use 2nd normal form & we create two tables with coloumns attributes A,B,C,D and the other table with coloumns attribute B,E.That will be called second normal form.

What are the difference between hierarchical database and network database?

Hierarchical databases organize data in a tree-like structure with parent-child relationships and a strict one-to-many hierarchy, while network databases use a more flexible model with many-to-many relationships through pointers or links between records. Hierarchical databases are faster for accessing data along predefined paths, while network databases allow for more complex data relationships but can be more complex to manage.

What are the disadvantages of a paper-based database?

Some disadvantages of a paper-based database include limited storage capacity, difficulty in organizing and retrieving information, and susceptibility to damage from physical elements such as fire or water. Additionally, sharing and distributing information can be cumbersome compared to electronic databases.

Is logical grouping of information?

Logical grouping of information refers to organizing related information into categories or sections that make it easier for users to understand and navigate. By grouping similar information together, it helps users locate what they need efficiently and improves overall organization and structure.

What is the difference between OODBMS and DBMS?

Third generation of database design theory.

DBMS: Database Management System

RDBMS: Relational Database Management System

OODBMS: Object Oriented Database Management System

What is a database field name?

A database field name is a unique identifier for a particular piece of data within a database table. It helps to organize and distinguish different types of information stored in the database. Each field name typically corresponds to a specific attribute or characteristic of the data being stored.

5 componets of an information system?

  1. Hardware: Physical components such as computers, servers, and networking devices.
  2. Software: Programs and applications that provide functionality for users.
  3. Data: Information that is stored, processed, and utilized by the system.
  4. Procedures: Guidelines and instructions for users on how to interact with the system.
  5. People: Individuals who manage, operate, and use the information system.

Could you give some examples of rdbms?

MS SQL Server, Oracle, MySQL, MS Access, SyBase, …

Regrad's

Thota Yadhunandana Naidu

+91-9900943253

What is data abstruction in dbms?

Remove all redundancy from database using Normalization to ensure almost purest form of data base is called abstraction.

literally abstraction is a process of removing unnecessary information from database.

it hide super flush information form database and gives emphasis on valuable information.

Disadvantages of Hierarchical database model?

Some disadvantages of the hierarchical database model include complexity in representing certain types of relationships, limited flexibility in querying data due to its rigid structure, and potential data redundancy issues as each child can only have one parent record.

Major difference between dbms vs rdbms?

A DBMS (Database Management System) is a software that manages databases and provides functionalities to store, retrieve, and update data. An RDBMS (Relational Database Management System) is a type of DBMS that stores data in a structured way using tables with relationships between them. RDBMS enforces the relational model, which allows for data integrity through constraints and supports SQL for querying data.

Advantages of paper based systems?

Paper-based systems are simple to use, cost-effective, and do not require electricity or technology to operate. Additionally, they offer a tangible format that is easy to organize and reference.