# Recent posts tagged results

1
Answer: (B) Bind: Binds the socket to an address Listen: Waits for connections to the socket Accept: Accepts a connection to the socket Recv: Receives data from connection From Man page of accept: It extracts the first connection request on the queue of ... descriptor referring to that socket. The newly created socket is not in the listening state. The original socket is unaffected by this call
2
both a) and c) should be true....can someone plz explain the correct answer
3
The number $(123456)_8$ is equivalent to $(A72E)_{16}$ and $(22130232)_4$ $(A72E)_{16}$ and $(22131122)_4$ $(A73E)_{16}$ and $(22130232)_4$ $(A62E)_{16}$ and $(22120232)_4$
4
Consider the finite automaton in the following figure: What is the set of reachable states for the input string $0011$? $\{q_0,q_1,q_2\}$ $\{q_0,q_1\}$ $\{q_0,q_1,q_2,q_3\}$ $\{q_3\}$
5
The smallest integer that can be represented by an $8-bit$ number in $2's$ complement form is $-256$ $-128$ $-127$ $0$
6
In the following C function, let $n \geq m$. int gcd(n,m) { if (n%m == 0) return m; n = n%m; return gcd(m,n); } How many recursive calls are made by this function? $\Theta(\log_2n)$ $\Omega(n)$ $\Theta(\log_2\log_2n)$ $\Theta(\sqrt{n})$
7
Which of the following problems is undecidable? Membership problem for CFGs Ambiguity problem for CFGs Finiteness problem for FSAs Equivalence problem for FSAs
To see more, click for the full list of questions or popular tags.