Docsity

Gate Solutions for year 2019, Assignments of Mathematics

Partial preview of the text

Download Gate Solutions for year 2019 and more Assignments Mathematics in PDF only on Docsity!

1.Ans. C Sol. ‘Breaks down’ is a transitive phrasal verb which means to divide something such as a total amount into separate parts. Option (c) is most suitable.

  1. Ans. A Sol.The search engine business model revolves around the fulcrum of trust. Fulcrum is any thing that plays a central or essential role in an activity, event, or situation. 3.Ans. B Sol. Speed of car A = 50 km/hr Speed of car B = 60 km/hr Since, both cars A and B are moving in same direction, the relative speed = 60 – 50 = 10 km/hr Distance required between them = 20 km 4.Ans. C Sol. Let share of each student = x Total cost of gift = 10 × x x = 8(x + 150) x = 600 Total cost = 10 × 600 = 6000 5.Ans. D Sol. A ‘court’ is for a ‘judge’ as a ‘school’ is for a ‘teacher’. Court is a place where a judge works. Similarly, school is a place where a teacher works. 6.Ans. B Sol. Case I: Criminals P Q R S Assumption F T F F Result QNC SC RC SC S and R are criminal in the result is impossible because only one person committed the crime. Case II: Criminals P Q R S Assumption T F F F Result QC SNC RC SC Q and R are criminal in the result is impossible because only one person committed the crime. Case III: Criminals P Q R S Assumptio n

F F T F

Result QNC SNC RNC SC SNC and SC in the result which is contradiction. [S committed crime and same time not committed crime which is contradiction] Case IV: Criminals P Q R S Assumption F F F T Result QNC SNC RC SNC R is criminal in the result. Hence this case satisfies only one person committed the crime. 7.Ans. C Sol. Percentage of Administrators 8.Ans. B Sol.The passage states that the underlying disease behind begging is the failure of the state to protect citizens who fall through the social security net. option b can be concluded from the above. 9.Ans. C Sol. Total number of students = 60 + 80 + 30 + 38 + 5 + 10 + 2 = 225 25% = 225

However option (b) {wwR^ |w ∈ L} need not be regular since if L is an infinite regular language, then {wwR^ |w ∈ L} will not only be infinite, but also non-regular. Since it involves string matching and we can increase in length indefinitely and then finite automata FA will run out of memory. 18.Ans. C Sol.For example: Let, Hence, Z = 11 which required 5 bits which is (n

    1. bits 19.Ans. D Sol.Both I and II are equivalent statements. 20.Ans. B Sol.R 1 : ∀a, b ∈ G, a R 1 b if and only if ∃g ∈ G such that a = g–^1 bg Reflexive: a = g–^1 ag can be satisfied by putting g = e, identity “e” always exists in a group. So reflexive Symmetric: aRb ⇒ a = g–^1 bg for some g ⇒ b = gag–^1 = (g–^1 )–^1 ag–^1 g–^1 always exists for every g ∈ G. So symmetric Transitive: aRb and bRc ⇒ a = g1–^1 bg 1 and b = g 2 –^1 cg 2 for some g 1 g 2 ∈ G. Now a = g 1 –^1 g 2 –^1 cg 2 g 1 = (g 2 g 1 )–^1 cg 2 g 1 g 1 ∈ G and g 2 ∈ G ⇒ g 2 g 1 ∈ G since group is closed so aRb and aRb ⇒ aRc hence transitive Clearly R 1 is equivalence relation. R 2 is not equivalence it need not even be reflexive, since aR 2 a ⇒ a = a–^1 ∀a which not be true in a group. R 1 is equivalence relation is the correct answer 21.Ans. C Sol.I. Strict 2PL guaranteed conflict serializable because of 2PL condition and also strict recoverable. II. Thomas Write timestamp ordering ensures serializable. Thomas write rule timestamp ordering allowed to execute schedule which is view equal serial schedule based on timestamp ordering. 22.Ans. D Sol. In a complete graph we can traverse the n vertices in any order and return to the starting vertex and form a Hamiltonian cycle. The number of such cycles will be n! However, since circular rotations will have to ignored. Since for example K4 with vertices {1, 2, 3, 4}, the cycle 1- 2 - 3 - 4 is same as 2- 3 - 4 - 1 is same as 3- 4 - 1 - 2 etc. we now get only (n – 1)! distinct Hamiltonian cycles. Further, the cycle 1- 2 - 3 - 4 and 1- 4 - 3 - 2 are also same (clockwise and anticlockwise). So ignoring this orientation also we finally get distinct Hamiltonian cycles. 23.Ans. C Sol. form. So apply L’H rule 24.Ans. B Sol.B+ tree non leaf node have pointer to data records is false statement. B+ tree non leaf node consists of only keys and tree pointers (node pointers). Below is the structure of B+ tree non leaf node 25.Ans. D Sol. L = {a2 + 3k or b10 + 12k} for k ≥ 0 = a2 (a3)* or b10 (b12)* = {a2, a5, a8, ..., b10, b22, b34 .....} The pumping length is p, than for any string w ∈ L with |w| ≥ p must have a repetition i.e. such a string must be breakable into w = xyz such that |y| ≥ 0 and y can be pumped indefinitely, which is same as saying xyz ∈ L ⇒ xy *z ∈ L.

The minimum pumping length in this language is clearly 11, since b10 is a string which has no repetition number, so upto 10 no number can serve as a pumping length. Minimum pumping length is 11. Any number at or above minimum pumping length can serve as a pumping length. The only number at or above 11, in the choice given is 24. 26.Ans. B Sol.SMTP is push protocol and to send email and POP3 is pull protocol i.e. to retrieve email. 27.Ans. (31) 28.Ans. (26) 29.Ans. (31) Sol. S → Aa A → BD B → b | ∈ D → d | ∈ Follow (B) = {d, a} Hence their index in descending order is 31. 30.Ans. (0.08) 31.Ans. (2) Sol.By Fermat’s theorem 3 (5^ –^ 1)^ mod 5 = 1 34 mod 5 = 1 351 mod 5 = (3^4 )^12. 3^3 mod 5 = 3^3 mod 5 = 2 32.Ans. (0.502 to 0.504) 33.Ans. (80) 34.Ans. (6) 35.Ans. (29) 36.Ans. D It will not print anything and will not terminate 37.Ans. B 38.Ans. C Sol. N and P belongs to same subnet. Hence, C is correct answer. 39.Ans. C X sends an ARP request packet with broadcast MAC address in its local subnet 40.Ans. A Sol.f 1. f 2 = Σ(2, 8, 14) f 1 = f 3 ⊕ (f 1. f 2 ) = Σ(7, 8, 11) 41.Ans. C Sol. (a) {wwR^ |w ∈ {a, b}* } is a CFL (b) {wan^ bn^ wR^ |w ∈ {a, b}, n ≥ 0} is a CFL, since we can first push w, then a’s, b’s pop with a’s and wR^ pops with the w. So PDA can accept the language. (c) {wanwR^ bn|w ∈ {a, b}, n ≥ 0} is a not CFL because after pushing w, we need to push a’s into stack which will stop the w from being matched with wR. If we don’t push a’s after w, than later we cannot match with bn. So this language is not acceptable by a PDA and hence not a CFL. (d) {anbi|i ∈ {n, 3n, 5n}, n ≥ 0} = anbn^ ∪ anb3n^ ∪ anb5n^ is CFL since each of the three parts is a CFL and closure under union guarantees that result also is a CFL. 42.Ans. C

51.Ans. (2) Let’s assume , Z = 2 Average waiting time (WT) Hence, Z = 2 52.Ans. (4.0 to 4.1) 53.Ans. 5 Sol. Total number of items in the set GOTO (I 0 , 〈 ) is 5. 54.Ans. (12) Sol.Product of eigenvalues is same as the determinant of a matrix. 55.Ans. (160) Sol.Total time to transfer a cache block = 1

  • 3 + 8 = 12 cycles 8 W _____________ 12 cycles 8 × 4 bytes ________________ 12 cycles ? B _____________ 1 sec 56.Ans. 4. No. of pairs with path length 0=8.0=8. No. of pairs with path length 1=0.1=0. No. of pairs with path length 2=8.2=8. No. of pairs with path length 3=0.3=0. No. of pairs with path length 4=16.4=16. No. of pairs with path length 5=0.5=0. No. of pairs with path length 6=32.6=32. Total number of possible pairs =8×8=64=8×8= So, expected path length,E(x), =0×864+2×864+4×1664+6×3264= =4. 57.Ans. (0.8) Sol. It is given that, Polynomial 3x^2 + 6xY + 3Y + 6 has only real roots b^2 – 4ax ≥ 0 (6Y)^2 – 4(3) (3Y+ 6) ≥ 0 Y^2 – Y + 2 ≥ 0 Y ∈ (–∞, – 1] ∩ [2, ∞) ⇒ Y ∈ [2, 6) Since y is uniformly distributed in (1, 6) Probability distributed function, 58.Ans. (120)

Sol.The DFA for accepting L will have 5! = 120 states, since we need one state for every possible permutation function on 5 elements. The starting state will be “id” state, named as and from there n! arrows will go the n! states each named with a distinct permutation of the set {1, 2, 3, 4, 5}. Since composition of permutation function is closed every arrow has to go to some permutation and hence some state. Since the language only has those strings where π(x) = id only the starting state (“id” state) will be the final state. Sample machine with only 2 states is shown below 59.Ans. (3) Sol.3 switches of ethernet are required to connect 15 computers. Hence, 3 is correct answer. 60.Ans. (3) Sol.f = Σm(0, 2, 5, 7, 8, 10, 13, 15) f = ΠM(1, 3, 4, 6, 9, 11, 12, 14) . 61.Ans. (5) Sol. Total 5 different student names all 5 group records in result.(In where condition no condition over Roll_no so query produces all groups.) 62.Ans. (5) 63.Ans. (10) 64.Ans. (97) Sol. n = p × q = 3007 ϕ(n) = (p – 1) (q – 1) = 2880 By RSA algorithm, n = 31 × 97 in which 97 is prime factor which greater than 50. 65.Ans. (1) Sol. …(I) …(II) one record in result.