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
Answers by sourav.
0
votes
1
Ace material
If a graph with 10 vertices having each vertex having degree >=5 find graph connected or disconnected
If a graph with 10 vertices having each vertex having degree >=5 find graph connected or disconnected
380
views
answered
Aug 8, 2018
0
votes
2
logic and predicate
395
views
answered
Jul 14, 2018
1
votes
3
Pipeline
A computer with a 5 stage pipeline deals with conditional branches by stalling for the next 3 cycle after hitting one. how much does stalling hurt the performance is 20% of all instructions are conditional branches.
A computer with a 5 stage pipeline deals with conditional branches by stalling for the next 3 cycle after hitting one. how much does stalling hurt the performance is 20% ...
981
views
answered
Jul 7, 2018
CO and Architecture
pipelining
branch-conditional-instructions
co-and-architecture
stall
+
–
1
votes
4
GATE CSE 1992 | Question: 02,viii
A non-planar graph with minimum number of vertices has $9$ edges, $6$ vertices $6$ edges, $4$ vertices $10$ edges, $5$ vertices $9$ edges, $5$ vertices
A non-planar graph with minimum number of vertices has$9$ edges, $6$ vertices$6$ edges, $4$ vertices$10$ edges, $5$ vertices$9$ edges, $5$ vertices
3.2k
views
answered
Apr 2, 2018
Graph Theory
gate1992
graph-theory
normal
graph-planarity
+
–
4
votes
5
Virtual Gate Test Series: Theory Of Computation - Languages
Let $L$ be a given context-free language over the alphabet $\{a, b\}$. Construct $L1, L2$ as follows. Let $L1 = L − \{xyx \mid x, y \in \{a, b\}^*\}$, and $L2 = L·L$. Then, Both $L1$ and $L2$ are regular ... $L1$ is regular and $L2$ is context-free. $L1$ and $L2$ both may not be context-free.
Let $L$ be a given context-free language over the alphabet $\{a, b\}$. Construct $L1, L2$ as follows.Let $L1 = L − \{xyx \mid x, y \in \{a, b\}^*\}$,and $L2 = L·L$. Th...
565
views
answered
Jan 27, 2018
Theory of Computation
theory-of-computation
identify-class-language
virtual-gate-test-series
+
–
7
votes
6
GATE IT 2004 | Question: 74
A relational database contains two tables student and department in which student table has columns roll_no, name and dept_id and department table has columns dept_id and dept_name. The following insert statements were executed successfully to populate the empty tables: ... department 0 row and 4 columns 3 rows and 4 columns 3 rows and 5 columns 6 rows and 5 columns
A relational database contains two tables student and department in which student table has columns roll_no, name and dept_id and department table has columns dept_id and...
12.5k
views
answered
Jan 26, 2018
Databases
gateit-2004
databases
sql
normal
+
–
2
votes
7
Need derivation
What is the value of 1.111111111? Is it same as $\left (2-2^{-9} \right )$?
What is the value of 1.111111111? Is it same as $\left (2-2^{-9} \right )$?
388
views
answered
Dec 28, 2017
Digital Logic
digital-logic
+
–
0
votes
8
Context free and regular languages
Let L be a given context-free language over the alphabet {a, b}. Construct L1, L2 as follows. Let L1 = L − {xyx | x, y ∈ {a, b}∗}, and L2 = L·L. Then, (A) Both L1 and L2 are regular. (B) Both L1 and L2 are context free but not necessarily regular. (C) L1 is regular and L2 is context free. (D) L1 and L2 both may not be context free
Let L be a given context-free language over the alphabet {a, b}. Construct L1, L2 as follows.Let L1 = L − {xyx | x, y ∈ {a, b}∗},and L2 = L·L. Then, (A) Both L...
919
views
answered
Nov 16, 2017
Theory of Computation
context-free-language
theory-of-computation
+
–
1
votes
9
The Boolean function implemented by the multiplexer shown below is
Σm (0, 1, 2, 3) Σm (0, 2, 3, 4) Σm (0, 2, 4, 5) Σm (0, 1, 2, 5)
Σm (0, 1, 2, 3)Σm (0, 2, 3, 4)Σm (0, 2, 4, 5)Σm (0, 1, 2, 5)
800
views
answered
Nov 10, 2017
Digital Logic
digital-logic
+
–
4
votes
10
Computer Networks
Consider a network system consisting of three networks connected with two routers. Network-A has MTU of 1500 bytes, Network-B has MTU of 620 bytes, Network-C has MTU of 1500 bytes (MTU includes header size). Station-1 needs to send a segment of1380 bytes. The Total size of the packets received at Network-C is _________ bytes if the header size is 20 B.
Consider a network system consisting of three networks connected with two routers. Network-A has MTU of 1500 bytes, Network-B has MTU of 620 bytes, Network-C has MTU of 1...
2.1k
views
answered
Nov 5, 2017
Computer Networks
computer-networks
network
+
–
9
votes
11
GATE CSE 1990 | Question: 5-b
Show with the help of a block diagram how the Boolean function : $f=AB+BC+CA$ can be realised using only a $4:1$ multiplexer.
Show with the help of a block diagram how the Boolean function :$f=AB+BC+CA$can be realised using only a $4:1$ multiplexer.
4.5k
views
answered
Nov 3, 2017
Digital Logic
gate1990
descriptive
digital-logic
combinational-circuit
multiplexer
+
–
0
votes
12
Previous year gate question modification(disks)
Consider a hard disk with 16 recording surfaces (1-16) having 16384 cylinders (1-16384) and each cylinder contains 64 sectors (1-64). Data storage capacity in each sector is 512 bytes. Data are organized cylinder-wise and the addressing ... on.. Please the tell me the <cylinder no,surfaceno, sector no> of last sector in this case. Thanks.
Consider a hard disk with 16 recording surfaces (1-16) having 16384 cylinders (1-16384) and each cylinder contains 64 sectors (1-64). Data storage capacity in each sector...
860
views
answered
Nov 2, 2017
CO and Architecture
disk
+
–
2
votes
13
Question regarding DCFL Closure Properties
May someone please explain via simple Set Theory Basics that why DCFL is "not" closed under - 1) UNION 2) INTERSECTION 3) SET DIFFERENCE but is "closed" under complement. Things I know - a) DCFL is proper subset of CFL Thank you! I'm being forced to By Heart them, but I don't want to.
May someone please explain via simple Set Theory Basics that why DCFL is "not" closed under - 1) UNION 2) INTERSECTION 3) SET DIFFERENCE but is "closed" under complement....
2.1k
views
answered
Nov 1, 2017
Theory of Computation
theory-of-computation
closure-property
context-free-language
+
–
1
votes
14
gatebook
For this answer will be both S1 and S2 right??
For this answer will be both S1 and S2 right??
349
views
answered
Oct 28, 2017
19
votes
15
Recursive Enumerable Language Doubt
We know, Recursive Enumerable Language is not closed under complement. a) So, let's say Y is a R.E language and recursive, then what would be Y' (Y complement)? b) Again Y is a R.E language, but this time Y is not recursive then what would ... S - I get that answer for b) is Y' (Y complement) is not R.E, but why? and also please explain option a)
We know, Recursive Enumerable Language is not closed under complement. a) So, let's say Y is a R.E language and recursive, then what would be Y' (Y complement)?b) Again Y...
9.6k
views
answered
Oct 27, 2017
Theory of Computation
theory-of-computation
recursive-and-recursively-enumerable-languages
turing-machine
complement
+
–
1
votes
16
Tower of Hanoi
In Tower of Hanoi problem, when we move 3 disk , it will rotate like Input : 3 Output : Disk 1 moved from A to C Disk 2 moved from A to B Disk 1 moved from C to B Disk 3 moved from A to C Disk 1 moved from B to A Disk 2 moved from ... www.cs.cmu.edu/~cburch/survey/recurse/hanoiex.html Some disk move I have shown here with recursion tree. Plz help me some moves of disk after this move
In Tower of Hanoi problem, when we move 3 disk , it will rotate likeInput : 3 Output : Disk 1 moved from A to C Disk 2 moved from A to B Disk 1 moved from C to B Disk 3 m...
2.5k
views
answered
Oct 26, 2017
DS
recursion
algorithms
towers-of-hanoi
+
–
8
votes
17
Doubt
Need some clarification regarding this answer Do comment please:
Need some clarification regarding this answer Do comment please:
770
views
answered
Oct 26, 2017
Programming in C
programming
+
–
2
votes
18
How to make a minimal DFA
Draw a minimal DFA which accepts a language L over {a,b} 01 [ ((10) * + 111) * + 0 ] * 1
Draw a minimal DFA which accepts a language L over {a,b}01 [ ((10) * + 111) * + 0 ] * 1
730
views
answered
Oct 26, 2017
Theory of Computation
theory-of-computation
minimal-state-automata
+
–
1
votes
19
#output
#include<stdio.h> int main() { int i=4, j=8; printf("%d, %d, %d\n", i|j&j|i, i|j&j|i, i^j); return 0; } Please tell the approach. Ans is 12 12 12
#include<stdio.h int main() { int i=4, j=8; printf("%d, %d, %d\n", i|j&j|i, i|j&j|i, i^j); return 0; }Please tell the approach.Ans is 12 12 12
250
views
answered
Oct 25, 2017
4
votes
20
AceTest Series: Algorithms - Time Complexity
for (i=n ; i>0 ; i--) { for ( j=1;j<n ; j=j*2) { for ( k=0;k<j ;k++) { } } } time complexity ?? how to find of inner and innermost loop?
for (i=n ; i>0 ; i ) { for ( j=1;j<n ; j=j*2) { for ( k=0;k<j ;k++) { } } }time complexity ??how to find of inner and innermost loop?
1.1k
views
answered
Oct 23, 2017
Algorithms
ace-test-series
algorithms
time-complexity
+
–
4
votes
21
CMI2012-A-02
Let $T$ be a tree on 100 vertices. Let $n_i$ be the number of vertices in $T$ which have exactly $i$ neighbors. Let $s= \Sigma_{i=1}^{100} i . n_i$ Which of the following is true? $s=99$ $s=198$ $99 \: < \: s \: < \: 198$ None of the above
Let $T$ be a tree on 100 vertices. Let $n_i$ be the number of vertices in $T$ which have exactly $i$ neighbors. Let $s= \Sigma_{i=1}^{100} i . n_i$ Which of the following...
855
views
answered
Oct 23, 2017
Graph Theory
cmi2012
graph-theory
tree
+
–
5
votes
22
TCP CONGESTION
Can anyone confirm this i iam getting 2800 ms here ?
Can anyone confirm this i iam getting 2800 ms here ?
479
views
answered
Oct 20, 2017
Computer Networks
computer-networks
congestion-control
+
–
3
votes
23
Virtual Gate Test Series: Computer Networks - Sequence Number Field
709
views
answered
Oct 20, 2017
Computer Networks
computer-networks
sequencenumber
virtual-gate-test-series
+
–
1
votes
24
analysis-of-algorithms
If f(n) = O(g(n)) then is it always true g(n) = (f(n)) ??? please explain.
If f(n) = O(g(n)) then is it always true g(n) = (f(n)) ??? please explain.
366
views
answered
Oct 19, 2017
Algorithms
asymptotic-notation
+
–
0
votes
25
Discrete
What is the upper bound for the Chromatic Number given by Brooks' theorem for the Petersen graph? (a) 2 (b) 3 (c) 4 (d) None of the above
What is the upper bound for the Chromatic Number given by Brooks' theorem for the Petersen graph? (a) 2 (b) 3 (c) 4 (d) None of the above
318
views
answered
Oct 19, 2017
Others
discrete
+
–
3
votes
26
Algo: Time complexity
T(n) = 4T(n/2) + n2.$\sqrt{2}$ In thetha notation?
T(n) = 4T(n/2) + n2.$\sqrt{2}$In thetha notation?
708
views
answered
Oct 18, 2017
Algorithms
time-complexity
algorithms
asymptotic-notation
+
–
2
votes
27
Asymptotic time order
881
views
answered
Oct 15, 2017
Algorithms
algorithms
asymptotic-notation
test-series
+
–
6
votes
28
number of solutions
Number of non negative integer solutions such that $x + y + z = 17$ where $x>1,\ y>2,\ z>3$
Number of non negative integer solutions such that $x + y + z = 17$ where $x>1,\ y>2,\ z>3$
2.5k
views
answered
Oct 9, 2017
Mathematical Logic
discrete-mathematics
combinatory
+
–
0
votes
29
asymptotic function order
Rank the following functions by increasing order of growth. That is, find any arrangement $g_1, g_2, g_3, g_4, g_5, g_6, g_7$ of the functions satisfying: $g_1 = O(g_2), g_2 = O(g_3), g_3 = O(g_4), g_4 = O(g_5), g_5 = O(g_6), g_6 = O(g_7).$ $f_1(n) = n^4 + \log n$ ... $f_3(n) = n \log n$ $f_4(n) = nC_3$ $f_5(n) = nC_{n/2}$ $f_6(n) = 2^n$ $f_7(n) = n^{\log n}$
Rank the following functions by increasing order of growth. That is, find any arrangement $g_1, g_2, g_3, g_4, g_5, g_6, g_7$ of the functions satisfying:$g_1 = O(g_2), g...
3.0k
views
answered
Oct 7, 2017
Algorithms
asymptotic-notation
+
–
1
votes
30
Peter Linz CFL
Which of the following languages are CFL? $a) L=\{a{^n}ww{^R}a{^n} \ | n>=0, w\ \epsilon \{a,b\}{^*}\}$ $b) L=\{a{^n}b{^j}a{^j}b{^n} \ | n>=0, j>=0\}$ $c) L=\{a{^n}b{^j}a{^n}b{^j} \ | n>=0, j>=0\}$ $d) L=\{a{^n}b{^n}c{^j} \ | n<=j\}$
Which of the following languages are CFL?$a) L=\{a{^n}ww{^R}a{^n} \ | n>=0, w\ \epsilon \{a,b\}{^*}\}$$b) L=\{a{^n}b{^j}a{^j}b{^n} \ | n>=0, j>=0\}$$c) L=\{a{^n}b{^j}a{^n...
593
views
answered
Oct 6, 2017
Page:
1
2
3
4
5
6
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register