Question
Attributes that do not exist in the physical database,
but their values are derived from other attributes present in the database.Solution
Types of Attributes • Simple attribute− Simple attributes are atomic values, which cannot be divided further. For example, a student's phone number is an atomic value of 10 digits. • Composite attribute− Composite attributes are made of more than one simple attribute. For example, a student's complete name may have first_name and last_name. • Derived attribute− Derived attributes are the attributes that do not exist in the physical database, but their values are derived from other attributes present in the database. For example, average_salary in a department should not be saved directly in the database, instead it can be derived. For another example, age can be derived from data_of_birth. • Single-value attribute− Single-value attributes contain single value. For example − Social_Security_Number. • Multi-value attribute− Multi-value attributes may contain more than one values. For example, a person can have more than one phone number, email_address, etc.
In a lottery, there are 12 prizes and 16 blanks. A lottery is drawn at random. What is the probability of getting a prize?
What is the probability that a number selected from 1,2,3.......................68,69,70, is perfect square or a perfect cube?
A bag contains only red and blue balls. The probability of drawing a red ball from the bag is 3/5. If 4 more blue balls are added to the bag, the probab...
- A jar contains five 25 paise coins, ten Rs. 1 coins, and ten Rs. 5 coins. One coin was accidentally dropped and lost. Find the probability that the lost co...
- A boy attended 5 lab evaluations, each having a total of 100 marks. His scores were 88, 76, 92, 81, and 70. He randomly reveals one of the scores to his fr...
In a group of artists, there are 10 dancers and 8 singers. If four artists are to be selected at random, what is the probability that 2 dancers and 2 si...
There are (m + 6) red roses, (m + 10) white roses and ‘m’ pink roses in a bag. If the probability of picking a pink rose is 5/23, then find the valu...
A box contains 6 blue shirts, 7 yellow shirts and 9 pink shirts. In how many ways can 4 shirts be drawn from the box, if at least one blue shirt, one ye...
A bag has x blue balls and 4 yellow balls. If the probability of picking a blue ball is 3/5, find the probability that two balls drawn at once are of di...
A bag contains 18 black and 20 white balls. One ball is drawn at random. What is the probability that the ball drawn is white?