<span>Use 8-bit resolution when recording human speech in an audio file.
</span><span>The </span>resolution<span> of </span>8 bits<span> can encode an analog input to one in 256 different levels. The reason why 256 levels is because 2^8</span><span> = 256.
</span>The analog to digital converter (ADC) <span> represents the analog input as a digital word.</span>
Answer:
The correct answer to the following question:
while sub < SIZE AND foundIt = "N"
Explanation:
Firstly, we start the pseudocode after that set the variable sub to 0 and size to 1 of num type and also set a num type array VALID_ITEM[5] and its elements are 27,53,84,89,95.
Than set string type variable foundIt to "N", then we set a while loop and correct its condition is "< SIZE AND foundIt = "N" ".
Than starts if condition which is "item = VALID_ITEM[sub]", if the condition is true than foundIt = "Y", after that endif.
Than increment the variable sub, after that endwhile, after this, we start if condition which is "foundIt = "Y" " if the condition is true then output "Valid item number" or else "Invalid item number", and then we endif and after all stop the pseudocode.
Answer:
Algorithm:
1. Declare and initialize variable one_dog_year=7.
2.Ask user to give dog age.
2.1 Read the dog age and assign it to variable "dog_age".
3.Create a variable "human_age" to store the equivalent human age.
3.1 Calculate equivalent human age as "human_age=one_dog_year*dog_age".
4.Print the equivalent human age of dog age.
7. End the program.
// here is algorithm implemented in c++
#include <bits/stdc++.h>
using namespace std;
int main()
{
// initialize one dog year
int one_dog_year=7;
int dog_age;
int equi_h_age;
cout<<"Enter the dog age:";
// read the dog age
cin>>dog_age;
//calculate the equivalent human age
equi_h_age=dog_age*one_dog_year;
cout<<"equivalent human age is : "<<equi_h_age<<endl;
return 0;
}
Output:
Enter the dog age:2
equivalent human age is : 14
Answer:
Below are the function for the above question in java Language---
void show_info(String name,String home,String state)
{
System.out.println("Your name is "+name+" and you live in "+ home+" ,"+state +".");
}
Output:
- If the user inputs name="Gaus",city="LosAngeles" and state="California" then the output will be "Your name is Gaus and you live in LosAngeless, California."
Explanation:
- The above function is in java language which takes three argument names, state, and the city.
- The name will be stored on the name variable of the string type.
- The state will be stored on the state variable of string type.
- The city will be stored on the city variable of the string type.
- Then the Output will be displayed with the help of the print function.
- '+' is used to merge the string.
its delete cuz i just tryed it now and i think im right if im wrong forgive me