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
Answers by Himanshu Kashyap
0
votes
1
UDP Socket
Why UDP cannot communicate with multiple peers simultaneously, while it can connect twice to an already connected UDP socket?
Why UDP cannot communicate with multiple peers simultaneously, while it can connect twice to an already connected UDP socket?
432
views
answered
Oct 23, 2019
Computer Networks
computer-networks
+
–
2
votes
2
GATE CSE 2014 Set 3 | Question: 41
Consider the pseudocode given below. The function $DoSomething()$ takes as argument a pointer to the root of an arbitrary tree represented by the $leftMostChild-rightSibling$ representation. Each node of the tree is of type $treeNode$. typedef struct ... height of the tree. number of nodes without a right sibling in the tree. number of leaf nodes in the tree
Consider the pseudocode given below. The function $DoSomething()$ takes as argument a pointer to the root of an arbitrary tree represented by the $leftMostChild-rightSibl...
20.0k
views
answered
Jul 30, 2019
DS
gatecse-2014-set3
data-structures
tree
normal
+
–
1
votes
3
#OS process synchronization
What happens if we run the following program? int main() { int sem; sem = screate(1); //Semaphore is created and is initialized to 1 fork (); Wait(sem); printf(―Gate ―); Signal(sem); return 0; } (A) Starvation occurs (B) Deadlock occurs (C) Both processes enter critical section simultaneously (D) ―Gate Gate―will be the output
What happens if we run the following program?int main(){int sem;sem = screate(1); //Semaphore is created and is initialized to 1fork ();Wait(sem);printf(―Gate ―);Sign...
845
views
answered
Sep 30, 2018
Operating System
process-synchronization
+
–
0
votes
4
Virtual address space
A one-to-one mapping of the entire physical address space to a process's virtual address space is a correct address translation solution. True/False. Explain.
A one-to-one mapping of the entire physical address space to a process's virtual address space is a correct address translation solution. True/False. Explain.
513
views
answered
Sep 29, 2018
Operating System
operating-system
memory-management
non-gate
+
–
0
votes
5
Decidable / Undecidable
Given a regular language, does the language contain any string at all. Given a regular language, does the language contain infinite number of strings. Given a recursive language, does the language contain infinite number of strings. Given a recursive language, does the language contain any string at all.
Given a regular language, does the language contain any string at all. Given a regular language, does the language contain infinite number of strings.Given a recursive la...
454
views
answered
Sep 22, 2018
Theory of Computation
decidability
theory-of-computation
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register