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 hacker16
0
votes
1
answer
41
back-substitution
T(n) = 1 + T(n-1) + T(n-2); Given T(0) = 1, T(1) = 2 ; T(2) = 4; Express T(n) in terms of n ?
T(n) = 1 + T(n-1) + T(n-2);Given T(0) = 1, T(1) = 2 ; T(2) = 4;Express T(n) in terms of n ?
407
views
asked
Nov 16, 2017
Algorithms
algorithms
back-substitution
+
–
3
votes
1
answer
42
Circular Linked List
In circular singly linked list, insertion of node requires modification of how many pointers? 1 pointers 2 pointers 3 pointers 4 pointers
In circular singly linked list, insertion of node requires modification of how many pointers?1 pointers2 pointers3 pointers 4 pointers
21.6k
views
asked
Nov 14, 2017
Programming in C
linked-list
data-structures
+
–
5
votes
1
answer
43
Linked List (Time Complexity)
What would be the asymptotic time complexity to add a node at the end of singly linked list, if the pointer is initially pointing to the head of the list? O(n) O(1) θ(n2) θ(n)
What would be the asymptotic time complexity to add a node at the end of singly linked list, if the pointer is initially pointing to the head of the list?O(n)O(1)θ(n2)θ...
3.5k
views
asked
Nov 14, 2017
DS
data-structures
linked-list
time-complexity
+
–
2
votes
2
answers
44
Ace Test Series 2018: Operating System - Resource Allocation
System with 100 process and single resource R with 100 instances. Each process needs a minimum of one instances to complete. Deadlock is possible Starvation is possible Thrashing Deadlock is not possible
System with 100 process and single resource R with 100 instances. Each process needs a minimum of one instances to complete.Deadlock is possibleStarvation is possibleThra...
1.1k
views
asked
Nov 11, 2017
Operating System
ace-test-series
operating-system
deadlock-prevention-avoidance-detection
resource-allocation
+
–
2
votes
3
answers
45
Ace Test Series: Operating System - Process Schedule
Which scheduling policy is most suitable for Real time operating systems? FCFS LCFS Round Robin Priority
Which scheduling policy is most suitable for Real time operating systems?FCFSLCFSRound RobinPriority
945
views
asked
Nov 11, 2017
Operating System
ace-test-series
operating-system
process-scheduling
+
–
1
votes
1
answer
46
Process Synchronization
which of the following is true? it guarantees mutual exclusion. it is busy waiting solution. it does not guarantees progress. it guarantee bounded waiting. entry_section(int process) { int other = 1-process while (flag!=process); CS } exit_section(int process) { flag = other }
which of the following is true?it guarantees mutual exclusion.it is busy waiting solution.it does not guarantees progress.it guarantee bounded waiting.entry_section(int p...
882
views
asked
Nov 9, 2017
Operating System
critical-section
process-synchronization
operating-system
+
–
3
votes
0
answers
47
Turn Variable
Turn is shared variable but the values are not shared. Explain?
Turn is shared variable but the values are not shared.Explain?
493
views
asked
Nov 9, 2017
Operating System
turn-variable
operating-system
process-synchronization
+
–
1
votes
3
answers
48
Bounded Waiting
how this solution does not satisfy bounded waiting? // initially turn = 0 while (turn != 0); turn = 1 CS turn = 0
how this solution does not satisfy bounded waiting?// initially turn = 0 while (turn != 0); turn = 1 CS turn = 0
1.1k
views
asked
Nov 9, 2017
Operating System
bounded-waiting
operating-system
process-synchronization
turn-variable
+
–
2
votes
1
answer
49
Bounded Waiting
Bounded waiting does not allow: Starvation Busy Waiting A process to wait indefinitely for CS All of Above Ans - d) Explain Option 1 and 2 ?
Bounded waiting does not allow:StarvationBusy WaitingA process to wait indefinitely for CSAll of AboveAns - d)Explain Option 1 and 2 ?
5.4k
views
asked
Nov 9, 2017
Operating System
bounded-waiting
operating-system
process-synchronization
+
–
1
votes
2
answers
50
Multi Processing OS
In Multi Processing OS Maximum CPU Utilization can be achieved. Maximum throughput is achieved. which of the following is true ? a) 1 only b) 2 only c) both d) none ANS - A) 2 only Please explain it ?
In Multi Processing OSMaximum CPU Utilization can be achieved.Maximum throughput is achieved.which of the following is true ?a) 1 only b) 2 only c) both d) noneANS - A...
1.5k
views
asked
Nov 7, 2017
Operating System
operating-system
multi-processing-os
throughput
+
–
0
votes
1
answer
51
Average Waiting Time
Which of the algorithm gives longest average waiting time ? 1.FCFS 2. RR
Which of the algorithm gives longest average waiting time ?1.FCFS 2. RR
1.1k
views
asked
Nov 6, 2017
0
votes
1
answer
52
#PropositionLogic #rossen
49. The nth statement in a list of 100 statements is “Exactly n of the statements in this list are false.” a) What conclusions can you draw from these statements? b) Answer part (a) if the nth statement is “At least n of the statements in this list are false.” c) Answer part (b) assuming that the list contains 99 statements.
49. The nth statement in a list of 100 statements is “Exactlyn of the statements in this list are false.”a) What conclusions can you draw from these statements?b) Ans...
1.1k
views
asked
Jun 3, 2017
Page:
« prev
1
2
3
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register