Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Profile
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Questions by akash.dinkar12
0
votes
2
answers
141
ISI2018-MMA-7
The greatest common divisor of all numbers of the form $p^2 − 1$, where $p \geq 7$ is a prime, is $6$ $12$ $24$ $48$
The greatest common divisor of all numbers of the form $p^2 − 1$, where $p \geq 7$ is a prime, is$6$$12$$24$$48$
1.5k
views
asked
May 11, 2019
Quantitative Aptitude
isi2018-mma
general-aptitude
quantitative-aptitude
+
–
3
votes
5
answers
142
ISI2018-MMA-3
The number of trailing zeros in $100!$ is $21$ $23$ $24$ $25$
The number of trailing zeros in $100!$ is$21$$23$$24$$25$
1.1k
views
asked
May 11, 2019
Quantitative Aptitude
isi2018-mma
general-aptitude
quantitative-aptitude
number-theory
+
–
3
votes
1
answer
143
ISI2018-MMA-2
The number of squares in the following figure is $\begin{array}{|c|c|c|c|}\hline \text{} & & & \\\hline \hline \text{} & & & \\\hline \hline \text{} & & & \\\hline \hline \text{} & & & \\\hline \end{array}$ $25$ $26$ $29$ $30$
The number of squares in the following figure is$$\begin{array}{|c|c|c|c|}\hline \text{} & & & \\\hline \hline \text{} & & & \\\hline \hline \text{} & & & \\\hline \hline...
679
views
asked
May 11, 2019
Quantitative Aptitude
isi2018-mma
general-aptitude
quantitative-aptitude
+
–
1
votes
2
answers
144
ISI2018-MMA-1
The number of isosceles (but not equilateral) triangles with integer sides and no side exceeding $10$ is $65$ $75$ $81$ $90$
The number of isosceles (but not equilateral) triangles with integer sides and no side exceeding $10$ is$65$$75$$81$$90$
1.9k
views
asked
May 11, 2019
Quantitative Aptitude
isi2018-mma
general-aptitude
quantitative-aptitude
+
–
1
votes
2
answers
145
Gate 2018: Probability
In a box, there are $2$ red, $3$ black and $4$ blue coloured balls. The probability of drawing $2$ blue balls in sequence without replacing, and then drawing $1$ black ball from this box is _________ %.
In a box, there are $2$ red, $3$ black and $4$ blue coloured balls. The probability of drawing $2$ blue balls in sequence without replacing, and then drawing $1$ black ba...
1.1k
views
asked
May 1, 2019
Probability
usergate2018
probability
normal
+
–
0
votes
1
answer
146
ISI2017-PCB-CS-8-b
Consider a simple code $\mathcal{C}$ for error detection and correction. Each codeword in $\mathcal{C}$ consists of $2$ data bits $[d_1, d_0]$ followed by check bits $[c_2, c_1, c_0]$ ... . Write down all the codewords for $\mathcal{C}$ Determine the minimum Hamming distance between any two distinct codewords of $\mathcal{C}$
Consider a simple code $\mathcal{C}$ for error detection and correction. Each codeword in $\mathcal{C}$ consists of $2$ data bits $[d_1, d_0]$ followed by check bits $[c_...
802
views
asked
Apr 8, 2019
Digital Logic
isi2017-pcb-cs
digital-logic
error-detection
programming
descriptive
+
–
1
votes
1
answer
147
ISI2017-PCB-CS-7-b
Define a Boolean function $F(X_1, X_2, X_3, X_4, X_5, X_6)$ of six variables such that $\\ \begin{array}{llll} F & = & 1, & \text{when three or more input variables are at logic 1} \\ { } & = & 0, & \text{otherwise} \end{array} $ How many essential prime implicants does $F$ have? Justify they are essential.
Define a Boolean function $F(X_1, X_2, X_3, X_4, X_5, X_6)$ of six variables such that$\\ \begin{array}{llll} F & = & 1, & \text{when three or more input variables are a...
662
views
asked
Apr 8, 2019
Digital Logic
isi2017-pcb-cs
digital-logic
prime-implicants
descriptive
+
–
1
votes
1
answer
148
ISI2017-PCB-CS-5(b)
Consider a paging system with the page table stored in memory. If a memory reference takes $200$ nanoseconds, how long does a paged memory reference take? If we add a Translation Lookaside Buffer (TLB) and $75$ percent of all page-table references are ... memory reference time? Assume that finding a page-table entry in the TLB takes $20$ nanoseconds, if the entry is present.
Consider a paging system with the page table stored in memory. If a memory reference takes $200$ nanoseconds, how long does a paged memory reference take? If we add a Tra...
8.8k
views
asked
Apr 8, 2019
Operating System
isi2017-pcb-cs
operating-system
paging
translation-lookaside-buffer
descriptive
+
–
0
votes
0
answers
149
ISI2017-PCB-CS-3-b
Consider the following relations: $\text{STD_CHOICES } (\underline{\text{Student_ID}}, \underline{\text{Course_ID}}, \text{Semester})$ and $\text{COURSE_ASSIGN} (\underline{\text{Teacher_ID}}, \underline{\text{Course_ID}}, \underline{\text{Semester}})$. The ... the ID for all the students who have not been taught by the same teacher in more than one course across all semesters.
Consider the following relations:$\text{STD_CHOICES } (\underline{\text{Student_ID}}, \underline{\text{Course_ID}}, \text{Semester})$ and$\text{COURSE_ASSIGN} (\underline...
779
views
asked
Apr 8, 2019
Databases
isi2017-pcb-cs
databases
relational-algebra
relational-calculus
descriptive
+
–
1
votes
1
answer
150
ISI2017-PCB-CS-2(b)
Write a $C$ program to fins all permutations of a string (having at most 6 characters). For example, a string of $3$ characters like $“abc"$ has 6 possible permutations: $“abc", “acb", “bca", “bac", “cab", “cba".$
Write a $C$ program to fins all permutations of a string (having at most 6 characters). For example, a string of $3$ characters like $“abc"$ has 6 possible permutations...
520
views
asked
Apr 8, 2019
Programming in C
isi2017-pcb-cs
programming
programming-in-c
descriptive
+
–
1
votes
1
answer
151
ISI2017-PCB-CS-1(b)
Show that if the edge set of the graph $G(V,E)$ with $n$ nodes can be partitioned into $2$ trees, then there is at least one vertex of degree less than $4$ in $G$.
Show that if the edge set of the graph $G(V,E)$ with $n$ nodes can be partitioned into $2$ trees, then there is at least one vertex of degree less than $4$ in $G$.
925
views
asked
Apr 8, 2019
Graph Theory
isi2017-pcb-cs
engineering-mathematics
discrete-mathematics
graph-theory
graph-connectivity
descriptive
+
–
0
votes
0
answers
152
Cormen Edition 3 Exercise 22.1 Question 8 (Page No. 593)
Suppose that instead of a linked list, each array entry $adj[u]$ is a hash table containing the vertices $v$ for which $(u,v) \in E$. If all edge lookups are equally likely, what is the expected ... alternate data structure for each edge list that solves these problems. Does your alternative have disadvantages compared to the hash table ?
Suppose that instead of a linked list, each array entry $adj[u]$ is a hash table containing the vertices $v$ for which $(u,v) \in E$. If all edge lookups are equally like...
259
views
asked
Apr 7, 2019
Algorithms
cormen
algorithms
graph-algorithms
descriptive
+
–
0
votes
0
answers
153
Cormen Edition 3 Exercise 22.1 Question 6 (Page No. 593)
Most graph algorithms that take an adjacency-matrix representation as input require time $\Omega(V^2)$,but there are some exceptions. Show how to determine whether a directed graph $G$ contains a universal link $-$ a vertex with in-degree $|V-1|$ and out-degree $0$ in time $O(V)$ , given an adjacency matrix for $G$.
Most graph algorithms that take an adjacency-matrix representation as input require time $\Omega(V^2)$,but there are some exceptions. Show how to determine whether a dire...
276
views
asked
Apr 7, 2019
Algorithms
cormen
algorithms
graph-algorithms
descriptive
+
–
0
votes
0
answers
154
Cormen Edition 3 Exercise 22.1 Question 5 (Page No. 593)
The square of a directed graph $G=(V,E)$ is the graph $G^2=(V,E^2)$ such that $(u,v) \in E^2$ if and only $G$ contains a path with at most two edges between $u$ and $v$ .Describe efficient algorithms for computing $G^2$ and $G$ for both the adjacency list and adjacency-matrix representations of G. Analyze the running times of your algorithms.
The square of a directed graph $G=(V,E)$ is the graph $G^2=(V,E^2)$ such that $(u,v) \in E^2$ if and only $G$ contains a path with at most two edges between $u$ and $v$ ....
293
views
asked
Apr 7, 2019
Algorithms
cormen
algorithms
graph-algorithms
descriptive
+
–
0
votes
1
answer
155
Cormen Edition 3 Exercise 22.1 Question 4 (Page No. 593)
Given an adjacency-list representation of a multi graph $G=(V,E)$, describe an $O(V+E)$ time algorithm to compute the adjacency-list representation of the equivalent undirected graph $G'=(V,E')$ , where $E'$ is ... the edges in $E$ with all multiple edges between two vertices replaced by a single edge and with all self-loops removed.
Given an adjacency-list representation of a multi graph $G=(V,E)$, describe an $O(V+E)$ time algorithm to compute the adjacency-list representation of the “equivalent�...
1.1k
views
asked
Apr 7, 2019
Algorithms
cormen
algorithms
graph-algorithms
descriptive
+
–
1
votes
1
answer
156
Cormen Edition 3 Exercise 22.1 Question 3 (Page No. 592)
The transpose of a directed graph $G=(V,E)$ is the graph $G^T=(V,E^T)$, where $E^T=\{(v,u) \in V * V :(u,v) \in E \ \}$ .Thus ,$G^T$ is $G$ with all its edges reversed . Describe ... algorithms for computing $G^T$ from $G$,for both the adjacency list and adjacency matrix representations of $G$. Analyze the running times of your algorithms.
The transpose of a directed graph $G=(V,E)$ is the graph $G^T=(V,E^T)$, where $E^T=\{(v,u) \in V * V :(u,v) \in E \ \}$ .Thus ,$G^T$ is $G$ with all its edges reversed . ...
4.4k
views
asked
Apr 7, 2019
Algorithms
cormen
algorithms
graph-algorithms
descriptive
+
–
0
votes
1
answer
157
Cormen Edition 3 Exercise 22.1 Question 2 (Page No. 592)
Give an adjacency-list representation for a complete binary tree on $7$ vertices. Give an equivalent adjacency-matrix representation. Assume that vertices are numbered from $1\ to\ 7$ as in a binary heap.
Give an adjacency-list representation for a complete binary tree on $7$ vertices. Give an equivalent adjacency-matrix representation. Assume that vertices are numbered fr...
1.3k
views
asked
Apr 7, 2019
Algorithms
cormen
algorithms
graph-algorithms
descriptive
+
–
0
votes
1
answer
158
Cormen Edition 3 Exercise 22.1 Question 1 (Page No. 592)
Given an adjacency-list representation of a directed graph, how long does it take to compute the out-degree of every vertex ? How long does it take to compute the in-degrees ?
Given an adjacency-list representation of a directed graph, how long does it take to compute the out-degree of every vertex ? How long does it take to compute the in-degr...
368
views
asked
Apr 7, 2019
Algorithms
cormen
algorithms
graph-algorithms
descriptive
+
–
1
votes
0
answers
159
Cormen Edition 3 Exercise 6.1 Question 7 (Page No. 154)
Show that, with the array representation for storing an $n$-element heap, the leaves are the nodes indexed by $\lfloor n/2\rfloor +1$,$\lfloor n/2\rfloor +2,…,n$
Show that, with the array representation for storing an $n$-element heap, the leaves are the nodes indexed by $\lfloor n/2\rfloor +1$,$\lfloor n/2\rfloor +2,…,n$
307
views
asked
Apr 5, 2019
Algorithms
cormen
algorithms
binary-heap
descriptive
+
–
0
votes
2
answers
160
Cormen Edition 3 Exercise 6.1 Question 6 (Page No. 154)
Is the array with values $23,17,14; 6,13,10,1,5,7,12$ a max-heap ?
Is the array with values $23,17,14; 6,13,10,1,5,7,12$ a max-heap ?
1.5k
views
asked
Apr 5, 2019
Algorithms
cormen
algorithms
binary-heap
descriptive
+
–
Page:
« prev
1
...
3
4
5
6
7
8
9
10
11
12
13
...
28
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register