search
Log In

Recent posts tagged research

4
Solution 48: spills to m/m while execution of program how many times m/m will be hit, we have 2 regiters Program Execution c = a + b; R2 <- R1 + R2 d = c * a; [m/m spill] <- R2*R1(we need R & R1 further value cant be replaced) e = c + a; [m/m spill] <- R2+R1 x = c * c; R2 < ... } else { d = d * d; R3<- R3*R3 e = e * e; R4<- R4*R4 } If 4 registers are used, m/m spills will be 0, hence answer is (B)
posted Feb 16, 2018 in Preparation Advice Arjun 3,084 views
5
Which of the following set can be recognized by a Deterministic Finite state Automaton? The numbers $1, 2, 4, 8, \dots 2^n, \dots$ written in binary The numbers $1, 2, 4, 8,\dots 2^n, \dots$ written in unary The set of binary string in which the number of zeros is the same as the number of ones. The set $\{1, 101, 11011, 1110111, \dots\}$
posted Apr 21, 2017 in Others Arjun 1,854 views
To see more, click for the full list of questions or popular tags.
...