Recent questions tagged isi

1 1 vote
3 answers 3 answers
564
564 views
State Proof of Correctness for Different Popular Sorting AlgorithmSorting AlgoBest Case TCAVg Case TCWorst Case TCStable Sorting?Inplace Sorting?1. Bubble Sort \[O(n) \]\...
0 0 votes
0 0 answers
175
175 views
Consider an operating system consisting of a pair of processes $P_{0}$ and $P_{1}$. The structure of each process $P_{\mathrm{i}}$ is shown below.while(TRUE){ j = 1-i; fl...
0 0 votes
1 1 answer
332
332 views
A room has four walls. In how many different ways can you color the four walls, using colors from the set $\text{\{Red, Green, Blue, Yellow\}}$, such that no two adjacent...
0 0 votes
1 1 answer
331
331 views
Consider the following program fragment:1. i=1; 2. while (i <= n) do 3. begin 4. sum = sum +a[i]; 5. i=1+1; 6. endLet (i) $\boldsymbol{A}$ represent the initialization in...
0 0 votes
2 2 answers
729
729 views
Let $\mathbf{C} = \{ (1, 2), (2, 1) \}$ be a basis of $\mathbb{R}^2$ and $T: \mathbb{R}^2 \to \mathbb{R}^2$ be defined by\[T \begin{pmatrix} x \\ y \end{pmatrix} = \begin...
1 1 vote
1 1 answer
616
616 views
Consider the following state diagram of a sequential circuit, where each of a, b, c, d, e, f and g represents a state. Represent thestate diagram with minimum number of s...
1 1 vote
1 1 answer
310
310 views
Consider an $n \times n$ matrix $A=I_{n}-\alpha \alpha^{T}$, where $I_{n}$ is the identity matrix of order $n$ and $\alpha$ is an $n \times 1$ column vector such that $\a...
0 0 votes
0 0 answers
257
257 views
Suppose the collection $\left\{A_{1}, \cdots, A_{k}\right\}$ forms a group under matrix multiplication, where each $A_{i}$ is an $n \times n$ real matrix. Let $\displayst...
2 2 votes
1 1 answer
467
467 views
In a binary tree $T$, for a node $v$, the $\text{LEFT-HEIGHT} (v)$ is the length of the longest path from $v$ to any leaf in the left subtree of $v$. If $v$ has no left c...
2 2 votes
2 2 answers
876
876 views
Consider a stack machine where the only available workspace is a stack whose elements are unsigned integers. We will denote the configuration of the stack by a sequence. ...
1 1 vote
1 1 answer
371
371 views
Let $R$ be a relation with functional dependencies $\mathcal{F}$. For any subset of attributes $X \subseteq R$, the closure of $X$ is defined as the set$$ X^{+}=\{A \in R...
0 0 votes
0 0 answers
218
218 views
An $n$-variable Boolean function $f:\{0,1\}^{n} \rightarrow\{0,1\}$ is called symmetric if its value depends only on the number of $1 \text{'s}$ in the input. Let $\sigma...
0 0 votes
1 1 answer
335
335 views
Let the valid moves along a staircase be $U$ (one step up) and $D$ (one step down). For example, the string $s=U U D U$ represents the sequence of moves as two steps up, ...
1 1 vote
1 1 answer
382
382 views
The following function computes an array $\textsf{SPF},$ where, for any integer $1<1<1000, \textsf{SPF[i]}$ is the smallest prime factor of $\textsf{i}.$ For example, $\t...
0 0 votes
2 2 answers
517
517 views
Consider a $5$-stage instruction pipeline. The stages and the corresponding stage delays are given below. InstructionStage delayFetch instruction (FI)3 nsDecode instruct...
1 1 vote
1 1 answer
310
310 views
The data link layer uses a fixed-size sliding window protocol, where the window size for the connection is equal to twice the bandwidth-delay product of the network path....
0 0 votes
2 2 answers
960
960 views
Let $P$ be a set of $n$ real numbers. For any two real numbers $a$ and $b$ $(a<b),$ define $$ R(a, b)=|\{x \in P \mid a \leq x \leq b\}| . $$Design a suitable data struct...
0 0 votes
3 3 answers
1.0k
1.0k views
Consider the following language $L$ over the alphabet $\Sigma=\{a, b, c\}$. $$ L=\left\{a^{i} b^{j} c^{k} \mid i, j, k \geq 0 \text {, and if } i=1 \text { then } j=k\rig...
1 1 vote
1 1 answer
583
583 views
Consider sending a message of $10,000$ bits from the source node $S$ to the destination node $D$ passing through the two routers $R 1$ and $R 2$ as shown in the figure. E...
0 0 votes
0 0 answers
274
274 views
Prove that if $N$ and $K$ are normal subgroups of a group $G$ such that $N \cap K=\left\{e_{G}\right\}$, then $x y=y x, \forall x \in N, \forall y \in K$.
0 0 votes
1 1 answer
440
440 views
Let $L=\left\{s \overline{s_{R}} \mid s \in\{0,1\}^{*}\right\}$ be a language over alphabet $\{0,1\}$, where $\overline{s_{R}}$ describes the reverse complement of $s$. F...
0 0 votes
1 1 answer
454
454 views
Consider two hosts, A and B, which may belong to the same network or two different networks connected through a router. Recall the Internet protocol where a sender host s...
0 0 votes
1 1 answer
512
512 views
Consider a $\textsf{RISC}$ machine where page tables of the virtual memory system may be swapped to disk from memory and neither machine instructions nor page-table entri...
1 1 vote
1 1 answer
558
558 views
Given a real number $\alpha \in (0, 1),$ define a sequence $\{ x_{n}\}_{n \geq 0}$ by the following recurrence relation:$$x_{n+1} = \alpha x_{n} + (1 – \alpha) x_{n – 1},...
0 0 votes
1 1 answer
665
665 views
A straight line passes through the intersection of the lines given by $3x – 4y + 1 = 0$ and $5x + y = 1$ and makes equal intercepts of the same sign on the coordinate axe...
0 0 votes
0 0 answers
482
482 views
Consider two real valued functions $f$ and $g$ given by $$f(x)=\frac{x}{x-1} \; \text{for } x>1, \quad \text{and }\quad g(x)=7-x^{3} \; \text{for } x \in \mathbb{R}.$$ Wh...
1 1 vote
1 1 answer
934
934 views
0 0 votes
1 1 answer
907
907 views
Suppose instead of a decoder with n input bits (n is even) to access a memory of size 2^n, one uses two decoders of input sizes k bits and (n-k) bits. Explain how these t...
0 0 votes
0 0 answers
2.6k
2.6k views
This can be a duplicate question please give me a link of the exams along with when in the date of registration so that I don't miss the dates.I am aware that TIFR happen...
0 0 votes
0 0 answers
486
486 views
C4. Construct a Deterministic Finite Automaton (DFA) to acceptL={s1s2.....sn | n >=1; for each i=1,2,.....n, si € {0,1}, and the number of 1's minus the number of 0's in ...