Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
No answer
No selected answer
No upvoted answer
Previous GATE
Featured
Recent questions without answers
0
votes
0
answers
4771
Cormen Edition 3 Exercise 4.4 Question 5 (Page No. 93)
Use a recursion tree to determine a good asymptotic upper bound on the recurrence $T(n)=T(n-1)+T(n/2) +n$.Use the substitution method to verify your answer.
Use a recursion tree to determine a good asymptotic upper bound on the recurrence $T(n)=T(n-1)+T(n/2) +n$.Use the substitution method to verify your answer.
akash.dinkar12
369
views
akash.dinkar12
asked
Apr 5, 2019
Algorithms
cormen
algorithms
recurrence-relation
descriptive
+
–
0
votes
0
answers
4772
Cormen Edition 3 Exercise 4.4 Question 4 (Page No. 93)
Use a recursion tree to determine a good asymptotic upper bound on the recurrence $T(n) =2T(n-1) + 1$.Use the substitution method to verify your answer.
Use a recursion tree to determine a good asymptotic upper bound on the recurrence $T(n) =2T(n-1) + 1$.Use the substitution method to verify your answer.
akash.dinkar12
175
views
akash.dinkar12
asked
Apr 5, 2019
Algorithms
cormen
algorithms
recurrence-relation
descriptive
+
–
0
votes
0
answers
4773
Cormen Edition 3 Exercise 4.4 Question 3 (Page No. 93)
Use a recursion tree to determine a good asymptotic upper bound on the recurrence $T(n)=4T(n/2 +2)+n$.Use the substitution method to verify your answer.
Use a recursion tree to determine a good asymptotic upper bound on the recurrence $T(n)=4T(n/2 +2)+n$.Use the substitution method to verify your answer.
akash.dinkar12
164
views
akash.dinkar12
asked
Apr 5, 2019
Algorithms
cormen
algorithms
recurrence-relation
descriptive
+
–
0
votes
0
answers
4774
Cormen Edition 3 Exercise 4.4 Question 1 (Page No. 92)
Use a recursion tree to determine a good asymptotic upper bound on the recurrence $T(n)=3T(\lfloor n/2 \rfloor) + n$. Use the substitution method to verify your answer.
Use a recursion tree to determine a good asymptotic upper bound on the recurrence $T(n)=3T(\lfloor n/2 \rfloor) + n$. Use the substitution method to verify your answer.
akash.dinkar12
177
views
akash.dinkar12
asked
Apr 5, 2019
Algorithms
cormen
algorithms
recurrence-relation
descriptive
+
–
0
votes
0
answers
4775
gate 2019
in gate 2019 my marks are 29.67 and my gate score is 352 in general category please give some information about is there any chance of getting m.tech admission in nit’s or iiit’s and please give me the list of universitie’s of information where can i get m.tech admission
in gate 2019 my marks are 29.67 and my gate score is 352 in general category please give some information about is there any chance of getting m.tech admission in nit’...
suneetha
505
views
suneetha
asked
Apr 5, 2019
NITs
gate-2019
+
–
1
votes
0
answers
4776
Admission
How to write a SOP?What to include in SOP when you are not sure of your interests and don't have a specific purpose of selecting that specialization?
How to write a SOP?What to include in SOP when you are not sure of your interests and don't have a specific purpose of selecting that specialization?
Nidhi Budhraja
499
views
Nidhi Budhraja
asked
Apr 5, 2019
Written Exam
admissions
mtech
getting-to-iits
iisc
sop
+
–
0
votes
0
answers
4777
Cormen Edition 3 Exercise 4.3 Question 8 (Page No. 87)
Using the master method, you can show that the solution to the recurrence $T(n) = 4T(n/2) +n^2$ is $T(n) = \Theta(n^2)$.Show that a substitution proof with the assumption $T(n) \leq cn^2$ fails. Then show how to subtract off a lower-order term to make a substitution proof work.
Using the master method, you can show that the solution to the recurrence $T(n) = 4T(n/2) +n^2$ is $T(n) = \Theta(n^2)$.Show that a substitution proof with the assumption...
akash.dinkar12
155
views
akash.dinkar12
asked
Apr 5, 2019
Algorithms
cormen
algorithms
recurrence-relation
descriptive
+
–
0
votes
0
answers
4778
Cormen Edition 3 Exercise 4.3 Question 7 (Page No. 87)
Using the master method, you can show that the solution to the recurrence $T(n) = 4T(n/3) +n$ is $T(n) = O(n^{log_34})$.Show that a substitution proof with the assumption $T(n) \leq cn^{log_34}$ fails. Then show how to subtract off a lower-order term to make a substitution proof work.
Using the master method, you can show that the solution to the recurrence $T(n) = 4T(n/3) +n$ is $T(n) = O(n^{log_34})$.Show that a substitution proof with the assumption...
akash.dinkar12
137
views
akash.dinkar12
asked
Apr 5, 2019
Algorithms
cormen
algorithms
recurrence-relation
descriptive
+
–
0
votes
0
answers
4779
Cormen Edition 3 Exercise 4.3 Question 6 (Page No. 87)
Show that the solution to $T(n) =T(\lfloor n/2 \rfloor+ 17) + n$ is $O(n\ log\ n)$
Show that the solution to $T(n) =T(\lfloor n/2 \rfloor+ 17) + n$ is $O(n\ log\ n)$
akash.dinkar12
155
views
akash.dinkar12
asked
Apr 5, 2019
Algorithms
cormen
algorithms
recurrence-relation
descriptive
+
–
0
votes
0
answers
4780
Cormen Edition 3 Exercise 4.3 Question 3 (Page No. 87)
We saw that the solution of $T(n) = T(\lceil n/2 \rceil) + n$ is $O(lg\ n)$. Show that the solution of this recurrence is also $\Omega(n\ lg\ n)$. Conclude that the solution is $\Theta(n\log \ n)$.
We saw that the solution of $T(n) = T(\lceil n/2 \rceil) + n$ is $O(lg\ n)$. Show that the solution of this recurrence is also $\Omega(n\ lg\ n)$. Conclude that the solut...
akash.dinkar12
188
views
akash.dinkar12
asked
Apr 5, 2019
Algorithms
cormen
algorithms
recurrence-relation
descriptive
+
–
0
votes
0
answers
4781
Cormen Edition 3 Exercise 4.3 Question 2 (Page No. 87)
Show that the solution of $T(n) = T(\lceil n/2\rceil) + 1$ is $O$(lg$ $n)$.
Show that the solution of $T(n) = T(\lceil n/2\rceil) + 1$ is $O$$(lg$ $n)$.
akash.dinkar12
160
views
akash.dinkar12
asked
Apr 5, 2019
Algorithms
cormen
algorithms
recurrence-relation
descriptive
+
–
0
votes
0
answers
4782
Cormen Edition 3 Exercise 4.3 Question 1 (Page No. 87)
Show that the solution of $T(n) = T(n-1)+ n$ is $O(n^2)$
Show that the solution of $T(n) = T(n-1)+ n$ is $O(n^2)$
akash.dinkar12
151
views
akash.dinkar12
asked
Apr 5, 2019
Algorithms
cormen
algorithms
recurrence-relation
descriptive
+
–
0
votes
0
answers
4783
Cormen Edition 3 Exercise 4.1 Question 5 (Page No. 74)
Use the following ideas to develop a nonrecursive, linear-time algorithm for the maximum-subarray problem. Start at the left end of the array, and progress toward the right, keeping track of the maximum subarray seen so far. Knowing a maximum ... the form $A[i...j+1]$ inconstant time based on knowing a maximum subarray ending at index $j .$
Use the following ideas to develop a nonrecursive, linear-time algorithm for the maximum-subarray problem. Start at the left end of the array, and progress toward the rig...
akash.dinkar12
391
views
akash.dinkar12
asked
Apr 5, 2019
Algorithms
cormen
algorithms
divide-and-conquer
descriptive
+
–
0
votes
0
answers
4784
Cormen Edition 3 Exercise 4.1 Question 4 (Page No. 74)
Suppose we change the definition of the $maximum-subarray problem$ to allow the result to be an empty subarray, where the sum of the values of an empty subarray is $0$. How would you change any of the algorithms that do not allow empty subarrays to permit an empty subarray to be the result?
Suppose we change the definition of the $maximum-subarray problem$ to allow the result to be an empty subarray, where the sum of the values of an empty subarray is $0$. H...
akash.dinkar12
254
views
akash.dinkar12
asked
Apr 5, 2019
Algorithms
cormen
algorithms
divide-and-conquer
descriptive
+
–
0
votes
0
answers
4785
Cormen Edition 3 Exercise 4.1 Question 3 (Page No. 74)
Implement both the brute-force and recursive algorithms for the $maximumsubarray$ problem on your own computer. What problem size $n_0$ gives the crossover point at which the recursive algorithm beats the brute-force algorithm? Then, ... brute-force algorithm whenever the problem size is less than $n_0$. Does that change the crossover point?
Implement both the brute-force and recursive algorithms for the $maximumsubarray$ problem on your own computer. What problem size $n_0$ gives the crossover point at which...
akash.dinkar12
334
views
akash.dinkar12
asked
Apr 5, 2019
Algorithms
cormen
algorithms
divide-and-conquer
descriptive
+
–
0
votes
0
answers
4786
Cormen Edition 3 Exercise 4.1 Question 2 (Page No. 74)
Write pseudo code for the brute-force method of solving the $maximum-subarray$ problem. Your procedure should run in $\Theta(n^2)$ time.
Write pseudo code for the brute-force method of solving the $maximum-subarray$ problem. Your procedure should run in $\Theta(n^2)$ time.
akash.dinkar12
297
views
akash.dinkar12
asked
Apr 5, 2019
Algorithms
cormen
algorithms
divide-and-conquer
descriptive
+
–
1
votes
0
answers
4787
#self doubt
my doubt is- when question is said find minimum no.of table to given E-R diagram,and additional condition table are satisfying 1NF/2NF/3NF. how we conclude table is 1NF/2NF/3NF.
my doubt is- when question is said find minimum no.of table to given E-R diagram,and additional condition table are satisfying 1NF/2NF/3NF. how we conclude table is 1NF/2...
sandeep singh gaur
292
views
sandeep singh gaur
asked
Apr 4, 2019
Databases
er-diagram
+
–
0
votes
0
answers
4788
DDA Direct Recruitment 2019 - Asst. System Director
Which of the following gives the predicate logic representation of the sentence Ram was a man ? Ram $\rightarrow$ man $\forall x:$ Ram (x) $\rightarrow$ man (x) Man (Ram) Man $\rightarrow$ Ram I have marked option ... I want to raise an objection to this answer. Kindly provide a reliable source which confirms the correct answer for this question.
Which of the following gives the predicate logic representation of the sentence “Ram was a man”?Ram $\rightarrow$ man$\forall x:$ Ram (x) $\rightarrow$ man (x)Man (Ra...
zeeshanmohnavi
636
views
zeeshanmohnavi
asked
Apr 4, 2019
Mathematical Logic
propositional-logic
discrete-mathematics
+
–
0
votes
0
answers
4789
Ullman (TOC) Edition 3 Exercise 4.2 Question 8 (Page No. 148)
Let $L$ be a language.Define $\text{half(L)}$ to be the set of first halves of strings in $L,$ that is,$\{w|\text{for some x such that |x|=|w|,we have wx in L}\}.$For example,if $L=\{\in,0010,011,010110\}$ then ... that odd-length strings do not contribute to $\text{half(L)}$Prove that if $L$ is a regular language,so is $\text{half(L)}.$
Let $L$ be a language.Define $\text{half(L)}$ to be the set of first halves of strings in $L,$ that is,$\{w|\text{for some x such that |x|=|w|,we have wx in L}\}.$For exa...
admin
483
views
admin
asked
Apr 4, 2019
Theory of Computation
ullman
theory-of-computation
regular-expression
regular-language
+
–
0
votes
0
answers
4790
Morris Mano Edition 3 Exercise 6 Question 23 (Page No. 255)
Design a sequential circuit specified by the following state transition diagram. using RS flip-flop.
Design a sequential circuit specified by the following state transition diagram. using RS flip-flop.
ajaysoni1924
776
views
ajaysoni1924
asked
Apr 4, 2019
Digital Logic
digital-logic
morris-mano
sequential-circuit
synchronous-asynchronous-circuits
+
–
2
votes
0
answers
4791
Morris Mano Edition 3 Exercise 6 Question 22 (Page No. 255)
A sequential circuit has three flip-flops, A, B, C; one input, x; one output, y; The state diagram is shown in the figure. The circuit is to be designed by treating the unused state as don't care conditions. The final circuit ... analyzed to ensure that it is self-correcting. Use D flip-flop in the design. USe JK flip-flops in the design .
A sequential circuit has three flip-flops, A, B, C; one input, x; one output, y; The state diagram is shown in the figure. The circuit is to be designed by treating the u...
ajaysoni1924
2.0k
views
ajaysoni1924
asked
Apr 4, 2019
Digital Logic
digital-logic
morris-mano
sequential-circuit
flip-flop
synchronous-asynchronous-circuits
+
–
0
votes
0
answers
4792
Ullman (TOC) Edition 3 Exercise 4.2 Question 7 (Page No. 148)
If $w=a_{1}a_{2}.....a_{n}$ and $x=b_{1}b_{2}....b_{n}$ are strings of the same length, define $alt(w,x)$ to be the string in which the symbols of $w$ and $x$ alternate starting with $w$ ... in $L$ and $x$ is any string in $M$ of the same length. Prove that if $L$ and $M$ are regular,so is $alt(L,M).$
If $w=a_{1}a_{2}.....a_{n}$ and $x=b_{1}b_{2}....b_{n}$ are strings of the same length, define $alt(w,x)$ to be the string in which the symbols of $w$ and $x$ alternate s...
admin
196
views
admin
asked
Apr 4, 2019
Theory of Computation
ullman
theory-of-computation
regular-language
regular-expression
+
–
0
votes
0
answers
4793
Morris Mano Edition 3 Exercise 6 Question 21 (Page No. 255)
Design a sequential circuit with two JK flip-flops, A and B and two inputs, E and x. If E = 0 the circuit remains in the same state regardless of the value of x. When E = 1and x = 1, the circuit goes through the transactions from ... = 1 and x = 0 the circuit goes through the transactions from 00 to 11 to 10 to 01 back to 00, and repeats.
Design a sequential circuit with two JK flip-flops, A and B and two inputs, E and x. If E = 0 the circuit remains in the same state regardless of the value of x. When E =...
ajaysoni1924
354
views
ajaysoni1924
asked
Apr 4, 2019
Digital Logic
digital-logic
morris-mano
sequential-circuit
flip-flop
synchronous-asynchronous-circuits
+
–
0
votes
0
answers
4794
Morris Mano Edition 3 Exercise 6 Question 20 (Page No. 255)
Design a sequential circuit with two D flip-flops A and B and one input, x. When x = 0 the state of the circuit remains the same. When x =1 circuit goes through the state transition from 00 to 01 to 1 to 10 back to 00 and, repeats.
Design a sequential circuit with two D flip-flops A and B and one input, x. When x = 0 the state of the circuit remains the same. When x =1 circuit goes through the state...
ajaysoni1924
311
views
ajaysoni1924
asked
Apr 4, 2019
Digital Logic
digital-logic
morris-mano
sequential-circuit
flip-flop
synchronous-asynchronous-circuits
+
–
0
votes
0
answers
4795
Morris Mano Edition 3 Exercise 6 Question 19 (Page No. 254)
Convert a D flip-flop to JK flip-flop by including input gates to the D flip-flop. The gates need for the input of the D flip-flop can be determined by means of the sequential circuit design procedure. The sequential circuit to be considered will have one D flip-flop and two inputs, J and K.
Convert a D flip-flop to JK flip-flop by including input gates to the D flip-flop. The gates need for the input of the D flip-flop can be determined by means of the seque...
ajaysoni1924
838
views
ajaysoni1924
asked
Apr 4, 2019
Digital Logic
digital-logic
morris-mano
sequential-circuit
synchronous-asynchronous-circuits
flip-flop
+
–
0
votes
0
answers
4796
Peter Linz Edition 4 Exercise 4.1 Question 12 (Page No. 109)
Suppose we know that $L_1 ∪ L_2$ is regular and that $L_1$ is finite. Can we conclude from this that $L_2$ is regular?
Suppose we know that $L_1 ∪ L_2$ is regular and that $L_1$ is finite. Can we conclude from this that $L_2$ is regular?
Naveen Kumar 3
188
views
Naveen Kumar 3
asked
Apr 4, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-language
closure-property
+
–
0
votes
0
answers
4797
Peter Linz Edition 4 Exercise 4.1 Question 11 (Page No. 109)
Show that $L_1 = L_1L_2/L_2$ is not true for all languages $L_1$ and $L_2$.
Show that $L_1 = L_1L_2/L_2$ is not true for all languages $L_1$ and $L_2$.
Naveen Kumar 3
210
views
Naveen Kumar 3
asked
Apr 4, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-language
closure-property
+
–
0
votes
0
answers
4798
Peter Linz Edition 4 Exercise 4.1 Question 10 (Page No. 109)
Let $L_1 = L (a^*baa^*)$ and $L_2 = L (aba^*)$. Find $L_1/L_2$.
Let $L_1 = L (a^*baa^*)$ and $L_2 = L (aba^*)$. Find $L_1/L_2$.
Naveen Kumar 3
172
views
Naveen Kumar 3
asked
Apr 4, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-language
closure-property
+
–
0
votes
0
answers
4799
Peter Linz Edition 4 Exercise 4.1 Question 9 (Page No. 109)
Which of the following are true for all regular languages and all homomorphisms? (a) $h (L_1 ∪ L_2)= h (L_1) ∩ h (L_2)$. (b) $h (L_1 ∩ L_2)= h (L_1) ∩ h (L_2)$. (c) $h (L_1L_2) = h (L_1) h (L_2)$.
Which of the following are true for all regular languages and all homomorphisms?(a) $h (L_1 ∪ L_2)= h (L_1) ∩ h (L_2)$.(b) $h (L_1 ∩ L_2)= h (L_1) ∩ h (L_2)$.(c) ...
Naveen Kumar 3
220
views
Naveen Kumar 3
asked
Apr 4, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-language
closure-property
+
–
0
votes
0
answers
4800
Peter Linz Edition 4 Exercise 4.1 Question 8 (Page No. 109)
Define the $complementary$ or $(cor)$ of two languages by $cor(L_1,L_2)=$ {$w:w∈\overline{L_1}$ or $w∈\overline{L_2}$} Show that the family of regular languages is closed under the $cor$ operation.
Define the $complementary$ or $(cor)$ of two languages by $cor(L_1,L_2)=$ {$w:w∈\overline{L_1}$ or $w∈\overline{L_2}$}Show that the family of regul...
Naveen Kumar 3
190
views
Naveen Kumar 3
asked
Apr 4, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-language
closure-property
+
–
Page:
« prev
1
...
155
156
157
158
159
160
161
162
163
164
165
...
593
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register