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
Recent activity by aaaakash001
5
answers
1
GATE CSE 2023 | Question: 17
Which one or more of the following $\text{CPU}$ scheduling algorithms can potentially cause starvation? First-in First-Out Round Robin Priority Scheduling Shortest Job First
Which one or more of the following $\text{CPU}$ scheduling algorithms can potentially cause starvation?First-in First-OutRound RobinPriority SchedulingShortest Job First
14.7k
views
answer edited
Feb 22, 2023
Operating System
gatecse-2023
operating-system
process-scheduling
multiple-selects
1-mark
+
–
7
answers
2
GATE CSE 2023 | Question: 7
Suppose two hosts are connected by a point-to-point link and they are configured to use $\textsf{Stop-and-Wait}$ protocol for reliable data transfer. Identify in which one of the following scenarios, the utilization of the ... Longer link length and higher transmission rate Shorter link length and lower transmission rate Shorter link length and higher transmission rate
Suppose two hosts are connected by a point-to-point link and they are configured to use $\textsf{Stop-and-Wait}$ protocol for reliable data transfer. Identify in which on...
12.5k
views
commented
Feb 17, 2023
Computer Networks
gatecse-2023
computer-networks
stop-and-wait
1-mark
+
–
3
answers
3
GATE CSE 2023 | Question: 14
Which of the following statements is/are $\text{CORRECT}?$ The intersection of two regular languages is regular. The intersection of two context-free languages is context-free. The intersection of two recursive languages is recursive. The intersection of two recursively enumerable languages is recursively enumerable.
Which of the following statements is/are $\text{CORRECT}?$The intersection of two regular languages is regular.The intersection of two context-free languages is context-f...
8.2k
views
answered
Feb 15, 2023
Theory of Computation
gatecse-2023
theory-of-computation
identify-class-language
multiple-selects
1-mark
+
–
4
answers
4
GATE CSE 2023 | Question: 55
The forwarding table of a router is shown below. ... to a destination address $200.150 .68 .118$ arrives at the router. It will be forwarded to the interface with $\text{ID}$ __________.
The forwarding table of a router is shown below.$$\begin{array}{|l|l|c|}\hline \textbf{Subnet Number} & \textbf{Subnet Mask} & \textbf{Interface ID} \\\hline 200.150 .0 ....
12.3k
views
answered
Feb 9, 2023
Computer Networks
gatecse-2023
computer-networks
subnetting
numerical-answers
2-marks
+
–
1
answer
5
Peter Linz Exercise 3.2 Question 2
Find a NFA that accepts the complement of the language (ab*aa + bba*ab)
Find a NFA that accepts the complement of the language (ab*aa + bba*ab)
1.2k
views
commented
Feb 4, 2023
Theory of Computation
peter-linz
theory-of-computation
regular-expression
+
–
2
answers
6
Floating point representation
What is the 16 bits pattern which represent (-13.5) in normalized signed magnitude fraction . S = 1 bit , Exponent = 7 bits , Mantissa = 8 bits . Represent it in hexadecimal also.
What is the 16 bits pattern which represent (-13.5) in normalized signed magnitude fraction . S = 1 bit , Exponent = 7 bits , Mantissa = 8 bits . Represent it in hexadeci...
1.4k
views
commented
Jan 2, 2023
Digital Logic
digital-logic
floating-point-representation
+
–
1
answer
7
Write regular expression to denote a language L a) String which begin or end with either 00 or 11. b) The set of all strings, when viewed as binary representation of integers, that are divisible by 2. c) The set of all strings containing 00. d) String not containing the substring 110.
Write regular expression to denote a language La) String which begin or end with either 00 or 11.b) The set of all strings, when viewed as binary representation of intege...
2.2k
views
answered
Dec 31, 2022
Theory of Computation
theory-of-computation
regular-expression
finite-automata
pushdown-automata
minimal-state-automata
computer
+
–
3
answers
8
Unacademy AIMT question on Fork()
Given the following piece of code : Main() { Int child = fork(); Int c = 5; if (child == 5) { C + = 5; } Else { Child = fork(); C + = 5; } } What are the different values of the variable c? First of all checking child == ... a pseudocode as some of the syntaxes are wrong. Also I am getting the answer as 10,10,10. Given answer is 20,10,15. Can someone please check?
Given the following piece of code :Main(){Int child = fork();Int c = 5;if (child == 5){C + = 5;}Else{Child = fork();C + = 5;}}What are the different values of the variabl...
1.1k
views
answer edited
Dec 31, 2022
Operating System
operating-system
fork-system-call
programming-in-c
+
–
0
answers
9
Fork System Call and Threads | OS | MSQ
MSQ Consider the following statements, which one of the following is/are TRUE In fork() system call, child process inherits all the open file descriptors of parent process In fork() system call, child process copies the code of the ... system call, child process shares the code of the parent process User level threads shares the code segment of the process
MSQ Consider the following statements, which one of the following is/are TRUEIn fork() system call, child process inherits all the open file descriptors of parent process...
793
views
commented
Dec 30, 2022
Operating System
operating-system
fork-system-call
unix
process-and-threads
threads
multiple-selects
+
–
1
answer
10
PERSONAL DOUBT [PIPELINING]
So I know pipelining has 5 stages: IF, ID, EX, MA, WB. Now the question is if I have a program of few instruction which has both ALU operation and LOAD/store operation in any sequence. So tell me among the 5 stages how many stages will be reqiured for ALU and how many for LOAD/STORE.
So I know pipelining has 5 stages: IF, ID, EX, MA, WB.Now the question is if I have a program of few instruction which has both ALU operation and LOAD/store operation in ...
390
views
commented
Dec 29, 2022
CO and Architecture
co-and-architecture
pipelining
+
–
3
answers
11
NIELIT Scientific Assistant A 2020 November: 52
In case of the dynamic programming approach the value of an optimal solution is computed in : Top down fashion Bottom up fashion Left to Right fashion Right to Left fashion
In case of the dynamic programming approach the value of an optimal solution is computed in :Top down fashionBottom up fashionLeft to Right fashionRight to Left fashion
667
views
commented
Dec 29, 2022
Compiler Design
nielit-sta-2020
compiler-design
dynamic-programming
+
–
2
answers
12
A Different Kind of Question on Longest Common Subsequence
Consider two strings A = "anandarmy" and B = "algorithms". Let ‘y’ be the length of the longest common subsequence (not necessarily contiguous) between A and B and let ‘x’ be the number of such longest common subsequences between A and B. Then 2x+3y = _________.
Consider two strings A = "anandarmy" and B = "algorithms". Let ‘y’ be the length of the longest common subsequence (not necessarily contiguous) between A and B and le...
2.4k
views
answered
Dec 29, 2022
Algorithms
algorithms
longest-common-subsequence
dynamic-programming
numerical-answers
+
–
2
answers
13
made easy test series
How is the max possible value of n is 12? We will have to store T(0) and T(1) in stack too, so we can call f(11) at max which will require T(10) and T(9) and then we will store f(11) in stack. But if we call f(12) we wont be able to store it as overflow will occur.
How is the max possible value of n is 12? We will have to store T(0) and T(1) in stack too, so we can call f(11) at max which will require T(10) and T(9) and then we will...
596
views
answered
Dec 29, 2022
Algorithms
made-easy-test-series
stack
algorithms
dynamic-programming
+
–
0
answers
14
ACE Academy Test Series q #11 || Travelling Salesman
495
views
commented
Dec 29, 2022
Algorithms
dynamic-programming
graph-algorithms
ace-test-series
+
–
1
answer
15
GO Classes Test Series 2023 | CO and Architecture | Test 2 | Question: 8
Consider the following instruction sequence: ... , then which of the following is true? $\mathrm{B}=4$ $\mathrm{A}=4$ $\mathrm{A}=2$ $\mathrm{C}=2$
Consider the following instruction sequence:$$\begin{aligned}&\text{I}_1: \text{R}_1=100\\&\text{I}_2: \text{R}_1=\text{R}_2+\text{R}_4\\&\text{I}_3: \text{R}_2=\text{R}_...
486
views
commented
Dec 28, 2022
CO and Architecture
goclasses2024-coa-2-weekly-quiz
goclasses
co-and-architecture
pipelining
data-dependency
multiple-selects
2-marks
+
–
1
answer
16
Consider the following segment table: Segment Base Length 0 220 600 1 2300 20 2 90 100 3 1320 580 4 1960 90 a. Draw a memory allocation table: b. What are the physical addresses for the following logical addresses? i. 0, 430 ii. 1, 10 iii. 3, 80 iv. 2, 500
Consider the following segment table:Segment Base Length0 220 6001 2300 202 90 1003 1320 5804 1960 90 Draw a...
1.0k
views
answered
Dec 27, 2022
Operating System
operating-system
virtual-memory
+
–
3
answers
17
Macro Expansion is done in which phase of compiler ?
2.7k
views
answered
Dec 8, 2022
Compiler Design
compiler-design
lexical-analysis
+
–
4
answers
18
MADE EASY TEST SERIES
Consider the following schedules involving two transactions. $S_1 : R_1(x), W_2(y),R_2(x),W_1(y), \ commit_1, \ commit_2$ $S_2 : R_1(x), R_2(y),W_1(z), \ commit_1,R_3(y), R_3(z), W_2(y), W_3(x), commit_2, commit_3$ Which of the following ... S2 are allowed under 2PL B) only S1 is allowed under 2PL C) only S2 is allowed under 2PL D) neither S1 nor S2 is allowed under 2PL
Consider the following schedules involving two transactions.$S_1 : R_1(x), W_2(y),R_2(x),W_1(y), \ commit_1, \ commit_2$$S_2 : R_1(x), R_2(y),W_1(z), \ commit_1,R_3(y), R...
3.5k
views
answered
Nov 23, 2022
Databases
transaction-and-concurrency
+
–
2
answers
19
Transaction
465
views
answered
Nov 23, 2022
Databases
databases
transaction-and-concurrency
+
–
1
answer
20
KORTH
T1 T2 T3 W(X) R(X) W(Y) W(X) R(Y) W(X) W(X) W(Y) W(X) W(Y) R(X) W(X) R(Y) W(Y) Number of blind write in given schedule
T1T2T3W(X) R(X) W(Y) W(X) R(Y) W(X) W(X) W(Y) W(X) W(Y) R(X) W(X) R(Y) W(Y) Number of blind write in given schedule
262
views
answered
Nov 23, 2022
Databases
databases
transaction-and-concurrency
+
–
1
answer
21
2 Phase Locking
Consider the following schedule: S:R2(A) W1(B) W1(C) R3(B) R2(B) R1(A) C1 R2(C) C2 W3(A)C3 Please explain how it is allowed in 2 PL
Consider the following schedule:S:R2(A) W1(B) W1(C) R3(B) R2(B) R1(A) C1 R2(C) C2 W3(A)C3Please explain how it is allowed in 2 PL
1.2k
views
commented
Nov 21, 2022
Databases
-2phaselocking
serializability
databases
transaction-and-concurrency
+
–
1
answer
22
concurrent schedule
how to find total number of concurrent schedule possible when any schedule is given ? for example consider this schedule T1 : R1(A) , W1(A) , R1(B) , W1(B) ; T2 : R2(A) , W2(A) , R2(B) , W2(B) ;
how to find total number of concurrent schedule possible when any schedule is given ?for example consider this scheduleT1 : R1(A) , W1(A) , R1(B) , W1(B) ;T2 : R2(A) , W2...
1.2k
views
answered
Nov 21, 2022
Databases
databases
transaction-and-concurrency
+
–
4
answers
23
No. of View equivalent schedules
how many view equivalent schedules are possible for the Sch given below:
how many view equivalent schedules are possible for the Sch given below:
2.4k
views
commented
Nov 21, 2022
Databases
databases
view-serializable
transaction-and-concurrency
+
–
1
answer
24
DBMS Korth Edition 4 Exercise 15 Question 1 (Page No. 588)
List the $ACID$ properties. Explain the usefulness of each.
List the $ACID$ properties. Explain the usefulness of each.
298
views
answered
Nov 21, 2022
Databases
korth
databases
transaction-and-concurrency
descriptive
+
–
4
answers
25
self doubt
every strict recoverable schedule is conflict serializable..if not then why?
every strict recoverable schedule is conflict serializable..if not then why?
617
views
answered
Nov 21, 2022
Databases
transaction-and-concurrency
databases
+
–
2
answers
26
DBMS - Transactions and concurrency control
I had a doubt. In the case of lost update problem (special case of write – write problem, where a transaction commits to a blind write and the other transaction rollsback without commiting) , is the schedule recoverable or not??
I had a doubt.In the case of lost update problem (special case of write – write problem, where a transaction commits to a blind write and the other transaction rollsbac...
708
views
answered
Nov 21, 2022
Databases
transaction-and-concurrency
databases
+
–
2
answers
27
Is a Serial Schedule always Recoverable?
Is only conflict serializable schedules are recoverable? Or both view as well as conflict serializable schedules are recoverable? I have been seeing different answers in different forum.
Is only conflict serializable schedules are recoverable?Or both view as well as conflict serializable schedules are recoverable?I have been seeing different answers in di...
1.9k
views
answered
Nov 20, 2022
Databases
databases
concurrency
transaction-and-concurrency
serializability
+
–
2
answers
28
Computer Networks
I am slightly confused in 40 Gbps. When to use 2^30 and when to use 10^3 in conversion.
I am slightly confused in 40 Gbps. When to use 2^30 and when to use 10^3 in conversion.
782
views
answered
Nov 18, 2022
Computer Networks
computer-networks
self-doubt
tcp
test-series
+
–
1
answer
29
Packets of the same session may be routed through different paths in: 1)TCP, but not UDP 2)TCP and UDP 3)UDP, but not TCP 4) Neither TCP nor UDP
637
views
answered
Nov 18, 2022
Computer Networks
computer-networks
tcp
udp
easy
+
–
2
answers
30
coaching
578
views
answered
Nov 17, 2022
Computer Networks
error-detection
error-correction
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register