Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
vijayp_
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Recent activity by vijayp_
4
answers
1
GATE CSE 2021 Set 2 | Question: 42
Consider the following multi-threaded code segment (in a mix of C and pseudo-code), invoked by two processes $P_1$ and $P_2$, and each of the processes spawns two threads $T_1$ and $T_2$: int x = 0; // global Lock L1; // global main () { create a ... the value of $y$ as $2.$ Both $T_1$ and $T_2$, in both the processes, will print the value of $y$ as $1.$
Consider the following multi-threaded code segment (in a mix of C and pseudo-code), invoked by two processes $P_1$ and $P_2$, and each of the processes ...
10.1k
views
commented
Feb 21, 2021
Operating System
gatecse-2021-set2
multiple-selects
operating-system
threads
2-marks
+
–
3
answers
2
RAW hazard
Find total number of RAW hazards. Doubt: Should I4 - I5 be counted or not ?
Find total number of RAW hazards.Doubt: Should I4 - I5 be counted or not ?
1.6k
views
commented
Feb 10, 2021
CO and Architecture
co-and-architecture
hazards
+
–
3
answers
3
UGC NET CSE | June 2016 | Part 3 | Question: 32
Let $A[1,...,n]$ be an array of n distinct numbers. If $i<j$ and $A[i]>A[j]$, then the pair $(i,j)$ is called an inversion of $A$. What is the expected number of inversions in any permutation on $n$ elements? $\theta(n)$ $\theta(lgn)$ $\theta(nlgn)$ $\theta(n^2)$
Let $A[1,...,n]$ be an array of n distinct numbers. If $i<j$ and $A[i]>A[j]$, then the pair $(i,j)$ is called an inversion of $A$. What is the expected number of inversio...
5.7k
views
answered
Aug 16, 2020
Algorithms
ugcnetcse-june2016-paper3
algorithms
array
+
–
2
answers
4
GATE Electrical 2020 | GA Question: 10
The revenue and expenditure of four different companies $\text{P, Q, R and S}$ in $2015$ are shown in the figure. If the revenue of company $\text{Q}$ in $2015$ was $20$% more than that in $2014$, and company $\text{Q}$ had earned a profit of ... expenditure in $2014$, then its expenditure (in million rupees) in $2014$ was _______. $32.7$ $33.7$ $34.1$ $35.1$
The revenue and expenditure of four different companies $\text{P, Q, R and S}$ in $2015$ are shown in the figure. If the revenue of company $\text{Q}$ in $2015$ was $20$%...
1.2k
views
answered
Aug 12, 2020
Quantitative Aptitude
gate2020-ee
quantitative-aptitude
data-interpretation
bar-graph
+
–
1
answer
5
GATE Electrical 2020 | GA Question: 9
Given a semicircle with $\text{O}$ as the centre, as shown in the figure, the ratio $\dfrac{\overline{AC}+\overline{CB}}{\overline{AB}}$ is _______, where $\overline{AC}$, $\overline{CB}$ and $\overline{AB}$ are chords. $\sqrt{2}$ $\sqrt{3}$ $2$ $3$
Given a semicircle with $\text{O}$ as the centre, as shown in the figure, the ratio $\dfrac{\overline{AC}+\overline{CB}}{\overline{AB}}$ is _______, where $\overline{AC}$...
685
views
answered
Aug 12, 2020
Quantitative Aptitude
gate2020-ee
quantitative-aptitude
geometry
circle
+
–
1
answer
6
GATE Electrical 2020 | GA Question: 8
In four-digit integer numbers from $1001$ to $9999$, the digit group $\text{“37”}$ (in the same sequence) appears ________ times. $270$ $279$ $280$ $299$
In four-digit integer numbers from $1001$ to $9999$, the digit group $\text{“37”}$ (in the same sequence) appears ________ times.$270$$279$$280$$299$
1.5k
views
answered
Aug 12, 2020
Analytical Aptitude
gate2020-ee
analytical-aptitude
logical-reasoning
sequence-series
+
–
2
answers
7
GATE Electrical 2020 | GA Question: 7
Select the next element of the series: $\text{Z, WV , RQP,}$ _____ $\text{LKJI}$ $\text{JIHG}$ $\text{KJIH}$ $\text{NMLK}$
Select the next element of the series: $\text{Z, WV , RQP,}$ _____$\text{LKJI}$$\text{JIHG}$$\text{KJIH}$$\text{NMLK}$
662
views
answered
Aug 12, 2020
Analytical Aptitude
gate2020-ee
analytical-aptitude
logical-reasoning
sequence-series
+
–
1
answer
8
GATE Electrical 2020 | GA Question: 6
Non-performing Assets $\text{(NPAs)}$ of a bank in India is defined as an asset, which remains unpaid by a borrower for a certain period of time in terms of interest, principal, or both. Reserve Bank of India $\text{(RBI)}$ has changed the ... the holding period of loans in $\text{2004}$ after the third revision was ______ days. $45$ $90$ $135$ $180$
Non-performing Assets $\text{(NPAs)}$ of a bank in India is defined as an asset, which remains unpaid by a borrower for a certain period of time in terms of interest, pri...
609
views
answered
Aug 12, 2020
Analytical Aptitude
gate2020-ee
analytical-aptitude
logical-reasoning
passage-reading
+
–
1
answer
9
GATE Electrical 2020 | GA Question: 5
If $\text{P, Q, R, S}$ are four individuals, how many teams of size exceeding one can be formed, with $\text{Q}$ as a member? $5$ $6$ $7$ $8$
If $\text{P, Q, R, S}$ are four individuals, how many teams of size exceeding one can be formed, with $\text{Q}$ as a member?$5$$6$$7$$8$
656
views
answered
Aug 12, 2020
Quantitative Aptitude
gate2020-ee
quantitative-aptitude
counting
+
–
1
answer
10
GATE Electrical 2020 | GA Question: 4
Stock markets _______ at the news of the coup. poised plunged plugged probed
Stock markets _______ at the news of the coup.poisedplungedpluggedprobed
411
views
answered
Aug 12, 2020
Verbal Aptitude
gate2020-ee
verbal-aptitude
most-appropriate-word
+
–
1
answer
11
GATE Electrical 2020 | GA Question: 3
Select the word that fits the analogy: Do : Undo :: Trust : ______ Entrust Intrust Distrust Untrust
Select the word that fits the analogy:Do : Undo :: Trust : ______EntrustIntrustDistrustUntrust
549
views
answered
Aug 12, 2020
Verbal Aptitude
gate2020-ee
verbal-aptitude
word-pairs
+
–
1
answer
12
GATE Electrical 2020 | GA Question: 2
People were prohibited_____their vehicles near the entrance of the main administrative building. to park from parking parking to have parked
People were prohibited_____their vehicles near the entrance of the main administrative building.to parkfrom parkingparkingto have parked
470
views
commented
Aug 12, 2020
Verbal Aptitude
gate2020-ee
verbal-aptitude
most-appropriate-word
+
–
1
answer
13
[DBMS] Position of Nulls using order by clause
I have a small doubt on order by clause usgae.I need to understand the position of null in case i order by ascending order or desending order,I referred http://docs.oracle.com/javadb/10.8.3.0/ref/rrefsqlj13658.html,whichsays ... order. But i tried some examples at http://www.w3schools.com/sql/sql_update.asp,which gave me opposite result.Please clarify
I have a small doubt on order by clause usgae.I need to understand the position of null in case i order by ascending order or desending order,I referred http://docs.orac...
399
views
answered
Aug 12, 2020
Databases
sql
databases
+
–
6
answers
14
OS:- Round Robin scheduling
If we have only one process in ready queue with burst time "m", then how many context switching will happen using round robing scheduling with time quantum q ,where q<m.Assume that dispatching the process first time is not counted as a context switch.
If we have only one process in ready queue with burst time "m", then how many context switching will happen using round robing scheduling with time quantum q ,where q<m.A...
4.4k
views
answered
Aug 12, 2020
Operating System
operating-system
round-robin-scheduling
context-switch
process-scheduling
+
–
1
answer
15
MadeEasy Test Series: Computer Networks - Network Security
Consider the following statements with respect to digital signatures: S1: Digital signature ensures authenticity of the sender but not integrity of the message. S2: A single secret key can be used by the sender to sign multiple ... Both RSA cryptosystem and RSA digital signature scheme uses same set of keys. Which of the following is true?
Consider the following statements with respect to digital signatures:S1: Digital signature ensures authenticity of the sender but not integrity of the message.S2: A singl...
1.8k
views
commented
Mar 7, 2020
Computer Networks
made-easy-test-series
computer-networks
cryptography
network-security
rsa-security-networks
+
–
1
answer
16
transaction control
In basic time stamp ordering W-time stamp (Q) denotes the largest time stamp of any transaction that has executed write-(Q) successfully.Suppose that we define W-time stamp(Q) as the most recent transaction to execute Write(Q) successfully.Which is ... give same result in few cases 3)both with give different result in all cases 4)both with give different result insome cases
In basic time stamp ordering W-time stamp (Q) denotes the largest time stamp of any transaction that has executed write-(Q) successfully.Suppose that we define W-time sta...
2.7k
views
commented
Mar 4, 2020
Databases
transaction-and-concurrency
databases
+
–
1
answer
17
self made
L={an bn n>=0;n is not a multiple of 3} (a) may or may not be a CFL. (b).Is a DCFL and hence CFL (c). is a CFL but not a DCFL. (d). is Recursive but not CFL. Please explain with its solution...
L={an bn n>=0;n is not a multiple of 3}(a) may or may not be a CFL.(b).Is a DCFL and hence CFL(c). is a CFL but not a DCFL.(d). is Recursive but not CFL. Please explain w...
1.5k
views
commented
Nov 2, 2019
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register