Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged bad-question
6
votes
3
answers
31
Time Complexity
Which of the following statements is/are TRUE? I. The time complexity of recurrence relation A(n) = 3A(n/2)+ n2 is asymptotically faster than T(n) = 4T(n/2)+ n2. II. The time complexity of recurrence relation A(n) = 512 A(n/2) + O(n50) is asymptotically faster than T(n) = 7T(n-53) + O(1), T(0) = 1. Please explain what is mean by asymptotically faster?
Which of the following statements is/are TRUE?I. The time complexity of recurrence relation A(n) = 3A(n/2)+ n2 is asymptotically faster than T(n) = 4T(n/2)+ n2.II. The ti...
garg div
1.3k
views
garg div
asked
Nov 12, 2017
Algorithms
time-complexity
recurrence-relation
bad-question
+
–
1
votes
1
answer
32
#arrays
shefali1
266
views
shefali1
asked
Nov 10, 2017
Programming in C
bad-question
+
–
0
votes
1
answer
33
online
Explain the behaviour of following code: int main() { int *j=0; { int i=10; j=&i; } printf("%d",*j); } a. output is 10. j pointed to address of i, so it was not freed. b. output may be 10 or garbage in given execution c. output is 10. i becomes invisible outside of its block scope, but lives as long as function scope d. output is 0.
Explain the behaviour of following code:int main(){int *j=0;{int i=10;j=&i;}printf("%d",*j);} a. output is 10. j pointed to address of i, so it was not freed.b. output ma...
targate2018
276
views
targate2018
asked
Nov 9, 2017
Programming in C
programming
programming-in-c
bad-question
+
–
0
votes
0
answers
34
ACE test series
Aditya Bahuguna 1
1.1k
views
Aditya Bahuguna 1
asked
Nov 5, 2017
Theory of Computation
bad-question
+
–
0
votes
0
answers
35
Page table doubt
Consider a system with two level paging applicable .The page table is divided into 8k pages each of size 16 KB. The Memory is byte addressable . if physical address is 128 MB which is divided into 4 KB frames. The page table entry size of outer page table ... table is 64 bits. what will be the size of inner and Outer page table... 32kb,128kb 32kb,32kb 128kb,128kb 128kb,32kb
Consider a system with two level paging applicable .The page table is divided into 8k pages each of size 16 KB. The Memory is byte addressable . if physical address is 1...
Surya Dhanraj
619
views
Surya Dhanraj
asked
Nov 4, 2017
Operating System
bad-question
+
–
2
votes
1
answer
36
Ace Test Series: Theory Of Computation - Closure Property
please explain:
please explain:
raviyogi
879
views
raviyogi
asked
Nov 4, 2017
Theory of Computation
ace-test-series
theory-of-computation
bad-question
closure-property
+
–
0
votes
3
answers
37
Programming
Consider the following program segment int main() { char *str = "GATECS"; printf("%d", madeeasy(str)); return 0; } int madeeasy(int *p1) { int *p2 = p1; while(*++p1); return p1-p2; } The out of above program will be ________. Assume that the object of data type int occupies 2 bytes.
Consider the following program segmentint main(){char *str = "GATECS";printf("%d", madeeasy(str));return 0;}int madeeasy(int *p1){int *p2 = p1;while(*++p1);return p1-p2;}...
Aibi
1.1k
views
Aibi
asked
Oct 30, 2017
Programming in C
programming
programming-in-c
made-easy-test-series
pointers
output
bad-question
+
–
0
votes
0
answers
38
Common bus system
Shashank Shukla
373
views
Shashank Shukla
asked
Oct 21, 2017
CO and Architecture
bad-question
+
–
0
votes
0
answers
39
Time complexity
dragonball
580
views
dragonball
asked
Oct 15, 2017
Algorithms
time-complexity
algorithms
asymptotic-notation
bad-question
+
–
3
votes
2
answers
40
Performance c
Consider the system have L1 data cache with 50 percent of hit rate and take 2 cycles when hit in L1 cache, L2 cache with 70% of hit rate and take 15 cycles when hit in L2 cache and main memory with 100% of the hit rate and 200 cycles when hit in main memory to access ... by 15% then the improvement in L1 miss time is ____________(upto 2 decimals) 1. 2.14 2. 2.78 3. 1.48 4. 1.14
Consider the system have L1 data cache with 50 percent of hit rate and take 2 cycles when hit in L1 cache, L2 cache with 70% of hit rate and take 15 cycles when hit in L2...
akb1115
1.1k
views
akb1115
asked
Oct 15, 2017
CO and Architecture
co-and-architecture
cache-memory
hit-ratio
bad-question
+
–
3
votes
1
answer
41
Output of program
Consider the following code int main(){ char *str = "ABCDEF"; printf("%d",fun(str)); return 0; } int fun(int *p1){ int *p2 = p1; while(*++p1); return (p2-p1); } The output of given program is_________. Assume object of data type int occupies 2 bytes.
Consider the following codeint main(){ char *str = "ABCDEF"; printf("%d",fun(str)); return 0; } int fun(int *p1){ int *p2 = p1; while(*++p1); return (p2-p1); }The output ...
Rohit Gupta 8
1.0k
views
Rohit Gupta 8
asked
Oct 8, 2017
Programming in C
strings
bad-question
+
–
0
votes
2
answers
42
UGC NET CSE | June 2009 | Part 2 | Question: 15
What is the value of $‘b’$ after the execution of the following code statements : $C=10;$ $B=++c + ++c;$ $20$ $22$ $23$ None
What is the value of $‘b’$ after the execution of the following code statements :$C=10;$$B=++c + ++c;$$20$ $22$ $23$ None
rishu_darkshadow
1.7k
views
rishu_darkshadow
asked
Sep 22, 2017
Programming in C
ugcnetcse-june2009-paper2
programming-in-c
undefined-behaviour
bad-question
+
–
–2
votes
0
answers
43
program output
Sunil8860
360
views
Sunil8860
asked
Sep 21, 2017
Programming in C
programming-in-c
bad-question
+
–
0
votes
1
answer
44
Practice Question #5
Let language L1 = {0,1}* if another language L2 is CFL. L1 = empty set if another language L2 is not CFL. L2 = a language the is R.E and its complement is R.E. What can we say about L1 and L2? is L1 and L2 are regular, CFL, CSL, R.E or finite or infinite.
Let language L1 = {0,1}* if another language L2 is CFL.L1 = empty set if another language L2 is not CFL.L2 = a language the is R.E and its complement is R.E.What can we s...
AnilGoudar
457
views
AnilGoudar
asked
Sep 18, 2017
Theory of Computation
theory-of-computation
bad-question
+
–
0
votes
0
answers
45
Dining philosophers Algorithem
What is the minimum number of forks required to prevent deadlock in dining philosophers Algorithem a. 5 b. 6 c. 10 d. None of these
What is the minimum number of forks required to prevent deadlock in dining philosophers Algorithem a. 5b. 6c. 10d. None of these
Suman Acharya
373
views
Suman Acharya
asked
Sep 13, 2017
Operating System
operating-system
bad-question
+
–
0
votes
1
answer
46
if an array has 1000 elements which sorting to be used
if an array has 1000 elements which sorting to be used ?
if an array has 1000 elements which sorting to be used ?
LavTheRawkstar
1.2k
views
LavTheRawkstar
asked
Sep 11, 2017
Programming in C
data-structures
programming-in-c
bad-question
+
–
1
votes
1
answer
47
Pointers and arrays
Please can somebody explain how the answer is 3 not 6??
Please can somebody explain how the answer is 3 not 6??
atul_21
674
views
atul_21
asked
Sep 10, 2017
Programming in C
bad-question
+
–
0
votes
0
answers
48
Programming
Gaurav Wawge
276
views
Gaurav Wawge
asked
Sep 2, 2017
Programming in C
data-structures
programming-in-c
output
bad-question
+
–
1
votes
1
answer
49
DECIDABILITY
Is complement of language same type or not decidable by CFL and recursive language or not??? Grammar is ambiguous or not? Grammar in regular/CFL/rel decidable or not?
Is complement of language same type or not decidable by CFL and recursive language or not???Grammar is ambiguous or not?Grammar in regular/CFL/rel decidable or not?
learner_geek
1.4k
views
learner_geek
asked
Aug 15, 2017
Theory of Computation
decidability
theory-of-computation
turing-machine
recursive-and-recursively-enumerable-languages
context-free-language
bad-question
+
–
0
votes
1
answer
50
array
set2018
1.0k
views
set2018
asked
Aug 11, 2017
Programming in C
array
data-structures
bad-question
+
–
2
votes
0
answers
51
Gate forum Online Test Series
Do any one know when the self administrator and other extra edge test can be seen in the login page.. after login I am only able to see section test, unit test and one extra edge test?
Do any one know when the self administrator and other extra edge test can be seen in the login page.. after login I am only able to see section test, unit test and one ex...
mystylecse
316
views
mystylecse
asked
Jul 31, 2017
GATE
bad-question
+
–
1
votes
1
answer
52
#MemoryManagement
suppose we have a memory system with 32 bit virtual addresses and 4KB pages.If the 20 level paging is used and the memory required to store all the page tables if page table entry size is 4bytes is 2^a(2^b-1)bytes then a*b is
suppose we have a memory system with 32 bit virtual addresses and 4KB pages.If the 20 level paging is used and the memory required to store all the page tables if page ta...
S Harika
910
views
S Harika
asked
Jul 26, 2017
Operating System
paging
multilevel-paging
bad-question
+
–
1
votes
0
answers
53
algorithm
consider a problem defined on input of size n, if it is solved usuing greedy strategy then its time complexity is never less than a) O(n^2) b)O(n log n) c)O(logn) d) O(n)
consider a problem defined on input of size n, if it is solved usuing greedy strategy then its time complexity is never less thana) O(n^2)b)O(n log n)c)O(logn)d) O(n)
A_i_$_h
390
views
A_i_$_h
asked
Jul 24, 2017
Algorithms
bad-question
+
–
–1
votes
0
answers
54
algorithm time complexity
sumit_kumar
217
views
sumit_kumar
asked
Jul 3, 2017
Algorithms
bad-question
+
–
3
votes
1
answer
55
Prefix Property
Can anyone explain each option in detail. I am unable to get this property. .!!
Can anyone explain each option in detail. I am unable to get this property. .!!
atul_21
4.3k
views
atul_21
asked
Jul 1, 2017
Theory of Computation
bad-question
+
–
0
votes
0
answers
56
Comparator
#
#
atul_21
265
views
atul_21
asked
Jun 20, 2017
Digital Logic
bad-question
+
–
0
votes
0
answers
57
pipelining
Amit puri
631
views
Amit puri
asked
May 28, 2017
CO and Architecture
bad-question
+
–
4
votes
3
answers
58
ISRO2017-26
Advantage of synchronous sequential circuits over asynchronous one is : Lower hardware requirement Better noise immunity Faster operation All of the above
Advantage of synchronous sequential circuits over asynchronous one is :Lower hardware requirementBetter noise immunityFaster operationAll of the above
sh!va
10.7k
views
sh!va
asked
May 7, 2017
Digital Logic
isro2017
digital-logic
digital-circuits
bad-question
+
–
6
votes
2
answers
59
ISRO2017-16
Given two statements Insertion of an element should be done at the last node of the circular list Deletion of an element should be done at the last node of the circular list Both are true Both are false First is false and second is true None of the above
Given two statementsInsertion of an element should be done at the last node of the circular listDeletion of an element should be done at the last node of the circular lis...
sh!va
10.6k
views
sh!va
asked
May 7, 2017
DS
isro2017
data-structures
linked-list
bad-question
+
–
4
votes
4
answers
60
ISRO2017-53
In a doubly linked list the number of pointers affected for an insertion operation will be 4 0 1 Depends on the nodes of doubly linked list
In a doubly linked list the number of pointers affected for an insertion operation will be401Depends on the nodes of doubly linked list
sh!va
13.6k
views
sh!va
asked
May 7, 2017
DS
isro2017
data-structures
linked-list
bad-question
+
–
Page:
« prev
1
2
3
4
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register