Answer:
Following are the code to this question:
def data(a):#defining method data that accepts parameter
print (a)#print parameter value
def data(b):#defining method data that accepts parameter
print (b)#print parameter value
x=input("enter value: ")#defining variable x that5 input value from user
print(data(x))#call method data
Output:
enter value: hello..
hello..
None
Explanation:
- As the above code, it is clear defines that python doesn't support the method overloading because More than one method can't be specified in a python class with the same name and python method arguments have no type.
- The single argument method may be named using an integer, a series, or a double value, that's why we can say that it is not allowed.
Answer:
Beeper
Explanation:
A buzzer pr beeper, as security device, converts electrical energy to sound energy.
Answer:
Following are the definition of function
double averager (const double &x) // function definition
{
static double z = 0.0; // variable declaration
static size_t c = 0;
c=c+1; // increment of c by 1
z =z+ x; // adding value
return z /c ; // return average
}
Explanation:
Following are the description of statement
- Create a function averager of double type that holds a parameter "x" of the double type .
- In this function we declared a variable "z" of a static double type that value is initialized by 0.
- The static variable is used to retain value.
- Declared a variable "c" of size_t type that holds a value 0 .
- After that increment the value of c by 1 .
- adding the value of "z" variable to the "x" and storing the result into the z variable.
- Finally return the average value
Complete Question:
Missy loves her old Windows games. When she upgrades her Windows system, the games run fine, but the output looks fuzzy since the programs are designed only to run in VGA mode.
Group of answer choices;
A. Reboot into Safe Mode
B. Run compatibility mode for 640 x 480 resolution.
C. Reduce her screen resolution to 640 x480
D. Reboot into Low Resolution Mode
Answer:
B. Run compatibility mode for 640 x 480 resolution.
Explanation:
In this scenario, Missy loves her old Windows games. When she upgrades her Windows system, the games run fine, but the output looks fuzzy since the programs are designed only to run in VGA mode. In order to make the games work properly in Windows, Missy should run compatibility mode for 640 x 480 resolution.
The video graphics array (VGA) is the standard graphics or display interface used for computer monitors. It was developed in 1987 by IBM and it had a standard display resolution of 640 x 480 pixels.
<em>Hence, if the output of a software program (games) looks fuzzy or is not being displayed properly, you should run compatibility mode for 640 x 480 resolution. This is to enable low resolution video mode on the computer. </em>
The VGA mode is very basic because only minimal video drivers are being loaded on the windows.