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 Vaishnavi01
1
answer
1
MadeEasy Subject Test: Programming & DS - Programming in C
981
views
commented
Dec 7, 2018
Programming in C
made-easy-test-series
programming-in-c
programming
+
–
3
answers
2
GATE CSE 2014 Set 1 | Question: 15
Which one of the following is TRUE? The language $L = \left\{a^nb^n \mid n \geq 0\right\}$ is regular. The language $L = \left\{a^n \mid n \text{ is prime }\right\}$ is regular. The language $L$ ... is regular. The language $L = \left\{ww \mid w \in \Sigma^* \text{ with } \Sigma = \left\{0,1\right\}\right\}$ is regular.
Which one of the following is TRUE?The language $L = \left\{a^nb^n \mid n \geq 0\right\}$ is regular.The language $L = \left\{a^n \mid n \text{ is prime }\right\}$ is reg...
9.3k
views
commented
Nov 29, 2018
Theory of Computation
gatecse-2014-set1
theory-of-computation
regular-language
normal
+
–
0
answers
3
Shortest Path
306
views
asked
Nov 19, 2018
Algorithms
algorithms
graph-algorithms
shortest-path
+
–
0
answers
4
Digital-logic
312
views
asked
Oct 30, 2018
Digital Logic
digital-logic
+
–
0
answers
5
Operating system
345
views
asked
Oct 26, 2018
Operating System
operating-system
process-scheduling
+
–
0
answers
6
Combinations
In how many ways a team of 11 players be selected from 14 players when two of them can play as goalkeepers only?
In how many ways a team of 11 players be selected from 14 players when two of them can play as goalkeepers only?
295
views
asked
Oct 24, 2018
Mathematical Logic
combinatory
counting
+
–
0
answers
7
Normalization
488
views
asked
Oct 4, 2018
Databases
databases
database-normalization
+
–
1
answer
8
Binary tree
A. Total no. of trees that were there in the forest. B. Total no. of nodes in the forest. C. Total no. of nodes which have only right child. D. Return max element among all nodes.
A. Total no. of trees that were there in the forest.B. Total no. of nodes in the forest.C. Total no. of nodes which have only right child.D. Return max element among all...
675
views
asked
Sep 28, 2018
Programming in C
data-structures
binary-tree
+
–
0
answers
9
Data structures
723
views
commented
Sep 28, 2018
Programming in C
data-structures
tree
empty
binary-tree
+
–
0
answers
10
Data structures
A 3-ary tree is a tree in which every internal node has exactly 3 children. Use induction to prove that the number of leaves in a 3-ary tree with n interval nodes is 2(n-1)+3.
A 3-ary tree is a tree in which every internal node has exactly 3 children. Use induction to prove that the number of leaves in a 3-ary tree with n interval nodes is 2(n-...
329
views
asked
Sep 28, 2018
1
answer
11
Computer Network - ip addressing
622
views
commented
Sep 28, 2018
Computer Networks
ip
ip-addressing
computer-networks
network-addressing
+
–
0
answers
12
Computer Network
613
views
commented
Sep 27, 2018
Computer Networks
computer-networks
token-bucket
+
–
2
answers
13
Greedy Method Algorithm
Single source shortest path problems can be implemented by greedy algorithms using A. Singly linked list B. Min heap C. AVL tree D. All of the above
Single source shortest path problems can be implemented by greedy algorithms usingA. Singly linked listB. Min heapC. AVL treeD. All of the above
1.4k
views
asked
Sep 25, 2018
Algorithms
greedy-algorithm
+
–
0
answers
14
Algorithm Searching
Which is faster and by how much, a linear search of only 1000 elements on a 5-GHz computer or a binary search of 1 million elements on a 1-GHz computer. Assume that the execution of each instruction on the 5-GHz computer is five times ... 1-GHz computer and that each iteration of the linear search algorithm is twice as fast as each iteration of the binary search algorithm.
Which is faster and by how much, a linear search of only 1000 elements on a 5-GHz computer or a binary search of 1 million elements on a 1-GHz computer. Assume that the e...
428
views
asked
Sep 23, 2018
Algorithms
algorithms
searching
+
–
0
answers
15
Algorithms arrays
330
views
asked
Sep 23, 2018
Algorithms
array
algorithms
programming
+
–
1
answer
16
Heapsort
Suppose we are sorting an array of eight integers using heapsort, and we have just finished some heapify (either maxheapify or minheapify) operations. The array now looks like this: 16 14 15 10 12 27 28 How many heapify operations have been performed on root of heap?
Suppose we are sorting an array of eight integers using heapsort, and we have just finished some heapify (either maxheapify or minheapify) operations. The array now looks...
4.2k
views
commented
Sep 23, 2018
DS
heap-sort
+
–
4
answers
17
GATE CSE 2008 | Question: 43
Consider the Quicksort algorithm. Suppose there is a procedure for finding a pivot element which splits the list into two sub-lists each of which contains at least one-fifth of the elements. Let $T(n)$ be the number of comparisons required to sort $n$ elements. Then $T(n) \leq 2T(n/5) + n$ $T(n) \leq T(n/5) + T(4n/5) + n$ $T(n) \leq 2T(4n/5) + n$ $T(n) \leq 2T(n/2) + n$
Consider the Quicksort algorithm. Suppose there is a procedure for finding a pivot element which splits the list into two sub-lists each of which contains at least one-fi...
16.4k
views
commented
Sep 21, 2018
Algorithms
gatecse-2008
algorithms
sorting
easy
+
–
1
answer
18
Randomized Quicksort
True or False : In randomized quicksort , each key is involved in the same number of comparisons.
True or False :In randomized quicksort , each key is involved in the same number of comparisons.
677
views
asked
Sep 21, 2018
Algorithms
sorting
algorithms
quick-sort
+
–
1
answer
19
Algorithms Complexity
679
views
commented
Sep 21, 2018
Algorithms
algorithms
time-complexity
asymptotic-notation
+
–
0
answers
20
Computer Network GATE practice question
373
views
asked
Sep 19, 2018
Computer Networks
computer-networks
subnet
network-layer
+
–
1
answer
21
Linked List Problem
struct node* foo(struct node* a, struct node* b) { struct node* result, *rec; if(a==null) return b; else if(b==null) return a; else { rec=foo(a->next,b->next); result=a; a->next=b; b->next=rec; return result; } }
struct node* foo(struct node* a, struct node* b){ struct node* result, *rec; if(a==null) return b; else if(b==null) return a; else { rec=foo(a->next,b->next...
651
views
asked
Sep 17, 2018
Programming in C
data-structures
linked-list
algorithms
+
–
1
answer
22
DLD GATE CSE
417
views
commented
Sep 14, 2018
Digital Logic
digital-logic
+
–
1
answer
23
Computer Network Aloha
100 stations on a pure ALOHA network share a 1Mbps channel. If frames are 1000 bits long, find throughput if each station is sending 10 frames per second.
100 stations on a pure ALOHA network share a 1Mbps channel. If frames are 1000 bits long, find throughput if each station is sending 10 frames per second.
12.3k
views
commented
Sep 11, 2018
Computer Networks
computer-networks
data-link-layer
pure-aloha
+
–
0
answers
24
Question on Array
Caption
Caption
857
views
asked
Sep 10, 2018
Programming in C
algorithms
array
+
–
1
answer
25
Complexity Question Based on array
Given an array A of size n*n, consists of 1's and 0's such that , in any row of A, all the 1's come before any 0's in that row. Assuming A is already in memory, what is the complexity of the most efficient algorithm for finding the row of A that contains the most 1's. A. O(n^2) B. O(n) C. O(log n) D. O(nlogn)
Given an array A of size n*n, consists of 1's and 0's such that , in any row of A, all the 1's come before any 0's in that row. Assuming A is already in memory, what is t...
274
views
asked
Sep 7, 2018
Algorithms
algorithms
array
time-complexity
+
–
1
answer
26
Compilers: Lexical Error
This screenshot is token from the book Ullman, How can following be a lexical error? because "elipseSize" should have a token recorded as an identifier.
This screenshot is token from the book Ullman,How can following be a lexical error? because "elipseSize" should have a token recorded as an identifier.
1.6k
views
answered
Sep 7, 2018
Compiler Design
compiler-design
lexical-analysis
compiler-tokenization
+
–
1
answer
27
self doubt
How are constants recogonized by the lexical analyser like interger 1234 floating point 1234.56789 and what happens when we have -1234 and -1234.56789 how many tokens are generated in this case(each of this case) ? is "-" considered seperately ?
How are constants recogonized by the lexical analyser like interger 1234 floating point 1234.56789and what happens when we have -1234 and -1234.56789 how many token...
693
views
answered
Sep 7, 2018
Compiler Design
lexical-analysis
+
–
1
answer
28
C basic concept
549
views
commented
Sep 3, 2018
Programming in C
programming
operator-precedence
+
–
6
answers
29
ISRO2015-8
Minimum number of $2 \times 1$ multiplexers required to realize the following function, $f = \overline{A} \;\overline{B} C + \overline{A}\; \overline{B} \;\overline{C}$ Assume that inputs are available only in true form and Boolean a constant $1$ and $0$ are available. $1$ $2$ $3$ $7$
Minimum number of $2 \times 1$ multiplexers required to realize the following function, $f = \overline{A} \;\overline{B} C + \overline{A}\; \overline{B} \;\overline{C}$As...
10.7k
views
commented
Aug 26, 2018
Digital Logic
isro2015
digital-logic
multiplexer
+
–
5
answers
30
GATE CSE 2007 | Question: 47
Consider the process of inserting an element into a $Max \: Heap$, where the $Max \: Heap$ is represented by an $array$. Suppose we perform a binary search on the path from the new leaf to the root to find the position for the newly inserted element, the number of $comparisons$ performed is: $\Theta(\log_2n)$ $\Theta(\log_2\log_2n)$ $\Theta(n)$ $\Theta(n\log_2n)$
Consider the process of inserting an element into a $Max \: Heap$, where the $Max \: Heap$ is represented by an $array$. Suppose we perform a binary search on the path fr...
19.5k
views
commented
Aug 3, 2018
DS
gatecse-2007
data-structures
binary-heap
normal
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register