Solution :
We have to provide an expression for the binary numbers. There can be binary fractions or integers. Whenever there is leading 0, it is not allowed unless the integer part is a 0.
Thus the expression is :
![$(\in +.(0+1)^*(0+1))+(0.(0+1)^*(0+1))]$](https://tex.z-dn.net/?f=%24%28%5Cin%20%2B.%280%2B1%29%5E%2A%280%2B1%29%29%2B%280.%280%2B1%29%5E%2A%280%2B1%29%29%5D%24)
Answer:
Sequence of popped values: h,s,f.
State of stack (from top to bottom): m, d
Explanation:
Assuming that stack is initially empty. Suppose that p contains the popped values. The state of the stack is where the top and bottom are pointing to in the stack. The top of the stack is that end of the stack where the new value is entered and existing values is removed. The sequence works as following:
push(d) -> enters d to the Stack
Stack:
d ->top
push(h) -> enters h to the Stack
Stack:
h ->top
d ->bottom
pop() -> removes h from the Stack:
Stack:
d ->top
p: Suppose p contains popped values so first popped value entered to p is h
p = h
push(f) -> enters f to the Stack
Stack:
f ->top
d ->bottom
push(s) -> enters s to the Stack
Stack:
s ->top
f
d ->bottom
pop() -> removes s from the Stack:
Stack:
f ->top
d -> bottom
p = h, s
pop() -> removes f from the Stack:
Stack:
d ->top
p = h, s, f
push(m) -> enters m to the Stack:
Stack:
m ->top
d ->bottom
So looking at p the sequence of popped values is:
h, s, f
the final state of the stack:
m, d
end that is the top of the stack:
m
Answer:
The development of computers from the beginning to what we see now is called the computer generations. It is gradual advancement in the technology in the making of the computer.
Explanation:
The generation in computer technology can be defined as the development or the change in the technology in the computer as it was used. There were five generations of computer development. They were :
1. First Generation computers
In this generation, vacuum tubes was used in the circuits. It dated from 1946 to 1959.
2. Second Generation computers
These are transistors based computers. This generation ranges from 1959 to 1965.
3. Third Generation computers
This generation computers were Integrated circuit based. The generation stared in 1965 and ended in 1971.
4. Fourth Generation computers
The computers of this generation used VLSI microprocessor in the circuits. The period of the 4th generation computers are from 1971 to 1980.
5. Fifth Generation computers
The computers of this generation used ULSI microprocessor in the circuits. The 5th generation computers started from 1980s.