Answer:
a) ^.{9}[0][0-1]*$
b) (?=.*^[0-1]*$)(?=.*^(?!.*00(.*00))).*
Explanation:
You can check the expression with the code in python, please see the image with the expressions evaluated for different cases.
a) First, we check if the position number 10 contains a zero by using the expression .{9}[0] and then we check that the input contains just numbers from zero to one (binary numbers) by using [0-1]
b) To understand this expression we need to know that ?=.* helps us evaluate two different expression and if one of the two is false the result is false (and gate), the first expression to be evaluated is [0-1] an it checks that the input contains just numbers from zero to one, the second expression 00(.*00) checks that there is not more than one pair of zeros.
two people have to answer the question and at the bottom of the question you'll see a crown and you just click on that to give them brainliest
Answer:
low light levels
It's night photography which means you are taking photographs at night. At nighttime, there isn't much light because the sun isn't out.
Explanation:
Answer:
-10
Explanation:
Given hex number = 0x FFF6
Converting it to binary: 1111111111110110
Generating 1s complement of the binary representation by inverting the bits :
0000000000001001
Adding 1 to generate the 2's complement :
0000000000001001 + 1 = 0000000000001010
Converting it to decimal , this corresponds to 10
So the 2s complement of original number is 10. This means that the original number is -10.