Answer:
See explaination
Explanation:
CREATE TABLE CATEGORY
(
cid int NOT NULL,
description varchar2(1000),
PRIMARY KEY (cid)
);
CREATE TABLE PRODUCT
(
pid int NOT NULL,
description varchar2(1000),
cid int,
price int,
p_size varchar2(1),
CONSTRAINT chk_price CHECK (price>0),
CONSTRAINT chk_size CHECK (p_size in ('S','M','L')),
CONSTRAINT fk_cid FOREIGN KEY (cid) REFERENCES CATEGORY(cid)
);
Virtual memory may provide a reasonably large storage capacity in an affordable cost.
<u>Virtual Memory:</u> the operating systems of all modern computers have virtual memory where a disk is used to transfer the data temporarily from the RAM when physical memory of the computer falls short. Though it is cheap but it does not allow computers to have more memory and frequent swapping even makes the PC slow.
<u>Tiered memory:</u> has the fastest data storage and even has a good storage capacity but is pretty expensive.
<u>Volatile memory:</u> volatile memories have good performance in terms of speed and storage but they still are a little expensive in comparison to non-volatile memory.
<u>Non-volatile memory:</u> they do not provide with large storage capacities.
Answer:
The program to calculate factor can be given as:
Program:
#include <stdio.h> //include header file
int main() //defining main function
{
int a,i; //defining integer variable
printf("Enter any number: "); //print message
scanf("%d",&a); //input value from user end
for(i=1;i<=a;i++) //loop for calculate factor values
{
if(a%i==0) //define condition for factor
{
printf("%d\n",i); //print values
}
}
return 0;
}
Output:
Enter any number: 15
1
3
5
15
Explanation:
In the above C language program the header file is include that provide the use of basic function, in the next line the main method is defined, inside this method two integer variable "a and i" is defined in which variable a is used to take value from user end and variable i is used in loop and conditional statement.
- In the next step, for loop is declare, that start from 1 and end with value of variable a, inside a loop, if block is used that checks (a%i==0), in this if variable i value modeler value equal to 0.
- The loop will use the print function that prints variable "i" element in a new line, which is the factor the values.
Answer:
"Crowdsourcing" is the correct answer for the above question.
Explanation:
- Crowdsourcing is a term from which any organization advertises the thinks or can get the ideas or solutions for any particular problem.
- It is a term that refers to the problem to the number of solvers to achieve the result correct and frequent.
- For example, If anyone wants to prepare the two websites. Then he assigns the works to the number of people and the works done faster with the help of this.
- The above question states that some websites can be successful with the help of the type of work. They are successful with the help of crowdsourced work. Because it saves time. So the answer is Crowdsourcing.
Answer:
The answer to this question is given below in this explanation section.
Explanation:
"Why the computer is called diligent
Versatile machine"
Computer is called versatile machine because it is used in almost all the fields for various purposes.Because it can perform the task repeatedly without loosing its speed and accuracy for a long time.They are versatile because they can be used for all sorts of task.They can also do many of the same tasks in different ways.Computer is the electronic device which perform the logical and mathematical calculation.Computer is known as the versatile machine because it is very fast in every field and its part of life without it was cannot imagine life.
It can do the work faster and in every field the computer is used for making their work faster.
It can perform the work fast so it is called versatile machine.
Advantages of versatile machine:
- Computer are very fast due to which thousand of job can be performed within the short period of time.
- Complex mathematical problems and logical operations can be solved by using this computer.
- As computer is versatile device,multiple task like communication,graphics,documentation can be done.
Disadvantages of versatile machine:
- Computers are machine hence they have no brain so they work according to the program instruction set inside it.
- It is an electronic deice and it uses electronic sources to work,So it is very risk to store data and information on the computer independently because some electric and electronic damages may damage the data.So we have to make regular backup of the data.