answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Gnom [1K]
2 years ago
10

Charlie has a large book collection. He was keeping track of it in a spreadsheet, but it has grown big enough that he wants to c

onvert it into a real database. Here is a sample from the spreadsheet: Author James Taylor Author Country England May Norton United States Titles JavaScript Essentials, South Tech Books, London, 2010, $14; HTML5 Exposed, Webby Books, London, 2012, $15.50 Big Data Big Promise, Data Press, San Francisco 2012, $25 Database Development for the Cloud, Data Press San Francisco, $20.35; Data Services, Future Tech Press, New York $12.95 Jessica Lewis United States Ques. 1. What are some of the potential problems with this layout if carried directly to the database? (Exam2.docx) Ques. 2. Create the Dependency Diagram and transform it into the highest normal form (Show various stages - INF, 2NF, 3NF). Be sure to show the primary keys, and various dependencies in each stage (Exam2.docx) Ques. 3. Create the final ER diagram that shows the database in the highest Normal Form. (Indicate PK, FK, data types). You can add additional attributes as needed. (Exam 2.docx) Ques. 4. Write a single script file (Label it as Exam2.sql) to create the tables and insert the sample data in Oracle. Confirm that the rows are created, and data is inserted. Use echo and spool to create an output file (Label it as Exam2_Output.txt)

Computers and Technology
1 answer:
zepelin [54]2 years ago
3 0

Answer:

Check the explanation

Explanation:

Ans 1) storing the data in one single row comes with its own barriers and that is if you delete one of the record in the spreadsheet, all the equivalent records which you didn't wanted to delete would be deleted. For take for instance, if you wish to delete the record of author "James Taylor" then all the books he has written would also be deleted from the spreadsheet.

Ans 2) In 1NF, all row is expected to have only 1 tuple, but here in this spreadsheet the title field for Author "James Taylor" has 2 books, so it would be separated into single rows.

Ans 3) The table in the attached image below doesn't delete with Delete anomaly, i.e., for author "May Norton" if you delete this record, then the only book written by her would be deleted.

So, you have to convert this table into 2NF.

Make separate tables for Author and Book

Author(Author Name, Author Country)

Books(Author Name, Book title, Publisher, Publisher Location, Year, price)

This cannot be normalized any further.

You might be interested in
A.Create the logic for a program that calculates and displays the amount of money you would have if you invested $5000 at 2 perc
lianna [129]

Answer:

see explaination

Explanation:

a)

amount = 5000

rate = 2

year = 1

interest = calculateInterest(amount, rate, year);

finalAmount = amount + interest

###### function ######

calculateInterest(amount, rate, year):

interest = (amount*rate*year)/100;

return interest

b)

amount <- enter amount

rate = 2

year = 1

interest = calculateInterest(amount, rate, year);

finalAmount = amount + interest

###### function ######

calculateInterest(amount, rate, year):

interest = (amount*rate*year)/100;

return interest

c)

#include <iostream>

using namespace std;

// function defination

double calculateInterest(double amount, double rate, int year);

int main(){

double amount, rate;

int year = 1;

cout<<"Enter amount: ";

cin>>amount;

cout<<"Enter rate: ";

cin>>rate;

// calling method

double interest = calculateInterest(amount, rate, year);

cout<<"Amount after 1 year: "<<(amount+interest)<<endl;

return 0;

}

// function calculation

double calculateInterest(double amount, double rate, int year){

return (amount*rate*year)/100.0;

}

7 0
2 years ago
Write a C++ program that uses a while statement and the tab escape sequence \t to print the following table of values:N 1 0*N 1
Luda [366]

Answer:

#include <iostream>

using namespace std;

int main()

{

cout << "N\t10*N\t100*N\t1000*N" << endl;

int x=1;

while(x<=5){

 cout << x <<"\t"<< x*10 <<"\t"<<x*100  <<"\t"<< x*1000 << endl;

 x++;

}

   return 0;

}

Explanation:

Print the header, N 10*N 100*N 1000*N, using \t

Initialize the x as 1. It will be used to control the while loop

Create a while loop that iterates while x is smaller than or equal to 5

Inside the loop, print the required values. After printing, increment the value of x by 1

5 0
2 years ago
Describe different types of intrusions such as SQL PL/SQL, XML, and other injections.
Finger [1]

<em>Intrusion means unauthorized and harmful activities happening in your system. Any irregularities in the system is considered as intrusion and therefore monitored by administrators and can be detected using Intrusion Detection System. </em>

<em>Examples of Intrusion attacks in a network are: </em>

  • <em>Denial of Service (Dos) - denial of service means flooding the system causing it to crash and unable to respond to a service request. Normally, a DoS attack is facilitated by numbers of hosts sending enormous request to a victim computer. The requests can be in a form of code that would flood the system and making it to unresponsive.  </em>
  • <em>Man in the Middle Attack (MiM) - a hacker would be in the middle of the communication between a client computer and a server computer. The hacker can mimic IPs within the network and steal information then sends it to the intended receiver.  </em>
  • <em>SQL Injection - For websites that runs database like SQL, a code by the hacker can be added to the website and making him gained access to the database information successfully.</em>
8 0
2 years ago
Substances become a form of “self-soothing” when one feels_______. a) stressed b) anxious c) the need for a reward d) all of the
Fynjy0 [20]
The answer vshould be stressed
3 0
2 years ago
Read 2 more answers
7. Which of these statements is true? Agile is a programming language MySQL is a database HTML stands for "Hypertext Markup Link
timurjin [86]

Answer:

None of them is correct, but it seems one of the option has missing words.

The exact definition is, MySQL is a database management system.

Explanation:

Agile is not a programming language, it is a software development methodology.

HTML stands for "Hypertext Markup Language"

Java and JavaScript are different languages.

Actually,  MySQL is a database management system. It is used to deal with the relational databases. It uses SQL (Structured Query Language).

5 0
2 years ago
Other questions:
  • Represent decimal number 8620 in (a) BCD, (b) excess-3 code, (c)2421 code, and (d) as a binary number
    7·1 answer
  • Which of the following is true about simulation games? A. Simulation games involve competing in a sport against other players. B
    10·2 answers
  • When you reboot your system, the computer follows start-up instructions stored in this type of memory. multiple choice dram sdra
    15·2 answers
  • True or false? The largest component of a database is a field.
    12·2 answers
  • In a graphical user interface, which is a small symbol on the screen whose location and shape changes as a user moves a pointing
    10·1 answer
  • If you're found to be at fault in _____, your driver license will be canceled within 90 days unless you complete a 12-hour Advan
    10·2 answers
  • Database management systems are expected to handle binary relationships but not unary and ternary relationships.'
    7·1 answer
  • An administrator is investigating a failure on a trunk link between a Cisco switch and a switch from another vendor. After a few
    5·1 answer
  • Axel is finally documenting his work. What could he be writing?
    12·1 answer
  • You and your friend who lives far away want to fairly and randomly select which of the two of you will travel to the other’s hom
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!