Relationship between a database and a table?
A table is contained within the database and consists of columns and rows. A table is meant to store data and, in relational databases, are related to other tables within the same database.
Starvation refers to the use of all resources. As an example a poorly constructed database, poor concurrency controls will result in dbms starvation as usage increases. In effect the database subsystem is STARVING for resources because all available resources are being consumed. As a result you will see a severe degrade in performance.
How do you insert data to a database using a PHP form?
You will need a table first, this can be created via your Database - PHPMyAdmin,
Inputting data in PHP - MySQL
e.g
mysql_query("INSERT INTO `users` VALUES('$name','$pass','$gender','$email')") or die("Errored due to:
".mysql_error());
This will Input the values into the table you created with the details of the registering person.
Notice that any form element in an HTML page will automatically be available to your PHP scripts.
How is the hex 1234 stored in big endian?
Big endian does not change the ordering, so it is stored as 0x1234
Delete queries are often run after queries have added those same records to history tables?
No, Delete queries are ran before the queries which adds the data to history table. This is to avoid duplicacy.
How much is a database administrator paid?
You will find the answer here: http://www.bls.gov/oco/ocos042.htm#emply
What does Record mean in database?
Record holds data about one object with its attributes specified in table.
What advantage do reports have over printed forms in database?
Reports allow you greater flexibility in grouping and summarising data compared to printed forms.
Explain the centralized DBMS architecture in detail?
combines everything into a single system including, DBMS software,hardware, application programs and user interface
Foreign dependency is when a country relies on another country, for example for money, jobs, food etc.
How do you calculate the number of necessary games for a round robin tournament?
Round robin play involves each entry playing all other entries. For example if you have 4 teams entered, each team plays all the other teams or 3 games each for a total of 12 games played.
If you have larger number of teams, split them up into pools. Ie. 12 teams 3 pools of 4 each team playing 3 games. You then can take the top 2 best records from each pool and put them into a championship pool so you would have 6 teams playing 5 games each and the eventual winner would be team with best record.
Can a database only be stored on a computer?
No, it can in fact be stored in a file outside of a computer...what boff wants to know that!?
the compexity of linear search in worst case is f(n) = n+1
A database is a collection of data. It should be integrated , consistent , non- redundant , durable and atomic in nature.
Integrity constraints in dbms?
The term integrity means to correctness and completeness of the data in data base. A relational data base is collection of related table. Table contains various information. Tables are connected by the foreign key relationship. When the contains with the certain command, insert, delete, update.The integrity of the data can be loss in many different waves.
What is a keyed vs sequential?
Keyed and sequential refer to two different methods of data access in computing. Keyed access allows data to be retrieved using a specific identifier or key, enabling direct access to a particular record. In contrast, sequential access requires reading through data in a specific order, typically from the beginning to the end, making it less efficient for finding specific records. Keyed access is often used in databases, while sequential access is common in file systems and data streams.
File management system in dbms?
it was the first method used to store data in a computerized database here each field or dataitem is stored in a disk sequencily in one large file.
art by mvs