Download Solution Ignou MCA Solved Question Paper
Category: Uncategorized
Draw the Gantt charts illustrating the execution of these processes using the FCFS, SJF, Round Robin (with quantum = 1) and Priority Based Scheduling algorithms.
Download Solution Ignou MCA Solved Question Paper
Consider the following set of processes with arrival times and CPU execution times given in milliseconds. A process with a larger priority number has a higher priority. If any assumptions made by you, state them.
Download Solution Ignou MCA Solved Question Paper
[Solved]: Counting an integer’s divisors without just enumerating them (or estimating if not possible)?
Problem Detail: I’m trying to count the number of divisors an integer $n$ has. The simple way to do this is to just enumerate all integers from 1 to $sqrt{n}$, and count how many integers evenly divide $n$. For example, 28 Read More …
[Solved]: A programming language that can only implement computable bijective functions?
Problem Detail: Are there programming languages(or logic) that can implement(or express) a function $f:mathbb{N}to mathbb{N}$ if and only if $f$ is a computable bijective functions? Asked By : Chao Xu Answered By : Andrej Bauer There is no such language. However, have a Read More …
[Solved]: Distinct variables for different clauses
Problem Detail: In resolution theorem proving, it is normally assumed variables in different clauses are distinct. This is not something that happens automatically; it requires significant extra code and computation to implement. Given that, I’m looking for a test case for Read More …
[Solved]: Pushdown Automata: CFG to PDA
Problem Detail: I have the following grammar for a context-free language: $G = ({S,A,B}, {x,y,z}, P, S)$ with $P = {S rightarrow A, A rightarrow xAz, A rightarrow xBz, B rightarrow y}$ My question is: How to construct a pushdown automaton Read More …
[Solved]: When does $1.00001^n$ exceed $n^{100001}$?
Problem Detail: I have been told than $n^{1000001} = O(1.000001^n)$. If that’s the case, there must be some value $n$ at which $1.000001^n$ exceeds $n^{1000001}$. However, when I consult Wolfram Alpha, I get a negative value for when that occurs. http://www.wolframalpha.com/input/?i=1.000001%5Ex+%3D+x%5E1000001 Read More …
[Solved]: Complexity of dynamic programming algorithm for Knapsack
Problem Detail: Dynamic programming algorithm for Knapsack is stated to have complexity $mathcal O (nW)$. However, I’ve also seen the complexity stated as $mathcal O (n^2V)$, where $V=max v_i$. (Here $n$ is the number of items and $W$ the weight limit). Read More …
[Solved]: Give a grammar to show whether a language is regular or context-free
Problem Detail: I have to generate a grammar for the language $L = { w in { a, b}^* mid |w| in 2mathbb{N}, w neq w^R}$ and give the type of the language. I’ve generated the grammar $qquad begin{align} S &to Read More …