Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Search results for isi2011
6
votes
2
answers
1
ISI2011-PCB-CS-4a
Let $L$ be the set of strings over $\{0, 1\}$ containing an unequal number of $0$s and $1$s. Prove that $L$ is not regular. $L^2$ is regular.
Let $L$ be the set of strings over $\{0, 1\}$ containing an unequal number of $0$s and $1$s. Prove that$L$ is not regular.$L^2$ is regular.
go_editor
972
views
go_editor
asked
Jun 3, 2016
Theory of Computation
descriptive
isi2011-pcb-cs
theory-of-computation
regular-language
+
–
1
votes
2
answers
2
ISI2011-PCB-A-2b
An $n \times n$ matrix is said to be tridiagonal if its entries $a_{ij}$ are zero except when $|i−j| \leq 1$ for $1 \leq i, \: j \leq n$. Note that only $3n − 2$ entries of a tridiagonal matrix are non-zero. Thus, an array $L$ of size ... matrix. Given $i, j$, write pseudo-code to store $a_{ij}$ in $L$, and get the value of $a_{ij}$ stored earlier in $L$.
An $n \times n$ matrix is said to be tridiagonal if its entries $a_{ij}$ are zero except when $|i−j| \leq 1$ for $1 \leq i, \: j \leq n$. Note that only $3n −...
go_editor
791
views
go_editor
asked
Jun 3, 2016
Linear Algebra
descriptive
isi2011
linear-algebra
matrix
+
–
2
votes
2
answers
3
ISI2011-PCB-CS-2
You are given $k$ sorted lists, each containing $m$ integers in ascending order. Assume that (i) the lists are stored as singly-linked lists with one integer in each node, and (ii) the head pointers of these lists are stored in an array. ... if you were permitted to use only constant additional storage? Analyse the time complexity of your algorithm for each of the above two cases.
You are given $k$ sorted lists, each containing $m$ integers in ascending order. Assume that (i) the lists are stored as singly-linked lists with one integer in each node...
go_editor
860
views
go_editor
asked
Jun 3, 2016
Algorithms
descriptive
isi2011-pcb-cs
algorithms
sorting
+
–
3
votes
2
answers
4
ISI2011-PCB-CS-1b
There are $n$ students of a class standing in a line. The students have to arrange themselves in ascending order on the basis of their roll numbers. This rearrangement of the line must be accomplished only by successively swapping pairs of adjacent students ... the number of swaps required. Derive an expression for the number of swaps needed by your algorithm in the worst case.
There are $n$ students of a class standing in a line. The students have to arrange themselves in ascending order on the basis of their roll numbers. This rearrangement of...
go_editor
793
views
go_editor
asked
Jun 3, 2016
Algorithms
isi2011-pcb-cs
descriptive
algorithms
sorting
+
–
2
votes
2
answers
5
ISI2011-PCB-CS-5a
Consider relations $R(A, B)$ and $S(B, C)$. Find a propositional formula $\phi$ such that the following two relational algebra expressions produce the same answer. $\pi_{A,B}(\sigma_\phi(R \bowtie S))$ $R \cap ({\rho_T(A)}(\pi_C(S)) \times \pi_B(S))$
Consider relations $R(A, B)$ and $S(B, C)$. Find a propositional formula $\phi$ such that the following two relational algebra expressions produce the same answer.$\pi_{A...
go_editor
750
views
go_editor
asked
Jun 3, 2016
Databases
descriptive
isi2011-pcb-cs
databases
relational-algebra
+
–
3
votes
4
answers
6
ISI2011-PCB-CS-3a
Solve the following recurrence ($n$ is a natural number): $T(n) = \begin{cases} 7T(n\div3)+n^2 & ;n>2 \\ 1 & ;n \leq 2. \end{cases}$
Solve the following recurrence ($n$ is a natural number):$$T(n) = \begin{cases} 7T(n\div3)+n^2 & ;n>2 \\ 1 & ;n \leq 2. \end{cases}$$
go_editor
744
views
go_editor
asked
Jun 3, 2016
Algorithms
descriptive
isi2011-pcb-cs
algorithms
recurrence-relation
+
–
17
votes
4
answers
7
ISI2011-PCB-CS-5b
Suppose we have a relation $R(A, B, C, D, E)$ with the functional dependencies: $A \rightarrow D, B \rightarrow C, D \rightarrow E, CE \rightarrow B$. If we project $R$ and therefore its functional dependencies onto the schema $ABC$, what will the key(s) for $ABC$ be?
Suppose we have a relation $R(A, B, C, D, E)$ with the functional dependencies:$A \rightarrow D, B \rightarrow C, D \rightarrow E, CE \rightarrow B$.If we project $R$ and...
go_editor
2.1k
views
go_editor
asked
Jun 3, 2016
Databases
descriptive
isi2011-pcb-cs
databases
database-normalization
+
–
15
votes
2
answers
8
ISI2011-PCB-CS-5c
One of your classmates has suggested the following modified version of a standard scheme for solving the $2$-process critical section problem (CSP). shared char want[2] = {0,0}; shared int turn = 0; 1. P_i() 2. { while (1) { 3. turn = j; ... instructions executed by two processes $P_0$ and $P_1$. Modify the above scheme so that it becomes a correct solution to the $2$-process CSP.
One of your classmates has suggested the following modified version of a standard scheme for solving the $2$-process critical section problem (CSP).shared char want = {0...
go_editor
1.2k
views
go_editor
asked
Jun 3, 2016
Operating System
isi2011-pcb-cs
descriptive
operating-system
process-synchronization
normal
+
–
2
votes
1
answer
9
ISI2011-PCB-A-3b
The numbers $1, 2, \dots , 10$ are arranged in a circle in some order. Show that it is always possible to find three adjacent numbers whose sum is at least $17$, irrespective of the ordering.
The numbers $1, 2, \dots , 10$ are arranged in a circle in some order. Show that it is always possible to find three adjacent numbers whose sum is at least $17$, irrespec...
go_editor
778
views
go_editor
asked
Jun 3, 2016
Combinatory
descriptive
isi2011
pigeonhole-principle
+
–
10
votes
2
answers
10
ISI2011-PCB-A-2a
Give a strategy to sort four given distinct integers $a, b, c, d$ in increasing order that minimizes the number of pairwise comparisons needed to sort any permutation of $a, b, c, d$.
Give a strategy to sort four given distinct integers $a, b, c, d$ in increasing order that minimizes the number of pairwise comparisons needed to sort any permutation of ...
go_editor
1.5k
views
go_editor
asked
Jun 3, 2016
Algorithms
descriptive
isi2011
algorithms
sorting
+
–
9
votes
2
answers
11
ISI2011-PCB-CS-6a
Assume a machine has $4$ registers (one of which is the accumulator $A$) and the following instruction set. $\text{LOAD}$ and $\text{STORE}$ are indirect memory operations that load and store, using the address stored in the given register operand ... . Design an instruction encoding scheme that allows each of the above instructions (along with operands) to be encoded in $8$ bits.
Assume a machine has $4$ registers (one of which is the accumulator $A$) and the following instruction set.$\text{LOAD}$ and $\text{STORE}$ are indirect memory operations...
go_editor
1.3k
views
go_editor
asked
Jun 3, 2016
CO and Architecture
co-and-architecture
descriptive
isi2011-pcb-cs
machine-instruction
+
–
1
votes
2
answers
12
ISI2011-PCB-CS-3c
A vertex cover of a graph $G = (V, E)$ is a set of vertices $V' \subseteq V$ such that for any edge $(u, v) \in E$, either $u$ or $v$\ (or both) is in $V'$. Write a linear time algorithm to find the minimum vertex cover of a given tree $T$. Establish its correctness.
A vertex cover of a graph $G = (V, E)$ is a set of vertices $V' \subseteq V$ such that for any edge $(u, v) \in E$, either $u$ or $v$\ (or both) is in $V'$. Write a linea...
go_editor
600
views
go_editor
asked
Jun 3, 2016
Graph Theory
descriptive
isi2011-pcb-cs
graph-theory
vertex-cover
+
–
4
votes
0
answers
13
ISI2011-PCB-CS-6b
For the function given by the Karnaugh map shown below, you can change at most one $1$ or one $0$ entry to a DON'T CARE. Determine what single change of this kind produces the simplest two-level AND-OR realization. Assume both uncomplemented and complemented inputs are available.
For the function given by the Karnaugh map shown below, you can change at most one $1$ or one $0$ entry to a DON'T CARE. Determine what single change of this kind produce...
go_editor
748
views
go_editor
asked
Jun 3, 2016
Digital Logic
digital-logic
descriptive
isi2011-pcb-cs
k-map
+
–
2
votes
0
answers
14
ISI2011-PCB-CS-3b
Let $T = (V, E)$ be a tree, and let $v \in V$ be any vertex of $T$. The $\text{eccentricity}$ of $v$ is the maximum distance from $v$ to any other vertex in $T$. The $\text{centre } C$ of $T$ is the set of vertices which have minimum eccentricity among all ... centre and centroid, each having two vertices (i.e. $C \cap \mathcal{C} = \not{O}$ and $|C| = |\mathcal{C}| = 2)$.
Let $T = (V, E)$ be a tree, and let $v \in V$ be any vertex of $T$.The $\text{eccentricity}$ of $v$ is the maximum distance from $v$ to any other vertex in $T$.The $\text...
go_editor
602
views
go_editor
asked
Jun 3, 2016
Graph Theory
descriptive
isi2011-pcb-cs
graph-theory
graph-connectivity
+
–
2
votes
0
answers
15
ISI2011-PCB-A-4b
Consider the following intervals on the real line: $A_1 = (13.3, 18.3) \: A_3 = (8.3, 23.3) − A_1 \cup A_2$ $A_2 = (10.8, 20.8) − A_1 \: A_4 = (5.8, 25.8) − A_1 \cup A_2 \cup A_3$ where $(a, b) = \{x : a < x < b\}$. Write pseudo-code that ... given input $x \in (5.8, 25.8)$ belongs to, i.e., your pseudo-code should calculate $i \in \{1, 2, 3, 4\}$ such that $x \in A_i$.
Consider the following intervals on the real line: $A_1 = (13.3, 18.3) \: A_3 = (8.3, 23.3) − A_1 \cup A_2$ $A_2 = (10.8, 20.8) − A_1 \: A_4 = (5.8, 25.8) − A_1 \cu...
go_editor
441
views
go_editor
asked
Jun 3, 2016
Algorithms
descriptive
isi2011
algorithms
algorithm-design
+
–
1
votes
0
answers
16
ISI2011-PCB-A-3a
Consider an $m \times n$ integer lattice. A path from $(0, 0)$ to $(m, n)$ can use steps of $(1, 0)$, $(0, 1)$ or diagonal steps $(1, 1)$. Let $D_{m,n}$ be the number of such distinct paths. Prove that $D_{m,n} = \Sigma_k \begin{pmatrix} m \\ k \end{pmatrix} \begin{pmatrix} n+k \\ m \end{pmatrix}$
Consider an $m \times n$ integer lattice. A path from $(0, 0)$ to $(m, n)$ can use steps of $(1, 0)$, $(0, 1)$ or diagonal steps $(1, 1)$. Let $D_{m,n}$ be the number of ...
go_editor
545
views
go_editor
asked
Jun 3, 2016
Combinatory
descriptive
isi2011
combinatory
proof
+
–
2
votes
0
answers
17
ISI2011-PCB-CS-4c
Recall that a typical URL has the following form. It starts with a protocol specifier, followed by a colon (:) and two forward slashes (/), followed by a hostname and a domain name. This is followed by an optional path specifier. Some example URLs are ... are the only characters that can be used in a host / domain / file / directory name, write a regular expression for URLs.
Recall that a typical URL has the following form. It starts with a protocol specifier, followed by a colon (:) and two forward slashes (/), followed by a hostname and a d...
go_editor
372
views
go_editor
asked
Jun 3, 2016
Theory of Computation
descriptive
isi2011-pcb-cs
regular-expression
+
–
1
votes
0
answers
18
ISI2011-PCB-CS-1a
The function $divby3$ given below is intended to check whether a given number is divisible by 3. It assumes that the argument $(number)$ is a string containing the decimal representation of a positive integer, and returns 1 or 0 depending on whether the ... for all positive integers. note: The smaller the number of ALU operations used by your function, the more marks you will get.
The function $divby3$ given below is intended to check whether a given number is divisible by 3. It assumes that the argument $(number)$ is a string containing the decima...
go_editor
448
views
go_editor
asked
Jun 3, 2016
Digital Logic
descriptive
isi2011-pcb-cs
number-representation
+
–
2
votes
0
answers
19
ISI2011-PCB-A-4a
Consider six distinct points in a plane. Let $m$ and $M$ denote the minimum and maximum distance between any pair of points. Show that $M/m \geq \sqrt{3}$.
Consider six distinct points in a plane. Let $m$ and $M$ denote the minimum and maximum distance between any pair of points. Show that $M/m \geq \sqrt{3}$.
go_editor
361
views
go_editor
asked
Jun 3, 2016
Quantitative Aptitude
descriptive
isi2011
cartesian-coordinates
+
–
2
votes
0
answers
20
ISI2011-PCB-A-1
Let $D = \{d_1, d_2, \dots, d_k\}$ be the set of distinct divisors of a positive integer $n$ ($D$ includes 1 and $n$). Then show that $\Sigma_{i=1}^k \sin^{-1} \sqrt{\log_nd_i}=\frac{\pi}{4} \times k$. hint: $\sin^{−1} x + \sin^{−1} \sqrt{1-x^2} = \frac{\pi}{2}$
Let $D = \{d_1, d_2, \dots, d_k\}$ be the set of distinct divisors of a positive integer $n$ ($D$ includes 1 and $n$). Then show that$\Sigma_{i=1}^k \sin^{-1} \sqrt{\log_...
go_editor
306
views
go_editor
asked
Jun 3, 2016
Geometry
isi2011
descriptive
proof
trigonometry
non-gate
+
–
To see more, click for the
full list of questions
or
popular tags
.
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register