Answer:
Cost of quality is define as methodology which basically decide the cost of product and services in an organisation and company. It also determine all the cost which are associated with the quality.
The cost of quality basically divided into four categories that are:
- Appraisal
- Prevention
- External failure
- Internal failure
Example of the cost of quality is that, in oil refinery industry if the growth of product increased then, the company state also increased. In same way, if there is decrease in the refining state of the product then, the growth of product automatically reduced.
In python:
total = 0
i = 0
while total <= 100:
number = int(input("Enter a number: "))
i += 1
total += number
print("Sum: {}".format(total))
print("Numbers Entered: {}".format(i))
Answer:
A complex data type can be created by the use of class or structures.
#include <iostream>
using namespace std;
class complex{//creating a class complex to store a complex value.
public://defining all the values public.
int real;
int img;
complex(int real,int img)//parameterized constructor.
{
this->real=real;
this->img=img;
}
};
int main() {
complex n1(1,2);//n1 is a complex number with real part 1 and imaginary part 2.
cout<<n1.real<<" i"<<n1.img<<endl;
return 0;
}
Output
1 i2
Explanation:
I have created a class complex to store complex number with two integer parts real and imaginary.You can also declare them float if you wan to store decimal values and after that i have created a parameterized constructor with real and imaginary values.So we can assign the values at the time of declaration of the object of class complex.
Answer:
(C) progressive enhancement
Explanation:
Progressive enhancement is a web design technique that first underlines the main functionality web page and then incorporates increasingly enhanced and advanced features and design levels.
This process enables the users to use and access the basic features of the web pages. These users can use any browser to access the main contents of the web page. Progressive Enhancement also offers an advanced version of the website for those with more advanced and sophisticated computer browsers or faster internet connection.
So the user can access basic features of a web sites as well as the complex features. This process first makes sure the basic intended purpose and main contents of the web site is accessible to all users before adding complex features which are supported by different browsers and devices.
Validation is a process which checks that code of the website is as per the world wide web standards and also checks that content of web pages and design of websites is being properly displayed and the site is accessible. So this is not the correct option.
Technique of altering a web site in a way that it can appear higher in the search engine results is called optimization so this is not a correct option.