Respuesta :
This question is incomplete, the complete question is;
The binary string 00100100 is a member of which of the following problems? Remember, a "problem" is a language whose strings represent the cases of a problem that have the answer "yes." In this question, you should assume that all languages are sets of binary strings interpreted as base-2 integers. The exception is the problem of finding palindromes, which are strings that are identical when reversed, like 00100100, regardless of their numerical value.
a) Is the given string a palindromes ?
b) Is the given string a perfect cube?
c) Is the given string greater than 50?
d) Is the given string even?
e) is the given string a perfect square?
Answer:
a) the given binary string is a palindromes
b) the given string is NOT a perfect cube
c) the given string is NOT greater than 50?
d) the given string is an even
e) the given string a perfect square
Explanation:
Given that;
binary string : 00100100
a)
Is the given string a palindromes ?
the given binary string = 00100100
now when you reverse the string, its still going to be : 00100100
so the given binary string is a palindromes
b)
Is the given string a perfect cube
the given string : 00100100 = 36
now 2^3 = 8,
3^3 = 27,
4^3 = 64
so 36 is not a perfect cubic
hence the given string is NOT a perfect cube
c)
Is the given string greater than 50?
the given string : 00100100 = 36
and 36 < 50
so the given string is NOT greater than 50?
d)
Is the given string even?
the given string : 00100100 = 36
and 36 can be divided exactly by 2
so the given string is an even
e)
is the given string a perfect square?
the given string : 00100100 = 36
now 6^2 = 36 i.e 6 multiply by 6 = 36
therefore the given string a perfect square