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 srestha
0
votes
1
answer
101
Made Easy Test Series : Aptitude
Seetal wants to sell her bicycle, either a profit of $K$% or a loss of $K$%. What is value of $K?$ Statement $1:$ Difference between the amount Seetal gets in the $2$ cases is $Rs 2560$ Statement $2:$ If Seetal profit is $Rs. K$ her profit percentage is $7.5$%
Seetal wants to sell her bicycle, either a profit of $K$% or a loss of $K$%. What is value of $K?$Statement $1:$ Difference between the amount Seetal gets in the $2$ case...
444
views
asked
Apr 18, 2019
Quantitative Aptitude
made-easy-test-series
general-aptitude
quantitative-aptitude
+
–
0
votes
0
answers
102
Branch Address
To get branch address, do we need base register value or Program Counter value?
To get branch address, do we need base register value or Program Counter value?
539
views
asked
Apr 17, 2019
CO and Architecture
co-and-architecture
+
–
0
votes
0
answers
103
Self doubt- Turing machine
$1)L=M$ is a turing machine $M$ accepts two strings of different length $2)L=M$ is a turing machine $M$ accepts atleast two strings of different length Which one RE? Which one REC? How to compute the different length string?
$1)L=M$ is a turing machine $M$ accepts two strings of different length $2)L=M$ is a turing machine $M$ accepts atleast two strings of different length Which one RE? Whic...
293
views
asked
Apr 13, 2019
Theory of Computation
turing-machine
theory-of-computation
+
–
0
votes
0
answers
104
Made Easy Test Series :TOC1
$(a,b,c)$ represents by reading input $a$, it replaces $a$ by $b$ and moved to $c$ direction. Which of the following language accepted by TM? My question is what $y$ is accepting in TM? I mean why $y$ is needed? What language is accepted ?
$(a,b,c)$ represents by reading input $a$, it replaces $a$ by $b$ and moved to $c$ direction. Which of the following language accepted by TM?My question is what $y$ is ac...
245
views
asked
Apr 12, 2019
Theory of Computation
made-easy-test-series
automata
+
–
0
votes
1
answer
105
Allen Career Institute:TOC1
The value of a regular expression r over ∑, denoted by Val(r), is defined as follows : 1. Val (Ø) = 0 2. Val (ε) = 0 3. Val (a) = 0 for every a ε ∑ 4. Val ((r. s)) = Val ((r + s)) = max(Val (r), Val (s)) 5. Val ((r*)) = Val (r) + 1 Find the value of regular expression (a (a + a*a a)) (1) 3 (2) 2 (3) 1 (4) 0 How max function working here?
The value of a regular expression r over ∑, denoted by Val(r), is defined as follows :1. Val (Ø) = 02. Val (ε) = 03. Val (a) = 0 for every a ε ∑4. Val ((r. s)) = V...
271
views
asked
Apr 11, 2019
Theory of Computation
finite-automata
+
–
1
votes
1
answer
106
Allen Career Institute:Regular Expression
The regular expression 0*(10*)* denote the same set as (1) (1*0)*1* (2) 0+(0+10)* (3) (0+1)*10(0+1)* (4) None of these Isnot 1) as same as given expression?
The regular expression 0*(10*)* denote the same set as(1) (1*0)*1*(2) 0+(0+10)*(3) (0+1)*10(0+1)*(4) None of theseIsnot 1) as same as given expression?
565
views
asked
Apr 11, 2019
Theory of Computation
finite-automata
+
–
0
votes
0
answers
107
Allen Carrer Institute: TOC1
How many no. of states in DFA for the following required expression? $(a + b + c) (a + b + c) (a + b + c) (a + b + c) ……… (n – 2)$ times $(a + b + c)^{+}$ $(1) $ $n – 1$ $(2) $ $n$ $(3) $ $n + 1$ $(4) $ $n + 2$ Plz confirm me the answer . Is it $(n-1)$ or $n ?$
How many no. of states in DFA for the following required expression?$(a + b + c) (a + b + c) (a + b + c) (a + b + c) ……… (n – 2)$ times $(a + b + c)^{+}$$(1) $$n ...
446
views
asked
Apr 11, 2019
Theory of Computation
finite-automata
+
–
0
votes
0
answers
108
Allen Carrer Institute: Algorithm
Using best first search for a shortest path from A to Z, the order in which nodes are considered best for the path is (Note :- that these are node orders not full paths.) (1) A < C < F < D < E (2) A < C < E < B (3) A < C < F < E < B (4) A < C < D < F
Using best first search for a shortest path from A to Z, the order in which nodes are considered best for the path is (Note :- that these are node orders not full paths.)...
454
views
asked
Apr 5, 2019
Algorithms
algorithms
+
–
0
votes
0
answers
109
Allen Career Institute: Algorithm
Identify the algorithm which works on the principle that locally optimal solutions are globally optimal. $\left ( A \right )$ Divide and Conquer $\left ( B \right )$ Greedy $\left ( C \right )$ Dynamic Programming $\left ( D \right )$ All of the above
Identify the algorithm which works on the principle that locally optimal solutions are globally optimal.$\left ( A \right )$ Divide and Conquer$\left ( B \right )$ Greedy...
1.3k
views
asked
Apr 5, 2019
Algorithms
algorithms
+
–
1
votes
0
answers
110
Made Easy Test Series : Doubt on Automata
$\left \{ a^{n}.b^{n+k}\mid n\geq 0,k\geq 1 \right \}\cup \left \{ a^{n+k}.b^{n}\mid n\geq 0,k\geq 3 \right \}$ is DCFL Is it true? As we know union of two DCFL cannot be DCFL
$\left \{ a^{n}.b^{n+k}\mid n\geq 0,k\geq 1 \right \}\cup \left \{ a^{n+k}.b^{n}\mid n\geq 0,k\geq 3 \right \}$ is DCFLIs it true? As we know union of two DCFL cannot be ...
673
views
asked
Apr 4, 2019
Theory of Computation
made-easy-test-series
theory-of-computation
dcfl
+
–
1
votes
0
answers
111
Stack-DS(Conceptual Doubt)
Is it TRUE or FALSE? Stack allocation can allocate and deallocate dynamic variables and can manage runtime storage
Is it TRUE or FALSE?Stack allocation can allocate and deallocate dynamic variables and can manage runtime storage
1.6k
views
asked
Apr 3, 2019
Algorithms
data-structures
stack
+
–
0
votes
0
answers
112
Programming:Self Doubt
Can somebody explain this code line by line. I am unable to get and what will be it's output? #include<stdio.h> #include<stdlib.h> void transpose(int n, const double *A, double *B, const int *lda, int *perm) { } int transpose_equal(const double *A, ... , B, r_dim, r_perm); transpose_equal(A, B, total); free(A); free(B); free(B_trans); printf("\n"); } }
Can somebody explain this code line by line. I am unable to getand what will be it’s output?#include<stdio.h #include<stdlib.h void transpose(int n, const double *A, do...
503
views
asked
Apr 3, 2019
Programming in C
programming-in-c
output
+
–
0
votes
0
answers
113
Carl Hamacher: Machine Instruction and Programs-Chapter $2$
Register $R_{1}$ and $R_{2}$ of a computer contain the decimal values $1200$ and $4600$ . What is the effective address of the memory operand in each of the following instructions? $\left ( a \right )$ $Load$ ... //Auto Decrement $\left ( e \right )$ $Subtract$ $\left ( R_{1} \right )+,R_{5}$ Ans-1200//Autoincrement
Register $R_{1}$ and $R_{2}$ of a computer contain the decimal values $1200$ and $4600$ . What is the effective address of the memory operand in each of the following ins...
793
views
asked
Apr 2, 2019
CO and Architecture
co-and-architecture
carl-hamacher
+
–
0
votes
0
answers
114
Self Doubt
What is control input and control output ? Is in SR output changes with control input and control output?
What is control input and control output ?Is in SR output changes with control input and control output?
350
views
asked
Apr 1, 2019
Digital Logic
digital-logic
flip-flop
+
–
0
votes
0
answers
115
General Query: Self doubt(Math+Automata)
Can somebody explain What is identity permutation?
Can somebody explainWhat is identity permutation?
324
views
asked
Apr 1, 2019
Combinatory
discrete-mathematics
finite-automata
+
–
0
votes
2
answers
116
Allen Career Institute:General Aptitude
Select the best alternative Motorcycle : Battery : : Life : ? (1) Star (2) Moon (3) Sun (4) Earth I given answer as (4), but correct one is (3) why?
Select the best alternative Motorcycle : Battery : : Life : ?(1) Star(2) Moon(3) Sun(4) EarthI given answer as (4), but correct one is (3) why?
573
views
asked
Mar 29, 2019
Verbal Aptitude
general-aptitude
+
–
0
votes
1
answer
117
Allen Career Institute: Spanning tree
Let $G$ be a simple undirected complete and weighted graph with vertex set $V = {0, 1, 2, . 99.}$ Weight of the edge $(u, v)$ is $\left | u-v \right |$ where $0\leq u, v\leq 99$ and $u\neq v$. Weight ... tree is______________ Doubt:Here asking for maximum weight spanning tree. So, there weight will be $0$ to every node. Isnot it? but answer given 7351.
Let $G$ be a simple undirected complete and weighted graph with vertex set $V = {0, 1, 2, …. 99.}$ Weight of the edge $(u, v)$ is $\left | u-v \right |$ where $0\leq u,...
562
views
asked
Mar 29, 2019
Graph Theory
discrete-mathematics
+
–
0
votes
0
answers
118
Allen Career Institute:Programming
Do something (x, n) { m = n, temp = 1, z = x ; while (m > 0) do { while ((m mod z) == 0) do { m = |m/2|; z = z^{2} ; } m = m – 1; } return temp ; } Complexity of the above problem $1)\Theta \left ( log n \right )$ $2)\Theta \left ( nlog n \right )$ $3)\Theta \left (n^{2} \right )$ $4)\Theta \left (n\right )$
Do something (x, n) { m = n, temp = 1, z = x ; while (m 0) do { while ((m mod z) == 0) do { m = |m/2|; z = z^{2} ; } m = m – 1; } return temp ; }Complexity of the abov...
467
views
asked
Mar 28, 2019
Programming in C
programming-in-c
+
–
1
votes
1
answer
119
Allen Career Institute:Graph Theory
If G be connected planar graph with 12 vertices of deg 4 each. In how many regions can this planar graph be partitioned?
If G be connected planar graph with 12 vertices of deg 4 each. In how many regions can this planar graph be partitioned?
346
views
asked
Mar 28, 2019
Graph Theory
discrete-mathematics
+
–
1
votes
1
answer
120
Self Doubt on scoping
int x = 5, y = 10 ; void main ( ) { int i = 2, j = 3 A (i, j); } void A (int i, int j) { int x = 10, y = 5 ; i = i + x : j = i + y : printf ("%d %d", i, j); B (i, j); } void B (int i, int j) { i ... by-name 3. call-by-need 4. call-by-value 5.Static scoping 6.Dynamic scoping Any reference for call by name and call by need Is for static coping $12,17,54$ or $12,17,59$?
int x = 5, y = 10 ; void main ( ) { int i = 2, j = 3 A (i, j); } void A (int i, int j) { int x = 10, y = 5 ; i = i + x : j = i + y : printf ("%d %d", i, j); B (i, j); } v...
457
views
asked
Mar 23, 2019
Programming in C
programming-in-c
dynamic-scoping
parameter-passing
+
–
Page:
« prev
1
2
3
4
5
6
7
8
9
10
11
...
35
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register