Answer:
3e : 00111110 (62)
3e0 : 0000001111100000 (992)
3e00 : 0011111000000000 (15872)
Explanation:
Converting the given hexadecimal numbers to binary and decimal format:
1) 3e
3-> 0011
e-> 1110
Combining , 3e -> 00111110
This can be converted to decimal by multiplying each 1 in the binary representation by 2^(position -1) and adding the results.
So 3e = 32+16+8+4+2 = 62
2) 3e0
Binary => 0000001111100000
Converting to decimal : 992 [ This is 16 times a]
3) 3e00
Binary => 0011111000000000
Converting to decimal : 15872 [ This is 16 times b]
So adding a 0 to the hex representation multiplies the decimal number by 16.
the second answer is correct
Answer: 2037468266496
Explanation:
The question says first character must be a letter = A - Z ( 26 characters )
Others can either be letters or digits = digits with range 0-9 ( 10 digits )
From the second to the seventh character can either be digits or letter hence we have ( 10 +26 ) = 36 chances
Considering rule of product
Number of chances/outcomes of the password = ( 26×36⁷)
The power of 7 was as a result of remaining seven characters can be either a letter or digits.
Answer:
number formatting,
scientific analysis computer programming
Answer:
a and b should both be declared and initialized
Explanation:
The code checks
i - if a is less than b; a should be incremented by 1
ii - if b is less than a; b should be incremented by 1
iii - if none of the two conditions were met; both a and b get incremented by 1