Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
92komal
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Recent activity by 92komal
0
answers
1
mock test
how they are equivalent
how they are equivalent
259
views
asked
Jan 29, 2018
Mathematical Logic
discrete-mathematics
+
–
0
answers
2
mock test
plz explain
plz explain
312
views
asked
Jan 28, 2018
1
answer
3
mock test
Consider the following statements: S1 : Implementation of stack using queue, deletion of second element from top of stack time complexity Ο(n), when insertion take Ο(1) time. S2 : In implementation of queue using stack, deletion of second element from front take Ο(1) time, when insertion take Ο(n) time. Which of the following is correct ? plz explain how second statement is true
Consider the following statements:S1 : Implementation of stack using queue, deletion of second element from top of stack time complexity Ο(n), when insertion take Ο(1) ...
592
views
commented
Jan 28, 2018
Programming in C
data-structures
+
–
1
answer
4
mock test
285
views
commented
Jan 28, 2018
Programming in C
data-structures
+
–
1
answer
5
mock test
what is the meaning of static single assignment how to solve
what is the meaning of static single assignment how to solve
235
views
asked
Jan 28, 2018
Programming in C
data-structures
+
–
0
answers
6
computer orgnaization
A 8-bit CPU has an arithmetic unit that adds bytes and then sets its V, C and Z flag bits. The V bit is set if arithmetic overflow occurs in 2's complement arithmetic. The C-bit is set if a carry out is generated from the most significant bit during an ... zero. If the decimal numbers 204 and 143 are added using 8-bit addition, what are the values of the V, C and Z flag bits?
A 8-bit CPU has an arithmetic unit that adds bytes and then sets its V, C and Z flag bits. The V bit is set if arithmetic overflow occurs in 2’s complement arithmetic. ...
1.0k
views
commented
Jan 27, 2018
CO and Architecture
co
+
–
0
answers
7
test series
350
views
commented
Jan 27, 2018
1
answer
8
test series
What will be the output of the following C program? #include<stdio.h> int main() { char c = 'A'; int x=5, y=10, res1, res2; res1=c++ || x++ ||--y; res2 = ++x && --c && ++y; printf("%d %d %d %c", res1, res2, x+y , c); return 0; } What is the output?
What will be the output of the following C program?#include<stdio.h int main() { char c = 'A'; int x=5, y=10, res1, res2; res1=c++ || x++ || y; res2 = ++x && c && ++y; p...
389
views
asked
Jan 26, 2018
Programming in C
programming-in-c
+
–
1
answer
9
Algorithms:Asymptotic Notations
plz help me . how to solve that type of question
plz help me . how to solve that type of question
369
views
asked
Jan 26, 2018
Algorithms
algorithms
asymptotic-notation
test-series
+
–
0
answers
10
test series
can any one explain how this language is cfl
can any one explain how this language is cfl
162
views
asked
Jan 26, 2018
Theory of Computation
theory-of-computation
+
–
1
answer
11
test series
how p4 is equivalent this plz explain
how p4 is equivalent this plz explain
308
views
commented
Jan 24, 2018
1
answer
12
test series
how to solve this type of question plz explain
how to solve this type of question plz explain
409
views
commented
Jan 21, 2018
0
answers
13
test series
how to calculate address in 3D array
how to calculate address in 3D array
384
views
asked
Jan 21, 2018
DS
data
structure
+
–
2
answers
14
Subnetting
Consider a router that interconnects three subnets: Subnet 1, Subnet 2 and Subnet 3. Suppose all of the interfaces in each of these three subnets are required to have the prefix 223.1.17/24. Also, subnet-1 is required to support upto 125 interfaces and subnet-2 and 3 are each required to support upto 60 interfaces Write a feasible set of subnet address / subnet mask pairs?
Consider a router that interconnects three subnets:Subnet 1, Subnet 2 and Subnet 3. Suppose all of the interfaces in each of these three subnets are requiredto have the p...
6.0k
views
commented
Jan 16, 2018
Computer Networks
computer-networks
subnetting
+
–
1
answer
15
test series
Consider the following relation: R(Doctor #, Patient #, Date, Diagnosis, Treat_Code, Charge) In this relation, a tupple describes a visit of a patient to a doctor along with a treatment code and a daily, charge. Assume that each unique visit of a patient to ... normal form D None of the above i m not able to understand how to find dependancy plz any body explain how this question solve
Consider the following relation: R(Doctor #, Patient #, Date, Diagnosis, Treat_Code, Charge)In this relation, a tupple describes a visit of a patient to...
2.4k
views
asked
Jan 10, 2018
3
answers
16
GATE CSE 2014 Set 3 | Question: 30
Consider the relational schema given below, where eId of the relation dependent is a foreign key referring to empId of the relation employee. Assume that every employee has at least one associated dependent in the dependent relation. employee (empId, ... is greater than that of some dependent. all dependents. some of his/her dependents. all of his/her dependents.
Consider the relational schema given below, where eId of the relation dependent is a foreign key referring to empId of the relation employee. Assume that every employee h...
13.5k
views
commented
Jan 8, 2018
Databases
gatecse-2014-set3
databases
relational-algebra
normal
+
–
1
answer
17
test series
plz explain this question
plz explain this question
348
views
commented
Jan 6, 2018
Algorithms
algorithms
recurrence-relation
made-easy-test-series
+
–
1
answer
18
graph
You are given a graph containing n vertices and m edges and given that the graph doesn’t contain cycle of odd length. Time Complexity of the best known algorithm to find out whether the graph is bipartite or not is ? A O(m+n) B O(1) C O(mn) D O(n2 plz explain this question
You are given a graph containing n vertices and m edges and given that the graph doesn’t contain cycle of odd length. Time Complexity of the best known algorithm to fin...
2.9k
views
commented
Jan 4, 2018
Algorithms
algorithm-design
time-complexity
+
–
0
answers
19
Process_Scheduling
Consider this table : Using SRTF policy what is the avg waiting time? given options : $2 \ 3 \ 4 \ 5$ I am getting $\Large {\frac{5}{3}} $\approx 1.67$
Consider this table : Using SRTF policy what is the avg waiting time?given options :$2 \ 3 \ 4 \ 5$I am getting $\Large {\frac{5}{3}} $$\approx 1.67$
500
views
commented
Dec 29, 2017
Operating System
operating-system
process-scheduling
+
–
1
answer
20
Deadlock
Caption
Caption
242
views
answered
Dec 29, 2017
1
answer
21
test series
In a computer system, three files of size 11052 B, 4992 B and 5172 B need to be stored. For storing these files on disk, we can use either 100 B disk block or 200 B disk block. For each block used to store a file, 2 bytes of book keeping information also ... disk blocks respectively. A 21800 B, 22240 B B 21700 B, 22000 B C 21900 B, 22000 D 21800 B, 22200 B plz explain this question
In a computer system, three files of size 11052 B, 4992 B and 5172 B need to be stored. For storing these files on disk, we can use either 100 B disk block or 200 B disk ...
882
views
commented
Dec 29, 2017
Operating System
opreating
system
+
–
0
answers
22
test series
Jobs A, B, C, D and E with running time of 13, 10, 5, 9 and 1 respectively arrive at computer in the time order 0, 5, 7, 10, 12. If the priority of these jobs is in the order C, B, E, A and D and the policy used for scheduling is ... of time. The exact number of context switches needed are _______. (Do not count the context switches at time 0 and at the end). plz explain this question
Jobs A, B, C, D and E with running time of 13, 10, 5, 9 and 1 respectively arrive at computer in the time order 0, 5, 7, 10, 12. If the priority of these jobs is in the o...
387
views
commented
Dec 29, 2017
Operating System
opreating
system
+
–
1
answer
23
test series
The wait and signal operation on a semaphore S is implemented as: Consider that the initial values of S1 = 1, S2 = 0 and C is set to the initial value of S i.e., 7. Then 5 wait operations and 3 signal operations were completed on the semaphore S. The resulting value of S is____________. plz explain this question
The wait and signal operation on a semaphore S is implemented as:Consider that the initial values of S1 = 1, S2 = 0 and C is set to the initial value of S i.e., 7. Then 5...
350
views
asked
Dec 29, 2017
Operating System
opreating
system
+
–
0
answers
24
gate question
Consider the following code fragment: if (fork() == 0) { a = a + 5; printf("%d,%d\n", a, &a); } else { a = a -5; printf("%d, %d\n", a, &a); } Run on IDE Let u, v be the values printed by the parent process, and x, y be the values printed by the child ... v = y B u = x + 10 and v != y C u + 10 = x and v = y D u + 10 = x and v != y plz explain this question
Consider the following code fragment:if (fork() == 0){ a = a + 5; printf("%d,%d\n", a, &a); }else { a = a –5; printf("%d, %d\n", a, &a); }Run on IDELet u, v be the valu...
285
views
commented
Dec 27, 2017
Operating System
theory-of-computation
+
–
1
answer
25
test series
How many DFA states are constructed for the following augmented grammar using LR(0) parser? S'->S$ S->x|(A) A->A,S|S Where S is the start symbol and S′ → S$ is augmented production. i got 11 state but ans is 10 . can you plz explain i don't know where i am wrong
How many DFA states are constructed for the following augmented grammar using LR(0) parser?S'->S$S->x|(A)A->A,S|SWhere S is the start symbol and S′ → S$ is augmented ...
742
views
commented
Dec 24, 2017
Compiler Design
compiler-design
parsing
lr-parser
numerical-answers
test-series
+
–
1
answer
26
regular language
496
views
commented
Dec 24, 2017
0
answers
27
test series
What is the approach to solve this question @TOC??
What is the approach to solve this question @TOC??
331
views
commented
Dec 24, 2017
2
answers
28
test series
Consider the following statements: S1 : Three-address code is a linearized representation of syntax tree. S2 : The syntax tree not depicts the natural hierarchical structure of source program. Which of the following is true? plz explain s1 statement
Consider the following statements:S1 : Three-address code is a linearized representation of syntax tree.S2 : The syntax tree not depicts the natural hierarchical structur...
2.4k
views
commented
Dec 24, 2017
Compiler Design
compiler-design
three-address-code
test-series
+
–
1
answer
29
NIELIT 2017 DEC Scientist B - Section B: 26
The grammar $S\rightarrow aSb\mid bSa\mid SS\mid \varepsilon $ is: Unambiguous CFG Ambiguous CFG Not a CFG Deterministic CFG
The grammar $S\rightarrow aSb\mid bSa\mid SS\mid \varepsilon $ is:Unambiguous CFGAmbiguous CFGNot a CFGDeterministic CFG
1.2k
views
commented
Dec 22, 2017
Compiler Design
nielit2017dec-scientistb
compiler-design
compilations
context-free-grammar
ambiguous
+
–
6
answers
30
Simplified CFG
Consider the following grammar $S\rightarrow Aa\mid B $ $B\rightarrow a\mid BC$ $C \rightarrow a\mid \in$ the no of productions in simplified cfg is
Consider the following grammar$S\rightarrow Aa\mid B $$B\rightarrow a\mid BC$$C \rightarrow a\mid \in$the no of productions in simplified cfg is
3.2k
views
commented
Dec 22, 2017
Compiler Design
compiler-design
context-free-grammar
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register