Ignou term end examination result December 2016 5:32 PMhttp://www.ignou.ac.in/ignou/studentzone/results/2Read More
QuickSort Dijkstra 3-Way Partitioning: why the extra swapping? 7:47 AMQuestion Detail: Given the algorithm above (taken from the slides (p. 35) of the Coursera course "Algorithms Part I" by Robe...Read More
Regular expression for language with even number of 0's and 1's 7:47 AMQuestion Detail: Let $\Sigma=\{0,1\}$. What is the regular expression for the language of all strings with an even number of $0$'s and...Read More
Which queue does the long-term scheduler maintain? 7:47 AMQuestion Detail: There are different queues of processes (in an operating system): Job Queue: Each new process goes into the job queue....Read More
Why hasn't there been an encryption algorithm that is based on the known NP-Hard problems? 7:47 AMQuestion Detail: Most of today's encryption, such as the RSA, relies on the integer factorization, which is not believed to be a NP-ha...Read More
Are there minimum criteria for a programming language being Turing complete? 7:47 AMQuestion Detail: Does there exist a set of programming language constructs in a programming language in order for it to be considered Turi...Read More
How does a computer determine the data type of a byte? 7:47 AMQuestion Detail: For example, if the computer has 10111100 stored on one particular byte of RAM, how does the computer know to interpret ...Read More
Why is the Kleene star operator also called the Kleene 'closure' operator? 7:46 AMQuestion Detail: I've found that if I don't understand the etymology behind a cs/programming term, it usually means that I've ...Read More
How to implement a prolog interpreter in a purely functional language? 7:46 AMQuestion Detail: Is there a clear reference, with pseudo-code, on how to go about implementing a Prolog interpreter in a purely functional...Read More
What is the difference between halting, accepting, and deciding in the context of Turing machines? 7:46 AMQuestion Detail: Does accepting mean that the TM will read and recognize a char from the cell it's currently reading from? And is it t...Read More
"For small values of n, O(n) can be treated as if it's O(1)" 7:46 AMQuestion Detail: I've heard several times that for sufficiently small values of n, O(n) can be thought about/treated as if it's O(...Read More
Finding the path of a negative weight cycle using Bellman-Ford 7:46 AMQuestion Detail: I wrote a program which implements Bellman-Ford, and identifies when negative weight cycles are present in a graph. Howev...Read More
Why is encrypting with the same one-time-pad not good? 7:46 AMQuestion Detail: To encrypt a message $m_1$ with a one-time-pad key $k$ you do $Enc(m_1,k) = m_1 \oplus k$. If you use the same $k$ to e...Read More
Does an Operating System inject its own machine code when you open a program? 7:46 AMQuestion Detail: I'm studying CPU's and I know how it reads a program from the memory and execute its instructions. I also underst...Read More
Is this intersection of DFAs correct? 7:46 AMQuestion Detail: I'm constructing a deterministic finite automata (DFA) for a language of all strings defined over $\{0,1\}$ whose le...Read More
What would be the real-world implications of a constructive $P=NP$ proof? 7:46 AMQuestion Detail: I have a high-level understanding of the $P=NP$ problem and I understand that if it were absolutely "proven" to...Read More
Hierarchical Paging 7:46 AMQuestion Detail: Suppose I have a system with 32-bit logical and 16-bit physical address spaces, and the page size is 512 bytes. For simpl...Read More
What determines the "speed" of a programming language? 7:46 AMQuestion Detail: Suppose a program was written in two distinct languages, let them be language X and language Y, if their compilers genera...Read More
Proving a binary heap has $\lceil n/2 \rceil$ leaves 7:46 AMQuestion Detail: I'm trying to prove that a binary heap with $n$ nodes has exactly $\left\lceil \frac{n}{2} \right\rceil$ leaves, giv...Read More
Is a universal assembly language for all computers possible? 7:45 AMQuestion Detail: I would like to ask a few questions about Assembly language. My understanding is that it's very close to machine lang...Read More
Circle Intersection with Sweep Line Algorithm 7:45 AMQuestion Detail: Unfortunately I am still not so strong in understanding Sweep Line Algorithm . All papers and textbooks on the topic are ...Read More
Which combinations of pre-, post- and in-order sequentialisation are unique? 7:45 AMQuestion Detail: We know post-order, post L(x) => [x] post N(x,l,r) => (post l) ++ (post r) ++ [x] and pre-order pre L(x) ...Read More
Are all Integer Linear Programming problems NP-Hard? 7:45 AMQuestion Detail: As I understand, the assignment problem is in P as the Hungarian algorithm can solve it in polynomial time - O(n 3 ). I ...Read More
How do computers remember where they store things? 7:45 AMQuestion Detail: When a computer stores a variable, when a program needs to get the variable's value, how does the computer know where...Read More
CLRS 4.4-3 Height of recursion tree for T(N) = 4T(n/2 +2) + n 7:45 AMQuestion Detail: I'm having a hard time with the following question: Use a recursion tree to determine a good asymptotic upper bound...Read More
Calculating Floating point Operations Per Second(FLOPS) and Integer Operations Per Second(IOPS) 7:45 AMQuestion Detail: I am trying to learn some basic benchmarking. I have a loop in my Java program like, float a=6.5f; int b=3; for(lon...Read More
Are there any problems that get easier as they increase in size? 7:45 AMQuestion Detail: This may be a ridiculous question, but is it possible to have a problem that actually gets easier as the inputs grow in s...Read More
If the speed of electrical charge hasn't changed, how have computers become faster? 7:45 AMQuestion Detail: Everyone knows computing speed has drastically increased since their invention, and it looks set to continue. But one thi...Read More
In-place algorithm for interleaving an array 7:45 AMQuestion Detail: You are given an array of $2n$ elements $$a_1, a_2, \dots, a_n, b_1, b_2, \dots b_n$$ The task is to interleave the a...Read More