SlideShare a Scribd company logo
1 of 45
Download to read offline
DEMO QUESTIONS
OF COMBAT To
Get AIR 1
GATE 2023 Sweta Kumari
TELEGRAM Link to get NOTES :
https://t.me/SWETAKCS
Referral Code : HELLOSONU01
CODE :
HELLOSONU01
REFERRAL CODE :
HELLOSONU01
REFERRAL CODE :
HELLOSONU01
COMPLETE COURSE ON
DATABASE MANAGEMENT
SYSTEM (DBMS)
GATE 2023/24/25
STARTING SQL TODAY
Use HELLOSONU01referral code to get max discount on Unacademy
plus/lite/iconic subscription & 350 SRPs book.
COMPLETE COURSE ON
C Programming & Data
Structures
GATE 2023/24/25
NEW COURSE STARTED From 15th SEPT
Use HELLOSONU01referral code to get max discount on Unacademy
plus/lite/iconic subscription & 350 SRPs book.
REFERRAL CODE :
HELLOSONU01
FROM WHERE YOU
SHOULD PRACTICE ?
Only With ICONIC
SUBSCRIPTION
HELLOSONU01
REFERRAL CODE :
HELLOSONU01
BEST REVISION Book For GATE CS IT
(Covers all the Important Concepts , All the Important PYQs , Important Formulae , Short Tricks
From All the Units of Computer science subjects + General Aptitude)
Free with
Unacademy
Subscription using
referral code
HELLOSONU01
(ALSO DISCOUNT
Code)
FOR NEW SUBSCRIBERS
Isomorphic Graphs = Count nodes , count edges ,
Check degree of each vertex , check length of cycle
(in both graphs)
Check Planarity of graph
1. e, v where v >= 3
Circuits of length 3
E <= 3v-6
2. e, v where v >= 3
No Circuits of length 3
E <= 2v-4
E(G’) + E(G) = Complete graph
E(G’) = n(n-1)/2 - E(G)
Bipartite graph = No odd
length cycle
HAMILTONINAN CIRCUIT (n>=3) = Passes through every vertex
DIRAC’S THEOREM = Degree of every vertex should be at least n/2
ORE’S THEOREM = deg(u) + deg(v) >= n (non adjacent)
NOTE – Degree of 1 vertex means not Hamiltonian circuit
EULER GRAPH = Passes through every edge
VERTICES OF EVEN DEGREE =
EULER CIRCUIT
EXACTLY 2 VERTICES OF ODD DEGREE =
EULER PATH BUT NOT CIRCUIT
Handshaking thm :
Sum of degree of vertices = 2 x edges
Four Color thm : 4 colors are sufficient to color planar
graph
Self Complementary graph – Isomorphic to its
complement
= Half no. of edges in complete graph = n(n-1)/4 (must
be disable by 4 or 0)
C5 cycle is the only graph which is self complementary
Euler’s formula : R = E – V + 2 (Always 1 region is
bounded)
Undirected Graph :
Number of odd degree vertices is even.
Sum of degree of all vertices is even.
Max. edges in connected graph which doesn’t form cycle
= (n-1)
Maximum number of edges in undirected
graph
= n(n-1)/2
No. of graphs can be constructed = 2 n(n-1)/2
If all weights distinct in MST ,
1. Always contain emin
2. Unique MST
3. Emax present in MST
Maximum number of edges in a
connected planar, simple graph = 3n-6
Kn,n => K3,3
Kn+1,n => K8,9
Always Hamiltonian circuit.
strongly connected components = edge
between every pair of vertex
A connected graph ‘G’ may have
at most (n–2) cut vertices.
the maximum number of cut
edges possible is ‘n-1’.
Maximum number of edges in Complete
bipartite graph = n2/4
Circuit Rank = m-(n-1)
PYQs
Single Revision Page (SRP)
GRAPH
THEORY
Revise in 1
Page
DISCRETE MATHEMATICS
90 Minutes Lecture Converted in 1 Page
Which is correct statement in context of order of an element of the group?
A. The order of every element of a finite group is finite.
B. The Order of an element of a group is the same as that of its inverse.
C. If a and b are elements of a group then the order of ab is same as order of ba.
D. All of the above
Which is correct statement in context of order of an element of the group?
A. The order of every element of a finite group is finite.
B. The Order of an element of a group is the same as that of its inverse.
C. If a and b are elements of a group then the order of ab is same as order of ba.
D. All of the above
ANSWER :D
Properties of the order of an element of the group:
The order of every element of a finite group is finite.
The Order of an element of a group is the same as that of its inverse a-1.
If a and b are elements of a group then the order of ab is same as order of ba.
What is conservative 2PL concurrency control protocol?
A. A 2PL protocaol where a transaction has to acquire locks on all the data items it requires before the
transaction begins it execution.
B. A 2PL protocaol where a transaction can acquire locks on data items whenever it requires (only in growing
phase) during its execution.
C. It ensures that the schedule generated would be Serializable, Recoverable and Cascadeless.
D. NONE
What is conservative 2PL concurrency control protocol?
A. A 2PL protocaol where a transaction has to acquire locks on all the data items it requires before the
transaction begins it execution.
B. A 2PL protocaol where a transaction can acquire locks on data items whenever it requires (only in growing
phase) during its execution.
C. It ensures that the schedule generated would be Serializable, Recoverable and Cascadeless.
D. NONE
Answer : A
In Conservative 2-PL, A transaction has to acquire locks on all the data items it requires before the
transaction begins it execution.
It does not have growing phase.
It ensures that the schedule generated would be Serializable and Deadlock-Free.
It does not ensures Recoverable and Cascadeless schedule.
In which cache mapping technique , block size does not affect the cache tag anyhow ?
A. Direct cache mapping
B. Fully associative cache mapping
C. Set associative cache mapping
D. A and C
.
In which cache mapping technique , block size does not affect the cache tag anyhow ?
A. Direct cache mapping
B. Fully associative cache mapping
C. Set associative cache mapping
D. A and C
Answer - D
In fully associative cache, on decreasing block size, cache tag is reduced and vice versa.
Which of the following is deterministic CFL?
A.𝐿1 = {𝑎𝑚
𝑏𝑛
𝑐𝑘
𝑑𝑙
|𝑚 = 𝑛, 𝑘 = 𝑙 }
B.𝐿2 = {𝑎𝑚
𝑏𝑛
𝑐𝑘
𝑑𝑙
|𝑖𝑓 𝑛 = 𝑘 𝑡ℎ𝑒𝑛 𝑚 = 𝑙 }
C.𝐿3 = 𝑎𝑚
𝑏𝑛
𝑐𝑘
𝑑𝑙
𝑚 = 𝑛 = 𝑘 = 𝑙)}
D. None of these
Which of the following is deterministic CFL?
A.𝐿1 = {𝑎𝑚
𝑏𝑛
𝑐𝑘
𝑑𝑙
|𝑚 = 𝑛, 𝑘 = 𝑙 }
B.𝐿2 = {𝑎𝑚
𝑏𝑛
𝑐𝑘
𝑑𝑙
|𝑖𝑓 𝑛 = 𝑘 𝑡ℎ𝑒𝑛 𝑚 = 𝑙 } C.
𝐿3 = 𝑎𝑚
𝑏𝑛
𝑐𝑘
𝑑𝑙
𝑚 = 𝑛 = 𝑘 = 𝑙)}
D. None of these
ANS: A
Solution: (A)
L1 is DCFL
L2 is CFL but not DCFL
L3 is not CFL
The message 100100 is to be transmitted by taking the CRC polynomial
X3 + X2 + 1. to protect it from errors. What must be the message to be sent after appending the CRC to the message ?
a. 100100000
b. 100100001
c. 100100011
d. 100100101
Ans. b)
The message 100100 is to be transmitted by taking the CRC polynomial
X3 + X2 + 1. to protect it from errors. What must be the message to be sent after appending the CRC to the message ?
a. 100100000
b. 100100001
c. 100100011
d. 100100101
Ans. b)
What will be output of the following program?
#include <stdio.h>
int main()
{
char str[] = "%d %c", arr[] = "bcdefa";
printf(str, 0[arr], 2[arr + 3]); return 0;
}
a) 97 b
b) 98 a
c) 97 a
d) Compile error
Answer: b
Description:
Output will be 98 a 0[arr] equivalent to arr[0]
2[arr+3] is equivalent to arr[2+3]
And printf(str, 0[arr], 2[arr + 3]) is another variation of printf syntax which runs without any error.
What will be output of the following program?
#include <stdio.h>
int main()
{
char str[] = "%d %c", arr[] = "bcdefa";
printf(str, 0[arr], 2[arr + 3]); return 0;
}
a) 97 b
b) 98 a
c) 97 a
d) Compile error
Answer: b
Description:
Output will be 98 a 0[arr] equivalent to arr[0]
2[arr+3] is equivalent to arr[2+3]
And printf(str, 0[arr], 2[arr + 3]) is another variation of printf syntax which runs without any error.
Consider a system using TLB for paging with TLB access time of 40ns. What hit ratio is reduced for TLB to reduce the
effective memory access time from 400ns to 280ns?
(A) 95%
(B) 90%
(C) 85%
(D) 80%
Ans: D
Sol:
Given that without using TLB, the effective memory access time = 400ns, which is 2 * tm
Hence memory access time tm = 200ns
Effective memory access time = H(tTLB + tm) + (1-H)(tTLB + 2Tm)
280 = H(40+200) + (1-H) (40 + 400)
H = 0.8 = 80%
Consider a system using TLB for paging with TLB access time of 40ns. What hit ratio is reduced for TLB to reduce the
effective memory access time from 400ns to 280ns?
(A) 95%
(B) 90%
(C) 85%
(D) 80%
Ans: D
Sol:
Given that without using TLB, the effective memory access time = 400ns, which is 2 * tm
Hence memory access time tm = 200ns
Effective memory access time = H(tTLB + tm) + (1-H)(tTLB + 2Tm)
280 = H(40+200) + (1-H) (40 + 400)
H = 0.8 = 80%
Consider a simple undirected graph G with 40 vertices then
maximum number of edges in this graph without self-loop and
multiple edges between 2 vertices is?
(A) 40
(B) 80
(C) 780
(D) 820
Ans: C
Solution:
Maximum edges in a simple graph with n vertices = n(n-1) / 2 =
(40*39) / 2 = 780
Consider a simple undirected graph G with 40 vertices then
maximum number of edges in this graph without self-loop and
multiple edges between 2 vertices is?
(A) 40
(B) 80
(C) 780
(D) 820
Ans: C
Solution:
Maximum edges in a simple graph with n vertices = n(n-1) / 2 =
(40*39) / 2 = 780
Consider a demand paging system which takes x millisecond to
service a page fault and y millisecond to fulfil a memory
request of CPU without page-fault. If x is 7 times of y and page
fault rate is 0.1 then the effective memory access time is given
by?
(A) 6.4y millisecond
(B) 6y millisecond
(C) 1.7y millisecond
(D) 1.6y millisecond
Ans: D
Sol:
x =7y
Effective memory access time = 0.1 * x + (1-0.1)*y
= 0.1 * 7y + 0.9 * y
= 1.6 y
Consider a demand paging system which takes x millisecond to
service a page fault and y millisecond to fulfil a memory
request of CPU without page-fault. If x is 7 times of y and page
fault rate is 0.1 then the effective memory access time is given
by?
(A) 6.4y millisecond
(B) 6y millisecond
(C) 1.7y millisecond
(D) 1.6y millisecond
Ans: D
Sol:
x =7y
Effective memory access time = 0.1 * x + (1-0.1)*y
= 0.1 * 7y + 0.9 * y
= 1.6 y
Which of the following is true regarding relations?
(A) Identity relation I on set A is reflexive, transitive but not symmetric
(B) Void Relation R = Φ is symmetric and transitive but not reflexive
(C) Universal relation is reflexive, symmetric but not transitive.
(D) All of the above
Ans: B
Solution:
The different relations correctly can be expressed as
Identity relation I on set A is reflexive, transitive and symmetric
Void Relation R = Φ is symmetric and transitive but not reflexive
Universal relation is reflexive, symmetric and transitive
Which of the following is true regarding relations?
(A) Identity relation I on set A is reflexive, transitive but not symmetric
(B) Void Relation R = Φ is symmetric and transitive but not reflexive
(C) Universal relation is reflexive, symmetric but not transitive.
(D) All of the above
Ans: B
Solution:
The different relations correctly can be expressed as
Identity relation I on set A is reflexive, transitive and symmetric
Void Relation R = Φ is symmetric and transitive but not reflexive
Universal relation is reflexive, symmetric and transitive
Suppose a user has a schedule in which two transactions T1 and T2 and TS(T2) < TS(T1) then which operation is allowed
under Thomas Write Rule but not under Basic Time Stamp Ordering ?
A. R1(X) W2(X)
B. W1(X) R2(X)
C. W1(X) W2(X)
D. W2(X) W1(X)
ANSWER : C
The main update in Thomas Write Rule is ignoring the Obsolete Write Operations. This is done because some
transaction with a timestamp greater than TS(T) (i.e., a transaction after T in TS ordering) has already written the value
of X. Hence, logically user can ignore the Write(X) operation of T which becomes obsolete.
Suppose a user has a schedule in which two transactions T1 and T2 and TS(T2) < TS(T1) then which operation is allowed
under Thomas Write Rule but not under Basic Time Stamp Ordering ?
A. R1(X) W2(X)
B. W1(X) R2(X)
C. W1(X) W2(X)
D. W2(X) W1(X)
ANSWER : C
The main update in Thomas Write Rule is ignoring the Obsolete Write Operations. This is done because some
transaction with a timestamp greater than TS(T) (i.e., a transaction after T in TS ordering) has already written the value
of X. Hence, logically user can ignore the Write(X) operation of T which becomes obsolete.
Which statement is incorrect regarding CRC Generator ?
A.CRC can detect all double-bit errors provided the divisor contains at least three logic 1’s.
B.CRC can detect any odd number of errors provided the divisor is a factor of x+1.
C.CRC can detect all burst error of length greater than the degree of the polynomial.
D.CRC can detect most of the larger burst errors with a high probability.
ANSWER : C
CRC can detect all single-bit errors
CRC can detect all double-bit errors provided the divisor contains at least three logic 1’s.
CRC can detect any odd number of errors provided the divisor is a factor of x+1.
CRC can detect all burst error of length less than the degree of the polynomial.
CRC can detect most of the larger burst errors with a high probability.
Which statement is incorrect regarding CRC Generator ?
A.CRC can detect all double-bit errors provided the divisor contains at least three logic 1’s.
B.CRC can detect any odd number of errors provided the divisor is a factor of x+1.
C.CRC can detect all burst error of length greater than the degree of the polynomial.
D.CRC can detect most of the larger burst errors with a high probability.
ANSWER : C
CRC can detect all single-bit errors
CRC can detect all double-bit errors provided the divisor contains at least three logic 1’s.
CRC can detect any odd number of errors provided the divisor is a factor of x+1.
CRC can detect all burst error of length less than the degree of the polynomial.
CRC can detect most of the larger burst errors with a high probability.

More Related Content

Similar to combat unacademy.pdf

Pgcet Computer Science 2015 question paper
Pgcet Computer Science 2015 question paperPgcet Computer Science 2015 question paper
Pgcet Computer Science 2015 question paperEneutron
 
Gate Previous Years Papers
Gate Previous Years PapersGate Previous Years Papers
Gate Previous Years PapersRahul Jain
 
UGC-NET, GATE and all IT Companies Interview C++ Solved Questions PART - 2
UGC-NET, GATE and all IT Companies Interview C++ Solved Questions PART - 2UGC-NET, GATE and all IT Companies Interview C++ Solved Questions PART - 2
UGC-NET, GATE and all IT Companies Interview C++ Solved Questions PART - 2Knowledge Center Computer
 
B61301007 matlab documentation
B61301007 matlab documentationB61301007 matlab documentation
B61301007 matlab documentationManchireddy Reddy
 
Dat 305 dat305 dat 305 education for service uopstudy.com
Dat 305 dat305 dat 305 education for service   uopstudy.comDat 305 dat305 dat 305 education for service   uopstudy.com
Dat 305 dat305 dat 305 education for service uopstudy.comULLPTT
 
Technical aptitude questions_e_book1
Technical aptitude questions_e_book1Technical aptitude questions_e_book1
Technical aptitude questions_e_book1Sateesh Allu
 
Event driven simulator
Event driven simulatorEvent driven simulator
Event driven simulatorSahil Abrol
 
Datastage real time scenario
Datastage real time scenarioDatastage real time scenario
Datastage real time scenarioNaresh Bala
 
Mcs 012 computer organisation and assemly language programming- ignou assignm...
Mcs 012 computer organisation and assemly language programming- ignou assignm...Mcs 012 computer organisation and assemly language programming- ignou assignm...
Mcs 012 computer organisation and assemly language programming- ignou assignm...Dr. Loganathan R
 
Renegotiating the boundary between database latency and consistency
Renegotiating the boundary between database latency  and consistencyRenegotiating the boundary between database latency  and consistency
Renegotiating the boundary between database latency and consistencyScyllaDB
 
2015 16combinepdf
2015 16combinepdf2015 16combinepdf
2015 16combinepdfmadhesi
 
implementation and design of 32-bit adder
implementation and design of 32-bit adderimplementation and design of 32-bit adder
implementation and design of 32-bit adderveereshwararao
 
Gate Previous Years Papers
Gate Previous Years PapersGate Previous Years Papers
Gate Previous Years PapersRahul Jain
 
ENG3104 Engineering Simulations and Computations Semester 2, 2.docx
ENG3104 Engineering Simulations and Computations Semester 2, 2.docxENG3104 Engineering Simulations and Computations Semester 2, 2.docx
ENG3104 Engineering Simulations and Computations Semester 2, 2.docxYASHU40
 

Similar to combat unacademy.pdf (20)

Pgcet Computer Science 2015 question paper
Pgcet Computer Science 2015 question paperPgcet Computer Science 2015 question paper
Pgcet Computer Science 2015 question paper
 
Gate Previous Years Papers
Gate Previous Years PapersGate Previous Years Papers
Gate Previous Years Papers
 
UGC-NET, GATE and all IT Companies Interview C++ Solved Questions PART - 2
UGC-NET, GATE and all IT Companies Interview C++ Solved Questions PART - 2UGC-NET, GATE and all IT Companies Interview C++ Solved Questions PART - 2
UGC-NET, GATE and all IT Companies Interview C++ Solved Questions PART - 2
 
B61301007 matlab documentation
B61301007 matlab documentationB61301007 matlab documentation
B61301007 matlab documentation
 
final_2014.pdf
final_2014.pdffinal_2014.pdf
final_2014.pdf
 
Drdo 2008-cse-paper
Drdo 2008-cse-paperDrdo 2008-cse-paper
Drdo 2008-cse-paper
 
Dat 305 dat305 dat 305 education for service uopstudy.com
Dat 305 dat305 dat 305 education for service   uopstudy.comDat 305 dat305 dat 305 education for service   uopstudy.com
Dat 305 dat305 dat 305 education for service uopstudy.com
 
Technical aptitude questions_e_book1
Technical aptitude questions_e_book1Technical aptitude questions_e_book1
Technical aptitude questions_e_book1
 
Event driven simulator
Event driven simulatorEvent driven simulator
Event driven simulator
 
Gate-Cs 1995
Gate-Cs 1995Gate-Cs 1995
Gate-Cs 1995
 
Datastage real time scenario
Datastage real time scenarioDatastage real time scenario
Datastage real time scenario
 
Mcs 012 computer organisation and assemly language programming- ignou assignm...
Mcs 012 computer organisation and assemly language programming- ignou assignm...Mcs 012 computer organisation and assemly language programming- ignou assignm...
Mcs 012 computer organisation and assemly language programming- ignou assignm...
 
Renegotiating the boundary between database latency and consistency
Renegotiating the boundary between database latency  and consistencyRenegotiating the boundary between database latency  and consistency
Renegotiating the boundary between database latency and consistency
 
1
11
1
 
2015 16combinepdf
2015 16combinepdf2015 16combinepdf
2015 16combinepdf
 
implementation and design of 32-bit adder
implementation and design of 32-bit adderimplementation and design of 32-bit adder
implementation and design of 32-bit adder
 
Gate Previous Years Papers
Gate Previous Years PapersGate Previous Years Papers
Gate Previous Years Papers
 
ENG3104 Engineering Simulations and Computations Semester 2, 2.docx
ENG3104 Engineering Simulations and Computations Semester 2, 2.docxENG3104 Engineering Simulations and Computations Semester 2, 2.docx
ENG3104 Engineering Simulations and Computations Semester 2, 2.docx
 
Gate-Cs 2009
Gate-Cs 2009Gate-Cs 2009
Gate-Cs 2009
 
project_2
project_2project_2
project_2
 

Recently uploaded

如何办理(CQU毕业证书)中央昆士兰大学毕业证成绩单原件一模一样
如何办理(CQU毕业证书)中央昆士兰大学毕业证成绩单原件一模一样如何办理(CQU毕业证书)中央昆士兰大学毕业证成绩单原件一模一样
如何办理(CQU毕业证书)中央昆士兰大学毕业证成绩单原件一模一样muwyto
 
如何办理(EUR毕业证书)鹿特丹伊拉斯姆斯大学毕业证成绩单原件一模一样
如何办理(EUR毕业证书)鹿特丹伊拉斯姆斯大学毕业证成绩单原件一模一样如何办理(EUR毕业证书)鹿特丹伊拉斯姆斯大学毕业证成绩单原件一模一样
如何办理(EUR毕业证书)鹿特丹伊拉斯姆斯大学毕业证成绩单原件一模一样qyguxu
 
如何办理(UoA毕业证书)奥克兰大学毕业证成绩单原件一模一样
如何办理(UoA毕业证书)奥克兰大学毕业证成绩单原件一模一样如何办理(UoA毕业证书)奥克兰大学毕业证成绩单原件一模一样
如何办理(UoA毕业证书)奥克兰大学毕业证成绩单原件一模一样qyguxu
 
如何办理(Wintec毕业证书)怀卡托理工学院毕业证成绩单原件一模一样
如何办理(Wintec毕业证书)怀卡托理工学院毕业证成绩单原件一模一样如何办理(Wintec毕业证书)怀卡托理工学院毕业证成绩单原件一模一样
如何办理(Wintec毕业证书)怀卡托理工学院毕业证成绩单原件一模一样qyguxu
 
obat aborsi pacitan wa 081336238223 jual obat aborsi cytotec asli di pacitan0...
obat aborsi pacitan wa 081336238223 jual obat aborsi cytotec asli di pacitan0...obat aborsi pacitan wa 081336238223 jual obat aborsi cytotec asli di pacitan0...
obat aborsi pacitan wa 081336238223 jual obat aborsi cytotec asli di pacitan0...yulianti213969
 
BLAHALIFHKSDFOILEWKHJSFDNLDSKFN,DLFKNFMELKFJAERPIOAL
BLAHALIFHKSDFOILEWKHJSFDNLDSKFN,DLFKNFMELKFJAERPIOALBLAHALIFHKSDFOILEWKHJSFDNLDSKFN,DLFKNFMELKFJAERPIOAL
BLAHALIFHKSDFOILEWKHJSFDNLDSKFN,DLFKNFMELKFJAERPIOALCaitlinCummins3
 
如何办理(VIU毕业证书)温哥华岛大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(VIU毕业证书)温哥华岛大学毕业证成绩单本科硕士学位证留信学历认证如何办理(VIU毕业证书)温哥华岛大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(VIU毕业证书)温哥华岛大学毕业证成绩单本科硕士学位证留信学历认证gkyvm
 
Ochsen Screenplay Coverage - JACOB - 10.16.23.pdf
Ochsen Screenplay Coverage - JACOB - 10.16.23.pdfOchsen Screenplay Coverage - JACOB - 10.16.23.pdf
Ochsen Screenplay Coverage - JACOB - 10.16.23.pdfRachel Ochsenschlager
 
Infant Guidance and Counselling and Life Skills Education syllabus.docx
Infant Guidance and Counselling  and Life Skills Education syllabus.docxInfant Guidance and Counselling  and Life Skills Education syllabus.docx
Infant Guidance and Counselling and Life Skills Education syllabus.docxGoldenKahwema
 
Rahul Chauhan - Data Scientist Resume.pdf
Rahul Chauhan - Data Scientist Resume.pdfRahul Chauhan - Data Scientist Resume.pdf
Rahul Chauhan - Data Scientist Resume.pdfrach3246
 
Career opportunities after 12th Science 2024 Biology group
Career opportunities after 12th Science 2024 Biology groupCareer opportunities after 12th Science 2024 Biology group
Career opportunities after 12th Science 2024 Biology groupMohmmedirfan Momin
 
如何办理(CCA毕业证书)加利福尼亚艺术学院毕业证成绩单原件一模一样
如何办理(CCA毕业证书)加利福尼亚艺术学院毕业证成绩单原件一模一样如何办理(CCA毕业证书)加利福尼亚艺术学院毕业证成绩单原件一模一样
如何办理(CCA毕业证书)加利福尼亚艺术学院毕业证成绩单原件一模一样qyguxu
 
如何办理(UST毕业证书)圣托马斯大学毕业证成绩单原件一模一样
如何办理(UST毕业证书)圣托马斯大学毕业证成绩单原件一模一样如何办理(UST毕业证书)圣托马斯大学毕业证成绩单原件一模一样
如何办理(UST毕业证书)圣托马斯大学毕业证成绩单原件一模一样muwyto
 
如何办理(UdeM毕业证书)蒙特利尔大学毕业证成绩单原件一模一样
如何办理(UdeM毕业证书)蒙特利尔大学毕业证成绩单原件一模一样如何办理(UdeM毕业证书)蒙特利尔大学毕业证成绩单原件一模一样
如何办理(UdeM毕业证书)蒙特利尔大学毕业证成绩单原件一模一样muwyto
 
AGBE4223_Lab.Exercise-No.1-AY-2023-2024.docx
AGBE4223_Lab.Exercise-No.1-AY-2023-2024.docxAGBE4223_Lab.Exercise-No.1-AY-2023-2024.docx
AGBE4223_Lab.Exercise-No.1-AY-2023-2024.docxrdlsayritan
 
We’re looking for a junior patent engineer to join our Team!
We’re looking for a junior patent engineer to join our Team!We’re looking for a junior patent engineer to join our Team!
We’re looking for a junior patent engineer to join our Team!Juli Boned
 
LinkedIn For Job Search Presentation May 2024
LinkedIn For Job Search Presentation May 2024LinkedIn For Job Search Presentation May 2024
LinkedIn For Job Search Presentation May 2024Bruce Bennett
 
freight Final Review 5.13.pptx freight Final Review 5.13.pptx
freight Final Review 5.13.pptx freight Final Review 5.13.pptxfreight Final Review 5.13.pptx freight Final Review 5.13.pptx
freight Final Review 5.13.pptx freight Final Review 5.13.pptxSheldon Byron
 
We’re looking for a Technology consultant to join our Team!
We’re looking for a Technology consultant to join our Team!We’re looking for a Technology consultant to join our Team!
We’re looking for a Technology consultant to join our Team!Juli Boned
 
一比一原版赫尔大学毕业证如何办理
一比一原版赫尔大学毕业证如何办理一比一原版赫尔大学毕业证如何办理
一比一原版赫尔大学毕业证如何办理F
 

Recently uploaded (20)

如何办理(CQU毕业证书)中央昆士兰大学毕业证成绩单原件一模一样
如何办理(CQU毕业证书)中央昆士兰大学毕业证成绩单原件一模一样如何办理(CQU毕业证书)中央昆士兰大学毕业证成绩单原件一模一样
如何办理(CQU毕业证书)中央昆士兰大学毕业证成绩单原件一模一样
 
如何办理(EUR毕业证书)鹿特丹伊拉斯姆斯大学毕业证成绩单原件一模一样
如何办理(EUR毕业证书)鹿特丹伊拉斯姆斯大学毕业证成绩单原件一模一样如何办理(EUR毕业证书)鹿特丹伊拉斯姆斯大学毕业证成绩单原件一模一样
如何办理(EUR毕业证书)鹿特丹伊拉斯姆斯大学毕业证成绩单原件一模一样
 
如何办理(UoA毕业证书)奥克兰大学毕业证成绩单原件一模一样
如何办理(UoA毕业证书)奥克兰大学毕业证成绩单原件一模一样如何办理(UoA毕业证书)奥克兰大学毕业证成绩单原件一模一样
如何办理(UoA毕业证书)奥克兰大学毕业证成绩单原件一模一样
 
如何办理(Wintec毕业证书)怀卡托理工学院毕业证成绩单原件一模一样
如何办理(Wintec毕业证书)怀卡托理工学院毕业证成绩单原件一模一样如何办理(Wintec毕业证书)怀卡托理工学院毕业证成绩单原件一模一样
如何办理(Wintec毕业证书)怀卡托理工学院毕业证成绩单原件一模一样
 
obat aborsi pacitan wa 081336238223 jual obat aborsi cytotec asli di pacitan0...
obat aborsi pacitan wa 081336238223 jual obat aborsi cytotec asli di pacitan0...obat aborsi pacitan wa 081336238223 jual obat aborsi cytotec asli di pacitan0...
obat aborsi pacitan wa 081336238223 jual obat aborsi cytotec asli di pacitan0...
 
BLAHALIFHKSDFOILEWKHJSFDNLDSKFN,DLFKNFMELKFJAERPIOAL
BLAHALIFHKSDFOILEWKHJSFDNLDSKFN,DLFKNFMELKFJAERPIOALBLAHALIFHKSDFOILEWKHJSFDNLDSKFN,DLFKNFMELKFJAERPIOAL
BLAHALIFHKSDFOILEWKHJSFDNLDSKFN,DLFKNFMELKFJAERPIOAL
 
如何办理(VIU毕业证书)温哥华岛大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(VIU毕业证书)温哥华岛大学毕业证成绩单本科硕士学位证留信学历认证如何办理(VIU毕业证书)温哥华岛大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(VIU毕业证书)温哥华岛大学毕业证成绩单本科硕士学位证留信学历认证
 
Ochsen Screenplay Coverage - JACOB - 10.16.23.pdf
Ochsen Screenplay Coverage - JACOB - 10.16.23.pdfOchsen Screenplay Coverage - JACOB - 10.16.23.pdf
Ochsen Screenplay Coverage - JACOB - 10.16.23.pdf
 
Infant Guidance and Counselling and Life Skills Education syllabus.docx
Infant Guidance and Counselling  and Life Skills Education syllabus.docxInfant Guidance and Counselling  and Life Skills Education syllabus.docx
Infant Guidance and Counselling and Life Skills Education syllabus.docx
 
Rahul Chauhan - Data Scientist Resume.pdf
Rahul Chauhan - Data Scientist Resume.pdfRahul Chauhan - Data Scientist Resume.pdf
Rahul Chauhan - Data Scientist Resume.pdf
 
Career opportunities after 12th Science 2024 Biology group
Career opportunities after 12th Science 2024 Biology groupCareer opportunities after 12th Science 2024 Biology group
Career opportunities after 12th Science 2024 Biology group
 
如何办理(CCA毕业证书)加利福尼亚艺术学院毕业证成绩单原件一模一样
如何办理(CCA毕业证书)加利福尼亚艺术学院毕业证成绩单原件一模一样如何办理(CCA毕业证书)加利福尼亚艺术学院毕业证成绩单原件一模一样
如何办理(CCA毕业证书)加利福尼亚艺术学院毕业证成绩单原件一模一样
 
如何办理(UST毕业证书)圣托马斯大学毕业证成绩单原件一模一样
如何办理(UST毕业证书)圣托马斯大学毕业证成绩单原件一模一样如何办理(UST毕业证书)圣托马斯大学毕业证成绩单原件一模一样
如何办理(UST毕业证书)圣托马斯大学毕业证成绩单原件一模一样
 
如何办理(UdeM毕业证书)蒙特利尔大学毕业证成绩单原件一模一样
如何办理(UdeM毕业证书)蒙特利尔大学毕业证成绩单原件一模一样如何办理(UdeM毕业证书)蒙特利尔大学毕业证成绩单原件一模一样
如何办理(UdeM毕业证书)蒙特利尔大学毕业证成绩单原件一模一样
 
AGBE4223_Lab.Exercise-No.1-AY-2023-2024.docx
AGBE4223_Lab.Exercise-No.1-AY-2023-2024.docxAGBE4223_Lab.Exercise-No.1-AY-2023-2024.docx
AGBE4223_Lab.Exercise-No.1-AY-2023-2024.docx
 
We’re looking for a junior patent engineer to join our Team!
We’re looking for a junior patent engineer to join our Team!We’re looking for a junior patent engineer to join our Team!
We’re looking for a junior patent engineer to join our Team!
 
LinkedIn For Job Search Presentation May 2024
LinkedIn For Job Search Presentation May 2024LinkedIn For Job Search Presentation May 2024
LinkedIn For Job Search Presentation May 2024
 
freight Final Review 5.13.pptx freight Final Review 5.13.pptx
freight Final Review 5.13.pptx freight Final Review 5.13.pptxfreight Final Review 5.13.pptx freight Final Review 5.13.pptx
freight Final Review 5.13.pptx freight Final Review 5.13.pptx
 
We’re looking for a Technology consultant to join our Team!
We’re looking for a Technology consultant to join our Team!We’re looking for a Technology consultant to join our Team!
We’re looking for a Technology consultant to join our Team!
 
一比一原版赫尔大学毕业证如何办理
一比一原版赫尔大学毕业证如何办理一比一原版赫尔大学毕业证如何办理
一比一原版赫尔大学毕业证如何办理
 

combat unacademy.pdf

  • 1. DEMO QUESTIONS OF COMBAT To Get AIR 1 GATE 2023 Sweta Kumari TELEGRAM Link to get NOTES : https://t.me/SWETAKCS Referral Code : HELLOSONU01
  • 5. COMPLETE COURSE ON DATABASE MANAGEMENT SYSTEM (DBMS) GATE 2023/24/25 STARTING SQL TODAY Use HELLOSONU01referral code to get max discount on Unacademy plus/lite/iconic subscription & 350 SRPs book.
  • 6. COMPLETE COURSE ON C Programming & Data Structures GATE 2023/24/25 NEW COURSE STARTED From 15th SEPT Use HELLOSONU01referral code to get max discount on Unacademy plus/lite/iconic subscription & 350 SRPs book.
  • 9.
  • 10.
  • 14. BEST REVISION Book For GATE CS IT (Covers all the Important Concepts , All the Important PYQs , Important Formulae , Short Tricks From All the Units of Computer science subjects + General Aptitude) Free with Unacademy Subscription using referral code HELLOSONU01 (ALSO DISCOUNT Code) FOR NEW SUBSCRIBERS
  • 15. Isomorphic Graphs = Count nodes , count edges , Check degree of each vertex , check length of cycle (in both graphs) Check Planarity of graph 1. e, v where v >= 3 Circuits of length 3 E <= 3v-6 2. e, v where v >= 3 No Circuits of length 3 E <= 2v-4 E(G’) + E(G) = Complete graph E(G’) = n(n-1)/2 - E(G) Bipartite graph = No odd length cycle HAMILTONINAN CIRCUIT (n>=3) = Passes through every vertex DIRAC’S THEOREM = Degree of every vertex should be at least n/2 ORE’S THEOREM = deg(u) + deg(v) >= n (non adjacent) NOTE – Degree of 1 vertex means not Hamiltonian circuit EULER GRAPH = Passes through every edge VERTICES OF EVEN DEGREE = EULER CIRCUIT EXACTLY 2 VERTICES OF ODD DEGREE = EULER PATH BUT NOT CIRCUIT Handshaking thm : Sum of degree of vertices = 2 x edges Four Color thm : 4 colors are sufficient to color planar graph Self Complementary graph – Isomorphic to its complement = Half no. of edges in complete graph = n(n-1)/4 (must be disable by 4 or 0) C5 cycle is the only graph which is self complementary Euler’s formula : R = E – V + 2 (Always 1 region is bounded) Undirected Graph : Number of odd degree vertices is even. Sum of degree of all vertices is even. Max. edges in connected graph which doesn’t form cycle = (n-1) Maximum number of edges in undirected graph = n(n-1)/2 No. of graphs can be constructed = 2 n(n-1)/2 If all weights distinct in MST , 1. Always contain emin 2. Unique MST 3. Emax present in MST Maximum number of edges in a connected planar, simple graph = 3n-6 Kn,n => K3,3 Kn+1,n => K8,9 Always Hamiltonian circuit. strongly connected components = edge between every pair of vertex A connected graph ‘G’ may have at most (n–2) cut vertices. the maximum number of cut edges possible is ‘n-1’. Maximum number of edges in Complete bipartite graph = n2/4 Circuit Rank = m-(n-1) PYQs Single Revision Page (SRP) GRAPH THEORY Revise in 1 Page DISCRETE MATHEMATICS 90 Minutes Lecture Converted in 1 Page
  • 16. Which is correct statement in context of order of an element of the group? A. The order of every element of a finite group is finite. B. The Order of an element of a group is the same as that of its inverse. C. If a and b are elements of a group then the order of ab is same as order of ba. D. All of the above
  • 17. Which is correct statement in context of order of an element of the group? A. The order of every element of a finite group is finite. B. The Order of an element of a group is the same as that of its inverse. C. If a and b are elements of a group then the order of ab is same as order of ba. D. All of the above ANSWER :D Properties of the order of an element of the group: The order of every element of a finite group is finite. The Order of an element of a group is the same as that of its inverse a-1. If a and b are elements of a group then the order of ab is same as order of ba.
  • 18. What is conservative 2PL concurrency control protocol? A. A 2PL protocaol where a transaction has to acquire locks on all the data items it requires before the transaction begins it execution. B. A 2PL protocaol where a transaction can acquire locks on data items whenever it requires (only in growing phase) during its execution. C. It ensures that the schedule generated would be Serializable, Recoverable and Cascadeless. D. NONE
  • 19. What is conservative 2PL concurrency control protocol? A. A 2PL protocaol where a transaction has to acquire locks on all the data items it requires before the transaction begins it execution. B. A 2PL protocaol where a transaction can acquire locks on data items whenever it requires (only in growing phase) during its execution. C. It ensures that the schedule generated would be Serializable, Recoverable and Cascadeless. D. NONE Answer : A In Conservative 2-PL, A transaction has to acquire locks on all the data items it requires before the transaction begins it execution. It does not have growing phase. It ensures that the schedule generated would be Serializable and Deadlock-Free. It does not ensures Recoverable and Cascadeless schedule.
  • 20. In which cache mapping technique , block size does not affect the cache tag anyhow ? A. Direct cache mapping B. Fully associative cache mapping C. Set associative cache mapping D. A and C .
  • 21. In which cache mapping technique , block size does not affect the cache tag anyhow ? A. Direct cache mapping B. Fully associative cache mapping C. Set associative cache mapping D. A and C Answer - D In fully associative cache, on decreasing block size, cache tag is reduced and vice versa.
  • 22. Which of the following is deterministic CFL? A.𝐿1 = {𝑎𝑚 𝑏𝑛 𝑐𝑘 𝑑𝑙 |𝑚 = 𝑛, 𝑘 = 𝑙 } B.𝐿2 = {𝑎𝑚 𝑏𝑛 𝑐𝑘 𝑑𝑙 |𝑖𝑓 𝑛 = 𝑘 𝑡ℎ𝑒𝑛 𝑚 = 𝑙 } C.𝐿3 = 𝑎𝑚 𝑏𝑛 𝑐𝑘 𝑑𝑙 𝑚 = 𝑛 = 𝑘 = 𝑙)} D. None of these
  • 23. Which of the following is deterministic CFL? A.𝐿1 = {𝑎𝑚 𝑏𝑛 𝑐𝑘 𝑑𝑙 |𝑚 = 𝑛, 𝑘 = 𝑙 } B.𝐿2 = {𝑎𝑚 𝑏𝑛 𝑐𝑘 𝑑𝑙 |𝑖𝑓 𝑛 = 𝑘 𝑡ℎ𝑒𝑛 𝑚 = 𝑙 } C. 𝐿3 = 𝑎𝑚 𝑏𝑛 𝑐𝑘 𝑑𝑙 𝑚 = 𝑛 = 𝑘 = 𝑙)} D. None of these ANS: A Solution: (A) L1 is DCFL L2 is CFL but not DCFL L3 is not CFL
  • 24.
  • 25.
  • 26. The message 100100 is to be transmitted by taking the CRC polynomial X3 + X2 + 1. to protect it from errors. What must be the message to be sent after appending the CRC to the message ? a. 100100000 b. 100100001 c. 100100011 d. 100100101 Ans. b)
  • 27. The message 100100 is to be transmitted by taking the CRC polynomial X3 + X2 + 1. to protect it from errors. What must be the message to be sent after appending the CRC to the message ? a. 100100000 b. 100100001 c. 100100011 d. 100100101 Ans. b)
  • 28.
  • 29.
  • 30. What will be output of the following program? #include <stdio.h> int main() { char str[] = "%d %c", arr[] = "bcdefa"; printf(str, 0[arr], 2[arr + 3]); return 0; } a) 97 b b) 98 a c) 97 a d) Compile error Answer: b Description: Output will be 98 a 0[arr] equivalent to arr[0] 2[arr+3] is equivalent to arr[2+3] And printf(str, 0[arr], 2[arr + 3]) is another variation of printf syntax which runs without any error.
  • 31. What will be output of the following program? #include <stdio.h> int main() { char str[] = "%d %c", arr[] = "bcdefa"; printf(str, 0[arr], 2[arr + 3]); return 0; } a) 97 b b) 98 a c) 97 a d) Compile error Answer: b Description: Output will be 98 a 0[arr] equivalent to arr[0] 2[arr+3] is equivalent to arr[2+3] And printf(str, 0[arr], 2[arr + 3]) is another variation of printf syntax which runs without any error.
  • 32. Consider a system using TLB for paging with TLB access time of 40ns. What hit ratio is reduced for TLB to reduce the effective memory access time from 400ns to 280ns? (A) 95% (B) 90% (C) 85% (D) 80% Ans: D Sol: Given that without using TLB, the effective memory access time = 400ns, which is 2 * tm Hence memory access time tm = 200ns Effective memory access time = H(tTLB + tm) + (1-H)(tTLB + 2Tm) 280 = H(40+200) + (1-H) (40 + 400) H = 0.8 = 80%
  • 33. Consider a system using TLB for paging with TLB access time of 40ns. What hit ratio is reduced for TLB to reduce the effective memory access time from 400ns to 280ns? (A) 95% (B) 90% (C) 85% (D) 80% Ans: D Sol: Given that without using TLB, the effective memory access time = 400ns, which is 2 * tm Hence memory access time tm = 200ns Effective memory access time = H(tTLB + tm) + (1-H)(tTLB + 2Tm) 280 = H(40+200) + (1-H) (40 + 400) H = 0.8 = 80%
  • 34.
  • 35.
  • 36. Consider a simple undirected graph G with 40 vertices then maximum number of edges in this graph without self-loop and multiple edges between 2 vertices is? (A) 40 (B) 80 (C) 780 (D) 820 Ans: C Solution: Maximum edges in a simple graph with n vertices = n(n-1) / 2 = (40*39) / 2 = 780
  • 37. Consider a simple undirected graph G with 40 vertices then maximum number of edges in this graph without self-loop and multiple edges between 2 vertices is? (A) 40 (B) 80 (C) 780 (D) 820 Ans: C Solution: Maximum edges in a simple graph with n vertices = n(n-1) / 2 = (40*39) / 2 = 780
  • 38. Consider a demand paging system which takes x millisecond to service a page fault and y millisecond to fulfil a memory request of CPU without page-fault. If x is 7 times of y and page fault rate is 0.1 then the effective memory access time is given by? (A) 6.4y millisecond (B) 6y millisecond (C) 1.7y millisecond (D) 1.6y millisecond Ans: D Sol: x =7y Effective memory access time = 0.1 * x + (1-0.1)*y = 0.1 * 7y + 0.9 * y = 1.6 y
  • 39. Consider a demand paging system which takes x millisecond to service a page fault and y millisecond to fulfil a memory request of CPU without page-fault. If x is 7 times of y and page fault rate is 0.1 then the effective memory access time is given by? (A) 6.4y millisecond (B) 6y millisecond (C) 1.7y millisecond (D) 1.6y millisecond Ans: D Sol: x =7y Effective memory access time = 0.1 * x + (1-0.1)*y = 0.1 * 7y + 0.9 * y = 1.6 y
  • 40. Which of the following is true regarding relations? (A) Identity relation I on set A is reflexive, transitive but not symmetric (B) Void Relation R = Φ is symmetric and transitive but not reflexive (C) Universal relation is reflexive, symmetric but not transitive. (D) All of the above Ans: B Solution: The different relations correctly can be expressed as Identity relation I on set A is reflexive, transitive and symmetric Void Relation R = Φ is symmetric and transitive but not reflexive Universal relation is reflexive, symmetric and transitive
  • 41. Which of the following is true regarding relations? (A) Identity relation I on set A is reflexive, transitive but not symmetric (B) Void Relation R = Φ is symmetric and transitive but not reflexive (C) Universal relation is reflexive, symmetric but not transitive. (D) All of the above Ans: B Solution: The different relations correctly can be expressed as Identity relation I on set A is reflexive, transitive and symmetric Void Relation R = Φ is symmetric and transitive but not reflexive Universal relation is reflexive, symmetric and transitive
  • 42. Suppose a user has a schedule in which two transactions T1 and T2 and TS(T2) < TS(T1) then which operation is allowed under Thomas Write Rule but not under Basic Time Stamp Ordering ? A. R1(X) W2(X) B. W1(X) R2(X) C. W1(X) W2(X) D. W2(X) W1(X) ANSWER : C The main update in Thomas Write Rule is ignoring the Obsolete Write Operations. This is done because some transaction with a timestamp greater than TS(T) (i.e., a transaction after T in TS ordering) has already written the value of X. Hence, logically user can ignore the Write(X) operation of T which becomes obsolete.
  • 43. Suppose a user has a schedule in which two transactions T1 and T2 and TS(T2) < TS(T1) then which operation is allowed under Thomas Write Rule but not under Basic Time Stamp Ordering ? A. R1(X) W2(X) B. W1(X) R2(X) C. W1(X) W2(X) D. W2(X) W1(X) ANSWER : C The main update in Thomas Write Rule is ignoring the Obsolete Write Operations. This is done because some transaction with a timestamp greater than TS(T) (i.e., a transaction after T in TS ordering) has already written the value of X. Hence, logically user can ignore the Write(X) operation of T which becomes obsolete.
  • 44. Which statement is incorrect regarding CRC Generator ? A.CRC can detect all double-bit errors provided the divisor contains at least three logic 1’s. B.CRC can detect any odd number of errors provided the divisor is a factor of x+1. C.CRC can detect all burst error of length greater than the degree of the polynomial. D.CRC can detect most of the larger burst errors with a high probability. ANSWER : C CRC can detect all single-bit errors CRC can detect all double-bit errors provided the divisor contains at least three logic 1’s. CRC can detect any odd number of errors provided the divisor is a factor of x+1. CRC can detect all burst error of length less than the degree of the polynomial. CRC can detect most of the larger burst errors with a high probability.
  • 45. Which statement is incorrect regarding CRC Generator ? A.CRC can detect all double-bit errors provided the divisor contains at least three logic 1’s. B.CRC can detect any odd number of errors provided the divisor is a factor of x+1. C.CRC can detect all burst error of length greater than the degree of the polynomial. D.CRC can detect most of the larger burst errors with a high probability. ANSWER : C CRC can detect all single-bit errors CRC can detect all double-bit errors provided the divisor contains at least three logic 1’s. CRC can detect any odd number of errors provided the divisor is a factor of x+1. CRC can detect all burst error of length less than the degree of the polynomial. CRC can detect most of the larger burst errors with a high probability.