Answer:
Following are the program in c language
#include<stdio.h> // header file
int main() // main function
{
int ar[10],k,biggest; // variable declaration
printf("Enter the ten values:\n");
for (k = 0;k < 10; k++)
{
scanf("%d", &ar[k]); // user input of 10 number
}
biggest = ar[0]; // store the array index of 0 into biggest variable
for (k = 0; k< 10; k++) // finding the biggest number
{
if (ar[k] >biggest)
{
biggest = ar[k];
}
}
printf(" biggest num is %d", biggest); // display the biggest number
return 0;
}
Output:
Enter the ten values:
12
2
4
5
123
45
67
453
89
789
biggest num is 789
Explanation:
Here we declared an array ar[10] of type int which store the 10 integer values.
Taking 10 integer input from the user in array ar .After that iterating the loop and finding the biggest number by using if statement and store the biggest number in biggest variable .
Finally display biggest number.
Answer:
a. 6 bits
b. 1
Explanation:
Ans (a)
40 Characters need to be represent by binary coded Zebronian (BCZ) , So You will need 6 bits.
5 bits wold only give you 32 = 2 x 2 x 2 x 2 x 2 unique characters.
So 6 bits would allow you to represent 64 characters.
Ans(b)
BCD = Binrary Coded Decimal is very common in electronics, particularly it displays numerical data.
BCD Encodes each digit of a decimal number into 4 digit binary form.
Each decimal digit is indiviidually converted to oits binary equivalent
For Example : 146 , the decimal degits are replaced by 0001 , 0100 and 0110 respectively
Addition
1 0 = 10 is binary value of 2 2
+1 1 = 11 is binary value of 3 + 3
---------- -----------
1 0 1 5 Ans
Subtraction
1 1= binary value of 3 3
- 1 0 = binary value of 2 - 2
--------- -----------
0 1 1 Ans
Answer:
57
Explanation:
Since the 5 and the 7 don't represent integers instead they represent strings so it would come out as 57 hope I helped!
Answer:
personal digital assistants (PDAs)palmtop
The type of software-generated problems that can indicate that a software bug is causing a memory error are page fault, exception error and general-protection fault. Registry errors show that there are parts of the registry that were written to the faulty parts of the RAM. An erroneous memory count would happen when there is incompatibility in the installation.