Recent questions tagged isi2025-mcs-pcb

1 1 vote
0 0 answers
452
452 views
Consider the following function job(), which takes two positive integers $x$ and $y$, and returns another integer.int job(int x, int y) {if (x y) return x;else if (x y) ...
0 0 votes
1 1 answer
260
260 views
Let $b_{n} b_{n-1} \cdots b_{1}$ be the decimal representation of an $n$ digit number $m$. Let $b_{n} b_{n-1} \cdots b_{2}$ be the integer $a$ obtained from $m$ by stripp...
0 0 votes
0 0 answers
309
309 views
Suppose $X=\left(x_{1}, x_{2}, \ldots, x_{n}\right)$ is an array of numbers (not necessarily integers) sorted in the ascending order, and $Y=\left(y_{1}, y_{2}, \ldots, y...
0 0 votes
1 1 answer
317
317 views
Let $A$ be an $n \times n$ matrix and let $I$ denote the $n \times n$ identity matrix. Show that, if $A^{3}=0$, then $(I-A)$ is invertible.Let $V$ be an $n$-dimensional v...
0 0 votes
0 0 answers
242
242 views
Let $f: \mathbb{R} \rightarrow(0, \infty)$ be a function satisfying $f(x+y)=f(x) f(y)$ for all $x, y \in \mathbb{R}$.Prove that if $f$ is continuous at 0 , then $f$ is co...
0 0 votes
0 0 answers
206
206 views
The map below shows all the routes connecting the locations $A, B, C$ and $D$. However, there are many bridges, each indicated with a (?) mark. Each bridge is open with p...
0 0 votes
1 1 answer
229
229 views
For a graph $G=(V, E)$ and a subset $X \subseteq V$ of the vertices, the induced subgraph $G[X]$ is defined as $G[X]=\left(X, E^{\prime}\right)$, where $E^{\prime}=\{u v ...
0 0 votes
0 0 answers
132
132 views
Let $p(x)=(x-1)(x-2) \cdots(x-n+1)(x-n)-1$ be a polynomial where $n \geq 1$. Suppose $p(x)=f(x) g(x)$ where $f$ and $g$ are both polynomials with integer coefficients.Sho...
0 0 votes
0 0 answers
233
233 views
Let $L$ be a language over an alphabet $\{a, b\}$ such that the empty string does not belong to $L$ and the first and the last letters of every string in $L$ are the same...
0 0 votes
0 0 answers
323
323 views
Using JK flip-flops and a minimal number of combinatorial logic gates, design a sequential circuit that takes a stream of bits as input and outputs $1$ whenever three con...
1 1 vote
2 2 answers
358
358 views
Given an array $A=\left(a_{0}, a_{1}, \ldots, a_{n-1}\right)$ of integers, your task is to determine the maximum possible sum\[\operatorname{maxsum}(A)=\max _{0 \leq s \l...
0 0 votes
1 1 answer
276
276 views
Let $b_{n} b_{n-1} \cdots b_{1}$ be the decimal representation of an $n$ digit number $m$. Let $b_{n} b_{n-1} \ldots b_{2}$ be the integer $a$ obtained from $m$ by stripp...
0 0 votes
0 0 answers
252
252 views
Suppose $X=\left(x_{1}, x_{2}, \ldots, x_{n}\right)$ is an array of numbers (not necessarily integers) sorted in the ascending order, and $Y=\left(y_{1}, y_{2}, \ldots, y...
2 2 votes
1 1 answer
458
458 views
Let $R$ be the root of a balanced binary search tree having $n$ nodes, where each node contains an integer, a pointer to its left child and a pointer to its right child. ...
0 0 votes
0 0 answers
186
186 views
For a graph $G=(V, E)$ and a subset $X \subseteq V$ of the vertices, the induced subgraph $G[X]$ is defined as $G[X]=\left(X, E^{\prime}\right)$, where $E^{\prime}=\{u v ...
0 0 votes
1 1 answer
429
429 views
For an attribute set $A$ with a set of underlying functional dependencies, the closure $A^{+}$is defined as the set of attributes that can be derived from $A$. Given a re...
0 0 votes
0 0 answers
311
311 views
Using JK flip-flops and a minimal number of combinatorial logic gates, design a sequential circuit that takes a stream of bits as input and outputs $1$ whenever three con...
0 0 votes
1 1 answer
414
414 views
Consider the following piece of a program for a hypothetical processor having two user registers R1 and R2.\begin{array}{|l|l|l|}\hline \text{Instruction} & \text{Underly...
0 0 votes
0 0 answers
224
224 views
Let $L$ be a language over an alphabet $\{a, b\}$ such that the empty string does not belong to $L$ and the first and the last letters of every string in $L$ are the same...
1 1 vote
2 2 answers
668
668 views
Suppose the following code is compiled, and run for different values of N .int main() { for (int i = 1; i <= N; i++) { fprintf(stderr, "OPERATING\n"); fork(); fork(); } f...
2 2 votes
0 0 answers
660
660 views
Consider that node $X$ is sending packets to node $Y$. The path from $X$ to $Y$ has a bandwidth of $B_{X Y}=5000$ bytes/second and a propagation delay of $P_{X Y}=100$ mi...
To see more, click for the full list of questions or popular tags.