Answer: (D) Database design follows the twelve principles proffered by Dr. Edgar F. Codd
Explanation:
The relational database is basically based on the relational model of the data which is proposed by the Dr Edger F. codd and he mainly introduced the twelve basics principle of the database designing in the database system. He also contributed various valuable principle in the computer science.
The twelve principle are:
- The first rule of the relational database is the information rule as it represented all data or information
- Independence of the integrity
- Viewing various updating rule
- Logically treatment of various NULL value
- Independence of the physical database
- Distribution in-dependency
- Various delete, insert and update rules
- The overall logical description of the database are basically stored in the database directory
- There is no subversion rule
- There is guarantee accessing rule
- Proper rule for data language
- The relational database level actions
Answer:
<h3><em>
A</em>
- Use others' ideas and writing as their own</h3>
Explaniation:
it's plagiarism, just don't take other people's work and pass it as your own. smh lol
Answer:
if(soldYesterday > soldToday){
salesTrend = -1;
} else if(soldToday > soldYesterday){
salesTrend = 1;
}
Explanation:
The if/else statement is more explicit. The first if condition check if soldYesterday is greater than soldToday, if true, then -1 is assigned to salesTrend.
Else if soldToday is greater than soldYesterday, if true, then 1 is assigned to salesTrend.
Answer:
The program written in Python is as follows:
<em>See Explanation section for line by line explanation</em>
for n in range(100,1000):
isum = 0
for d in range(1,n):
if n%d == 0:
isum += d
if isum == n * 2:
print(n)
Explanation:
The program only considers 3 digit numbers. hence the range of n is from 100 to 999
for n in range(100,1000):
This line initializes sum to 0
isum = 0
This line is an iteration that stands as the divisor
for d in range(1,n):
This line checks if a number, d can evenly divide n
if n%d == 0:
If yes, the sum is updated
isum += d
This line checks if the current number n is a double-perfect number
if isum == n * 2:
If yes, n is printed
print(n)
<em>When the program is run, the displayed output is 120 and 672</em>