(10101)_2=(21)10
Given : Number (10101)_2(10101)2
To find : What is the value of (10101)_2(10101)2 in decimal number system?
Solution :
Decimal number system is a positional numeral system employing 10 as the base.
Now, to convert it into base 10
Multiply each digit of the following binary by the corresponding power of 2:
(10101)_2(10101)2
=1\times 2^4+0\times 2^3+1\times 2^2+0\times 2^1+1\times 2^0=1×24+0×23+1×22+0×21+1×20
=1\times 16+0\times 8+1\times 4+0\times 2+1\times 1=1×16+0×8+1×4+0×2+1×1
=16+0+4+0+1=16+0+4+0+1
=21=21
Therefore, (10101)_2=(21)_{10}(10101)2=(21)10
The python statement that instructs the program to open a file for input is a false statement.
<h3>How to open file for input ?</h3>
The code above is a python code.
The python statement to instructs a program to open a file for input can be represented as follows:
The Python function open() is a built-in function that opens a file and allows your program to use it and work with it.
The open functions accepts a file(relative path to the file) and a string or character that indicates what you want to do with the file.
inFile = open("grocerydataFinalPY.txt", "w") is use to open a file and write on it.
learn more on python here: brainly.com/question/13696872
#SPJ1
Answer:
you have to make a account
Explanation:
so yea
Answer: 1. Mode is the most frequently occurring value.
2. The mean is the average value set.
3. The median would be number 40.
Explanation:
Question 1 and 2 are something you will most likely learn in class from your teacher and I personally don't know how to prove that it is correct other than that's what I've been taught, also google agree's.
For Question 3 to find the median you want to eliminate one number from left to right from the farthest sides from the middle until u are left with one number and in this case you will get the number 40.