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 OneZero
1
votes
1
answer
1
RA in IIT
Is getting into old IIT as RA better than getting in new IIT as TA? Is RA in general a good choice?
Is getting into old IIT as RA better than getting in new IIT as TA?Is RA in general a good choice?
934
views
asked
Feb 11, 2019
0
votes
1
answer
2
ACE CBT 2018
An instruction pipelined processor has five stages namely, instruction fetch (F), instruction decode (D), Instruction execution (E), memory Access for operand (M) and write Back (W) with stage latencies of 1 ns, 2ns, 2 ns, 1 ns, 1 ns respectively. To gain ... (in ns) using new design over old design is __________. I am getting 99 but the answer provided is 96. Can you please verify.
An instruction pipelined processor has five stages namely, instruction fetch (F), instruction decode(D), Instruction execution (E), memory Access for operand (M) and writ...
635
views
asked
Jan 24, 2019
CO and Architecture
co-and-architecture
cbt-2018
pipelining
+
–
0
votes
2
answers
3
ACE CBT 2018
Identify valid statements pertaining to switching S1: Computer networks are based on packet switching. S2: Packet switching increases the available throughput. (A) Both S1 and S2 (B) S1 only (C) S2 only (D) Neither S1 nor S2
Identify valid statements pertaining to switchingS1: Computer networks are based on packet switching.S2: Packet switching increases the available throughput.(A) Both S1 a...
568
views
asked
Jan 24, 2019
Computer Networks
computer-networks
gate2018-analysis
+
–
0
votes
3
answers
4
compiler phase error
int main(){ int a = 10; fun(a); } void fun(int a){ printf(“%d”,a); } Which phase of the compiler will raise an error? Lexical syntax semantics none of the above
int main(){int a = 10;fun(a);}void fun(int a){printf(“%d”,a);}Which phase of the compiler will raise an error?Lexical syntaxsemanticsnone of the above
987
views
asked
Jan 21, 2019
Compiler Design
compiler-design
programming-in-c
+
–
0
votes
0
answers
5
Ace Material
Business Rules : An employee may work in many departments. Each employee has a unique employee number. Each departments has many managers. An employee has only one manager for each department Each manager can manage only one department. Each employee has only one Name. ... HOW? NOTE : according to the solution eid should be the primary key. BUT how can you find manager with only eid?
Business Rules : An employee may work in many departments.Each employee has a unique employee number.Each departments has many managers.An employee has only one manager f...
282
views
asked
Jan 17, 2019
Databases
database-normalization
databases
+
–
0
votes
0
answers
6
Self Doubt
Can a tuple in unary-relationship set be in relation with itself. For example, take a tuple T1 in an entity E1 and this entity E1 is related to itself. Now can the Tuple T1 be in relation to tuple T1 ?
Can a tuple in unary-relationship set be in relation with itself. For example, take a tuple T1 in an entity E1 and this entity E1 is related to itself. Now can the Tuple ...
220
views
asked
Jan 16, 2019
0
votes
0
answers
7
Ace test series: Operating System - Critical Data Minimum Value
Consider the following program segments for two different processes (P1, P2) executing concurrently and where a and b are not shared variables, but x starts at zero and is a shared variable Processor #1 Processor #2 for (a = 1; ... + 1; If P1 and P2 execute only once and concurrently, then the final minimum possible value of x is ____
Consider the following program segments for two different processes (P1, P2) executing concurrently and where a and b are not shared variables, but x starts at zero and i...
686
views
asked
Jan 15, 2019
Operating System
operating-system
ace-test-series
critical-section
+
–
1
votes
1
answer
8
ACE Material
what does the following declaration specify? int *(*q(char*))[ ]
what does the following declaration specify?int *(*q(char*))[ ]
379
views
asked
Jan 13, 2019
Programming in C
programming-in-c
+
–
1
votes
0
answers
9
Ace Test Series: Algorithm - Heap Sort
Q : What is the running time of heap sort for presorted input of size n? O(n) B) O(n^2) C) O(nlogn) D) O(logn) In the question they didn't mention if its a max or min heap and also they didn't mention if the presorted ... the time complexity would be O(n) and for decresing order it would be O(nlogn). Is the question incomplete or am i missing some concepts?
Q : What is the running time of heap sort for presorted input of size n?O(n) B) O(n^2) C) O(nlogn) D) O(logn)In the question t...
1.1k
views
asked
Dec 24, 2018
Algorithms
ace-test-series
heap-sort
algorithms
+
–
2
votes
0
answers
10
Functional Dependency
Consider a relation R(ABCD) with functional dependency F:{ AD → B, AB → C }. Is AB → C partial or total dependency?
Consider a relation R(ABCD) with functional dependency F:{ AD → B, AB → C }. Is AB → C partial or total dependency?
626
views
asked
Dec 19, 2018
Databases
databases
+
–
0
votes
0
answers
11
dependency preservation
Consider a relation R= {M, N, O,P, Q, R, S, T} with the following set of dependencies: MN -> Q M -> RQ N -> R R -> ST Next consider the following set of decompositions for the relation schema R: D1= {R1,R2,R3,R4}: R1={M,N,O,P} ... ,T} Which of the above decomposition (1) has/ have lossless join property? A. Only D1 B. Only D2 C.Both D1 and D2 D. Neither D1 nor D2
Consider a relation R= {M, N, O,P, Q, R, S, T} with the following set of dependencies:MN - QM - RQN - RR - STNext consider the following set of decompositions for the rel...
532
views
asked
Dec 19, 2018
Databases
databases
dependency-preserving
lossless-decomposition
+
–
0
votes
0
answers
12
DFA NFA and ambiguity
Why is Regular grammar obtained from DFA always unambiguous? Why Regular grammar obtained from NFA may or may not be ambiguous?
Why is Regular grammar obtained from DFA always unambiguous?Why Regular grammar obtained from NFA may or may not be ambiguous?
597
views
asked
Dec 7, 2018
Theory of Computation
theory-of-computation
finite-automata
ambiguous
+
–
0
votes
0
answers
13
#SELF DOUBT
Prove dijkstra’s algorithm using Heap is O((n+|E|)logn) where n is no.of vertices and |E| is number of edges? Book : Fundamentals of Computer Algorithms By sahni page : 263
Prove dijkstra’s algorithm using Heap is O((n+|E|)logn) where n is no.of vertices and |E| is number of edges?Book : Fundamentals of Computer Algorithms By sahni pa...
371
views
asked
Nov 28, 2018
Algorithms
dijkstras-algorithm
time-complexity
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register