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
Recent activity by ashutoshaay26
1
answer
1
self doubt
Consider the set N∗ of finite sequences of natural numbers with x ≤p y denoting that sequence x is a prefix of sequence y. Then, which of the following is true? Every non-empty subset of N∗ has a least upper bound. N∗ is uncountable. ≤p is a total order. Every non-empty subset of N∗ has a greatest lower bound.
Consider the set N∗ of finite sequences of natural numbers with x ≤p y denoting that sequence x is a prefix of sequence y. Then, which of the following is true? E...
671
views
commented
Jan 20, 2018
Set Theory & Algebra
lattice
+
–
3
answers
2
GATE CSE 2000 | Question: 1.23, ISRO2016-57
Given the relations employee (name, salary, dept-no), and department (dept-no, dept-name,address), Which of the following queries cannot be expressed using the basic relational algebra operations ... whose name is the same as their department name The sum of all employees' salaries All employees of a given department
Given the relationsemployee (name, salary, dept-no), anddepartment (dept-no, dept-name,address),Which of the following queries cannot be expressed using the basic relatio...
14.9k
views
commented
Sep 13, 2017
Databases
gatecse-2000
databases
relational-algebra
easy
isro2016
+
–
1
answer
3
Counting Semaphores
2. Assume that ‘C’ is a Counting Semaphore initialized to value ‘10’. Consider the following program segment: P(C); V(C); P(C); P(C); P(C); V(C); V(C) V(C); V(C); V(C); P(C); V(C); V(C); P(C) What is the value of C? a) 8 b)10 c)12 d)14
2. Assume that ‘C’ is a Counting Semaphore initialized to value ‘10’. Consider the followingprogram segment:P(C); V(C); P(C); P(C); P(C); V(C); V(C)V(C); V(C); V(...
4.8k
views
answer selected
Sep 4, 2017
Operating System
semaphore
process-synchronization
operating-system
+
–
1
answer
4
Concurrent Processes
Consider the program segment: x= 0; y=0; Cobegin begin x= 1; y= y + x; end begin y= 2; x= x + 3; end Coend; Which of the following indicates possible values for the variables when the segment finishes execution? (1) x= 1, y= 2 (2) x= 1, y= 3 (3) x= 4, y= 6 (a) 1 only (b) 1 & 2 only (c) 1 & 3 only (d) 2 & 3 only (e) 1, 2, 3
Consider the program segment:x= 0; y=0;Cobeginbeginx= 1;y= y + x;endbeginy= 2;x= x + 3;endCoend;Which of the following indicates possible values for the variables when th...
1.2k
views
asked
Sep 3, 2017
Operating System
operating-system
process-synchronization
+
–
3
answers
5
Couting the number of reduce moves
The maximum number of reduce moves that can be taken by a bottom-up parser with no epsilon and unit productions to parse a string of length 3 tokens is ____ ?
The maximum number of reduce moves that can be taken by a bottom-up parser with no epsilon and unit productions to parse a string of length 3 tokens is ____ ?
803
views
answered
Sep 1, 2017
Compiler Design
compiler-design
context-free-grammar
compiler-tokenization
numerical-answers
+
–
7
answers
6
GATE CSE 2004 | Question: 84
The recurrence equation $ T(1) = 1$ $T(n) = 2T(n-1) + n, n \geq 2$ evaluates to $2^{n+1} - n - 2$ $2^n - n$ $2^{n+1} - 2n - 2$ $2^n + n $
The recurrence equation$ T(1) = 1$$T(n) = 2T(n-1) + n, n \geq 2$evaluates to$2^{n+1} - n - 2$$2^n - n$$2^{n+1} - 2n - 2$$2^n + n $
17.6k
views
commented
Aug 29, 2017
Algorithms
gatecse-2004
algorithms
recurrence-relation
normal
+
–
2
answers
7
Finite Automata
How to construct NFA with even number of a's and even no of b's??
How to construct NFA with even number of a's and even no of b's??
293
views
answered
Aug 27, 2017
2
answers
8
decidability
S = { <M> | M is a DFA that accepts some palindrome }. Then what will be S - a) Turing recognizable b) decidable c) undecidable d) none of these
S = { <M | M is a DFA that accepts some palindrome }. Then what will be S -a) Turing recognizableb) decidable c) undecidabled) none of these
1.0k
views
answered
Aug 27, 2017
2
answers
9
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 ...
1.5k
views
commented
Aug 26, 2017
Algorithms
descriptive
isi2011
algorithms
sorting
+
–
3
answers
10
TIFR CSE 2013 | Part B | Question: 5
Given a weighted directed graph with $n$ vertices where edge weights are integers (positive, zero, or negative), determining whether there are paths of arbitrarily large weight can be performed in time $O(n)$ $O(n . \log(n))$ but not $O (n)$ $O(n^{1.5})$ but not $O (n \log n)$ $O(n^{3})$ but not $O(n^{1.5})$ $O(2^{n})$ but not $O(n^{3})$
Given a weighted directed graph with $n$ vertices where edge weights are integers (positive, zero, or negative), determining whether there are paths of arbitrarily large ...
4.5k
views
commented
Aug 25, 2017
Algorithms
tifr2013
algorithms
graph-algorithms
time-complexity
+
–
1
answer
11
Deterministic Push Down Automata
What is main difference between Deterministic Push down automata and simple Push down automata ?
What is main difference between Deterministic Push down automata and simple Push down automata ?
1.2k
views
commented
Aug 15, 2017
Theory of Computation
theory-of-computation
dpda
pushdown-automata
+
–
1
answer
12
algorithms Asymptotic Notations
585
views
commented
Aug 14, 2017
Algorithms
asymptotic-notation
algorithms
time-complexity
test-series
+
–
4
answers
13
GATE CSE 2017 Set 1 | Question: 39
Let $A$ and $B$ be finite alphabets and let $\#$ be a symbol outside both $A$ and $B$. Let $f$ be a total function from $A^{*}$ to $B^{*}$. We say $f$ is computable if there exists a Turing machine $M$ which given an ... $L_{f}$ is recursive, but not conversely. If $f$ is computable then $L_{f}$ is recursively enumerable, but not conversely.
Let $A$ and $B$ be finite alphabets and let $\#$ be a symbol outside both $A$ and $B$. Let $f$ be a total function from $A^{*}$ to $B^{*}$. We say $f$ is computable if th...
18.4k
views
commented
Aug 14, 2017
Theory of Computation
gatecse-2017-set1
theory-of-computation
decidability
difficult
+
–
4
answers
14
GATE IT 2007 | Question: 3, UGCNET-June2012-III: 34
Consider a weighted, undirected graph with positive edge weights and let $uv$ be an edge in the graph. It is known that the shortest path from the source vertex $s$ to $u$ has weight 53 and the shortest path from $s$ to $v$ has weight 65. Which one of the ... $(u,v) \leq 12$ Weight $(u,v) = 12$ Weight $(u,v) \geq 12$ Weight $(u,v) > 12$
Consider a weighted, undirected graph with positive edge weights and let $uv$ be an edge in the graph. It is known that the shortest path from the source vertex $s$ to $u...
11.5k
views
commented
Jul 16, 2017
Algorithms
gateit-2007
algorithms
graph-algorithms
normal
ugcnetcse-june2012-paper3
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register