You may do all of the given options.
Thank You!
Answer:
There is no table, so I can only comment on the statements:
The binary value of decimal 10 is A. ==> False, however A is a hexadecimal representation of 10.
The binary value of decimal 13 is 1001 ==> False, 13 would be 1101.
The binary value of decimal 15 is 1111. ==> True.
The binary value of decimal 14 is E. ==> Again E is a hexadecimal representation of 14.
Answer: Transmission rate
Explanation:
Transmission rate is measured in bits per second and it transmitted the data at the different rate across the circuit. The speed in which the data rate is transferred from one device to anther is known as transmission rate.
The transmission rate are always less as compared to signalling rate because the signalling rate contain the total data which basically include the overhead to control the information.
Therefore, transmission rate is the correct option.
Answer:
int count =0;
for(int i=0;i<10;i++)
{
if(myArray[i]>=0)
{
count++;
}
}
cout<<"Number of positive integers is "<<count<<endl;
Explanation:
The above written loop is for counting positive integers in the myArray[].
For counting we have taken a count integer initialized with 0.On iterating over the array if the element is greater than or equal to 0 we consider it as positive and increasing the count.At the end printing the count.
Answer:
The statement in Python is:
print("The average pH of citrus fruits is ",avg_citrus_pH)
Java
System.out.print("The average pH of citrus fruits is "+avg_citrus_pH);
C++
cout<<"The average pH of citrus fruits is "<<avg_citrus_pH;
Explanation:
The programming language is not stated; so, I answered the question in 3 languages (Python, Java and C++)
Assume that avg_citrus_pH has been declared and initialized; all you need to do is invoke a print statement and then append the variable
In Python, use print()
In c++, use cout<<
In Java, use System.out.print()
So, the statements are:
Python:
print("The average pH of citrus fruits is ",avg_citrus_pH)
Java
System.out.print("The average pH of citrus fruits is "+avg_citrus_pH);
C++
cout<<"The average pH of citrus fruits is "<<avg_citrus_pH;