S4_reg_apr_all.pdf

  • Uploaded by: Udit Thakur
  • 0
  • 0
  • April 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View S4_reg_apr_all.pdf as PDF for free.

More details

  • Words: 32,051
  • Pages: 17
9 D 9 B 49 AB CB 479 ED 71D 22B BA3 3230 006 02E 0 A C 4 E 7 9A BC B4 79E D7 1D2 22B A32 2300 060 2EE EAE 7 1 2 A D AB BCB B47 9ED 71 D22 2BA 323 3006 602 EEAAE2 2349 9 D B 3 0 E 3 A BC CB4 479E ED7 71D 22B A3 230 060 02EE EAE E23 49A BC 2 4 2 0 7 1 2 A B CB B47 9EDD71 D22 2BA 323 300 602 EEAAE2 2349 9AB BCB 479 6 9 D E 4 3 3 47 E 71 2 B 7 ED 2 00 02 E E 4 A C 47 9EDD71 D22 2BAA32 300 602 EEAAE2 2349 9AB BCB B479 9ED 71D 9E 7 D2 B 32 30 60 EE E 34 A C 47 E 71 2 79 D 1D 2B A3 3 06 2E A 23 9A BC B4 9E D7 D 2B 0 0 E 7 9E D7 1D2 22B A32 230 060 2EE EAE E234 49A BC B47 79E D71 1D2 22BAA32 1D 2B A3 3 06 2E A 23 9A BC B4 9E D7 D 2B 3 30 D ED 71 22 A 23 00 02 EA E2 49 B B 79 D 1D 22 A 23 06 71 D2 B 32 00 602 EE E 34 A C 47 ED 71 2 BA 32 00 02 71 D22 2BAA32 300 602 EEAAE2 2349 9AB BCB B479 9ED 71DD22 2BA 323 3006 602 EEA D2 B 32 30 60 EE E 34 A C 47 E 71 2 BA 32 00 02 EE E 2B A3 30 060 2EE AE 23 9A BC B4 9E D7 D2 2B 32 30 60 EE AE 234 A3 230 06 2E A 23 49A BC B4 79E D7 1D 2B A3 30 060 2E AE 23 9A 23 06 02E EA E2 49 B B 79 D 1D 22B A3 230 06 2E EA 23 49A BC 00 02 E E2 34 AB CB 47 ED 71 22 A 23 06 02 EA E2 49 B B 60 EE AE 34 9A C 47 9E 71 D2 BA 32 00 02 EE E 34 A C 47 2E A 23 9A BC B4 9E D7 D 2B 3 30 60 E A 23 9A BC B4 9E EA E2 49 B B 79 D 1D 22 A 23 06 2E EA E2 49 B B4 79 D7 E2 349 AB CB 479 ED 71D 22 BA 323 006 02E EA E2 349 AB CB 79 ED 1D 34 AB CB 47 ED 71 22 BA 323 00 02 EA E2 349 AB CB 479 ED 71D 22 9A C 4 9E 7 D2 B 32 00 60 EE E 34 A C 47 E 71 2 BA BC B4 79E D7 1D 2B A3 30 60 2EE AE 23 9A BC B4 9E D7 D2 2B 32 B4 79E D7 1D 22B A3 230 060 2E AE 23 49A BC B4 79E D7 1D2 2B A3 30 79 D 1D 22B A3 23 06 2E EA 23 49A BC B4 79E D7 1D 2B A3 230 060 ED 71 22 A 23 00 02 EA E2 49 B B 79 D 1D 22 A 23 06 2E 71 D22 BA 32 00 602 EEA E2 349 AB CB 479 ED 71D 22 BA 323 006 02 EA D2 B 32 30 60 EE E 34 A C 47 E 71 2 BA 32 00 02 EE E 2B A3 30 060 2EE AE 23 9A BC B4 9E D7 D2 2B 32 30 60 EE AE 234 A3 230 06 2E A 23 49A BC B4 79E D7 1D 2B A3 30 060 2E AE 23 9A 23 06 02E EA E2 49 B B 79 D 1D 22B A3 230 06 2E EA 23 49A BC 00 02 E E2 34 AB CB 47 ED 71 22 A 23 06 02 EA E2 49 B B 60 EE AE 34 9A C 47 9E 71 D2 BA 32 00 02 EE E 34 A C 47 2E A 23 9A BC B4 9E D7 D 2B 3 30 60 E A 23 9A BC B4 9E EA E2 49 B B 79 D 1D 22 A 23 06 2E EA E2 49 B B4 79 D7 E2 349 AB CB 479 ED 71D 22 BA 323 006 02E EA E2 349 AB CB 79 ED 1D 34 AB CB 47 ED 71 22 BA 323 00 02 EA E2 349 AB CB 479 ED 71D 22 9A C 4 9E 7 D2 B 32 00 60 EE E 34 A C 47 E 71 2 BA BC B4 79E D7 1D 2B A3 30 60 2EE AE 23 9A BC B4 9E D7 D2 2B 32 B4 79E D7 1D 22B A3 230 060 2E AE 23 49A BC B4 79E D7 1D2 2B A3 30 79 D 1D 22B A3 23 06 2E EA 23 49A BC B4 79E D7 1D 2B A3 230 060 ED 71 22 A 23 00 02 EA E2 49 B B 79 D 1D 22 A 23 06 2E 71 D22 BA 32 00 602 EEA E2 349 AB CB 479 ED 71D 22 BA 323 006 02 EA D2 B 32 30 60 EE E 34 A C 47 E 71 2 BA 32 00 02 EE E 2B A3 30 060 2EE AE 23 9A BC B4 9E D7 D2 2B 32 30 60 EE AE 234 A3 230 06 2E A 23 49A BC B4 79E D7 1D 2B A3 30 060 2E AE 23 9A 23 06 02E EA E2 49 B B 79 D 1D 22B A3 230 06 2E EA 23 49A BC 00 02 E E2 34 AB CB 47 ED 71 22 A 23 06 02 EA E2 49 B B 60 EE AE 34 9A C 47 9E 71 D2 BA 32 00 02 EE E 34 A C 47 2E A 23 9A BC B4 9E D7 D 2B 3 30 60 E A 23 9A BC B4 9E EA E2 49 B B 79 D 1D 22 A 23 06 2E EA E2 49 B B4 79 D7 E2 349 AB CB 479 ED 71D 22 BA 323 006 02E EA E2 349 AB CB 79 ED 1D 34 AB CB 47 ED 71 22 BA 323 00 02 EA E2 349 AB CB 479 ED 71D 22 9A C 4 9E 7 D2 B 32 00 60 EE E 34 A C 47 E 71 2 BA BC B4 79E D7 1D 2B A3 30 60 2EE AE 23 9A BC B4 9E D7 D2 2B 32 B4 79E D7 1D 22B A3 230 060 2E AE 23 49A BC B4 79E D7 1D2 2B A3 30 79 D 1D 22B A3 23 06 2E EA 23 49A BC B4 79E D7 1D 2B A3 230 060 ED 71 22 A 23 00 02 EA E2 49 B B 79 D 1D 22 A 23 06 2E 71 D22 BA 32 00 602 EEA E2 349 AB CB 479 ED 71D 22 BA 323 006 02 EA D2 B 32 30 60 EE E 34 A C 47 E 71 2 BA 32 00 02 EE E 2B A3 30 060 2EE AE 23 9A BC B4 9E D7 D2 2B 32 30 60 EE AE 234 A3 230 06 2E A 23 49A BC B4 79E D7 1D 2B A3 30 060 2E AE 23 9A 23 06 02E EA E2 49 B B 79 D 1D 22B A3 230 06 2E EA 23 49A BC 00 02 E E2 34 AB CB 47 ED 71 22 A 23 06 02 EA E2 49 B B 60 EE AE 34 9A C 47 9E 71 D2 BA 32 00 02 EE E 34 A C 4 2E A 23 9A BC B4 9E D7 D 2B 3 30 60 E A 23 9A BC B4 EA E2 49 B B 79 D 1D 22 A 23 06 2E EA E2 49 B B4 7 E2 349 AB CB 479 ED 71D 22 BA 323 006 02E EA E2 349 AB CB 79 34 AB CB 47 ED 71 22 BA 323 00 02 EA E2 349 AB CB 479 E 9A C 4 9E 7 D2 B 32 00 60 EE E 34 A C 47 E BC B4 79E D7 1D 2B A3 30 60 2EE AE 23 9A BC B4 9E D B4 79E D7 1D 22B A3 230 060 2E AE 23 49A BC B4 79E D7 79 D 1D 22B A3 23 06 2E EA 23 49A BC B4 79E D7 ED 71 22 A 23 00 02 EA E2 49 B B 79 D 1 71 D22 BA 32 00 602 EEA E2 349 AB CB 479 ED 71D D2 B 32 30 60 EE E 34 A C 47 E 71 2B A3 30 060 2EE AE 23 9A BC B4 9E D7 D2 A3 230 06 2E A 23 49A BC B4 79E D7 1D 2 23 06 02E EA E2 49 B B 79 D 1D 22B 00 02 E E2 34 AB CB 47 ED 71 22 60 EE AE 34 9A C 47 9E 71 D2 BA 2E A 23 9A BC B4 9E D7 D 2B EA E2 49 B B 79 D 1D 22 A E 34 A CB 47 ED 71 2 BA 3

Q. P. Code: 35762

(2 ½ Hours)

v) An acyclic graph contains _____ cycles. a) no c) one

B)

i) ii)

iii)

iv)

v)

EEAE2349ABCB479ED71D22BA32300602

Page 1 of 2

[Total Marks: 75

N.B. 1) All questions are compulsory. 2) Figures to the right indicate marks. 3) Draw suitable diagrams and illustrations wherever necessary. 4) Mixing of sub-questions is not allowed.

Q. 1 Attempt All the Questions

A) Choose the correct alternative i) Ω-notation provides an asymptotic _____ bound. a) upper b) both upper and lower c) lower d) none of these

Fill in the blanks: { lower, halts, upper, moves, recurrence, efficient, (𝑛2 ), (𝑛2 ) } O-notation describes a _____ bound. An algorithm is said to be correct if, for every input instance, it ______ with the correct output. An algorithm that is asymptotically more _____ will be the best choice for all but very small inputs. A ______ is an equation or inequality that describes a function in terms of its value on smaller inputs. The worst-case running time of insertion sort is _____. (5M)

ii) Which of the following statement is true. i. Quicksort, like merge sort, is based on the divide-and-conquer paradigm. ii. ω-notation to denote a lower bound that is asymptotically tight. a) i-true, ii-false b) i-true, ii-true c) i-false, ii-true d) i-false, ii-true

iii) In binary search trees, ________tree walk prints the key of the root of a subtree between the values in its left subtree and those in its right subtree. a) postorder b) preorder c) inorder d) none of these iv) Which of the following holds true for Prims algorithm? i. The edges in the set A always form a single tree. ii. It follows a greedy strategy. a) Only i b) Both i and ii c) Only ii d) Neither i nor ii

b) many d) none of these

(5M)

9 D 9 B 49 AB CB 479 ED 71D 22B BA3 3230 006 02E 0 A C 4 E 7 9A BC B4 79E D7 1D2 22B A32 2300 060 2EE EAE 7 1 2 A D AB BCB B47 9ED 71 D22 2BA 323 3006 602 EEAAE2 2349 9 D B 3 0 E 3 A BC CB4 479E ED7 71D 22B A3 230 060 02EE EAE E23 49A BC 2 4 2 0 7 1 2 A B CB B47 9EDD71 D22 2BA 323 300 602 EEAAE2 2349 9AB BCB 479 6 9 D E 4 3 3 47 E 71 2 B 7 ED 2 00 02 E E 4 A C 47 9EDD71 D22 2BAA32 300 602 EEAAE2 2349 9AB BCB B479 9ED 71D 9E 7 D2 B 32 30 60 EE E 34 A C 47 E 71 2 79 D 1D 2B A3 3 06 2E A 23 9A BC B4 9E D7 D 2B 0 0 E 7 9E D7 1D2 22B A32 230 060 2EE EAE E234 49A BC B47 79E D71 1D2 22BAA32 1D 2B A3 3 06 2E A 23 9A BC B4 9E D7 D 2B 3 30 D ED 71 22 A 23 00 02 EA E2 49 B B 79 D 1D 22 A 23 06 71 D2 B 32 00 602 EE E 34 A C 47 ED 71 2 BA 32 00 02 71 D22 2BAA32 300 602 EEAAE2 2349 9AB BCB B479 9ED 71DD22 2BA 323 3006 602 EEA D2 B 32 30 60 EE E 34 A C 47 E 71 2 BA 32 00 02 EE E 2B A3 30 060 2EE AE 23 9A BC B4 9E D7 D2 2B 32 30 60 EE AE 234 A3 230 06 2E A 23 49A BC B4 79E D7 1D 2B A3 30 060 2E AE 23 9A 23 06 02E EA E2 49 B B 79 D 1D 22B A3 230 06 2E EA 23 49A BC 00 02 E E2 34 AB CB 47 ED 71 22 A 23 06 02 EA E2 49 B B 60 EE AE 34 9A C 47 9E 71 D2 BA 32 00 02 EE E 34 A C 47 2E A 23 9A BC B4 9E D7 D 2B 3 30 60 E A 23 9A BC B4 9E EA E2 49 B B 79 D 1D 22 A 23 06 2E EA E2 49 B B4 79 D7 E2 349 AB CB 479 ED 71D 22 BA 323 006 02E EA E2 349 AB CB 79 ED 1D 34 AB CB 47 ED 71 22 BA 323 00 02 EA E2 349 AB CB 479 ED 71D 22 9A C 4 9E 7 D2 B 32 00 60 EE E 34 A C 47 E 71 2 BA BC B4 79E D7 1D 2B A3 30 60 2EE AE 23 9A BC B4 9E D7 D2 2B 32 B4 79E D7 1D 22B A3 230 060 2E AE 23 49A BC B4 79E D7 1D2 2B A3 30 79 D 1D 22B A3 23 06 2E EA 23 49A BC B4 79E D7 1D 2B A3 230 060 ED 71 22 A 23 00 02 EA E2 49 B B 79 D 1D 22 A 23 06 2E 71 D22 BA 32 00 602 EEA E2 349 AB CB 479 ED 71D 22 BA 323 006 02 EA D2 B 32 30 60 EE E 34 A C 47 E 71 2 BA 32 00 02 EE E 2B A3 30 060 2EE AE 23 9A BC B4 9E D7 D2 2B 32 30 60 EE AE 234 A3 230 06 2E A 23 49A BC B4 79E D7 1D 2B A3 30 060 2E AE 23 9A 23 06 02E EA E2 49 B B 79 D 1D 22B A3 230 06 2E EA 23 49A BC 00 02 E E2 34 AB CB 47 ED 71 22 A 23 06 02 EA E2 49 B B 60 EE AE 34 9A C 47 9E 71 D2 BA 32 00 02 EE E 34 A C 47 2E A 23 9A BC B4 9E D7 D 2B 3 30 60 E A 23 9A BC B4 9E EA E2 49 B B 79 D 1D 22 A 23 06 2E EA E2 49 B B4 79 D7 E2 349 AB CB 479 ED 71D 22 BA 323 006 02E EA E2 349 AB CB 79 ED 1D 34 AB CB 47 ED 71 22 BA 323 00 02 EA E2 349 AB CB 479 ED 71D 22 9A C 4 9E 7 D2 B 32 00 60 EE E 34 A C 47 E 71 2 BA BC B4 79E D7 1D 2B A3 30 60 2EE AE 23 9A BC B4 9E D7 D2 2B 32 B4 79E D7 1D 22B A3 230 060 2E AE 23 49A BC B4 79E D7 1D2 2B A3 30 79 D 1D 22B A3 23 06 2E EA 23 49A BC B4 79E D7 1D 2B A3 230 060 ED 71 22 A 23 00 02 EA E2 49 B B 79 D 1D 22 A 23 06 2E 71 D22 BA 32 00 602 EEA E2 349 AB CB 479 ED 71D 22 BA 323 006 02 EA D2 B 32 30 60 EE E 34 A C 47 E 71 2 BA 32 00 02 EE E 2B A3 30 060 2EE AE 23 9A BC B4 9E D7 D2 2B 32 30 60 EE AE 234 A3 230 06 2E A 23 49A BC B4 79E D7 1D 2B A3 30 060 2E AE 23 9A 23 06 02E EA E2 49 B B 79 D 1D 22B A3 230 06 2E EA 23 49A BC 00 02 E E2 34 AB CB 47 ED 71 22 A 23 06 02 EA E2 49 B B 60 EE AE 34 9A C 47 9E 71 D2 BA 32 00 02 EE E 34 A C 47 2E A 23 9A BC B4 9E D7 D 2B 3 30 60 E A 23 9A BC B4 9E EA E2 49 B B 79 D 1D 22 A 23 06 2E EA E2 49 B B4 79 D7 E2 349 AB CB 479 ED 71D 22 BA 323 006 02E EA E2 349 AB CB 79 ED 1D 34 AB CB 47 ED 71 22 BA 323 00 02 EA E2 349 AB CB 479 ED 71D 22 9A C 4 9E 7 D2 B 32 00 60 EE E 34 A C 47 E 71 2 BA BC B4 79E D7 1D 2B A3 30 60 2EE AE 23 9A BC B4 9E D7 D2 2B 32 B4 79E D7 1D 22B A3 230 060 2E AE 23 49A BC B4 79E D7 1D2 2B A3 30 79 D 1D 22B A3 23 06 2E EA 23 49A BC B4 79E D7 1D 2B A3 230 060 ED 71 22 A 23 00 02 EA E2 49 B B 79 D 1D 22 A 23 06 2E 71 D22 BA 32 00 602 EEA E2 349 AB CB 479 ED 71D 22 BA 323 006 02 EA D2 B 32 30 60 EE E 34 A C 47 E 71 2 BA 32 00 02 EE E 2B A3 30 060 2EE AE 23 9A BC B4 9E D7 D2 2B 32 30 60 EE AE 234 A3 230 06 2E A 23 49A BC B4 79E D7 1D 2B A3 30 060 2E AE 23 9A 23 06 02E EA E2 49 B B 79 D 1D 22B A3 230 06 2E EA 23 49A BC 00 02 E E2 34 AB CB 47 ED 71 22 A 23 06 02 EA E2 49 B B 60 EE AE 34 9A C 47 9E 71 D2 BA 32 00 02 EE E 34 A C 4 2E A 23 9A BC B4 9E D7 D 2B 3 30 60 E A 23 9A BC B4 EA E2 49 B B 79 D 1D 22 A 23 06 2E EA E2 49 B B4 7 E2 349 AB CB 479 ED 71D 22 BA 323 006 02E EA E2 349 AB CB 79 34 AB CB 47 ED 71 22 BA 323 00 02 EA E2 349 AB CB 479 E 9A C 4 9E 7 D2 B 32 00 60 EE E 34 A C 47 E BC B4 79E D7 1D 2B A3 30 60 2EE AE 23 9A BC B4 9E D B4 79E D7 1D 22B A3 230 060 2E AE 23 49A BC B4 79E D7 79 D 1D 22B A3 23 06 2E EA 23 49A BC B4 79E D7 ED 71 22 A 23 00 02 EA E2 49 B B 79 D 1 71 D22 BA 32 00 602 EEA E2 349 AB CB 479 ED 71D D2 B 32 30 60 EE E 34 A C 47 E 71 2B A3 30 060 2EE AE 23 9A BC B4 9E D7 D2 A3 230 06 2E A 23 49A BC B4 79E D7 1D 2 23 06 02E EA E2 49 B B 79 D 1D 22B 00 02 E E2 34 AB CB 47 ED 71 22 60 EE AE 34 9A C 47 9E 71 D2 BA 2E A 23 9A BC B4 9E D7 D 2B EA E2 49 B B 79 D 1D 22 A E 34 A CB 47 ED 71 2 BA 3

Q. P. Code: 35762

C) i) ii) iii) iv) v)

Q.2

Q.3 A B C D E F

Q.5 A B C D E

Explain the following terms in one or two lines Rate of growth Running time of Algorithm Correctness of Algorithm Expression Trees Weighted graphs

(5M)

Attempt the following: (Any THREE) (15M)

A Define Algorithm. Explain why analysis of algorithm important? B Briefly describe the Master method for solving recurrences of the form T (n) = aT (n/b) + f (n) C How do we compare two algorithms? Explain. D Write a note on Method of Guessing and Confirming. E Briefly describe the “Big-Omega” and “little-omega” in algorithmic analysis. F Write a note on divide-and-conquer approach. Attempt the following: (Any THREE) What are the type of binary tree? Explain any two. Write a note on binary tree traversal. What is an AVL tree? Explain. Define Graph. What are its applications? Explain. What is a minimum spanning tree? Explain with suitable example. Write a note on median-of-median algorithm.

Attempt the following: (Any THREE) What is Analysis of Algorithm? Why is it important? Explain. List the various properties of binary tree. What is a threaded binary tree? Explain. Write a note on Partition-based Selection Algorithm. What is a Topological Sort? Explain it with a suitable example. ___________

EEAE2349ABCB479ED71D22BA32300602

Page 2 of 2

(15M)

Q.4 Attempt the following: (Any THREE) (15M) A What is greedy technique? What are its advantages and disadvantages? B Write a note on computer algorithms that are based on divide-and-conquer programming approach. What are the advantages of divide and conquer based algorithms? C Write a note on Master theorem. D Briefly describe Dynamic Programming Strategy. Also give the Steps of Dynamic Programming Approach. E Briefly describe the longest common subsequence (LCS) problem. F State the examples of Dynamic Programming Algorithms. Explain any one.

(15M)

D 3 D A 6 1D BA 550 045 FFAAB6 07AA73 2D0 07D 851 F 2 0 DB BA5 5504 45F FAB B60 7A7 732 D07 7D8 8511 10C F D D 5 0 D 7 5 BAA55 045 5FFAAB6 607AA73 32D 07D 851 110 CD D1D C D 0 F 2 0 A5 5504 45F FAB B60 07A 732 D07 7D8 8511 10C DD 1DB BA5 7 D 1 F D 7 5 5 D 5 0 55 045 5FFAAB6 607AA73 32D 07D 851 110 CD D1DDBAA55 045 D 04 FF B 07 7 2D 07 85 10 CD 1 B 5 04 FF 50 5F A 60 A 32 0 D8 11 C D D A 50 5F A 45 F B 7 7 D 7D 5 0 D 1 B 55 45 F B 45 FFAAB6 607AA73 32D 07D 851 110C CDDD1DDBAA55 045 FFAAB6 607A 0 0 F F 5F FA B60 07A 732 2D0 7D8 8511 10C DD 1DB BA5 550 45F FA B60 07A 732 FA B6 7A 73 D0 7D 51 0C DD 1D A 50 45F FA B6 7A 73 D0 FA B6 07A 73 2D0 7D 851 10C DD 1D BA 550 45F FA B6 07A 73 2D0 7D 2 2 0 0 8 8 AB B60 7A7 732 D07 7D8 511 10CDDD1 1DB BA5 5504 45FF FAB B60 7A7 732 D07 7D8 511 D D 7 7 5 5 0 5 D D 5 3 3 A 60 A7 2 07 8 11 CD D DB 5 04 F AB 60 A7 2 07 8 11 0CD 7A 32 D0 D 51 0C D 1D A 50 5F FA 6 7A 32 D0 D 51 0C D 73 D0 7D 851 10C DD 1D BA 550 45 FA B6 07A 73 D0 7D 851 10C DD 1D 2D 7D 85 10 D 1 B 55 45 FF B 07 7 2D 7D 85 10 D 1 B 07 85 11 CD D1 DB A5 04 FF AB 607 A7 32D 07 85 11 CD D1 DB A5 D8 11 0C D D A 50 5F A 60 A 32 0 D8 11 0C D D A 50 51 0C DD 1D BA 550 45F FA B6 7A 732 D0 7D 51 0C DD 1D BA 550 45F 10 D 1D BA 55 45 FA B6 07 73 D 7D 85 10 D 1D BA 55 45 FA CD D1 B 5 04 FF B 07 A7 2D 07 85 11 CD D1 B 5 04 FF B D1 DB A5 504 5FF AB 607 A7 32D 07 D85 11 0CD D1 DB A5 504 5FF AB 607 DB A5 504 5F AB 60 A7 32 07 D8 11 0C D DB A5 504 5F AB 60 A7 A5 504 5F FAB 60 7A 32 D07 D8 511 0C DD 1DB A5 504 5F FAB 60 7A 32 50 5F FA 60 7A 732 D0 D8 511 0C DD 1D A 50 5F FA 60 7A 732 D0 45 FA B6 7A 73 D 7D 51 0C DD 1D BA 55 45 FA B6 7A 73 D 7D FF B 07 7 2D 07 85 10 D 1 B 55 04 FF B 07 7 2D 07 85 AB 60 A7 32 07 D8 11 CD D1 DB A5 04 5FF AB 60 A7 32 07 D8 11 60 7A7 32 D07 D8 511 0CD D DB A5 504 5F AB 60 7A7 32 D07 D8 511 0CD 7A 32 D0 D 51 0C D 1D A 50 5F FA 6 7A 32 D0 D 51 0C D 73 D0 7D 851 10C DD 1D BA 550 45 FA B6 07A 73 D0 7D 851 10C DD 1D 2D 7D 85 10 D 1 B 55 45 FF B 07 7 2D 7D 85 10 D 1 B 07 85 11 CD D1 DB A5 04 FF AB 607 A7 32D 07 85 11 CD D1 DB A5 D8 11 0C D D A 50 5F A 60 A 32 0 D8 11 0C D D A 50 51 0C DD 1D BA 550 45F FA B6 7A 732 D0 7D 51 0C DD 1D BA 550 45F 10 D 1D BA 55 45 FA B6 07 73 D 7D 85 10 D 1D BA 55 45 FA CD D1 B 5 04 FF B 07 A7 2D 07 85 11 CD D1 B 5 04 FF B D1 DB A5 504 5FF AB 607 A7 32D 07 D85 11 0CD D1 DB A5 504 5FF AB 607 DB A5 504 5F AB 60 A7 32 07 D8 11 0C D DB A5 504 5F AB 60 A7 A5 504 5F FAB 60 7A 32 D07 D8 511 0C DD 1DB A5 504 5F FAB 60 7A 32 50 5F FA 60 7A 732 D0 D8 511 0C DD 1D A 50 5F FA 60 7A 732 D0 45 FA B6 7A 73 D 7D 51 0C DD 1D BA 55 45 FA B6 7A 73 D 7D FF B 07 7 2D 07 85 10 D 1 B 55 04 FF B 07 7 2D 07 85 AB 60 A7 32 07 D8 11 CD D1 DB A5 04 5FF AB 60 A7 32 07 D8 11 60 7A7 32 D07 D8 511 0CD D DB A5 504 5F AB 60 7A7 32 D07 D8 511 0CD 7A 32 D0 D 51 0C D 1D A 50 5F FA 6 7A 32 D0 D 51 0C D 73 D0 7D 851 10C DD 1D BA 550 45 FA B6 07A 73 D0 7D 851 10C DD 1D 2D 7D 85 10 D 1 B 55 45 FF B 07 7 2D 7D 85 10 D 1 B 07 85 11 CD D1 DB A5 04 FF AB 607 A7 32D 07 85 11 CD D1 DB A5 D8 11 0C D D A 50 5F A 60 A 32 0 D8 11 0C D D A 50 51 0C DD 1D BA 550 45F FA B6 7A 732 D0 7D 51 0C DD 1D BA 550 45F 10 D 1D BA 55 45 FA B6 07 73 D 7D 85 10 D 1D BA 55 45 FA CD D1 B 5 04 FF B 07 A7 2D 07 85 11 CD D1 B 5 04 FF B D1 DB A5 504 5FF AB 607 A7 32D 07 D85 11 0CD D1 DB A5 504 5FF AB 607 DB A5 504 5F AB 60 A7 32 07 D8 11 0C D DB A5 504 5F AB 60 A7 A5 504 5F FAB 60 7A 32 D07 D8 511 0C DD 1DB A5 504 5F FAB 60 7A 32 50 5F FA 60 7A 732 D0 D8 511 0C DD 1D A 50 5F FA 60 7A 732 D0 45 FA B6 7A 73 D 7D 51 0C DD 1D BA 55 45 FA B6 7A 73 D 7D FF B 07 7 2D 07 85 10 D 1 B 55 04 FF B 07 7 2D 07 85 AB 60 A7 32 07 D8 11 CD D1 DB A5 04 5FF AB 60 A7 32 07 D8 11 60 7A7 32 D07 D8 511 0CD D DB A5 504 5F AB 60 7A7 32 D07 D8 511 0CD 7A 32 D0 D 51 0C D 1D A 50 5F FA 6 7A 32 D0 D 51 0C D 73 D0 7D 851 10C DD 1D BA 550 45 FA B6 07A 73 D0 7D 851 10C DD 1D 2D 7D 85 10 D 1 B 55 45 FF B 07 7 2D 7D 85 10 D 1 B 07 85 11 CD D1 DB A5 04 FF AB 607 A7 32D 07 85 11 CD D1 DB A5 D8 11 0C D D A 50 5F A 60 A 32 0 D8 11 0C D D A 51 0C DD 1D BA 550 45F FA B6 7A 732 D0 7D 51 0C DD 1D BA 550 10 D 1D BA 55 45 FA B6 07 73 D 7D 85 10 D 1D BA 55 CD D1 B 5 04 FF B 07 A7 2D 07 85 11 CD D1 B 5 04 D1 DB A5 504 5FF AB 607 A7 32D 07 D85 11 0CD D1 DB A5 504 DB A5 504 5F AB 60 A7 32 07 D8 11 0C D DB A5 504 5F A5 504 5F FAB 60 7A 32 D07 D8 511 0C DD 1DB A5 504 5F 50 5F FA 60 7A 732 D0 D8 511 0C DD 1D A 50 5F F 45 FA B6 7A 73 D 7D 51 0C DD 1D BA 55 45 FA FF B 07 7 2D 07 85 10 D 1 B 55 04 FF AB 60 A7 32 07 D8 11 CD D1 DB A5 04 5FF AB 60 7A7 32 D07 D8 511 0CD D DB A5 504 5F AB 7A 32 D0 D 51 0C D 1D A 50 5F FA 6 73 D0 7D 851 10C DD 1D BA 550 45 FA B6 2D 7D 85 10 D 1 B 55 45 FF B 07 07 85 11 CD D1 DB A5 04 FF AB 607 D8 11 0C D D A 50 5F A 60 A 51 0C DD 1D BA 550 45F FA B6 7A 10 D 1D BA 55 45 FA B6 07 7 A C D

Q. P. Code: 34323

(2½ Hours)

N.B.

1) All questions are compulsory. 2) Figures to the right indicate marks. 3) Illustrations, in-depth answers and diagrams will be appreciated. 4) Mixing of sub-questions is not allowed.

Q. 1 (a)

Attempt All(Each of 5Marks) Multiple Choice Questions: (i) What is not true about Swing API? a) Swing components are platform-dependent b) Swing components are light-weight c) Swing supports pluggable look-and-feel d) Swing follows MVC

Page 1 of 3

5110CDD1DBA55045FFAB607A732D07D8

[Total Marks: 75]

(ii)

The doGet() method extracts values of the parameter’s type and number by using __________ a) request.getParameter() b) request.setParameter() c) responce.getParameter() d) responce.getAttribute()

(iii)

Which object of HttpSession can be used to view and manipulate information about a session? a) session identifier b) creation time c) last accessed time d) All mentioned above

(iv)

Abbreviate the term POJO? a) Performance Old Java Object b) Plain Old Java Object c) Performance Optimize Java Object d) None of the above

(v)

“application” implicit object in JSP is an object of which class? a) javax.servlet.Context b) javax.servlet.HttpContext c) javax.servlet.ServletContext d) javax.servlet.Application (15)

D 3 D A 6 1D BA 550 045 FFAAB6 07AA73 2D0 07D 851 F 2 0 DB BA5 5504 45F FAB B60 7A7 732 D07 7D8 8511 10C F D D 5 0 D 7 5 BAA55 045 5FFAAB6 607AA73 32D 07D 851 110 CD D1D C D 0 F 2 0 A5 5504 45F FAB B60 07A 732 D07 7D8 8511 10C DD 1DB BA5 7 D 1 F D 7 5 5 D 5 0 55 045 5FFAAB6 607AA73 32D 07D 851 110 CD D1DDBAA55 045 D 04 FF B 07 7 2D 07 85 10 CD 1 B 5 04 FF 50 5F A 60 A 32 0 D8 11 C D D A 50 5F A 45 F B 7 7 D 7D 5 0 D 1 B 55 45 F B 45 FFAAB6 607AA73 32D 07D 851 110C CDDD1DDBAA55 045 FFAAB6 607A 0 0 F F 5F FA B60 07A 732 2D0 7D8 8511 10C DD 1DB BA5 550 45F FA B60 07A 732 FA B6 7A 73 D0 7D 51 0C DD 1D A 50 45F FA B6 7A 73 D0 FA B6 07A 73 2D0 7D 851 10C DD 1D BA 550 45F FA B6 07A 73 2D0 7D 2 2 0 0 8 8 AB B60 7A7 732 D07 7D8 511 10CDDD1 1DB BA5 5504 45FF FAB B60 7A7 732 D07 7D8 511 D D 7 7 5 5 0 5 D D 5 3 3 A 60 A7 2 07 8 11 CD D DB 5 04 F AB 60 A7 2 07 8 11 0CD 7A 32 D0 D 51 0C D 1D A 50 5F FA 6 7A 32 D0 D 51 0C D 73 D0 7D 851 10C DD 1D BA 550 45 FA B6 07A 73 D0 7D 851 10C DD 1D 2D 7D 85 10 D 1 B 55 45 FF B 07 7 2D 7D 85 10 D 1 B 07 85 11 CD D1 DB A5 04 FF AB 607 A7 32D 07 85 11 CD D1 DB A5 D8 11 0C D D A 50 5F A 60 A 32 0 D8 11 0C D D A 50 51 0C DD 1D BA 550 45F FA B6 7A 732 D0 7D 51 0C DD 1D BA 550 45F 10 D 1D BA 55 45 FA B6 07 73 D 7D 85 10 D 1D BA 55 45 FA CD D1 B 5 04 FF B 07 A7 2D 07 85 11 CD D1 B 5 04 FF B D1 DB A5 504 5FF AB 607 A7 32D 07 D85 11 0CD D1 DB A5 504 5FF AB 607 DB A5 504 5F AB 60 A7 32 07 D8 11 0C D DB A5 504 5F AB 60 A7 A5 504 5F FAB 60 7A 32 D07 D8 511 0C DD 1DB A5 504 5F FAB 60 7A 32 50 5F FA 60 7A 732 D0 D8 511 0C DD 1D A 50 5F FA 60 7A 732 D0 45 FA B6 7A 73 D 7D 51 0C DD 1D BA 55 45 FA B6 7A 73 D 7D FF B 07 7 2D 07 85 10 D 1 B 55 04 FF B 07 7 2D 07 85 AB 60 A7 32 07 D8 11 CD D1 DB A5 04 5FF AB 60 A7 32 07 D8 11 60 7A7 32 D07 D8 511 0CD D DB A5 504 5F AB 60 7A7 32 D07 D8 511 0CD 7A 32 D0 D 51 0C D 1D A 50 5F FA 6 7A 32 D0 D 51 0C D 73 D0 7D 851 10C DD 1D BA 550 45 FA B6 07A 73 D0 7D 851 10C DD 1D 2D 7D 85 10 D 1 B 55 45 FF B 07 7 2D 7D 85 10 D 1 B 07 85 11 CD D1 DB A5 04 FF AB 607 A7 32D 07 85 11 CD D1 DB A5 D8 11 0C D D A 50 5F A 60 A 32 0 D8 11 0C D D A 50 51 0C DD 1D BA 550 45F FA B6 7A 732 D0 7D 51 0C DD 1D BA 550 45F 10 D 1D BA 55 45 FA B6 07 73 D 7D 85 10 D 1D BA 55 45 FA CD D1 B 5 04 FF B 07 A7 2D 07 85 11 CD D1 B 5 04 FF B D1 DB A5 504 5FF AB 607 A7 32D 07 D85 11 0CD D1 DB A5 504 5FF AB 607 DB A5 504 5F AB 60 A7 32 07 D8 11 0C D DB A5 504 5F AB 60 A7 A5 504 5F FAB 60 7A 32 D07 D8 511 0C DD 1DB A5 504 5F FAB 60 7A 32 50 5F FA 60 7A 732 D0 D8 511 0C DD 1D A 50 5F FA 60 7A 732 D0 45 FA B6 7A 73 D 7D 51 0C DD 1D BA 55 45 FA B6 7A 73 D 7D FF B 07 7 2D 07 85 10 D 1 B 55 04 FF B 07 7 2D 07 85 AB 60 A7 32 07 D8 11 CD D1 DB A5 04 5FF AB 60 A7 32 07 D8 11 60 7A7 32 D07 D8 511 0CD D DB A5 504 5F AB 60 7A7 32 D07 D8 511 0CD 7A 32 D0 D 51 0C D 1D A 50 5F FA 6 7A 32 D0 D 51 0C D 73 D0 7D 851 10C DD 1D BA 550 45 FA B6 07A 73 D0 7D 851 10C DD 1D 2D 7D 85 10 D 1 B 55 45 FF B 07 7 2D 7D 85 10 D 1 B 07 85 11 CD D1 DB A5 04 FF AB 607 A7 32D 07 85 11 CD D1 DB A5 D8 11 0C D D A 50 5F A 60 A 32 0 D8 11 0C D D A 50 51 0C DD 1D BA 550 45F FA B6 7A 732 D0 7D 51 0C DD 1D BA 550 45F 10 D 1D BA 55 45 FA B6 07 73 D 7D 85 10 D 1D BA 55 45 FA CD D1 B 5 04 FF B 07 A7 2D 07 85 11 CD D1 B 5 04 FF B D1 DB A5 504 5FF AB 607 A7 32D 07 D85 11 0CD D1 DB A5 504 5FF AB 607 DB A5 504 5F AB 60 A7 32 07 D8 11 0C D DB A5 504 5F AB 60 A7 A5 504 5F FAB 60 7A 32 D07 D8 511 0C DD 1DB A5 504 5F FAB 60 7A 32 50 5F FA 60 7A 732 D0 D8 511 0C DD 1D A 50 5F FA 60 7A 732 D0 45 FA B6 7A 73 D 7D 51 0C DD 1D BA 55 45 FA B6 7A 73 D 7D FF B 07 7 2D 07 85 10 D 1 B 55 04 FF B 07 7 2D 07 85 AB 60 A7 32 07 D8 11 CD D1 DB A5 04 5FF AB 60 A7 32 07 D8 11 60 7A7 32 D07 D8 511 0CD D DB A5 504 5F AB 60 7A7 32 D07 D8 511 0CD 7A 32 D0 D 51 0C D 1D A 50 5F FA 6 7A 32 D0 D 51 0C D 73 D0 7D 851 10C DD 1D BA 550 45 FA B6 07A 73 D0 7D 851 10C DD 1D 2D 7D 85 10 D 1 B 55 45 FF B 07 7 2D 7D 85 10 D 1 B 07 85 11 CD D1 DB A5 04 FF AB 607 A7 32D 07 85 11 CD D1 DB A5 D8 11 0C D D A 50 5F A 60 A 32 0 D8 11 0C D D A 51 0C DD 1D BA 550 45F FA B6 7A 732 D0 7D 51 0C DD 1D BA 550 10 D 1D BA 55 45 FA B6 07 73 D 7D 85 10 D 1D BA 55 CD D1 B 5 04 FF B 07 A7 2D 07 85 11 CD D1 B 5 04 D1 DB A5 504 5FF AB 607 A7 32D 07 D85 11 0CD D1 DB A5 504 DB A5 504 5F AB 60 A7 32 07 D8 11 0C D DB A5 504 5F A5 504 5F FAB 60 7A 32 D07 D8 511 0C DD 1DB A5 504 5F 50 5F FA 60 7A 732 D0 D8 511 0C DD 1D A 50 5F F 45 FA B6 7A 73 D 7D 51 0C DD 1D BA 55 45 FA FF B 07 7 2D 07 85 10 D 1 B 55 04 FF AB 60 A7 32 07 D8 11 CD D1 DB A5 04 5FF AB 60 7A7 32 D07 D8 511 0CD D DB A5 504 5F AB 7A 32 D0 D 51 0C D 1D A 50 5F FA 6 73 D0 7D 851 10C DD 1D BA 550 45 FA B6 2D 7D 85 10 D 1 B 55 45 FF B 07 07 85 11 CD D1 DB A5 04 FF AB 607 D8 11 0C D D A 50 5F A 60 A 51 0C DD 1D BA 550 45F FA B6 7A 10 D 1D BA 55 45 FA B6 07 7 A C D

Q. P. Code: 34323

(b)

Fill in the blanks: (out, request, IIS , request.getProtocol(), JSP Container, easier, response.getProtocol(), response.setRedirect(URL), , difficult, response.sendRedirect(URL) ) (i) Java Server Pages are processed by_______________. (ii) _______code retrieves name and version of the protocol? (iii) ___________ is an implicit object of PrintWriter class. (iv) XML is much more ______________ to parse than JSON. (v) _____________ temporarily redirects response to the browser?

(c)

Answer in 1 – 2 sentences (i) What is MIME type for JSON? (ii) State True or False: The JDBC API has always supported persistent storage of objects defined in the Java programming language through the methods getObject and setObject. (iii) What is a role of HttpServlet? (iv) What is purpose of JList? (v) How to make declaration in JSP?

Q. 2 (a) (b)

Attempt the following (Any THREE) (15) Describe three types of text controls in Swing. Write a program to create a login form (for entering the user name and password). On click of “Ok” button check the username and password is correct or not and report with proper messages. Differentiate between JList and JComboBox. Write a short note on DriverManager class. Explain various ways of creating ResultSet in JDBC. Write a JDBC program to accepts a dept_id from user and displays total number of records in it. (Table: Employee(Eid, dept_id, Ename, Address, Salary)

(c) (d) (e) (f)

Q. 3 (a) (b) (c)

(d) (e)

(f)

Q. 4 (a) (b) (c)

Attempt the following (Any THREE) State and explain advantages of JSP. Explain any 5 methods of HttpServletRequest interface. Write a JSP program to accept a number from the HTML form, and find its factorial using a recursive function. Explain Servlet Life cycle in detail. Explain the following implicit JSP objects: 1) Request 2) pageContext 3)Exception 4)Response 5)Page Write a Servlet Program to display the name of the servlet and its initialization parameters with its respective values.

(15)

Attempt the following (Any THREE) Explain the role of interceptors in struts. Discuss the similarities and differences between JSON and XML. Explain the getter and setter methods of JavaBeans class.

(15)

Page 2 of 3

5110CDD1DBA55045FFAB607A732D07D8

D 3 D A 6 1D BA 550 045 FFAAB6 07AA73 2D0 07D 851 F 2 0 DB BA5 5504 45F FAB B60 7A7 732 D07 7D8 8511 10C F D D 5 0 D 7 5 BAA55 045 5FFAAB6 607AA73 32D 07D 851 110 CD D1D C D 0 F 2 0 A5 5504 45F FAB B60 07A 732 D07 7D8 8511 10C DD 1DB BA5 7 D 1 F D 7 5 5 D 5 0 55 045 5FFAAB6 607AA73 32D 07D 851 110 CD D1DDBAA55 045 D 04 FF B 07 7 2D 07 85 10 CD 1 B 5 04 FF 50 5F A 60 A 32 0 D8 11 C D D A 50 5F A 45 F B 7 7 D 7D 5 0 D 1 B 55 45 F B 45 FFAAB6 607AA73 32D 07D 851 110C CDDD1DDBAA55 045 FFAAB6 607A 0 0 F F 5F FA B60 07A 732 2D0 7D8 8511 10C DD 1DB BA5 550 45F FA B60 07A 732 FA B6 7A 73 D0 7D 51 0C DD 1D A 50 45F FA B6 7A 73 D0 FA B6 07A 73 2D0 7D 851 10C DD 1D BA 550 45F FA B6 07A 73 2D0 7D 2 2 0 0 8 8 AB B60 7A7 732 D07 7D8 511 10CDDD1 1DB BA5 5504 45FF FAB B60 7A7 732 D07 7D8 511 D D 7 7 5 5 0 5 D D 5 3 3 A 60 A7 2 07 8 11 CD D DB 5 04 F AB 60 A7 2 07 8 11 0CD 7A 32 D0 D 51 0C D 1D A 50 5F FA 6 7A 32 D0 D 51 0C D 73 D0 7D 851 10C DD 1D BA 550 45 FA B6 07A 73 D0 7D 851 10C DD 1D 2D 7D 85 10 D 1 B 55 45 FF B 07 7 2D 7D 85 10 D 1 B 07 85 11 CD D1 DB A5 04 FF AB 607 A7 32D 07 85 11 CD D1 DB A5 D8 11 0C D D A 50 5F A 60 A 32 0 D8 11 0C D D A 50 51 0C DD 1D BA 550 45F FA B6 7A 732 D0 7D 51 0C DD 1D BA 550 45F 10 D 1D BA 55 45 FA B6 07 73 D 7D 85 10 D 1D BA 55 45 FA CD D1 B 5 04 FF B 07 A7 2D 07 85 11 CD D1 B 5 04 FF B D1 DB A5 504 5FF AB 607 A7 32D 07 D85 11 0CD D1 DB A5 504 5FF AB 607 DB A5 504 5F AB 60 A7 32 07 D8 11 0C D DB A5 504 5F AB 60 A7 A5 504 5F FAB 60 7A 32 D07 D8 511 0C DD 1DB A5 504 5F FAB 60 7A 32 50 5F FA 60 7A 732 D0 D8 511 0C DD 1D A 50 5F FA 60 7A 732 D0 45 FA B6 7A 73 D 7D 51 0C DD 1D BA 55 45 FA B6 7A 73 D 7D FF B 07 7 2D 07 85 10 D 1 B 55 04 FF B 07 7 2D 07 85 AB 60 A7 32 07 D8 11 CD D1 DB A5 04 5FF AB 60 A7 32 07 D8 11 60 7A7 32 D07 D8 511 0CD D DB A5 504 5F AB 60 7A7 32 D07 D8 511 0CD 7A 32 D0 D 51 0C D 1D A 50 5F FA 6 7A 32 D0 D 51 0C D 73 D0 7D 851 10C DD 1D BA 550 45 FA B6 07A 73 D0 7D 851 10C DD 1D 2D 7D 85 10 D 1 B 55 45 FF B 07 7 2D 7D 85 10 D 1 B 07 85 11 CD D1 DB A5 04 FF AB 607 A7 32D 07 85 11 CD D1 DB A5 D8 11 0C D D A 50 5F A 60 A 32 0 D8 11 0C D D A 50 51 0C DD 1D BA 550 45F FA B6 7A 732 D0 7D 51 0C DD 1D BA 550 45F 10 D 1D BA 55 45 FA B6 07 73 D 7D 85 10 D 1D BA 55 45 FA CD D1 B 5 04 FF B 07 A7 2D 07 85 11 CD D1 B 5 04 FF B D1 DB A5 504 5FF AB 607 A7 32D 07 D85 11 0CD D1 DB A5 504 5FF AB 607 DB A5 504 5F AB 60 A7 32 07 D8 11 0C D DB A5 504 5F AB 60 A7 A5 504 5F FAB 60 7A 32 D07 D8 511 0C DD 1DB A5 504 5F FAB 60 7A 32 50 5F FA 60 7A 732 D0 D8 511 0C DD 1D A 50 5F FA 60 7A 732 D0 45 FA B6 7A 73 D 7D 51 0C DD 1D BA 55 45 FA B6 7A 73 D 7D FF B 07 7 2D 07 85 10 D 1 B 55 04 FF B 07 7 2D 07 85 AB 60 A7 32 07 D8 11 CD D1 DB A5 04 5FF AB 60 A7 32 07 D8 11 60 7A7 32 D07 D8 511 0CD D DB A5 504 5F AB 60 7A7 32 D07 D8 511 0CD 7A 32 D0 D 51 0C D 1D A 50 5F FA 6 7A 32 D0 D 51 0C D 73 D0 7D 851 10C DD 1D BA 550 45 FA B6 07A 73 D0 7D 851 10C DD 1D 2D 7D 85 10 D 1 B 55 45 FF B 07 7 2D 7D 85 10 D 1 B 07 85 11 CD D1 DB A5 04 FF AB 607 A7 32D 07 85 11 CD D1 DB A5 D8 11 0C D D A 50 5F A 60 A 32 0 D8 11 0C D D A 50 51 0C DD 1D BA 550 45F FA B6 7A 732 D0 7D 51 0C DD 1D BA 550 45F 10 D 1D BA 55 45 FA B6 07 73 D 7D 85 10 D 1D BA 55 45 FA CD D1 B 5 04 FF B 07 A7 2D 07 85 11 CD D1 B 5 04 FF B D1 DB A5 504 5FF AB 607 A7 32D 07 D85 11 0CD D1 DB A5 504 5FF AB 607 DB A5 504 5F AB 60 A7 32 07 D8 11 0C D DB A5 504 5F AB 60 A7 A5 504 5F FAB 60 7A 32 D07 D8 511 0C DD 1DB A5 504 5F FAB 60 7A 32 50 5F FA 60 7A 732 D0 D8 511 0C DD 1D A 50 5F FA 60 7A 732 D0 45 FA B6 7A 73 D 7D 51 0C DD 1D BA 55 45 FA B6 7A 73 D 7D FF B 07 7 2D 07 85 10 D 1 B 55 04 FF B 07 7 2D 07 85 AB 60 A7 32 07 D8 11 CD D1 DB A5 04 5FF AB 60 A7 32 07 D8 11 60 7A7 32 D07 D8 511 0CD D DB A5 504 5F AB 60 7A7 32 D07 D8 511 0CD 7A 32 D0 D 51 0C D 1D A 50 5F FA 6 7A 32 D0 D 51 0C D 73 D0 7D 851 10C DD 1D BA 550 45 FA B6 07A 73 D0 7D 851 10C DD 1D 2D 7D 85 10 D 1 B 55 45 FF B 07 7 2D 7D 85 10 D 1 B 07 85 11 CD D1 DB A5 04 FF AB 607 A7 32D 07 85 11 CD D1 DB A5 D8 11 0C D D A 50 5F A 60 A 32 0 D8 11 0C D D A 51 0C DD 1D BA 550 45F FA B6 7A 732 D0 7D 51 0C DD 1D BA 550 10 D 1D BA 55 45 FA B6 07 73 D 7D 85 10 D 1D BA 55 CD D1 B 5 04 FF B 07 A7 2D 07 85 11 CD D1 B 5 04 D1 DB A5 504 5FF AB 607 A7 32D 07 D85 11 0CD D1 DB A5 504 DB A5 504 5F AB 60 A7 32 07 D8 11 0C D DB A5 504 5F A5 504 5F FAB 60 7A 32 D07 D8 511 0C DD 1DB A5 504 5F 50 5F FA 60 7A 732 D0 D8 511 0C DD 1D A 50 5F F 45 FA B6 7A 73 D 7D 51 0C DD 1D BA 55 45 FA FF B 07 7 2D 07 85 10 D 1 B 55 04 FF AB 60 A7 32 07 D8 11 CD D1 DB A5 04 5FF AB 60 7A7 32 D07 D8 511 0CD D DB A5 504 5F AB 7A 32 D0 D 51 0C D 1D A 50 5F FA 6 73 D0 7D 851 10C DD 1D BA 550 45 FA B6 2D 7D 85 10 D 1 B 55 45 FF B 07 07 85 11 CD D1 DB A5 04 FF AB 607 D8 11 0C D D A 50 5F A 60 A 51 0C DD 1D BA 550 45F FA B6 7A 10 D 1D BA 55 45 FA B6 07 7 A C D

Q. P. Code: 34323

(d) (e) (f)

List and explain valid JSON data types. Design a JavaBean program to store and retrieve different BankAccount details. Explain the significance of struts.xml and web.xml file in Struts 2 application.

Q. 5 (a)

Attempt the following (Any THREE) (15) Write a program in java which creates a list containing at least 3 theatres name. On the click of any theatre, the movie name from theatre should be displayed in a Text field. Write java program to insert one record of information into the database table named (depttable), by accepting the details from the user; using PreparedStatement. depttable(deptno int primary key, deptname varchar(10), deptloc varchar(10)) Explain the request life cycle of Struts 2. Discuss the features of JFC. Write a JSP based application that serves the purpose of simple calculator.

(b)

(c) (d) (e)

**************

Page 3 of 3

5110CDD1DBA55045FFAB607A732D07D8

EF F12 A14 4F3 3391 127 14C CDB B6C C3E EA9 A 1 3 3 F1 12A 14F F33 912 271 4CD DB 6C3 3EA A93 A4 2A 14 33 91 71 4C B 6C EA 93 A4 3C 2A 14 F33 91 271 4C DB 6C 3EA 93 A4 3C 78E 2 F 3 D A1 14F 339 912 714 4CD B6 6C3 EA 93A A43 3C7 78EF F12 7 E 9 3 A C C C 8 1 B 4 1 3 14 F33 91 271 4C DB 6C 3E A93 3A4 43C 78E EF1 12A 14F F3 91 27 4C DB 6C 3E A9 A 3C 78 F 2A 14 3 F3 391 27 14C DB 6C 3E A9 3A 43C 78 EF 12A 14 F3 391 3 1 1 4 33 3912 271 4CD DB 6C3 3EA A93 3A4 3C7 78E EF1 2A1 14F F339 912 2714 91 71 4C B 6C E 93 A4 3C 8E F1 2A 4F 33 12 71 C 91 271 4C DB 6C 3E A93 A4 3C 78E F1 2A 14F 33 912 71 4C DB D 6 A 12 2714 4CD DB6 6C3 3EA 93A A43 3C7 78E F12 2A1 14F 339 9127 714 4CD B6 C3 71 C B C EA 93 4 C 8E F1 A 4F 33 12 14 CD B6 C3 EA 71 4C DB 6C 3EA 93 A4 3C 78E F1 2A 14F 33 912 714 CD B6 C3 EA 93 4C DB 6C 3E 9 A4 3C 78 F1 2A 14 33 91 71 C B C EA 93 A4 DB 6C 3E A9 3A 3C 78 EF 2A 14 F33 91 271 4C DB 6C 3E 93 A4 3C 6C 3E A9 3A 43C 78 EF1 12A 14 F33 91 271 4C DB 6C 3EA A93 A4 3C 78E 3E A9 3A 43C 78 EF 2A 14 F33 91 271 4C DB 6C 3E 93 A4 3C 78 F1 A9 3A 43 78 EF 12A 14 F3 91 27 4C DB 6C 3E A9 A 3C 78 EF 2A 3A 43 C78 EF 12 14 F3 391 27 14C DB 6C 3E A9 3A 43C 78 EF 12A 14 43 C7 EF 12 A1 F3 39 27 14C D 6C 3E A9 3A 43C 78 EF 12A 14 F3 C7 8E 12 A1 4F 39 12 14 D B6 3 A 3A 43 7 EF 12 1 F3 39 8E F1 A1 4F 339 12 714 CD B6 C3 EA 93A 43 C7 8E 12 A1 4F 39 127 F1 2A 4F 33 12 71 CD B C3 EA 93 4 C7 8E F1 A1 4F 339 12 14 2A 14 33 91 71 4C B 6C EA 93 A4 3C 8E F1 2A 4F 33 12 71 CD 14 F33 91 271 4C DB 6C 3E 93 A4 3C 78E F1 2A 14F 33 912 71 4C B F3 91 27 4C DB 6C 3E A9 A 3C 78 F 2A 14 3 91 71 4C DB 6C 39 27 14 D 6 3E A9 3A 43 78 EF 12 14 F3 391 27 4C DB 6C 3E 12 14 CD B6 C3 A 3A 43 C7 E 12 A1 F 39 27 14 D 6 3 A 71 C B C EA 93 4 C 8E F1 A 4F 33 12 14 CD B6 C3 EA 93 4C DB 6C 3E 9 A4 3C 78 F1 2A 14 33 91 71 C B C EA 93 A4 DB 6C 3E A9 3A 3C 78 EF 2A 14 F33 91 271 4C DB 6C 3E 93 A4 3C 6C 3E A9 3A 43C 78 EF1 12A 14 F33 91 271 4C DB 6C 3EA A93 A4 3C 78E 3E A9 3A 43C 78 EF 2A 14 F33 91 271 4C DB 6C 3E 93 A4 3C 78 F1 A9 3A 43 78 EF 12A 14 F3 91 27 4C DB 6C 3E A9 A 3C 78 EF 2A 3A 43 C78 EF 12 14 F3 391 27 14C DB 6C 3E A9 3A 43C 78 EF 12A 14 43 C7 EF 12 A1 F3 39 27 14C D 6C 3E A9 3A 43C 78 EF 12A 14 F3 C7 8E 12 A1 4F 39 12 14 D B6 3 A 3A 43 7 EF 12 1 F3 39 8E F1 A1 4F 339 12 714 CD B6 C3 EA 93A 43 C7 8E 12 A1 4F 39 127 F1 2A 4F 33 12 71 CD B C3 EA 93 4 C7 8E F1 A1 4F 339 12 14 2A 14 33 91 71 4C B 6C EA 93 A4 3C 8E F1 2A 4F 33 12 71 CD 14 F33 91 271 4C DB 6C 3E 93 A4 3C 78E F1 2A 14F 33 912 71 4C B F3 91 27 4C DB 6C 3E A9 A 3C 78 F 2A 14 3 91 71 4C DB 6C 39 27 14 D 6 3E A9 3A 43 78 EF 12 14 F3 391 27 4C DB 6C 3E 12 14 CD B6 C3 A 3A 43 C7 E 12 A1 F 39 27 14 D 6 3 A 71 C B C EA 93 4 C 8E F1 A 4F 33 12 14 CD B6 C3 EA 93 4C DB 6C 3E 9 A4 3C 78 F1 2A 14 33 91 71 C B C EA 93 A4 DB 6C 3E A9 3A 3C 78 EF 2A 14 F33 91 271 4C DB 6C 3E 93 A4 3C 6C 3E A9 3A 43C 78 EF1 12A 14 F33 91 271 4C DB 6C 3EA A93 A4 3C 78E 3E A9 3A 43C 78 EF 2A 14 F33 91 271 4C DB 6C 3E 93 A4 3C 78 F1 A9 3A 43 78 EF 12A 14 F3 91 27 4C DB 6C 3E A9 A 3C 78 EF 2A 3A 43 C78 EF 12 14 F3 391 27 14C DB 6C 3E A9 3A 43C 78 EF 12A 14 43 C7 EF 12 A1 F3 39 27 14C D 6C 3E A9 3A 43C 78 EF 12A 14 F3 C7 8E 12 A1 4F 39 12 14 D B6 3 A 3A 43 7 EF 12 1 F3 39 8E F1 A1 4F 339 12 714 CD B6 C3 EA 93A 43 C7 8E 12 A1 4F 39 127 F1 2A 4F 33 12 71 CD B C3 EA 93 4 C7 8E F1 A1 4F 339 12 14 2A 14 33 91 71 4C B 6C EA 93 A4 3C 8E F1 2A 4F 33 12 71 CD 14 F33 91 271 4C DB 6C 3E 93 A4 3C 78E F1 2A 14F 33 912 71 4C B F3 91 27 4C DB 6C 3E A9 A 3C 78 F 2A 14 3 91 71 4C DB 6C 39 27 14 D 6 3E A9 3A 43 78 EF 12 14 F3 391 27 4C DB 6C 3E 12 14 CD B6 C3 A 3A 43 C7 E 12 A1 F 39 27 14 D 6 3 A 71 C B C EA 93 4 C 8E F1 A 4F 33 12 14 CD B6 C3 EA 93 4C DB 6C 3E 9 A4 3C 78 F1 2A 14 33 91 71 C B C EA 93 A4 DB 6C 3E A9 3A 3C 78 EF 2A 14 F33 91 271 4C DB 6C 3E 93 A4 3C 6C 3E A9 3A 43C 78 EF1 12A 14 F33 91 271 4C DB 6C 3EA A93 A4 3C 78E 3E A9 3A 43C 78 EF 2A 14 F33 91 271 4C DB 6C 3E 93 A4 3C 78 F1 A9 3A 43 78 EF 12A 14 F3 91 27 4C DB 6C 3E A9 A 3C 78 EF 2 3A 43 C78 EF 12 14 F3 391 27 14C DB 6C 3E A9 3A 43C 78 EF 12A 43 C7 EF 12 A1 F3 39 27 14C D 6C 3E A9 3A 43C 78 EF 12A 1 C7 8E 12 A1 4F 39 12 14 D B6 3 A 3A 43 7 EF 12 1 8E F1 A1 4F 339 12 714 CD B6 C3 EA 93A 43 C7 8E 12 A1 4 F1 2A 4F 33 12 71 CD B C3 EA 93 4 C7 8E F1 A1 4F 2A 14 33 91 71 4C B 6C EA 93 A4 3C 8E F1 2A 4F 3 14 F33 91 271 4C DB 6C 3E 93 A4 3C 78E F1 2A 14F 33 F3 91 27 4C DB 6C 3E A9 A 3C 78 F 2A 14 3 39 27 14 D 6 3E A9 3A 43 78 EF 12 14 F3 391 12 14 CD B6 C3 A 3A 43 C7 E 12 A1 F 39 71 C B C EA 93 4 C 8E F1 A 4F 33 12 4C DB 6C 3E 9 A4 3C 78 F1 2A 14 33 91 DB 6C 3E A9 3A 3C 78 EF 2A 14 F33 91 271 6C 3E A9 3A 43C 78 EF1 12A 14 F33 91 271 3E A9 3A 43C 78 EF 2A 14 F33 91 271 4 A9 3A 43 78 EF 12A 14 F3 91 27 4C 3A 43 C78 EF 12 14 F3 391 27 14C 43 C7 EF 12 A1 F3 39 27 14C D C 8E 1 A 4F 3 12 1

Q.P. Code: 33717

(2 ½ Hours)

N.B.

[Total Marks: 75]

1) All questions are compulsory. 2) Figures to the right indicate marks. 3) Illustrations, in-depth answers and diagrams will be appreciated. 4) Mixing of sub-questions is not allowed.

Q. 1 Attempt All (Each of 5 Marks) (a) Choose the best choice for the following questions: (i) A_____ is a set of rules that govern data communications. a) Protocol b) Message c) sender d) reciever (ii) The_____layer is responsible for moving frames from one hop (node) to the next. a) application b) data link c) network d) presentation (iii) ____ describes the position of the waveform relative to time 0. a) Period b) Time c) Phase d) Frequency (iv) A______ connection provides a dedicated link between two devices. a) Point-to-Point b) Multipoint (v) A digital signal is a composite analog signal with an infinite bandwidth. a) TRUE b) FALSE (15M) (5 M)

(b)

(5M)

Fill in the blanks. Use following pool to answer question.

Pool(Token-passing ,Circuit-switched Analog data, frequency, Packet-switched Digital data,Time, burst, single bit,Polling)

(i)

_____ have discrete states and take discrete values.

(ii)

______ and periods are the inverse of each other.

(iii)

In _____network, there is no resource reservation.

(iv)

A___ error means that 2 or more bits in data unit have changed.

(v)

In the _____ method, the stations in a network are organized in a logical ring.

(c)

Answer the following questions:

(i)

Name the four components use to calculate Latency.

(ii)

Define : Bandwidth.

(iii)

Give the three causes of impairment.

(iv)

List the different line coding schemes.

(v)

What are different types of digital-to-analog conversion?

Page 1 of 2 3A43C78EF12A14F33912714CDB6C3EA9

(5 M)

EF F12 A14 4F3 3391 127 14C CDB B6C C3E EA9 A 1 3 3 F1 12A 14F F33 912 271 4CD DB 6C3 3EA A93 A4 2A 14 33 91 71 4C B 6C EA 93 A4 3C 2A 14 F33 91 271 4C DB 6C 3EA 93 A4 3C 78E 2 F 3 D A1 14F 339 912 714 4CD B6 6C3 EA 93A A43 3C7 78EF F12 7 E 9 3 A C C C 8 1 B 4 1 3 14 F33 91 271 4C DB 6C 3E A93 3A4 43C 78E EF1 12A 14F F3 91 27 4C DB 6C 3E A9 A 3C 78 F 2A 14 3 F3 391 27 14C DB 6C 3E A9 3A 43C 78 EF 12A 14 F3 391 3 1 1 4 33 3912 271 4CD DB 6C3 3EA A93 3A4 3C7 78E EF1 2A1 14F F339 912 2714 91 71 4C B 6C E 93 A4 3C 8E F1 2A 4F 33 12 71 C 91 271 4C DB 6C 3E A93 A4 3C 78E F1 2A 14F 33 912 71 4C DB D 6 A 12 2714 4CD DB6 6C3 3EA 93A A43 3C7 78E F12 2A1 14F 339 9127 714 4CD B6 C3 71 C B C EA 93 4 C 8E F1 A 4F 33 12 14 CD B6 C3 EA 71 4C DB 6C 3EA 93 A4 3C 78E F1 2A 14F 33 912 714 CD B6 C3 EA 93 4C DB 6C 3E 9 A4 3C 78 F1 2A 14 33 91 71 C B C EA 93 A4 DB 6C 3E A9 3A 3C 78 EF 2A 14 F33 91 271 4C DB 6C 3E 93 A4 3C 6C 3E A9 3A 43C 78 EF1 12A 14 F33 91 271 4C DB 6C 3EA A93 A4 3C 78E 3E A9 3A 43C 78 EF 2A 14 F33 91 271 4C DB 6C 3E 93 A4 3C 78 F1 A9 3A 43 78 EF 12A 14 F3 91 27 4C DB 6C 3E A9 A 3C 78 EF 2A 3A 43 C78 EF 12 14 F3 391 27 14C DB 6C 3E A9 3A 43C 78 EF 12A 14 43 C7 EF 12 A1 F3 39 27 14C D 6C 3E A9 3A 43C 78 EF 12A 14 F3 C7 8E 12 A1 4F 39 12 14 D B6 3 A 3A 43 7 EF 12 1 F3 39 8E F1 A1 4F 339 12 714 CD B6 C3 EA 93A 43 C7 8E 12 A1 4F 39 127 F1 2A 4F 33 12 71 CD B C3 EA 93 4 C7 8E F1 A1 4F 339 12 14 2A 14 33 91 71 4C B 6C EA 93 A4 3C 8E F1 2A 4F 33 12 71 CD 14 F33 91 271 4C DB 6C 3E 93 A4 3C 78E F1 2A 14F 33 912 71 4C B F3 91 27 4C DB 6C 3E A9 A 3C 78 F 2A 14 3 91 71 4C DB 6C 39 27 14 D 6 3E A9 3A 43 78 EF 12 14 F3 391 27 4C DB 6C 3E 12 14 CD B6 C3 A 3A 43 C7 E 12 A1 F 39 27 14 D 6 3 A 71 C B C EA 93 4 C 8E F1 A 4F 33 12 14 CD B6 C3 EA 93 4C DB 6C 3E 9 A4 3C 78 F1 2A 14 33 91 71 C B C EA 93 A4 DB 6C 3E A9 3A 3C 78 EF 2A 14 F33 91 271 4C DB 6C 3E 93 A4 3C 6C 3E A9 3A 43C 78 EF1 12A 14 F33 91 271 4C DB 6C 3EA A93 A4 3C 78E 3E A9 3A 43C 78 EF 2A 14 F33 91 271 4C DB 6C 3E 93 A4 3C 78 F1 A9 3A 43 78 EF 12A 14 F3 91 27 4C DB 6C 3E A9 A 3C 78 EF 2A 3A 43 C78 EF 12 14 F3 391 27 14C DB 6C 3E A9 3A 43C 78 EF 12A 14 43 C7 EF 12 A1 F3 39 27 14C D 6C 3E A9 3A 43C 78 EF 12A 14 F3 C7 8E 12 A1 4F 39 12 14 D B6 3 A 3A 43 7 EF 12 1 F3 39 8E F1 A1 4F 339 12 714 CD B6 C3 EA 93A 43 C7 8E 12 A1 4F 39 127 F1 2A 4F 33 12 71 CD B C3 EA 93 4 C7 8E F1 A1 4F 339 12 14 2A 14 33 91 71 4C B 6C EA 93 A4 3C 8E F1 2A 4F 33 12 71 CD 14 F33 91 271 4C DB 6C 3E 93 A4 3C 78E F1 2A 14F 33 912 71 4C B F3 91 27 4C DB 6C 3E A9 A 3C 78 F 2A 14 3 91 71 4C DB 6C 39 27 14 D 6 3E A9 3A 43 78 EF 12 14 F3 391 27 4C DB 6C 3E 12 14 CD B6 C3 A 3A 43 C7 E 12 A1 F 39 27 14 D 6 3 A 71 C B C EA 93 4 C 8E F1 A 4F 33 12 14 CD B6 C3 EA 93 4C DB 6C 3E 9 A4 3C 78 F1 2A 14 33 91 71 C B C EA 93 A4 DB 6C 3E A9 3A 3C 78 EF 2A 14 F33 91 271 4C DB 6C 3E 93 A4 3C 6C 3E A9 3A 43C 78 EF1 12A 14 F33 91 271 4C DB 6C 3EA A93 A4 3C 78E 3E A9 3A 43C 78 EF 2A 14 F33 91 271 4C DB 6C 3E 93 A4 3C 78 F1 A9 3A 43 78 EF 12A 14 F3 91 27 4C DB 6C 3E A9 A 3C 78 EF 2A 3A 43 C78 EF 12 14 F3 391 27 14C DB 6C 3E A9 3A 43C 78 EF 12A 14 43 C7 EF 12 A1 F3 39 27 14C D 6C 3E A9 3A 43C 78 EF 12A 14 F3 C7 8E 12 A1 4F 39 12 14 D B6 3 A 3A 43 7 EF 12 1 F3 39 8E F1 A1 4F 339 12 714 CD B6 C3 EA 93A 43 C7 8E 12 A1 4F 39 127 F1 2A 4F 33 12 71 CD B C3 EA 93 4 C7 8E F1 A1 4F 339 12 14 2A 14 33 91 71 4C B 6C EA 93 A4 3C 8E F1 2A 4F 33 12 71 CD 14 F33 91 271 4C DB 6C 3E 93 A4 3C 78E F1 2A 14F 33 912 71 4C B F3 91 27 4C DB 6C 3E A9 A 3C 78 F 2A 14 3 91 71 4C DB 6C 39 27 14 D 6 3E A9 3A 43 78 EF 12 14 F3 391 27 4C DB 6C 3E 12 14 CD B6 C3 A 3A 43 C7 E 12 A1 F 39 27 14 D 6 3 A 71 C B C EA 93 4 C 8E F1 A 4F 33 12 14 CD B6 C3 EA 93 4C DB 6C 3E 9 A4 3C 78 F1 2A 14 33 91 71 C B C EA 93 A4 DB 6C 3E A9 3A 3C 78 EF 2A 14 F33 91 271 4C DB 6C 3E 93 A4 3C 6C 3E A9 3A 43C 78 EF1 12A 14 F33 91 271 4C DB 6C 3EA A93 A4 3C 78E 3E A9 3A 43C 78 EF 2A 14 F33 91 271 4C DB 6C 3E 93 A4 3C 78 F1 A9 3A 43 78 EF 12A 14 F3 91 27 4C DB 6C 3E A9 A 3C 78 EF 2 3A 43 C78 EF 12 14 F3 391 27 14C DB 6C 3E A9 3A 43C 78 EF 12A 43 C7 EF 12 A1 F3 39 27 14C D 6C 3E A9 3A 43C 78 EF 12A 1 C7 8E 12 A1 4F 39 12 14 D B6 3 A 3A 43 7 EF 12 1 8E F1 A1 4F 339 12 714 CD B6 C3 EA 93A 43 C7 8E 12 A1 4 F1 2A 4F 33 12 71 CD B C3 EA 93 4 C7 8E F1 A1 4F 2A 14 33 91 71 4C B 6C EA 93 A4 3C 8E F1 2A 4F 3 14 F33 91 271 4C DB 6C 3E 93 A4 3C 78E F1 2A 14F 33 F3 91 27 4C DB 6C 3E A9 A 3C 78 F 2A 14 3 39 27 14 D 6 3E A9 3A 43 78 EF 12 14 F3 391 12 14 CD B6 C3 A 3A 43 C7 E 12 A1 F 39 71 C B C EA 93 4 C 8E F1 A 4F 33 12 4C DB 6C 3E 9 A4 3C 78 F1 2A 14 33 91 DB 6C 3E A9 3A 3C 78 EF 2A 14 F33 91 271 6C 3E A9 3A 43C 78 EF1 12A 14 F33 91 271 3E A9 3A 43C 78 EF 2A 14 F33 91 271 4 A9 3A 43 78 EF 12A 14 F3 91 27 4C 3A 43 C78 EF 12 14 F3 391 27 14C 43 C7 EF 12 A1 F3 39 27 14C D C 8E 1 A 4F 3 12 1

Q.P. Code: 33717

Q. 2 (a) (b) (c) (d) (e) (f)

Q. 4 (a) (b) (c) (d)

(e) (f)

Attempt the following (Any THREE) (15M) Discuss the task performed by physical layer, in detail. The period of a signal is 100ms , what is its frequency in kilohertz? Discuss in detail TCP/IP protocol suite with neat labelled diagram Explain FDM process with neat labelled diagram. Write a short note on FHSS. If a periodic signal is decomposed into five sine waves with frequencies of 110, 310, 510, 710, 910 and 1100 Hz, what is its bandwidth? Draw the spectrum, assuming all components have a maximum amplitude of 10 V.

Q. 3 Attempt the following (Any THREE) (15M) (a) Differentiate between analog signals and digital signals (b) Represent the following digital data in the form of digital signals using the given scheme, assuming that the last signal level has been positive. 1. 00110010 - NRZ 2. 10110101- psudoternary (c) Discuss the physical characteristics of twisted pair cable with neat labelled diagram. List connectors of twisted pair cable. (d) Write a short note on Direct Sequence Spread Spectrum. (e) List types of analog-to-analog conversion techniques. Explain Amplitude modulation in detail. (f) How address resolution protocol works? Discuss ARP Request and ARP response. Attempt the following (Any THREE) (15) Discuss CSMA. Give the flow diagram for CSMA/CD. What are connecting devices? Explain the working of Router. Discuss the Distance Vector Routing algorithm with an example What do you mean by socket address? Discuss the process of encapsulation and decapsulation. How connectionless and connection-oriented protocol works? Rewrite the following IP addresses using binary notation and find class of it. 1. 192.168.2.34 2. 245.132.45.123

Q. 5 (a) (b) (c)

Attempt the following (Any THREE) What are five components of a data communications system. List and explain five line coding schemes. Define controlled access. List and explain three protocols in this category.

(d) (e)

What are different categories of network? Explain any two in details. What is a mask in IPv4 addressing? What is a default mask in IPv4 addressing? ______________________________________________________________________

Page 2 of 2 3A43C78EF12A14F33912714CDB6C3EA9

(15)

2E E24D DA 4B 527 735B B0E EEA A7F FB5 84D 8 4 5 E2 24D A4 B5 273 35B 0EE EA7 7FB B58 4D 95E 4D A4 B5 273 5B 0E A FB 58 4D 95E 53 4D A4 B5 273 5B 0E EA 7FB 58 4D 95E 53 DD E 7 DA A4B B52 2735 5B0 0EE A7 FB 584 4D9 95E 53D DD2 2E2 F 5 D 5 5 7 A E E 4 B 5 4 3 A4 B5 273 5B 0E EA 7FB B58 84D 95E E53 3DD D2E 24D DA 4 E 7 2 9 2 D 4 0 B 2 5 5 5 4B 52 735 B0 EE A7F FB5 84 D9 5E5 3D D2 E2 4DA A4B B52 52 735 B0 EE A7 B 84 D9 5E5 3D D2 E2 4D 4 52 73 52 735 B0 EE A7 FB 584 D9 5E5 3D D2 E2 4D A4 B52 73 5B0 A B 5 F 5 27 735B B0E EEA A7F B5 84D D95 5E53 3DD D2E E24 4DA 4B 527 735 B0E EEA 35 0 EA 7F B5 84 95 E5 D 2 24 DA 4B 52 35 B0 E 7 35 B0 EEA 7F B5 84 D95 E5 3D D2 E24 DA 4B 52 735 B0 EE A7 FB D E F 5 E 5B B0E EA 7FB B58 84D 95E E53 3DD D2E 24D DA 4B5 527 735B B0E EEA A7F B5 84D 0E EA 7F 58 4D 95 53 DD 2E 24 A 4B 27 35 0E EA 7F B5 84D 95 EA 7F B5 4D 95 E5 D 2E 24 DA 4B 52 35 B0 E 7F B5 84 95 E5 7F B5 84D 95 E5 3DD D2E 24 DA 4B 527 735 B0 EEA A7F B5 84 D95 E5 3D B5 84 95 E5 3D 2 24 DA 4B 52 35 B0 EE 7 B 84 D9 E 3D D2 84 D9 E5 3D D2 E2 D 4B 52 73 B0 EE A7 FB 584 D9 5E 53D D2 E2 D9 5E 3D D E2 4D A4 5 73 5B E A FB 58 D 5E 53 D E 4D 5E 53D D 2E2 4D A4 B5 273 5B 0E EA 7FB 58 4D 95E 53 DD 2E 24D A 53 D 2E 4D A B5 27 5B 0E EA 7F 58 4D 95 53 DD 2E 24 A 4B DD 2E 24 A 4B 27 35 0E EA 7F B5 4D 95 E5 D 2 24 DA 4B 52 2E 24D DA 4B 527 35B B0E EA 7F B5 84D 95 E5 3DD D2E E24 DA 4B 527 735 24 A 4B 527 35 0E EA 7F B5 84D 95 E5 3D 2 24 DA 4B 52 35 B0 DA 4B 52 35 B0 E 7 B 84 9 E 3D D2 E2 D 4 52 73 B0 EE 4B 52 735 B0 EE A7F FB5 584 D9 5E5 53D D2 E2 4DA A4B B52 735 5B0 EE A7 52 735 B0 EE A7 B 84 D9 5E5 3D D2 E2 4D 4 52 73 B0 EE A7 FB 73 B EE A7 FB 58 D9 5E 3D D E2 4D A4 B5 73 5B E A FB 58 5B 0E A FB 58 4D 5E 53 D 2E 4D A B5 27 5B 0E EA 7F 5 4D 0E EA 7F 58 4D 95 53 DD 2E 24 A 4B 27 35 0E EA 7F B5 84D 95 EA 7F B5 4D 95 E5 D 2E 24 DA 4B 52 35 B0 E 7F B5 84 95 E5 7F B5 84D 95 E5 3DD D2E 24 DA 4B 527 735 B0 EEA A7F B5 84 D95 E5 3D B5 84 95 E5 3D 2 24 DA 4B 52 35 B0 EE 7 B 84 D9 E 3D D2 84 D9 E5 3D D2 E2 D 4B 52 73 B0 EE A7 FB 584 D9 5E 53D D2 E2 D9 5E 3D D E2 4D A4 5 73 5B E A FB 58 D 5E 53 D E 4D 5E 53D D 2E2 4D A4 B5 273 5B 0E EA 7FB 58 4D 95E 53 DD 2E 24D A 53 D 2E 4D A B5 27 5B 0E EA 7F 58 4D 95 53 DD 2E 24 A 4B DD 2E 24 A 4B 27 35 0E EA 7F B5 4D 95 E5 D 2 24 DA 4B 52 2E 24D DA 4B 527 35B B0E EA 7F B5 84D 95 E5 3DD D2E E24 DA 4B 527 735 24 A 4B 527 35 0E EA 7F B5 84D 95 E5 3D 2 24 DA 4B 52 35 B0 DA 4B 52 35 B0 E 7 B 84 9 E 3D D2 E2 D 4 52 73 B0 EE 4B 52 735 B0 EE A7F FB5 584 D9 5E5 53D D2 E2 4DA A4B B52 735 5B0 EE A7 52 735 B0 EE A7 B 84 D9 5E5 3D D2 E2 4D 4 52 73 B0 EE A7 FB 73 B EE A7 FB 58 D9 5E 3D D E2 4D A4 B5 73 5B E A FB 58 5B 0E A FB 58 4D 5E 53 D 2E 4D A B5 27 5B 0E EA 7F 5 4D 0E EA 7F 58 4D 95 53 DD 2E 24 A 4B 27 35 0E EA 7F B5 84D 95 EA 7F B5 4D 95 E5 D 2E 24 DA 4B 52 35 B0 E 7F B5 84 95 E5 7F B5 84D 95 E5 3DD D2E 24 DA 4B 527 735 B0 EEA A7F B5 84 D95 E5 3D B5 84 95 E5 3D 2 24 DA 4B 52 35 B0 EE 7 B 84 D9 E 3D D2 84 D9 E5 3D D2 E2 D 4B 52 73 B0 EE A7 FB 584 D9 5E 53D D2 E2 D9 5E 3D D E2 4D A4 5 73 5B E A FB 58 D 5E 53 D E 4D 5E 53D D 2E2 4D A4 B5 273 5B 0E EA 7FB 58 4D 95E 53 DD 2E 24D A 53 D 2E 4D A B5 27 5B 0E EA 7F 58 4D 95 53 DD 2E 24 A 4B DD 2E 24 A 4B 27 35 0E EA 7F B5 4D 95 E5 D 2 24 DA 4B 52 2E 24D DA 4B 527 35B B0E EA 7F B5 84D 95 E5 3DD D2E E24 DA 4B 527 735 24 A 4B 527 35 0E EA 7F B5 84D 95 E5 3D 2 24 DA 4B 52 35 B0 DA 4B 52 35 B0 E 7 B 84 9 E 3D D2 E2 D 4 52 73 B0 EE 4B 52 735 B0 EE A7F FB5 584 D9 5E5 53D D2 E2 4DA A4B B52 735 5B0 EE A7 52 735 B0 EE A7 B 84 D9 5E5 3D D2 E2 4D 4 52 73 B0 EE A7 FB 73 B EE A7 FB 58 D9 5E 3D D E2 4D A4 B5 73 5B E A FB 58 5B 0E A FB 58 4D 5E 53 D 2E 4D A B5 27 5B 0E EA 7F 5 4D 0E EA 7F 58 4D 95 53 DD 2E 24 A 4B 27 35 0E EA 7F B5 84D 95 EA 7F B5 4D 95 E5 D 2E 24 DA 4B 52 35 B0 E 7F B5 84 95 E5 7F B5 84D 95 E5 3DD D2E 24 DA 4B 527 735 B0 EEA A7F B5 84 D95 E5 3D B5 84 95 E5 3D 2 24 DA 4B 52 35 B0 EE 7 B 84 D9 E 3D D 84 D9 E5 3D D2 E2 D 4B 52 73 B0 EE A7 FB 584 D9 5E 53D D2 D9 5E 3D D E2 4D A4 5 73 5B E A FB 58 D 5E 53 D E 5E 53D D 2E2 4D A4 B5 273 5B 0E EA 7FB 58 4D 95E 53 DD 2E 53 D 2E 4D A B5 27 5B 0E EA 7F 58 4D 95 53 DD 2E 2 DD 2E 24 A 4B 27 35 0E EA 7F B5 4D 95 E5 D 2 24 2E 24D DA 4B 527 35B B0E EA 7F B5 84D 95 E5 3DD D2E E24 24 A 4B 527 35 0E EA 7F B5 84D 95 E5 3D 2 24 D DA 4B 52 35 B0 E 7 B 84 9 E 3D D2 E2 D 4B 52 735 B0 EE A7F FB5 584 D9 5E5 53D D2 E2 4DA A4 52 735 B0 EE A7 B 84 D9 5E5 3D D2 E2 4D 4 73 B EE A7 FB 58 D9 5E 3D D E2 4D A4 B 5B 0E A FB 58 4D 5E 53 D 2E 4D A B5 0E EA 7F 58 4D 95 53 DD 2E 24 A 4B 2 EA 7F B5 4D 95 E5 D 2E 24 DA 4B 52 7F B5 84D 95 E5 3DD D2E 24 DA 4B 527 7 B5 84 95 E5 3D 2 24 DA 4B 52 35 84 D9 E5 3D D2 E2 D 4B 52 73 D9 5E 3D D E2 4D A4 5 73 5B 2 4 A B 2 5 5 5

Q. P. Code: 36926

(2 ½ Hours)

N.B.

Q. 1 (a)

a. b. c. d.

(b)

[Total Marks: 75]

1) All questions are compulsory. 2) Figures to the right indicate marks. 3) Illustrations, in-depth answers and diagrams will be appreciated. 4) Mixing of sub-questions is not allowed. Attempt All (Each of 5Marks)

Multiple Choice Questions : 1. Diagrams which are used to distribute files, libraries and tables across topology of hardware are called

a. Deployment diagrams b. use case diagrams c. sequence diagrams d. collaboration diagrams 2. The UML supports event-based modeling using ____________ diagrams Deployment Collaboration State chart All of the mentioned

3. The ……………… model stipulates that the requirements be completely specified before the rest of the development can processed. a. Waterfall b. Rapid Application Development (RAD) c. Iterative Development d. Incremental Development

4. Project Risk factor is considered in which model? a. Spiral model b. Waterfall model c. Prototyping model d. None of the above 5. Test Conditions are derived from a. Test Design b. Test Cases c. Test Data d. Specifications

Fill in the blanks: 1. ISO stands for .................................. 2. SRS stands for ................................. 3. SQA stands for ................................. 4. COCOMO stands for ....................... 5. CMM stands for ................................. Page 1 of 2

4D95E53DD2E24DA4B52735B0EEA7FB58

(15M)

2E E24D DA 4B 527 735B B0E EEA A7F FB5 84D 8 4 5 E2 24D A4 B5 273 35B 0EE EA7 7FB B58 4D 95E 4D A4 B5 273 5B 0E A FB 58 4D 95E 53 4D A4 B5 273 5B 0E EA 7FB 58 4D 95E 53 DD E 7 DA A4B B52 2735 5B0 0EE A7 FB 584 4D9 95E 53D DD2 2E2 F 5 D 5 5 7 A E E 4 B 5 4 3 A4 B5 273 5B 0E EA 7FB B58 84D 95E E53 3DD D2E 24D DA 4 E 7 2 9 2 D 4 0 B 2 5 5 5 4B 52 735 B0 EE A7F FB5 84 D9 5E5 3D D2 E2 4DA A4B B52 52 735 B0 EE A7 B 84 D9 5E5 3D D2 E2 4D 4 52 73 52 735 B0 EE A7 FB 584 D9 5E5 3D D2 E2 4D A4 B52 73 5B0 A B 5 F 5 27 735B B0E EEA A7F B5 84D D95 5E53 3DD D2E E24 4DA 4B 527 735 B0E EEA 35 0 EA 7F B5 84 95 E5 D 2 24 DA 4B 52 35 B0 E 7 35 B0 EEA 7F B5 84 D95 E5 3D D2 E24 DA 4B 52 735 B0 EE A7 FB D E F 5 E 5B B0E EA 7FB B58 84D 95E E53 3DD D2E 24D DA 4B5 527 735B B0E EEA A7F B5 84D 0E EA 7F 58 4D 95 53 DD 2E 24 A 4B 27 35 0E EA 7F B5 84D 95 EA 7F B5 4D 95 E5 D 2E 24 DA 4B 52 35 B0 E 7F B5 84 95 E5 7F B5 84D 95 E5 3DD D2E 24 DA 4B 527 735 B0 EEA A7F B5 84 D95 E5 3D B5 84 95 E5 3D 2 24 DA 4B 52 35 B0 EE 7 B 84 D9 E 3D D2 84 D9 E5 3D D2 E2 D 4B 52 73 B0 EE A7 FB 584 D9 5E 53D D2 E2 D9 5E 3D D E2 4D A4 5 73 5B E A FB 58 D 5E 53 D E 4D 5E 53D D 2E2 4D A4 B5 273 5B 0E EA 7FB 58 4D 95E 53 DD 2E 24D A 53 D 2E 4D A B5 27 5B 0E EA 7F 58 4D 95 53 DD 2E 24 A 4B DD 2E 24 A 4B 27 35 0E EA 7F B5 4D 95 E5 D 2 24 DA 4B 52 2E 24D DA 4B 527 35B B0E EA 7F B5 84D 95 E5 3DD D2E E24 DA 4B 527 735 24 A 4B 527 35 0E EA 7F B5 84D 95 E5 3D 2 24 DA 4B 52 35 B0 DA 4B 52 35 B0 E 7 B 84 9 E 3D D2 E2 D 4 52 73 B0 EE 4B 52 735 B0 EE A7F FB5 584 D9 5E5 53D D2 E2 4DA A4B B52 735 5B0 EE A7 52 735 B0 EE A7 B 84 D9 5E5 3D D2 E2 4D 4 52 73 B0 EE A7 FB 73 B EE A7 FB 58 D9 5E 3D D E2 4D A4 B5 73 5B E A FB 58 5B 0E A FB 58 4D 5E 53 D 2E 4D A B5 27 5B 0E EA 7F 5 4D 0E EA 7F 58 4D 95 53 DD 2E 24 A 4B 27 35 0E EA 7F B5 84D 95 EA 7F B5 4D 95 E5 D 2E 24 DA 4B 52 35 B0 E 7F B5 84 95 E5 7F B5 84D 95 E5 3DD D2E 24 DA 4B 527 735 B0 EEA A7F B5 84 D95 E5 3D B5 84 95 E5 3D 2 24 DA 4B 52 35 B0 EE 7 B 84 D9 E 3D D2 84 D9 E5 3D D2 E2 D 4B 52 73 B0 EE A7 FB 584 D9 5E 53D D2 E2 D9 5E 3D D E2 4D A4 5 73 5B E A FB 58 D 5E 53 D E 4D 5E 53D D 2E2 4D A4 B5 273 5B 0E EA 7FB 58 4D 95E 53 DD 2E 24D A 53 D 2E 4D A B5 27 5B 0E EA 7F 58 4D 95 53 DD 2E 24 A 4B DD 2E 24 A 4B 27 35 0E EA 7F B5 4D 95 E5 D 2 24 DA 4B 52 2E 24D DA 4B 527 35B B0E EA 7F B5 84D 95 E5 3DD D2E E24 DA 4B 527 735 24 A 4B 527 35 0E EA 7F B5 84D 95 E5 3D 2 24 DA 4B 52 35 B0 DA 4B 52 35 B0 E 7 B 84 9 E 3D D2 E2 D 4 52 73 B0 EE 4B 52 735 B0 EE A7F FB5 584 D9 5E5 53D D2 E2 4DA A4B B52 735 5B0 EE A7 52 735 B0 EE A7 B 84 D9 5E5 3D D2 E2 4D 4 52 73 B0 EE A7 FB 73 B EE A7 FB 58 D9 5E 3D D E2 4D A4 B5 73 5B E A FB 58 5B 0E A FB 58 4D 5E 53 D 2E 4D A B5 27 5B 0E EA 7F 5 4D 0E EA 7F 58 4D 95 53 DD 2E 24 A 4B 27 35 0E EA 7F B5 84D 95 EA 7F B5 4D 95 E5 D 2E 24 DA 4B 52 35 B0 E 7F B5 84 95 E5 7F B5 84D 95 E5 3DD D2E 24 DA 4B 527 735 B0 EEA A7F B5 84 D95 E5 3D B5 84 95 E5 3D 2 24 DA 4B 52 35 B0 EE 7 B 84 D9 E 3D D2 84 D9 E5 3D D2 E2 D 4B 52 73 B0 EE A7 FB 584 D9 5E 53D D2 E2 D9 5E 3D D E2 4D A4 5 73 5B E A FB 58 D 5E 53 D E 4D 5E 53D D 2E2 4D A4 B5 273 5B 0E EA 7FB 58 4D 95E 53 DD 2E 24D A 53 D 2E 4D A B5 27 5B 0E EA 7F 58 4D 95 53 DD 2E 24 A 4B DD 2E 24 A 4B 27 35 0E EA 7F B5 4D 95 E5 D 2 24 DA 4B 52 2E 24D DA 4B 527 35B B0E EA 7F B5 84D 95 E5 3DD D2E E24 DA 4B 527 735 24 A 4B 527 35 0E EA 7F B5 84D 95 E5 3D 2 24 DA 4B 52 35 B0 DA 4B 52 35 B0 E 7 B 84 9 E 3D D2 E2 D 4 52 73 B0 EE 4B 52 735 B0 EE A7F FB5 584 D9 5E5 53D D2 E2 4DA A4B B52 735 5B0 EE A7 52 735 B0 EE A7 B 84 D9 5E5 3D D2 E2 4D 4 52 73 B0 EE A7 FB 73 B EE A7 FB 58 D9 5E 3D D E2 4D A4 B5 73 5B E A FB 58 5B 0E A FB 58 4D 5E 53 D 2E 4D A B5 27 5B 0E EA 7F 5 4D 0E EA 7F 58 4D 95 53 DD 2E 24 A 4B 27 35 0E EA 7F B5 84D 95 EA 7F B5 4D 95 E5 D 2E 24 DA 4B 52 35 B0 E 7F B5 84 95 E5 7F B5 84D 95 E5 3DD D2E 24 DA 4B 527 735 B0 EEA A7F B5 84 D95 E5 3D B5 84 95 E5 3D 2 24 DA 4B 52 35 B0 EE 7 B 84 D9 E 3D D 84 D9 E5 3D D2 E2 D 4B 52 73 B0 EE A7 FB 584 D9 5E 53D D2 D9 5E 3D D E2 4D A4 5 73 5B E A FB 58 D 5E 53 D E 5E 53D D 2E2 4D A4 B5 273 5B 0E EA 7FB 58 4D 95E 53 DD 2E 53 D 2E 4D A B5 27 5B 0E EA 7F 58 4D 95 53 DD 2E 2 DD 2E 24 A 4B 27 35 0E EA 7F B5 4D 95 E5 D 2 24 2E 24D DA 4B 527 35B B0E EA 7F B5 84D 95 E5 3DD D2E E24 24 A 4B 527 35 0E EA 7F B5 84D 95 E5 3D 2 24 D DA 4B 52 35 B0 E 7 B 84 9 E 3D D2 E2 D 4B 52 735 B0 EE A7F FB5 584 D9 5E5 53D D2 E2 4DA A4 52 735 B0 EE A7 B 84 D9 5E5 3D D2 E2 4D 4 73 B EE A7 FB 58 D9 5E 3D D E2 4D A4 B 5B 0E A FB 58 4D 5E 53 D 2E 4D A B5 0E EA 7F 58 4D 95 53 DD 2E 24 A 4B 2 EA 7F B5 4D 95 E5 D 2E 24 DA 4B 52 7F B5 84D 95 E5 3DD D2E 24 DA 4B 527 7 B5 84 95 E5 3D 2 24 DA 4B 52 35 84 D9 E5 3D D2 E2 D 4B 52 73 D9 5E 3D D E2 4D A4 5 73 5B 2 4 A B 2 5 5 5

Q. P. Code: 36926

(c)

Answer in 1 – 2 lines 1. What is software re-engineering? 2. Define uml in software engineering? 3. What is software metrics? 4. What is software quality in software engineering? 5. What is verification and validation?

Q. 2 (a) (b) (c) (d) (e) (f)

Attempt the following (Any THREE)

Q. 3 (a) (b) (c) (d) (e)

Attempt the following (Any THREE)

(f)

Q. 4 (a) (b) (c) (d) (e) (f)

Attempt the following (Any THREE) Define Test Case, Test Oracle, Test Plan

Q. 5 (a) (b) (c) (d) (e)

Attempt the following (Any THREE)

State all and write down a short note on any 3 fact finding techniques. What is coupling and cohesion? Explain Verification and Validation. Define and explain ISO Quality Standards. What is Cyclomatic complexity? Explain with an example.

*******************************************

Page 2 of 2

4D95E53DD2E24DA4B52735B0EEA7FB58

(15M)

State and explain the activities in SDLC. Draw use case diagram for Car Rental System. What is SRS? State and explain its types What is component diagram? Draw and explain symbols for the same Explain Agility and write its advantages and disadvantages. How to draw and where to use Deployment diagram. (15M)

State the disadvantages of LOC. How is it different from COCOMO? Explain Software user interface design. Write the scope of software metrics. Explain software design specification. Explain Project Scheduling. Explain Empirical Estimation model. (15)

What are the errors found while doing Black Box Testing? What is Risk management? Explain Software risk management process. What is Quality Assurance? What are Quality Assurance Criteria.

What is Structural testing? Write its advantages and disadvantages. Explain Capability Maturity Model.

(15)

7 8 68 043 3152 2107 707AA16 6756 6062 2CDD27 5E1 5 0 80 431 1521 1070 07A 167 7560 062C CD2 275 E19 9FD E 6 4 04 315 5210 0707 7A1 1675 5606 62C D27 75E 19F FD6 804 31 21 70 A 67 60 2C D2 5E 19 D6 80 31 31 521 070 7A 167 560 62C D2 75E 19 FD6 80 431 521 4 5 1 F 5 15 210 0707 7A1 675 5606 62C D27 75E 19F D68 804 315 210 0707 21 70 A 67 60 2C D2 5E 19 D6 04 31 21 70 A 52 07 7A 16 56 62 D 75 1 FD 80 3 52 07 7A 16 10 0 1 75 0 C 2 E 9F 6 4 15 10 0 1 75 10 707 7A1 675 606 62CDD27 75E1 19F D68 8043 315 210 707 7A1 675 606 6 6 6 6 2 7 D 7 07 07AA16 756 062 2CD 275 5E19 9FD 680 0431 152 107 07AA16 756 062 2CD 07 16 75 06 CD 27 E1 F 68 43 52 10 07 16 75 06 CD 27 07 A16 75 606 2CD 27 5E1 9F D68 043 152 10 707 A16 75 606 2CD 27 5E1 D 6 2 6 2 7 A A 5 7A 167 756 062 CD 275 E19 9FD 680 0431 1521 107 07A 167 756 062 CD 275 5E19 9FD 16 56 062 CD 275 E1 FD 68 43 52 07 07A 16 56 062 CD 275 E1 FD 68 75 06 CD 27 E1 9F 68 04 15 10 07 1 75 06 C 27 E 9F 68 04 60 2C 2 5E 9F D6 04 31 21 70 A1 67 60 2C D2 5E 19 D6 04 31 62 D 75 19 D 80 31 52 07 7A 67 56 62 D 75 19 FD 80 31 52 CD 27 E1 FD 68 43 52 10 07 16 56 06 CD 27 E1 FD 68 43 52 10 27 5E1 9FD 68 043 152 10 707 A16 75 06 2CD 27 5E1 9F 68 043 152 10 707 5E 9F 6 04 15 10 70 A1 75 60 2C 2 5E 9F D6 04 15 10 70 A1 19 D6 80 31 21 70 7A 67 60 62C D2 75E 19 D 80 31 21 70 7A 67 FD 80 43 52 07 7A 16 56 62 D 75 1 FD 68 43 52 07 7A 16 56 68 43 152 107 07A 16 756 062 CD 27 E1 9FD 68 043 152 107 07 16 756 062 04 15 10 07 1 75 06 C 27 5E 9F 6 04 15 10 07 A1 75 06 C 31 21 70 A 67 60 2C D2 5E 19 D6 80 31 21 70 A 67 60 2C D2 52 07 7A 16 56 62 D 75 1 FD 80 43 52 07 7A 16 56 62 D 75 10 07 1 75 06 CD 27 E1 9F 68 43 15 10 07 1 75 06 CD 27 E1 70 A1 67 60 2C 2 5E 9F D6 04 15 21 70 A1 67 60 2C 2 5E 9F 7A 67 56 62 D 75 19 D 80 31 21 07 7A 67 56 62 D 75 19 D 16 56 062 CD 275 E1 FD 68 43 52 07 07A 16 56 062 CD 275 E1 FD 68 75 06 CD 27 E1 9F 68 04 15 10 07 1 75 06 C 27 E 9F 68 04 60 2C 2 5E 9F D6 04 31 21 70 A1 67 60 2C D2 5E 19 D6 04 31 62 D 75 19 D 80 31 52 07 7A 67 56 62 D 75 19 FD 80 31 52 CD 27 E1 FD 68 43 52 10 07 16 56 06 CD 27 E1 FD 68 43 52 10 27 5E1 9FD 68 043 152 10 707 A16 75 06 2CD 27 5E1 9F 68 043 152 10 707 5E 9F 6 04 15 10 70 A1 75 60 2C 2 5E 9F D6 04 15 10 70 A1 19 D6 80 31 21 70 7A 67 60 62C D2 75E 19 D 80 31 21 70 7A 67 FD 80 43 52 07 7A 16 56 62 D 75 1 FD 68 43 52 07 7A 16 56 68 43 152 107 07A 16 756 062 CD 27 E1 9FD 68 043 152 107 07 16 756 062 04 15 10 07 1 75 06 C 27 5E 9F 6 04 15 10 07 A1 75 06 C 31 21 70 A 67 60 2C D2 5E 19 D6 80 31 21 70 A 67 60 2C D2 52 07 7A 16 56 62 D 75 1 FD 80 43 52 07 7A 16 56 62 D 75 10 07 1 75 06 CD 27 E1 9F 68 43 15 10 07 1 75 06 CD 27 E1 70 A1 67 60 2C 2 5E 9F D6 04 15 21 70 A1 67 60 2C 2 5E 9F 7A 67 56 62 D 75 19 D 80 31 21 07 7A 67 56 62 D 75 19 D 16 56 062 CD 275 E1 FD 68 43 52 07 07A 16 56 062 CD 275 E1 FD 68 75 06 CD 27 E1 9F 68 04 15 10 07 1 75 06 C 27 E 9F 68 04 60 2C 2 5E 9F D6 04 31 21 70 A1 67 60 2C D2 5E 19 D6 04 31 62 D 75 19 D 80 31 52 07 7A 67 56 62 D 75 19 FD 80 31 52 CD 27 E1 FD 68 43 52 10 07 16 56 06 CD 27 E1 FD 68 43 52 10 27 5E1 9FD 68 043 152 10 707 A16 75 06 2CD 27 5E1 9F 68 043 152 10 707 5E 9F 6 04 15 10 70 A1 75 60 2C 2 5E 9F D6 04 15 10 70 A1 19 D6 80 31 21 70 7A 67 60 62C D2 75E 19 D 80 31 21 70 7A 67 FD 80 43 52 07 7A 16 56 62 D 75 1 FD 68 43 52 07 7A 16 56 68 43 152 107 07A 16 756 062 CD 27 E1 9FD 68 043 152 107 07 16 756 062 04 15 10 07 1 75 06 C 27 5E 9F 6 04 15 10 07 A1 75 06 C 31 21 70 A 67 60 2C D2 5E 19 D6 80 31 21 70 A 67 60 2C D2 52 07 7A 16 56 62 D 75 1 FD 80 43 52 07 7A 16 56 62 D 75 10 07 1 75 06 CD 27 E1 9F 68 43 15 10 07 1 75 06 CD 27 E1 70 A1 67 60 2C 2 5E 9F D6 04 15 21 70 A1 67 60 2C 2 5E 9F 7A 67 56 62 D 75 19 D 80 31 21 07 7A 67 56 62 D 75 19 D 16 56 062 CD 275 E1 FD 68 43 52 07 07A 16 56 062 CD 275 E1 FD 68 75 06 CD 27 E1 9F 68 04 15 10 07 1 75 06 C 27 E 9F 68 04 60 2C 2 5E 9F D6 04 31 21 70 A1 67 60 2C D2 5E 19 D6 04 31 62 D 75 19 D 80 31 52 07 7A 67 56 62 D 75 19 FD 80 31 52 CD 27 E1 FD 68 43 52 10 07 16 56 06 CD 27 E1 FD 68 43 52 10 27 5E1 9FD 68 043 152 10 707 A16 75 06 2CD 27 5E1 9F 68 043 152 10 707 5E 9F 6 04 15 10 70 A1 75 60 2C 2 5E 9F D6 04 15 10 70 A1 19 D6 80 31 21 70 7A 67 60 62C D2 75E 19 D 80 31 21 70 7A 67 FD 80 43 52 07 7A 16 56 62 D 75 1 FD 68 43 52 07 7A 16 56 68 43 152 107 07A 16 756 062 CD 27 E1 9FD 68 043 152 107 07 16 756 0 04 15 10 07 1 75 06 C 27 5E 9F 6 04 15 10 07 A1 75 06 31 21 70 A 67 60 2C D2 5E 19 D6 80 31 21 70 A 67 60 52 07 7A 16 56 62 D 75 1 FD 80 43 52 07 7A 16 56 62 10 07 1 75 06 CD 27 E1 9F 68 43 15 10 07 1 75 06 C 70 A1 67 60 2C 2 5E 9F D6 04 15 21 70 A1 67 60 2C 7A 67 56 62 D 75 19 D 80 31 21 07 7A 67 56 62 16 56 062 CD 275 E1 FD 68 43 52 07 07A 16 56 062 CD 75 06 CD 27 E1 9F 68 04 15 10 07 1 75 06 C 2 60 2C 2 5E 9F D6 04 31 21 70 A1 67 60 2C D2 62 D 75 19 D 80 31 52 07 7A 67 56 62 D 7 CD 27 E1 FD 68 43 52 10 07 16 56 06 CD 27 27 5E1 9FD 68 043 152 10 707 A16 75 06 2CD 27 5E 5E 9F 6 04 15 10 70 A1 75 60 2C 2 5E 19 D6 80 31 21 70 7A 67 60 62C D2 75E 1 FD 80 43 52 07 7A 16 56 62 D 75 1 68 43 152 107 07A 16 756 062 CD 27 E1 9 04 15 10 07 1 75 06 C 27 5E 9F 31 21 70 A 67 60 2C D2 5E 19 52 07 7A 16 56 62 D 75 1 FD 10 07 1 75 06 CD 27 E1 9F

Q. P. Code: 34332

(2½ Hours)

N.B.

Q. 1 (a)

ii)

iii)

(c)

In GF(2) field, 1 + 1 is equal to a) 1 b) 0 c) both a) and b)

[Total Marks: 75]

1) All questions are compulsory. 2) Figures to the right indicate marks. 3) Illustrations, in-depth answers and diagrams will be appreciated. 4) Mixing of sub-questions is not allowed.

Attempt the following questions Choose the best choice for the following questions i) The absolute value of 3 + 4i is: a) 4 b) 5 c) 6 d) zero (15M) (5M)

d) none of these

How to declare the complex number in Python? a) (3, 4) b) Complex(3, 4) c) Complex (3, 4i)

Page 1 of 3

6804315210707A16756062CD275E19FD

d) None of these

iv)

If a matrix is R × C and a vector is a C vector then the product is called a) Matrix-Matrix b) Vector-Matrix c) Vector-Vector d) Matrix-Vector

v)

Suppose t =(1, 2, 4, 3), which of the following is incorrect? a) print(t[3]) b) t[3] = 45 c) print(max(t)) d) print(len(t))

(b)

Fill in the blanks for the following questions i) Any complex number multiplying by i, rotate it by ___________ ii) Set of all linear combinations of vectors is called __________ iii) A rectangular array of m rows and n columns is called a ___________ iv) Norm of Vector (1, 2, 3) is ____________ v) Every Subset of a linearly independent set is linearly ____________ (5M)

(c)

Answer the following questions i) Solve: 1•1 + 0•1 + 0•0 + 1•1 ii) Find dot product of (1, 2), (3, 4) iii) Show with example matrix representation in python iv) Define the term Basis v) Define the term Inner Product Space

(5M)

Q. 2 (a) (b)

Attempt the following (Any THREE)(Each of 5Marks) (15M) Find the square root of complex number –5 + 12i Show that vectors v1=(1, 0, 1), v2=(2, 1, 4) and v3=(1, 1, 3) do not span vector space. Write a Python program to rotate a complex no by 90⁰, 180⁰ and 270⁰

7 8 68 043 3152 2107 707AA16 6756 6062 2CDD27 5E1 5 0 80 431 1521 1070 07A 167 7560 062C CD2 275 E19 9FD E 6 4 04 315 5210 0707 7A1 1675 5606 62C D27 75E 19F FD6 804 31 21 70 A 67 60 2C D2 5E 19 D6 80 31 31 521 070 7A 167 560 62C D2 75E 19 FD6 80 431 521 4 5 1 F 5 15 210 0707 7A1 675 5606 62C D27 75E 19F D68 804 315 210 0707 21 70 A 67 60 2C D2 5E 19 D6 04 31 21 70 A 52 07 7A 16 56 62 D 75 1 FD 80 3 52 07 7A 16 10 0 1 75 0 C 2 E 9F 6 4 15 10 0 1 75 10 707 7A1 675 606 62CDD27 75E1 19F D68 8043 315 210 707 7A1 675 606 6 6 6 6 2 7 D 7 07 07AA16 756 062 2CD 275 5E19 9FD 680 0431 152 107 07AA16 756 062 2CD 07 16 75 06 CD 27 E1 F 68 43 52 10 07 16 75 06 CD 27 07 A16 75 606 2CD 27 5E1 9F D68 043 152 10 707 A16 75 606 2CD 27 5E1 D 6 2 6 2 7 A A 5 7A 167 756 062 CD 275 E19 9FD 680 0431 1521 107 07A 167 756 062 CD 275 5E19 9FD 16 56 062 CD 275 E1 FD 68 43 52 07 07A 16 56 062 CD 275 E1 FD 68 75 06 CD 27 E1 9F 68 04 15 10 07 1 75 06 C 27 E 9F 68 04 60 2C 2 5E 9F D6 04 31 21 70 A1 67 60 2C D2 5E 19 D6 04 31 62 D 75 19 D 80 31 52 07 7A 67 56 62 D 75 19 FD 80 31 52 CD 27 E1 FD 68 43 52 10 07 16 56 06 CD 27 E1 FD 68 43 52 10 27 5E1 9FD 68 043 152 10 707 A16 75 06 2CD 27 5E1 9F 68 043 152 10 707 5E 9F 6 04 15 10 70 A1 75 60 2C 2 5E 9F D6 04 15 10 70 A1 19 D6 80 31 21 70 7A 67 60 62C D2 75E 19 D 80 31 21 70 7A 67 FD 80 43 52 07 7A 16 56 62 D 75 1 FD 68 43 52 07 7A 16 56 68 43 152 107 07A 16 756 062 CD 27 E1 9FD 68 043 152 107 07 16 756 062 04 15 10 07 1 75 06 C 27 5E 9F 6 04 15 10 07 A1 75 06 C 31 21 70 A 67 60 2C D2 5E 19 D6 80 31 21 70 A 67 60 2C D2 52 07 7A 16 56 62 D 75 1 FD 80 43 52 07 7A 16 56 62 D 75 10 07 1 75 06 CD 27 E1 9F 68 43 15 10 07 1 75 06 CD 27 E1 70 A1 67 60 2C 2 5E 9F D6 04 15 21 70 A1 67 60 2C 2 5E 9F 7A 67 56 62 D 75 19 D 80 31 21 07 7A 67 56 62 D 75 19 D 16 56 062 CD 275 E1 FD 68 43 52 07 07A 16 56 062 CD 275 E1 FD 68 75 06 CD 27 E1 9F 68 04 15 10 07 1 75 06 C 27 E 9F 68 04 60 2C 2 5E 9F D6 04 31 21 70 A1 67 60 2C D2 5E 19 D6 04 31 62 D 75 19 D 80 31 52 07 7A 67 56 62 D 75 19 FD 80 31 52 CD 27 E1 FD 68 43 52 10 07 16 56 06 CD 27 E1 FD 68 43 52 10 27 5E1 9FD 68 043 152 10 707 A16 75 06 2CD 27 5E1 9F 68 043 152 10 707 5E 9F 6 04 15 10 70 A1 75 60 2C 2 5E 9F D6 04 15 10 70 A1 19 D6 80 31 21 70 7A 67 60 62C D2 75E 19 D 80 31 21 70 7A 67 FD 80 43 52 07 7A 16 56 62 D 75 1 FD 68 43 52 07 7A 16 56 68 43 152 107 07A 16 756 062 CD 27 E1 9FD 68 043 152 107 07 16 756 062 04 15 10 07 1 75 06 C 27 5E 9F 6 04 15 10 07 A1 75 06 C 31 21 70 A 67 60 2C D2 5E 19 D6 80 31 21 70 A 67 60 2C D2 52 07 7A 16 56 62 D 75 1 FD 80 43 52 07 7A 16 56 62 D 75 10 07 1 75 06 CD 27 E1 9F 68 43 15 10 07 1 75 06 CD 27 E1 70 A1 67 60 2C 2 5E 9F D6 04 15 21 70 A1 67 60 2C 2 5E 9F 7A 67 56 62 D 75 19 D 80 31 21 07 7A 67 56 62 D 75 19 D 16 56 062 CD 275 E1 FD 68 43 52 07 07A 16 56 062 CD 275 E1 FD 68 75 06 CD 27 E1 9F 68 04 15 10 07 1 75 06 C 27 E 9F 68 04 60 2C 2 5E 9F D6 04 31 21 70 A1 67 60 2C D2 5E 19 D6 04 31 62 D 75 19 D 80 31 52 07 7A 67 56 62 D 75 19 FD 80 31 52 CD 27 E1 FD 68 43 52 10 07 16 56 06 CD 27 E1 FD 68 43 52 10 27 5E1 9FD 68 043 152 10 707 A16 75 06 2CD 27 5E1 9F 68 043 152 10 707 5E 9F 6 04 15 10 70 A1 75 60 2C 2 5E 9F D6 04 15 10 70 A1 19 D6 80 31 21 70 7A 67 60 62C D2 75E 19 D 80 31 21 70 7A 67 FD 80 43 52 07 7A 16 56 62 D 75 1 FD 68 43 52 07 7A 16 56 68 43 152 107 07A 16 756 062 CD 27 E1 9FD 68 043 152 107 07 16 756 062 04 15 10 07 1 75 06 C 27 5E 9F 6 04 15 10 07 A1 75 06 C 31 21 70 A 67 60 2C D2 5E 19 D6 80 31 21 70 A 67 60 2C D2 52 07 7A 16 56 62 D 75 1 FD 80 43 52 07 7A 16 56 62 D 75 10 07 1 75 06 CD 27 E1 9F 68 43 15 10 07 1 75 06 CD 27 E1 70 A1 67 60 2C 2 5E 9F D6 04 15 21 70 A1 67 60 2C 2 5E 9F 7A 67 56 62 D 75 19 D 80 31 21 07 7A 67 56 62 D 75 19 D 16 56 062 CD 275 E1 FD 68 43 52 07 07A 16 56 062 CD 275 E1 FD 68 75 06 CD 27 E1 9F 68 04 15 10 07 1 75 06 C 27 E 9F 68 04 60 2C 2 5E 9F D6 04 31 21 70 A1 67 60 2C D2 5E 19 D6 04 31 62 D 75 19 D 80 31 52 07 7A 67 56 62 D 75 19 FD 80 31 52 CD 27 E1 FD 68 43 52 10 07 16 56 06 CD 27 E1 FD 68 43 52 10 27 5E1 9FD 68 043 152 10 707 A16 75 06 2CD 27 5E1 9F 68 043 152 10 707 5E 9F 6 04 15 10 70 A1 75 60 2C 2 5E 9F D6 04 15 10 70 A1 19 D6 80 31 21 70 7A 67 60 62C D2 75E 19 D 80 31 21 70 7A 67 FD 80 43 52 07 7A 16 56 62 D 75 1 FD 68 43 52 07 7A 16 56 68 43 152 107 07A 16 756 062 CD 27 E1 9FD 68 043 152 107 07 16 756 0 04 15 10 07 1 75 06 C 27 5E 9F 6 04 15 10 07 A1 75 06 31 21 70 A 67 60 2C D2 5E 19 D6 80 31 21 70 A 67 60 52 07 7A 16 56 62 D 75 1 FD 80 43 52 07 7A 16 56 62 10 07 1 75 06 CD 27 E1 9F 68 43 15 10 07 1 75 06 C 70 A1 67 60 2C 2 5E 9F D6 04 15 21 70 A1 67 60 2C 7A 67 56 62 D 75 19 D 80 31 21 07 7A 67 56 62 16 56 062 CD 275 E1 FD 68 43 52 07 07A 16 56 062 CD 75 06 CD 27 E1 9F 68 04 15 10 07 1 75 06 C 2 60 2C 2 5E 9F D6 04 31 21 70 A1 67 60 2C D2 62 D 75 19 D 80 31 52 07 7A 67 56 62 D 7 CD 27 E1 FD 68 43 52 10 07 16 56 06 CD 27 27 5E1 9FD 68 043 152 10 707 A16 75 06 2CD 27 5E 5E 9F 6 04 15 10 70 A1 75 60 2C 2 5E 19 D6 80 31 21 70 7A 67 60 62C D2 75E 1 FD 80 43 52 07 7A 16 56 62 D 75 1 68 43 152 107 07A 16 756 062 CD 27 E1 9 04 15 10 07 1 75 06 C 27 5E 9F 31 21 70 A 67 60 2C D2 5E 19 52 07 7A 16 56 62 D 75 1 FD 10 07 1 75 06 CD 27 E1 9F

Q. P. Code: 34332

(d)

(e) (f)

(d) (e)

(f)

Q. 4 (a)

(b) (c)

(d)

(e) (f)

Q. 5 (a)

Check whether the vectors are linearly dependent v1=(1, –2, 1), v2=(2, 1, –2) and v3=(7, –4, 1). Express [(3 + 2i)/(2 + i)(1 – 3i)] in the form x + iy Check whether the set of all pairs of real numbers of the form (1, x) with operation (1, y) + (1, y’) = (1, y + y’) and k (1, y) = (1, ky) is a vector space.

Q. 3 (a)

Attempt the following (Any THREE) (Each of 5Marks) Let 2 2 5 4 c= 2 1 A= 1 1 B= 2 2 3 2 D = [2 4 3 1] 0 6 1 0 Compute the following if they exists. a) A +B b) 3A c) B + 2D

(b)

Find the dimension of the vector space spanned by the vectors (1, 1, –2, 0, –1), (1, 2, 0, –4, 1), (0, 1, 3, –3, 2), (2, 3, 0, –2, 0) and also find the basis.

(c)

Check whether the set of functions are Linearly independent? 2 – x + 4x2, 3 + 6x + 2x2, 2 + 10 x – 4x2. Explain Matrix-Vector and Vector-Matrix multiplication with example. Write a python program to enter a matrix and check if it is invertible. if invertible exists then find inverse. Show that vector {(1, 2, 1), (2, 1, 0), (1, –1, 2)} of R3 form a basis of R3

Attempt the following (Any THREE) (Each of 5Marks) If u = (2, 3, –1) and v = (6, –3, –2) Find a) d(u, v) b) u – v c) 2u + 3v Verify Pythagorean Theorem for u = (1, 0, 2, –4) and v = (0, 3, 4, 2) If x, y, z ≥ 0 Show that (x2 + y2 + z2)1/2 ≥ (1/13)(3x + 4y + 12z) Find inner product, angle, orthogonality for P = –5 + 2 x – x2, q = 2 + 3x2 Find the vector orthogonal to both u = (–6, 4, 2) and v = (3, 1, 5) Write a python program to find orthogonal projection u on v.

Page 2 of 3

6804315210707A16756062CD275E19FD

(15M)

(15M)

Attempt the following (Any THREE) (Each of 5Marks) (15M) Express the following as a linear combination of v1=(–2, 1, 3), v2=(3, 1, –1) and v3=(–1, –2, 1) with w= (6, –2, 5)

7 8 68 043 3152 2107 707AA16 6756 6062 2CDD27 5E1 5 0 80 431 1521 1070 07A 167 7560 062C CD2 275 E19 9FD E 6 4 04 315 5210 0707 7A1 1675 5606 62C D27 75E 19F FD6 804 31 21 70 A 67 60 2C D2 5E 19 D6 80 31 31 521 070 7A 167 560 62C D2 75E 19 FD6 80 431 521 4 5 1 F 5 15 210 0707 7A1 675 5606 62C D27 75E 19F D68 804 315 210 0707 21 70 A 67 60 2C D2 5E 19 D6 04 31 21 70 A 52 07 7A 16 56 62 D 75 1 FD 80 3 52 07 7A 16 10 0 1 75 0 C 2 E 9F 6 4 15 10 0 1 75 10 707 7A1 675 606 62CDD27 75E1 19F D68 8043 315 210 707 7A1 675 606 6 6 6 6 2 7 D 7 07 07AA16 756 062 2CD 275 5E19 9FD 680 0431 152 107 07AA16 756 062 2CD 07 16 75 06 CD 27 E1 F 68 43 52 10 07 16 75 06 CD 27 07 A16 75 606 2CD 27 5E1 9F D68 043 152 10 707 A16 75 606 2CD 27 5E1 D 6 2 6 2 7 A A 5 7A 167 756 062 CD 275 E19 9FD 680 0431 1521 107 07A 167 756 062 CD 275 5E19 9FD 16 56 062 CD 275 E1 FD 68 43 52 07 07A 16 56 062 CD 275 E1 FD 68 75 06 CD 27 E1 9F 68 04 15 10 07 1 75 06 C 27 E 9F 68 04 60 2C 2 5E 9F D6 04 31 21 70 A1 67 60 2C D2 5E 19 D6 04 31 62 D 75 19 D 80 31 52 07 7A 67 56 62 D 75 19 FD 80 31 52 CD 27 E1 FD 68 43 52 10 07 16 56 06 CD 27 E1 FD 68 43 52 10 27 5E1 9FD 68 043 152 10 707 A16 75 06 2CD 27 5E1 9F 68 043 152 10 707 5E 9F 6 04 15 10 70 A1 75 60 2C 2 5E 9F D6 04 15 10 70 A1 19 D6 80 31 21 70 7A 67 60 62C D2 75E 19 D 80 31 21 70 7A 67 FD 80 43 52 07 7A 16 56 62 D 75 1 FD 68 43 52 07 7A 16 56 68 43 152 107 07A 16 756 062 CD 27 E1 9FD 68 043 152 107 07 16 756 062 04 15 10 07 1 75 06 C 27 5E 9F 6 04 15 10 07 A1 75 06 C 31 21 70 A 67 60 2C D2 5E 19 D6 80 31 21 70 A 67 60 2C D2 52 07 7A 16 56 62 D 75 1 FD 80 43 52 07 7A 16 56 62 D 75 10 07 1 75 06 CD 27 E1 9F 68 43 15 10 07 1 75 06 CD 27 E1 70 A1 67 60 2C 2 5E 9F D6 04 15 21 70 A1 67 60 2C 2 5E 9F 7A 67 56 62 D 75 19 D 80 31 21 07 7A 67 56 62 D 75 19 D 16 56 062 CD 275 E1 FD 68 43 52 07 07A 16 56 062 CD 275 E1 FD 68 75 06 CD 27 E1 9F 68 04 15 10 07 1 75 06 C 27 E 9F 68 04 60 2C 2 5E 9F D6 04 31 21 70 A1 67 60 2C D2 5E 19 D6 04 31 62 D 75 19 D 80 31 52 07 7A 67 56 62 D 75 19 FD 80 31 52 CD 27 E1 FD 68 43 52 10 07 16 56 06 CD 27 E1 FD 68 43 52 10 27 5E1 9FD 68 043 152 10 707 A16 75 06 2CD 27 5E1 9F 68 043 152 10 707 5E 9F 6 04 15 10 70 A1 75 60 2C 2 5E 9F D6 04 15 10 70 A1 19 D6 80 31 21 70 7A 67 60 62C D2 75E 19 D 80 31 21 70 7A 67 FD 80 43 52 07 7A 16 56 62 D 75 1 FD 68 43 52 07 7A 16 56 68 43 152 107 07A 16 756 062 CD 27 E1 9FD 68 043 152 107 07 16 756 062 04 15 10 07 1 75 06 C 27 5E 9F 6 04 15 10 07 A1 75 06 C 31 21 70 A 67 60 2C D2 5E 19 D6 80 31 21 70 A 67 60 2C D2 52 07 7A 16 56 62 D 75 1 FD 80 43 52 07 7A 16 56 62 D 75 10 07 1 75 06 CD 27 E1 9F 68 43 15 10 07 1 75 06 CD 27 E1 70 A1 67 60 2C 2 5E 9F D6 04 15 21 70 A1 67 60 2C 2 5E 9F 7A 67 56 62 D 75 19 D 80 31 21 07 7A 67 56 62 D 75 19 D 16 56 062 CD 275 E1 FD 68 43 52 07 07A 16 56 062 CD 275 E1 FD 68 75 06 CD 27 E1 9F 68 04 15 10 07 1 75 06 C 27 E 9F 68 04 60 2C 2 5E 9F D6 04 31 21 70 A1 67 60 2C D2 5E 19 D6 04 31 62 D 75 19 D 80 31 52 07 7A 67 56 62 D 75 19 FD 80 31 52 CD 27 E1 FD 68 43 52 10 07 16 56 06 CD 27 E1 FD 68 43 52 10 27 5E1 9FD 68 043 152 10 707 A16 75 06 2CD 27 5E1 9F 68 043 152 10 707 5E 9F 6 04 15 10 70 A1 75 60 2C 2 5E 9F D6 04 15 10 70 A1 19 D6 80 31 21 70 7A 67 60 62C D2 75E 19 D 80 31 21 70 7A 67 FD 80 43 52 07 7A 16 56 62 D 75 1 FD 68 43 52 07 7A 16 56 68 43 152 107 07A 16 756 062 CD 27 E1 9FD 68 043 152 107 07 16 756 062 04 15 10 07 1 75 06 C 27 5E 9F 6 04 15 10 07 A1 75 06 C 31 21 70 A 67 60 2C D2 5E 19 D6 80 31 21 70 A 67 60 2C D2 52 07 7A 16 56 62 D 75 1 FD 80 43 52 07 7A 16 56 62 D 75 10 07 1 75 06 CD 27 E1 9F 68 43 15 10 07 1 75 06 CD 27 E1 70 A1 67 60 2C 2 5E 9F D6 04 15 21 70 A1 67 60 2C 2 5E 9F 7A 67 56 62 D 75 19 D 80 31 21 07 7A 67 56 62 D 75 19 D 16 56 062 CD 275 E1 FD 68 43 52 07 07A 16 56 062 CD 275 E1 FD 68 75 06 CD 27 E1 9F 68 04 15 10 07 1 75 06 C 27 E 9F 68 04 60 2C 2 5E 9F D6 04 31 21 70 A1 67 60 2C D2 5E 19 D6 04 31 62 D 75 19 D 80 31 52 07 7A 67 56 62 D 75 19 FD 80 31 52 CD 27 E1 FD 68 43 52 10 07 16 56 06 CD 27 E1 FD 68 43 52 10 27 5E1 9FD 68 043 152 10 707 A16 75 06 2CD 27 5E1 9F 68 043 152 10 707 5E 9F 6 04 15 10 70 A1 75 60 2C 2 5E 9F D6 04 15 10 70 A1 19 D6 80 31 21 70 7A 67 60 62C D2 75E 19 D 80 31 21 70 7A 67 FD 80 43 52 07 7A 16 56 62 D 75 1 FD 68 43 52 07 7A 16 56 68 43 152 107 07A 16 756 062 CD 27 E1 9FD 68 043 152 107 07 16 756 0 04 15 10 07 1 75 06 C 27 5E 9F 6 04 15 10 07 A1 75 06 31 21 70 A 67 60 2C D2 5E 19 D6 80 31 21 70 A 67 60 52 07 7A 16 56 62 D 75 1 FD 80 43 52 07 7A 16 56 62 10 07 1 75 06 CD 27 E1 9F 68 43 15 10 07 1 75 06 C 70 A1 67 60 2C 2 5E 9F D6 04 15 21 70 A1 67 60 2C 7A 67 56 62 D 75 19 D 80 31 21 07 7A 67 56 62 16 56 062 CD 275 E1 FD 68 43 52 07 07A 16 56 062 CD 75 06 CD 27 E1 9F 68 04 15 10 07 1 75 06 C 2 60 2C 2 5E 9F D6 04 31 21 70 A1 67 60 2C D2 62 D 75 19 D 80 31 52 07 7A 67 56 62 D 7 CD 27 E1 FD 68 43 52 10 07 16 56 06 CD 27 27 5E1 9FD 68 043 152 10 707 A16 75 06 2CD 27 5E 5E 9F 6 04 15 10 70 A1 75 60 2C 2 5E 19 D6 80 31 21 70 7A 67 60 62C D2 75E 1 FD 80 43 52 07 7A 16 56 62 D 75 1 68 43 152 107 07A 16 756 062 CD 27 E1 9 04 15 10 07 1 75 06 C 27 5E 9F 31 21 70 A 67 60 2C D2 5E 19 52 07 7A 16 56 62 D 75 1 FD 10 07 1 75 06 CD 27 E1 9F

Q. P. Code: 34332

(b) (c) (d)

(e)

Write a python program to convert a 2 × 2 matrix to row echelon form Verify Cauchy’s Schwartz’s inequality u = (1, 2, –1) and v = (3, 2, -1) Find eigen Values and eigen vectors of 8 –8 –2 A= 4 –3 –2 3 –4 1 Construct an orthonormal basis of R2 by Gram Schmitt Process S = {(3, 1), (4, 2)}

_____________________________________________________________________________________

Page 3 of 3

6804315210707A16756062CD275E19FD

22 6B1 1B8 466 522 895 588E EADD31 B58 816 B 6 4 26 B1B B84 665 5228 8958 88E AD 31B B581 16B 3F9 B1 8 66 22 95 8E AD 31 58 6B 3F 22 B1 B8 466 522 895 88E AD 31 B58 16B 3F 922 6B 1 B 9 B 4 5 8 8 1B 846 6652 228 958 8EAAD3 31B 581 16B3 3F9 226 6B1B B84 9 2 5 8 B8 8466 6522 289 588 EA D31 1B5 816 6B3F F92 26B B1B 846 6652 46 52 89 588 EA D3 B5 816 B3 92 26B 1B 846 65 28 84 65 28 58 E D 1B 81 B F9 26 1 84 6 22 95 66 2 9 8 A 31 5 6 3 2 B B 6 52 89 8 66 522 2895 588E EADD31 B58 816B B3F F922 26B 1B8 8466 652 289 588 8EA 2 5 1 B D 5 65 228 8958 88E AD 31B 581 16B 3F9 9226 6B1 B84 4665 522 895 88E EAD 31B 22 95 8E AD 31 58 6B 3F 22 B B8 66 22 89 88 A 31 5 22 895 88E AD 31 B58 16B 3F 922 6B 1B8 466 522 89 588 EA D31 B5 816 1 5 E D B 8 B 8 9 28 958 88EAAD3 31B 581 16B 3F9 226 6B1 B84 4665 5228 895 88E AD 31B B58 16B 3F9 95 8E D 1B 58 6B 3F 22 B1 B8 66 22 95 88 AD 31 5 16 3F 22 88 A 31 5 16 3F 92 6B B 46 52 89 88 EA 3 B5 81 B3 92 6B EA D3 B 81 B3 9 26 1B 84 65 28 58 E D 1B 81 6B F9 26 1 D3 1B 581 6B3 F9 226 B1B 84 665 228 958 8E AD 31B 58 6B 3F9 226 B1 B84 1B 581 6B F9 226 B1 84 665 22 95 8E AD 31B 58 16B 3F 22 B1 B8 66 58 6B 3F 22 B1 B8 66 22 895 88E AD 31 58 16 3F 922 6B B8 46 52 16 3F 92 6B B 46 52 89 88 A 3 B5 16 B3 92 6B 1B 46 65 28 B3 92 26 1B 84 65 28 58 EA D 1B 81 B F9 26 1 84 65 22 95 F9 26 B1 84 665 228 95 8E D 31B 58 6B 3F9 22 B1 B8 66 22 895 88E 22 B1 B8 66 22 95 88E AD 31 58 16 3F 22 6B B8 46 52 89 88 A 6B B 46 52 89 88 A 3 B5 16 B3 92 6B 1B 46 65 28 58 EA D3 1B 846 652 28 58 EA D3 1B 81 B3 F9 26 1B 84 65 228 958 8E D 1B 84 65 28 958 8E D 1B 581 6B F9 226 B1 84 66 22 95 8E AD 31 58 66 22 95 8E AD 31 58 6B 3F 22 B B8 66 52 89 88 A 31 B5 16 52 89 88 A 3 B5 16 3 92 6B 1B 46 52 28 58 EA D3 B 81 B3 28 58 EA D3 1B 81 B F9 26 1 84 65 28 95 8E D 1B 58 6B F9 95 8E D 1B 58 6B 3F 22 B1 B8 66 22 95 88 AD 31 5 16 3F 22 88 A 31 5 16 3F 92 6B B 46 52 89 88 EA 3 B5 81 B3 92 6B EA D3 B 81 B3 9 26 1B 84 65 28 58 E D 1B 81 6B F9 26 1 D3 1B 581 6B3 F9 226 B1B 84 665 228 958 8E AD 31B 58 6B 3F9 226 B1 B84 1B 581 6B F9 226 B1 84 665 22 95 8E AD 31B 58 16B 3F 22 B1 B8 66 58 6B 3F 22 B1 B8 66 22 895 88E AD 31 58 16 3F 922 6B B8 46 52 16 3F 92 6B B 46 52 89 88 A 3 B5 16 B3 92 6B 1B 46 65 28 B3 92 26 1B 84 65 28 58 EA D 1B 81 B F9 26 1 84 65 22 95 F9 26 B1 84 665 228 95 8E D 31B 58 6B 3F9 22 B1 B8 66 22 895 88E 22 B1 B8 66 22 95 88E AD 31 58 16 3F 22 6B B8 46 52 89 88 A 6B B 46 52 89 88 A 3 B5 16 B3 92 6B 1B 46 65 28 58 EA D3 1B 846 652 28 58 EA D3 1B 81 B3 F9 26 1B 84 65 228 958 8E D 1B 84 65 28 958 8E D 1B 581 6B F9 226 B1 84 66 22 95 8E AD 31 58 66 22 95 8E AD 31 58 6B 3F 22 B B8 66 52 89 88 A 31 B5 16 52 89 88 A 3 B5 16 3 92 6B 1B 46 52 28 58 EA D3 B 81 B3 28 58 EA D3 1B 81 B F9 26 1 84 65 28 95 8E D 1B 58 6B F9 95 8E D 1B 58 6B 3F 22 B1 B8 66 22 95 88 AD 31 5 16 3F 22 88 A 31 5 16 3F 92 6B B 46 52 89 88 EA 3 B5 81 B3 92 6B EA D3 B 81 B3 9 26 1B 84 65 28 58 E D 1B 81 6B F9 26 1 D3 1B 581 6B3 F9 226 B1B 84 665 228 958 8E AD 31B 58 6B 3F9 226 B1 B84 1B 581 6B F9 226 B1 84 665 22 95 8E AD 31B 58 16B 3F 22 B1 B8 66 58 6B 3F 22 B1 B8 66 22 895 88E AD 31 58 16 3F 922 6B B8 46 52 16 3F 92 6B B 46 52 89 88 A 3 B5 16 B3 92 6B 1B 46 65 28 B3 92 26 1B 84 65 28 58 EA D 1B 81 B F9 26 1 84 65 22 95 F9 26 B1 84 665 228 95 8E D 31B 58 6B 3F9 22 B1 B8 66 22 895 88E 22 B1 B8 66 22 95 88E AD 31 58 16 3F 22 6B B8 46 52 89 88 A 6B B 46 52 89 88 A 3 B5 16 B3 92 6B 1B 46 65 28 58 EA D3 1B 846 652 28 58 EA D3 1B 81 B3 F9 26 1B 84 65 228 958 8E D 1B 84 65 28 958 8E D 1B 581 6B F9 226 B1 84 66 22 95 8E AD 31 58 66 22 95 8E AD 31 58 6B 3F 22 B B8 66 52 89 88 A 31 B5 16 52 89 88 A 3 B5 16 3 92 6B 1B 46 52 28 58 EA D3 B 81 B3 28 58 EA D3 1B 81 B F9 26 1 84 65 28 95 8E D 1B 58 6B F9 95 8E D 1B 58 6B 3F 22 B1 B8 66 22 95 88 AD 31 5 16 3F 22 88 A 31 5 16 3F 92 6B B 46 52 89 88 EA 3 B5 81 B3 92 6B EA D3 B 81 B3 9 26 1B 84 65 28 58 E D 1B 81 6B F9 26 1 D3 1B 581 6B3 F9 226 B1B 84 665 228 958 8E AD 31B 58 6B 3F9 226 B1 B84 1B 581 6B F9 226 B1 84 665 22 95 8E AD 31B 58 16B 3F 22 B1 B8 66 58 6B 3F 22 B1 B8 66 22 895 88E AD 31 58 16 3F 922 6B B8 46 52 16 3F 92 6B B 46 52 89 88 A 3 B5 16 B3 92 6B 1B 46 65 28 B3 92 26 1B 84 65 28 58 EA D 1B 81 B F9 26 1 84 65 22 95 F9 26 B1 84 665 228 95 8E D 31B 58 6B 3F9 22 B1 B8 66 22 895 88 22 B1 B8 66 22 95 88E AD 31 58 16 3F 22 6B B8 46 52 89 88 6B B 46 52 89 88 A 3 B5 16 B3 92 6B 1B 46 65 28 58 E 1B 846 652 28 58 EA D3 1B 81 B3 F9 26 1B 84 65 228 958 8E 84 65 28 958 8E D 1B 581 6B F9 226 B1 84 66 22 95 8E A 66 22 95 8E AD 31 58 6B 3F 22 B B8 66 52 89 88 A 52 89 88 A 3 B5 16 3 92 6B 1B 46 52 28 58 EA D 28 58 EA D3 1B 81 B F9 26 1 84 65 28 95 8E D 95 8E D 1B 58 6B 3F 22 B1 B8 66 22 95 88 AD 3 88 A 31 5 16 3F 92 6B B 46 52 89 88 EA 3 EA D3 B 81 B3 9 26 1B 84 65 28 58 E D 1 D3 1B 581 6B3 F9 226 B1B 84 665 228 958 8E AD 31B 1B 581 6B F9 226 B1 84 665 22 95 8E AD 31B 5 58 6B 3F 22 B1 B8 66 22 895 88E AD 31 58 16 3F 92 6B B 46 52 89 88 A 3 B5 B3 92 26 1B 84 65 28 58 EA D 1B 81 F9 26 B1 84 665 228 95 8E D 31B 58 6 22 B1 B8 66 22 95 88E AD 31 58 16 6B B 46 52 89 88 A 3 B5 16 B 1B 846 652 28 58 EA D3 1B 81 B3 8 6 2 95 8E D 1 58 6B

Q.P. CODE: 36293

(Time: 2 ½ Hours)

N.B. [Total Marks: 75]

1) All questions are compulsory. 2) Figures to the right indicate marks. 3) Illustrations, in-depth answers and diagrams will be appreciated. 4) Mixing of sub-questions is not allowed.

Q. 1 (a)

Attempt the following Select the correct alternative (i) ___________ file apply settings to all ASP.NET applications a. web.config b. machine.config c. global.asax file d. application object (ii) ___________ is the file extension of web service in ASP.NET? a. .ascx b. .asmx c. .aspx d. .docx (iii) ___________ is a property common in every validation control. a. ValidationExpression b. ValueToCompare c. ControlToCompare d. ControlToValidate (iv) ___________ is the last event of web page life cycle? a. Page_Load b. Page_LoadComplete c. Page_Finish d. Page_Unload (v) ___________ is used to kill a users session explicitly. a. Session.Close() b. Session.End() c. Session.Abondon() d. Session.Discard()

(b)

Fill in the blanks with help of the options given in the pool below: (5M) (Partial, Session, Page, App_Code, Application, Restricted, App_Data, EnableViewState) (i) The __________ directory contains source code files that are dynamically compiled for use in your application. (ii) The __________ collection of a Page holds information that’s shared between all users in a website. (iii) The __________ property when set to false disables the automatic state management for this control. (iv) __________ classes gives you the ability to split a single class into more than one C# source code (.cs) file. (v) Every web page is a custom class that inherits from __________ class.

(c)

Answer the following in one or two lines: (i) Give the syntax of Page directive. (ii) What is a namespace in C#? (iii) State the two types of Data Binding supported by ASP.NET. (iv) What is Boxing in C#? (v) What is LINQ?

(5M)

Q. 2 (a) (b) (c)

Attempt the following (Any THREE) State the different types of ASP .NET files. Write a note on Global.asax file. Give syntax of foreach loop in C#. Explain with example.

(15M)

Page 1 of 2

9226B1B846652289588EAD31B5816B3F

(15M) (5M)

22 6B1 1B8 466 522 895 588E EADD31 B58 816 B 6 4 26 B1B B84 665 5228 8958 88E AD 31B B581 16B 3F9 B1 8 66 22 95 8E AD 31 58 6B 3F 22 B1 B8 466 522 895 88E AD 31 B58 16B 3F 922 6B 1 B 9 B 4 5 8 8 1B 846 6652 228 958 8EAAD3 31B 581 16B3 3F9 226 6B1B B84 9 2 5 8 B8 8466 6522 289 588 EA D31 1B5 816 6B3F F92 26B B1B 846 6652 46 52 89 588 EA D3 B5 816 B3 92 26B 1B 846 65 28 84 65 28 58 E D 1B 81 B F9 26 1 84 6 22 95 66 2 9 8 A 31 5 6 3 2 B B 6 52 89 8 66 522 2895 588E EADD31 B58 816B B3F F922 26B 1B8 8466 652 289 588 8EA 2 5 1 B D 5 65 228 8958 88E AD 31B 581 16B 3F9 9226 6B1 B84 4665 522 895 88E EAD 31B 22 95 8E AD 31 58 6B 3F 22 B B8 66 22 89 88 A 31 5 22 895 88E AD 31 B58 16B 3F 922 6B 1B8 466 522 89 588 EA D31 B5 816 1 5 E D B 8 B 8 9 28 958 88EAAD3 31B 581 16B 3F9 226 6B1 B84 4665 5228 895 88E AD 31B B58 16B 3F9 95 8E D 1B 58 6B 3F 22 B1 B8 66 22 95 88 AD 31 5 16 3F 22 88 A 31 5 16 3F 92 6B B 46 52 89 88 EA 3 B5 81 B3 92 6B EA D3 B 81 B3 9 26 1B 84 65 28 58 E D 1B 81 6B F9 26 1 D3 1B 581 6B3 F9 226 B1B 84 665 228 958 8E AD 31B 58 6B 3F9 226 B1 B84 1B 581 6B F9 226 B1 84 665 22 95 8E AD 31B 58 16B 3F 22 B1 B8 66 58 6B 3F 22 B1 B8 66 22 895 88E AD 31 58 16 3F 922 6B B8 46 52 16 3F 92 6B B 46 52 89 88 A 3 B5 16 B3 92 6B 1B 46 65 28 B3 92 26 1B 84 65 28 58 EA D 1B 81 B F9 26 1 84 65 22 95 F9 26 B1 84 665 228 95 8E D 31B 58 6B 3F9 22 B1 B8 66 22 895 88E 22 B1 B8 66 22 95 88E AD 31 58 16 3F 22 6B B8 46 52 89 88 A 6B B 46 52 89 88 A 3 B5 16 B3 92 6B 1B 46 65 28 58 EA D3 1B 846 652 28 58 EA D3 1B 81 B3 F9 26 1B 84 65 228 958 8E D 1B 84 65 28 958 8E D 1B 581 6B F9 226 B1 84 66 22 95 8E AD 31 58 66 22 95 8E AD 31 58 6B 3F 22 B B8 66 52 89 88 A 31 B5 16 52 89 88 A 3 B5 16 3 92 6B 1B 46 52 28 58 EA D3 B 81 B3 28 58 EA D3 1B 81 B F9 26 1 84 65 28 95 8E D 1B 58 6B F9 95 8E D 1B 58 6B 3F 22 B1 B8 66 22 95 88 AD 31 5 16 3F 22 88 A 31 5 16 3F 92 6B B 46 52 89 88 EA 3 B5 81 B3 92 6B EA D3 B 81 B3 9 26 1B 84 65 28 58 E D 1B 81 6B F9 26 1 D3 1B 581 6B3 F9 226 B1B 84 665 228 958 8E AD 31B 58 6B 3F9 226 B1 B84 1B 581 6B F9 226 B1 84 665 22 95 8E AD 31B 58 16B 3F 22 B1 B8 66 58 6B 3F 22 B1 B8 66 22 895 88E AD 31 58 16 3F 922 6B B8 46 52 16 3F 92 6B B 46 52 89 88 A 3 B5 16 B3 92 6B 1B 46 65 28 B3 92 26 1B 84 65 28 58 EA D 1B 81 B F9 26 1 84 65 22 95 F9 26 B1 84 665 228 95 8E D 31B 58 6B 3F9 22 B1 B8 66 22 895 88E 22 B1 B8 66 22 95 88E AD 31 58 16 3F 22 6B B8 46 52 89 88 A 6B B 46 52 89 88 A 3 B5 16 B3 92 6B 1B 46 65 28 58 EA D3 1B 846 652 28 58 EA D3 1B 81 B3 F9 26 1B 84 65 228 958 8E D 1B 84 65 28 958 8E D 1B 581 6B F9 226 B1 84 66 22 95 8E AD 31 58 66 22 95 8E AD 31 58 6B 3F 22 B B8 66 52 89 88 A 31 B5 16 52 89 88 A 3 B5 16 3 92 6B 1B 46 52 28 58 EA D3 B 81 B3 28 58 EA D3 1B 81 B F9 26 1 84 65 28 95 8E D 1B 58 6B F9 95 8E D 1B 58 6B 3F 22 B1 B8 66 22 95 88 AD 31 5 16 3F 22 88 A 31 5 16 3F 92 6B B 46 52 89 88 EA 3 B5 81 B3 92 6B EA D3 B 81 B3 9 26 1B 84 65 28 58 E D 1B 81 6B F9 26 1 D3 1B 581 6B3 F9 226 B1B 84 665 228 958 8E AD 31B 58 6B 3F9 226 B1 B84 1B 581 6B F9 226 B1 84 665 22 95 8E AD 31B 58 16B 3F 22 B1 B8 66 58 6B 3F 22 B1 B8 66 22 895 88E AD 31 58 16 3F 922 6B B8 46 52 16 3F 92 6B B 46 52 89 88 A 3 B5 16 B3 92 6B 1B 46 65 28 B3 92 26 1B 84 65 28 58 EA D 1B 81 B F9 26 1 84 65 22 95 F9 26 B1 84 665 228 95 8E D 31B 58 6B 3F9 22 B1 B8 66 22 895 88E 22 B1 B8 66 22 95 88E AD 31 58 16 3F 22 6B B8 46 52 89 88 A 6B B 46 52 89 88 A 3 B5 16 B3 92 6B 1B 46 65 28 58 EA D3 1B 846 652 28 58 EA D3 1B 81 B3 F9 26 1B 84 65 228 958 8E D 1B 84 65 28 958 8E D 1B 581 6B F9 226 B1 84 66 22 95 8E AD 31 58 66 22 95 8E AD 31 58 6B 3F 22 B B8 66 52 89 88 A 31 B5 16 52 89 88 A 3 B5 16 3 92 6B 1B 46 52 28 58 EA D3 B 81 B3 28 58 EA D3 1B 81 B F9 26 1 84 65 28 95 8E D 1B 58 6B F9 95 8E D 1B 58 6B 3F 22 B1 B8 66 22 95 88 AD 31 5 16 3F 22 88 A 31 5 16 3F 92 6B B 46 52 89 88 EA 3 B5 81 B3 92 6B EA D3 B 81 B3 9 26 1B 84 65 28 58 E D 1B 81 6B F9 26 1 D3 1B 581 6B3 F9 226 B1B 84 665 228 958 8E AD 31B 58 6B 3F9 226 B1 B84 1B 581 6B F9 226 B1 84 665 22 95 8E AD 31B 58 16B 3F 22 B1 B8 66 58 6B 3F 22 B1 B8 66 22 895 88E AD 31 58 16 3F 922 6B B8 46 52 16 3F 92 6B B 46 52 89 88 A 3 B5 16 B3 92 6B 1B 46 65 28 B3 92 26 1B 84 65 28 58 EA D 1B 81 B F9 26 1 84 65 22 95 F9 26 B1 84 665 228 95 8E D 31B 58 6B 3F9 22 B1 B8 66 22 895 88 22 B1 B8 66 22 95 88E AD 31 58 16 3F 22 6B B8 46 52 89 88 6B B 46 52 89 88 A 3 B5 16 B3 92 6B 1B 46 65 28 58 E 1B 846 652 28 58 EA D3 1B 81 B3 F9 26 1B 84 65 228 958 8E 84 65 28 958 8E D 1B 581 6B F9 226 B1 84 66 22 95 8E A 66 22 95 8E AD 31 58 6B 3F 22 B B8 66 52 89 88 A 52 89 88 A 3 B5 16 3 92 6B 1B 46 52 28 58 EA D 28 58 EA D3 1B 81 B F9 26 1 84 65 28 95 8E D 95 8E D 1B 58 6B 3F 22 B1 B8 66 22 95 88 AD 3 88 A 31 5 16 3F 92 6B B 46 52 89 88 EA 3 EA D3 B 81 B3 9 26 1B 84 65 28 58 E D 1 D3 1B 581 6B3 F9 226 B1B 84 665 228 958 8E AD 31B 1B 581 6B F9 226 B1 84 665 22 95 8E AD 31B 5 58 6B 3F 22 B1 B8 66 22 895 88E AD 31 58 16 3F 92 6B B 46 52 89 88 A 3 B5 B3 92 26 1B 84 65 28 58 EA D 1B 81 F9 26 B1 84 665 228 95 8E D 31B 58 6 22 B1 B8 66 22 95 88E AD 31 58 16 6B B 46 52 89 88 A 3 B5 16 B 1B 846 652 28 58 EA D3 1B 81 B3 8 6 2 95 8E D 1 58 6B

Q.P. CODE: 36293

(e) (f)

(d) (e) (f)

Explain the structure of web.config file. Explain the terms ViewState and AutoPostBack. What are HTML Server Controls? What are their features?

Q. 3 (a) (b) (c) (d)

Attempt the following (Any THREE) (15M) Write a note on the Page Lifecycle. State and explain the important properties of any two Validator controls. Write a program wherein you restrict a user to not select a national holiday. What is a cookie? How to add and retrieve value from a cookie? Give example. Write a short note on the SiteMapPath Control. What is the use of MasterPages in ASP.NET? How a Content page can be added to a Master Page.

Q. 4 (a) (b) (c) (d)

(e) (f)

Q. 5 (a) (b) (c) (d) (e)

Attempt the following (Any THREE) (15M) Explain any two controls of ASP.NET AJAX Toolkit. Write a short note on Caching. State the important methods of XMLTextWriter class. What do you mean by Data provider in ADO.NET? Explain any two types of classes from it. State XML’s hidden role in .NET. Explain sorting and paging with respect to GridView control of ASP.NET

Attempt the following (Any THREE) (15M) Write a short note on .NET framework. State and explain the contents of the advertisement file. Explain the QueryString property of Request object. Write a short note on SqlConnection class. Explain the Standard Query operators “Select”, “From”, “orderby” and “Where” in LINQ.

_______________________________________________________________________________

Page 2 of 2

9226B1B846652289588EAD31B5816B3F

29 A9 749 9C2 37E E0D D84 FD 39D DA2 2A4 A 74 C 3 0 8 F 39 A A 5 A9 974 9C2 237 7E0 D84 4FD D39 DA 2A 45C C95 9 D 2 4 E D 2 97 749C C23 37E 0D 84F FD3 39D A2 A45 5C9 952 202 8 A 2 0 A 4 9 7 D 5 C 4 74 9C 237 E0 D8 FD 39 DA 2A 45C 95 22 029 9A9 9 23 E D 4F 3 D 2 4 9 2 02 A 7 9C C23 7E0 0D8 84F D39 9DA A2A A45 5C9 522 202 9A9 974 49C 7 9 D 2 5 C2 237 E0D D84 4FD 39D DA 2A 45C C95 220 029 A97 749 9C2 37E 37 E0D 84 FD 39 A 2A 45C 95 220 29 A9 49 C2 37E 0D 37 E0D 84 FD 39 DA 2A 45C 95 220 29 A9 749 C2 37E 0D 84 7 D F 7E E0D 84F FD3 39D A2 2A4 45C 952 2202 29A A97 49C C23 37E 0D8 84F D3 0D 84 D 9D A2 A4 5C 952 20 9A 97 49 23 7E 0D 4F D3 9D 0D 84 FD 39D A2 A4 5C 952 20 29A 97 49 C23 7E 0D 84F D3 9D A2 C F 3 8 D8 84F D3 9D A2A A45 5C9 9522 202 29A 974 49C 237 7E0 0D8 4FD D39 9DA A2A A45 4F D3 9D A2 45 C9 52 02 9A 974 9C 237 E0 D8 4FD 39 DA 2A 45 C9 D3 9D A2 A4 C 52 202 9A 97 9C 23 E D8 4F 3 D 2A 45 C9 522 9D A2 A4 5C 952 20 9A 97 49C 23 7E 0D 4F D3 9D A2 45 C9 52 02 A2 A4 5C 952 20 29A 97 49C 23 7E 0D 84F D3 9D A2 A4 C9 52 202 9A A4 5C 952 20 29A 97 49 23 7E 0D 84F D3 9D A2 A4 5C9 52 202 9A 97 5C 95 20 29A 97 49 C23 7E 0D 84F D3 9D A2 A4 5C 52 202 9A 97 49C 95 220 29 9 49 C2 7E 0D 84 D 9D A2 A4 5C 952 20 9A 97 49C 23 22 29 A9 74 C2 37 0D 84 FD 39 A A 5C 95 20 29 9 49 2 7E 02 A 74 9C 37 E0 8 FD 39 DA 2A 45 95 22 29 A9 74 C2 37 0D 9A 97 9C 23 E D8 4F 3 D 2A 45 C9 22 02 A 74 9C 37 E0 8 97 49C 23 7E 0D 4F D3 9D A2 45 C9 52 02 9A 974 9C 237 E0 D8 4FD 49 2 7E 0D 84 D3 9D A2 A4 C 52 20 9A 97 9C 23 E D 4F 3 C2 37 0D 84 FD 9D A A 5C 95 20 29 97 49 2 7E 0D 84 D3 9D 37 E0D 84 FD 39 A 2A 45C 95 220 29 A9 49 C2 37E 0D 84 FD 9D A2 E0 8 FD 39 DA 2A 45 9 22 29 A9 74 C2 37 0 84 FD 39 A A D8 4F 3 D 2A 45 C9 522 02 A 74 9C 37 E0 D8 FD 39 DA 2A 45 4F D3 9D A2 45 C9 52 02 9A 974 9C 237 E0 D8 4FD 39 DA 2A 45 C9 D3 9D A2 A4 C 52 202 9A 97 9C 23 E D8 4F 3 D 2A 45 C9 522 9D A2 A4 5C 952 20 9A 97 49C 23 7E 0D 4F D3 9D A2 45 C9 52 02 A2 A4 5C 952 20 29A 97 49C 23 7E 0D 84F D3 9D A2 A4 C9 52 202 9A A4 5C 952 20 29A 97 49 23 7E 0D 84F D3 9D A2 A4 5C9 52 202 9A 97 5C 95 20 29A 97 49 C23 7E 0D 84F D3 9D A2 A4 5C 52 202 9A 97 49C 95 220 29 9 49 C2 7E 0D 84 D 9D A2 A4 5C 952 20 9A 97 49C 23 22 29 A9 74 C2 37 0D 84 FD 39 A A 5C 95 20 29 9 49 2 7E 02 A 74 9C 37 E0 8 FD 39 DA 2A 45 95 22 29 A9 74 C2 37 0D 9A 97 9C 23 E D8 4F 3 D 2A 45 C9 22 02 A 74 9C 37 E0 8 97 49C 23 7E 0D 4F D3 9D A2 45 C9 52 02 9A 974 9C 237 E0 D8 4FD 49 2 7E 0D 84 D3 9D A2 A4 C 52 20 9A 97 9C 23 E D 4F 3 C2 37 0D 84 FD 9D A A 5C 95 20 29 97 49 2 7E 0D 84 D3 9D 37 E0D 84 FD 39 A 2A 45C 95 220 29 A9 49 C2 37E 0D 84 FD 9D A2 E0 8 FD 39 DA 2A 45 9 22 29 A9 74 C2 37 0 84 FD 39 A A D8 4F 3 D 2A 45 C9 522 02 A 74 9C 37 E0 D8 FD 39 DA 2A 45 4F D3 9D A2 45 C9 52 02 9A 974 9C 237 E0 D8 4FD 39 DA 2A 45 C9 D3 9D A2 A4 C 52 202 9A 97 9C 23 E D8 4F 3 D 2A 45 C9 522 9D A2 A4 5C 952 20 9A 97 49C 23 7E 0D 4F D3 9D A2 45 C9 52 02 A2 A4 5C 952 20 29A 97 49C 23 7E 0D 84F D3 9D A2 A4 C9 52 202 9A A4 5C 952 20 29A 97 49 23 7E 0D 84F D3 9D A2 A4 5C9 52 202 9A 97 5C 95 20 29A 97 49 C23 7E 0D 84F D3 9D A2 A4 5C 52 202 9A 97 49C 95 220 29 9 49 C2 7E 0D 84 D 9D A2 A4 5C 952 20 9A 97 49C 23 22 29 A9 74 C2 37 0D 84 FD 39 A A 5C 95 20 29 9 49 2 7E 02 A 74 9C 37 E0 8 FD 39 DA 2A 45 95 22 29 A9 74 C2 37 0D 9A 97 9C 23 E D8 4F 3 D 2A 45 C9 22 02 A 74 9C 37 E0 8 97 49C 23 7E 0D 4F D3 9D A2 45 C9 52 02 9A 974 9C 237 E0 D8 4FD 49 2 7E 0D 84 D3 9D A2 A4 C 52 20 9A 97 9C 23 E D 4F 3 C2 37 0D 84 FD 9D A A 5C 95 20 29 97 49 2 7E 0D 84 D3 9D 37 E0D 84 FD 39 A 2A 45C 95 220 29 A9 49 C2 37E 0D 84 FD 9D A2 E0 8 FD 39 DA 2A 45 9 22 29 A9 74 C2 37 0 84 FD 39 A A D8 4F 3 D 2A 45 C9 522 02 A 74 9C 37 E0 D8 FD 39 DA 2A 45 4F D3 9D A2 45 C9 52 02 9A 974 9C 237 E0 D8 4FD 39 DA 2A 45 C9 D3 9D A2 A4 C 52 202 9A 97 9C 23 E D8 4F 3 D 2A 45 C9 522 9D A2 A4 5C 952 20 9A 97 49C 23 7E 0D 4F D3 9D A2 45 C9 52 02 A2 A4 5C 952 20 29A 97 49C 23 7E 0D 84F D3 9D A2 A4 C9 52 202 9A A4 5C 952 20 29A 97 49 23 7E 0D 84F D3 9D A2 A4 5C9 52 202 9A 97 5C 95 20 29A 97 49 C23 7E 0D 84F D3 9D A2 A4 5C 52 202 9A 97 95 220 29 9 49 C2 7E 0D 84 D 9D A2 A4 5C 952 20 9A 97 49 22 29 A9 74 C2 37 0D 84 FD 39 A A 5C 95 20 29 9 49 02 A 74 9C 37 E0 8 FD 39 DA 2A 45 95 22 29 A9 74 C 9A 97 9C 23 E D8 4F 3 D 2A 45 C9 22 02 A 74 9C 97 49C 23 7E 0D 4F D3 9D A2 45 C9 52 02 9A 974 9C 2 49 2 7E 0D 84 D3 9D A2 A4 C 52 20 9A 97 9C 23 C2 37 0D 84 FD 9D A A 5C 95 20 29 97 49 2 7 37 E0D 84 FD 39 A 2A 45C 95 220 29 A9 49 C2 37E E0 8 FD 39 DA 2A 45 9 22 29 A9 74 C2 37 D8 4F 3 D 2A 45 C9 522 02 A 74 9C 37 E0 4F D3 9D A2 45 C9 52 02 9A 974 9C 237 E0 D3 9D A2 A4 C 52 202 9A 97 9C 23 E D8 9D A2 A4 5C 952 20 9A 97 49C 23 7E 0D A2 A4 5C 952 20 29A 97 49C 23 7E 0D 84 A4 5C 952 20 29A 97 49 23 7E 0D 84F 5C 95 20 29A 97 49 C23 7E 0D 84F 95 220 29 9 49 C2 7E 0D 84 D 22 2 A 74 C 37 0 8 FD 3

Q.P. Code: 36248

(2 ½ Hours)

N.B.

Q. 1 (a)

(b)

5C9522029A9749C237E0D84FD39DA2A4

[Total Marks: 75]

1) All questions are compulsory. 2) Figures to the right indicate marks. 3) Illustrations, in-depth answers and diagrams will be appreciated. 4) Mixing of sub-questions is not allowed. Attempt All (Each of 5Marks) Multiple Choice Questions (15M)

1) The DalvikVM core libraries are a subset of which of the following? a. Java ME b. Java SE c. Java EE d. JAX-WS

2) Which of the following AsyncTask methods is NOT executed on the UI thread? a. onPreExecute() b. onPostExecute() c. publishProgress() d. onProgressUpdate()

3) What Activity method you use to retrieve a reference to an Android view by using the id attribute of a resource XML? a. findViewByReference(int id); b. findViewById(int id) c. retrieveResourceById(int id) d. findViewById(String id)

4) Which configuration file holds the permission to use the internet? a. Layout file b. Property file c. Java source file d. Manifest file

5) What does the following line of code achieve? Intent intent= new Intent(this, Success.class); a. Creates a hidden Intent b. Creates an implicit Intent c. Create an explicit Intent d. Starts an activity

Fill in the blanks. Use following pool to answer questions. [apk, ListView, NotificationManager, Adapter, Cursor]

1) 2) 3) 4)

____ is a view group that displays a list of scrollable items. ____ connects data to RecyclerView. Queries always returns ______ object. _______ is a zip file containing everything that the application needs to run on user’s device. 5) ______ is the type of service provided by android that shows messages and alerts to user.

TURN OVER

29 A9 749 9C2 37E E0D D84 FD 39D DA2 2A4 A 74 C 3 0 8 F 39 A A 5 A9 974 9C2 237 7E0 D84 4FD D39 DA 2A 45C C95 9 D 2 4 E D 2 97 749C C23 37E 0D 84F FD3 39D A2 A45 5C9 952 202 8 A 2 0 A 4 9 7 D 5 C 4 74 9C 237 E0 D8 FD 39 DA 2A 45C 95 22 029 9A9 9 23 E D 4F 3 D 2 4 9 2 02 A 7 9C C23 7E0 0D8 84F D39 9DA A2A A45 5C9 522 202 9A9 974 49C 7 9 D 2 5 C2 237 E0D D84 4FD 39D DA 2A 45C C95 220 029 A97 749 9C2 37E 37 E0D 84 FD 39 A 2A 45C 95 220 29 A9 49 C2 37E 0D 37 E0D 84 FD 39 DA 2A 45C 95 220 29 A9 749 C2 37E 0D 84 7 D F 7E E0D 84F FD3 39D A2 2A4 45C 952 2202 29A A97 49C C23 37E 0D8 84F D3 0D 84 D 9D A2 A4 5C 952 20 9A 97 49 23 7E 0D 4F D3 9D 0D 84 FD 39D A2 A4 5C 952 20 29A 97 49 C23 7E 0D 84F D3 9D A2 C F 3 8 D8 84F D3 9D A2A A45 5C9 9522 202 29A 974 49C 237 7E0 0D8 4FD D39 9DA A2A A45 4F D3 9D A2 45 C9 52 02 9A 974 9C 237 E0 D8 4FD 39 DA 2A 45 C9 D3 9D A2 A4 C 52 202 9A 97 9C 23 E D8 4F 3 D 2A 45 C9 522 9D A2 A4 5C 952 20 9A 97 49C 23 7E 0D 4F D3 9D A2 45 C9 52 02 A2 A4 5C 952 20 29A 97 49C 23 7E 0D 84F D3 9D A2 A4 C9 52 202 9A A4 5C 952 20 29A 97 49 23 7E 0D 84F D3 9D A2 A4 5C9 52 202 9A 97 5C 95 20 29A 97 49 C23 7E 0D 84F D3 9D A2 A4 5C 52 202 9A 97 49C 95 220 29 9 49 C2 7E 0D 84 D 9D A2 A4 5C 952 20 9A 97 49C 23 22 29 A9 74 C2 37 0D 84 FD 39 A A 5C 95 20 29 9 49 2 7E 02 A 74 9C 37 E0 8 FD 39 DA 2A 45 95 22 29 A9 74 C2 37 0D 9A 97 9C 23 E D8 4F 3 D 2A 45 C9 22 02 A 74 9C 37 E0 8 97 49C 23 7E 0D 4F D3 9D A2 45 C9 52 02 9A 974 9C 237 E0 D8 4FD 49 2 7E 0D 84 D3 9D A2 A4 C 52 20 9A 97 9C 23 E D 4F 3 C2 37 0D 84 FD 9D A A 5C 95 20 29 97 49 2 7E 0D 84 D3 9D 37 E0D 84 FD 39 A 2A 45C 95 220 29 A9 49 C2 37E 0D 84 FD 9D A2 E0 8 FD 39 DA 2A 45 9 22 29 A9 74 C2 37 0 84 FD 39 A A D8 4F 3 D 2A 45 C9 522 02 A 74 9C 37 E0 D8 FD 39 DA 2A 45 4F D3 9D A2 45 C9 52 02 9A 974 9C 237 E0 D8 4FD 39 DA 2A 45 C9 D3 9D A2 A4 C 52 202 9A 97 9C 23 E D8 4F 3 D 2A 45 C9 522 9D A2 A4 5C 952 20 9A 97 49C 23 7E 0D 4F D3 9D A2 45 C9 52 02 A2 A4 5C 952 20 29A 97 49C 23 7E 0D 84F D3 9D A2 A4 C9 52 202 9A A4 5C 952 20 29A 97 49 23 7E 0D 84F D3 9D A2 A4 5C9 52 202 9A 97 5C 95 20 29A 97 49 C23 7E 0D 84F D3 9D A2 A4 5C 52 202 9A 97 49C 95 220 29 9 49 C2 7E 0D 84 D 9D A2 A4 5C 952 20 9A 97 49C 23 22 29 A9 74 C2 37 0D 84 FD 39 A A 5C 95 20 29 9 49 2 7E 02 A 74 9C 37 E0 8 FD 39 DA 2A 45 95 22 29 A9 74 C2 37 0D 9A 97 9C 23 E D8 4F 3 D 2A 45 C9 22 02 A 74 9C 37 E0 8 97 49C 23 7E 0D 4F D3 9D A2 45 C9 52 02 9A 974 9C 237 E0 D8 4FD 49 2 7E 0D 84 D3 9D A2 A4 C 52 20 9A 97 9C 23 E D 4F 3 C2 37 0D 84 FD 9D A A 5C 95 20 29 97 49 2 7E 0D 84 D3 9D 37 E0D 84 FD 39 A 2A 45C 95 220 29 A9 49 C2 37E 0D 84 FD 9D A2 E0 8 FD 39 DA 2A 45 9 22 29 A9 74 C2 37 0 84 FD 39 A A D8 4F 3 D 2A 45 C9 522 02 A 74 9C 37 E0 D8 FD 39 DA 2A 45 4F D3 9D A2 45 C9 52 02 9A 974 9C 237 E0 D8 4FD 39 DA 2A 45 C9 D3 9D A2 A4 C 52 202 9A 97 9C 23 E D8 4F 3 D 2A 45 C9 522 9D A2 A4 5C 952 20 9A 97 49C 23 7E 0D 4F D3 9D A2 45 C9 52 02 A2 A4 5C 952 20 29A 97 49C 23 7E 0D 84F D3 9D A2 A4 C9 52 202 9A A4 5C 952 20 29A 97 49 23 7E 0D 84F D3 9D A2 A4 5C9 52 202 9A 97 5C 95 20 29A 97 49 C23 7E 0D 84F D3 9D A2 A4 5C 52 202 9A 97 49C 95 220 29 9 49 C2 7E 0D 84 D 9D A2 A4 5C 952 20 9A 97 49C 23 22 29 A9 74 C2 37 0D 84 FD 39 A A 5C 95 20 29 9 49 2 7E 02 A 74 9C 37 E0 8 FD 39 DA 2A 45 95 22 29 A9 74 C2 37 0D 9A 97 9C 23 E D8 4F 3 D 2A 45 C9 22 02 A 74 9C 37 E0 8 97 49C 23 7E 0D 4F D3 9D A2 45 C9 52 02 9A 974 9C 237 E0 D8 4FD 49 2 7E 0D 84 D3 9D A2 A4 C 52 20 9A 97 9C 23 E D 4F 3 C2 37 0D 84 FD 9D A A 5C 95 20 29 97 49 2 7E 0D 84 D3 9D 37 E0D 84 FD 39 A 2A 45C 95 220 29 A9 49 C2 37E 0D 84 FD 9D A2 E0 8 FD 39 DA 2A 45 9 22 29 A9 74 C2 37 0 84 FD 39 A A D8 4F 3 D 2A 45 C9 522 02 A 74 9C 37 E0 D8 FD 39 DA 2A 45 4F D3 9D A2 45 C9 52 02 9A 974 9C 237 E0 D8 4FD 39 DA 2A 45 C9 D3 9D A2 A4 C 52 202 9A 97 9C 23 E D8 4F 3 D 2A 45 C9 522 9D A2 A4 5C 952 20 9A 97 49C 23 7E 0D 4F D3 9D A2 45 C9 52 02 A2 A4 5C 952 20 29A 97 49C 23 7E 0D 84F D3 9D A2 A4 C9 52 202 9A A4 5C 952 20 29A 97 49 23 7E 0D 84F D3 9D A2 A4 5C9 52 202 9A 97 5C 95 20 29A 97 49 C23 7E 0D 84F D3 9D A2 A4 5C 52 202 9A 97 95 220 29 9 49 C2 7E 0D 84 D 9D A2 A4 5C 952 20 9A 97 49 22 29 A9 74 C2 37 0D 84 FD 39 A A 5C 95 20 29 9 49 02 A 74 9C 37 E0 8 FD 39 DA 2A 45 95 22 29 A9 74 C 9A 97 9C 23 E D8 4F 3 D 2A 45 C9 22 02 A 74 9C 97 49C 23 7E 0D 4F D3 9D A2 45 C9 52 02 9A 974 9C 2 49 2 7E 0D 84 D3 9D A2 A4 C 52 20 9A 97 9C 23 C2 37 0D 84 FD 9D A A 5C 95 20 29 97 49 2 7 37 E0D 84 FD 39 A 2A 45C 95 220 29 A9 49 C2 37E E0 8 FD 39 DA 2A 45 9 22 29 A9 74 C2 37 D8 4F 3 D 2A 45 C9 522 02 A 74 9C 37 E0 4F D3 9D A2 45 C9 52 02 9A 974 9C 237 E0 D3 9D A2 A4 C 52 202 9A 97 9C 23 E D8 9D A2 A4 5C 952 20 9A 97 49C 23 7E 0D A2 A4 5C 952 20 29A 97 49C 23 7E 0D 84 A4 5C 952 20 29A 97 49 23 7E 0D 84F 5C 95 20 29A 97 49 C23 7E 0D 84F 95 220 29 9 49 C2 7E 0D 84 D 22 2 A 74 C 37 0 8 FD 3

Q.P. Code: 36248

2

(c)

Answer in 1 – 2 sentences 1) State the purpose of radio button in android. 2) What do you mean by drawables? 3) How to store data using shared preferences? 4) Explain what you understand by the term transaction with respect to Database. 5) Define the term security with respect to android.

Q. 2 (a)

Attempt the following (Any THREE) (15M) Develop an android application to help a Telephone company to compute bill using the following data:  Accept number of calls made by the user.  Accept number of SMS sent by the user. [Assume per call rate is 0.5 and SMS rate is Rs. 1. The final bill should take care of 18%GST.] (Write only Java code). Define android and discuss the advantages of android. What is the purpose of TextView? Explain the following attributes of TextView control:  id  textColor  text  textStyle Write a note on the following controls. Give suitable example.  CheckBox  ToggleButton Discuss following callback methods with respect to activity:  onCreate()  onStart()  onResume()  onStop()  onDestroy() Develop an android application to print Toast message like in the example using DatePicker and TimePicker. Example: “Hi! Your cab booking is done as per your request 3 June 2018 at 9AM”. (Write only Java code).

(b) (c)

(d)

(e)

(f)

Q. 3 (a)

(b)

Attempt the following (Any THREE) (15M) Consider you have a menu consisting of items red, green, blue. Write a method or provide a menu item click listener to change the background color respectively. [Write XML code for menu and the appropriate methods in Java.] Write a note on notification with respect to the following:  Definition  To create a notification builder  To set properties like content text, icon, title  Attaching actions  Issuing a notification.

TURN OVER

5C9522029A9749C237E0D84FD39DA2A4

29 A9 749 9C2 37E E0D D84 FD 39D DA2 2A4 A 74 C 3 0 8 F 39 A A 5 A9 974 9C2 237 7E0 D84 4FD D39 DA 2A 45C C95 9 D 2 4 E D 2 97 749C C23 37E 0D 84F FD3 39D A2 A45 5C9 952 202 8 A 2 0 A 4 9 7 D 5 C 4 74 9C 237 E0 D8 FD 39 DA 2A 45C 95 22 029 9A9 9 23 E D 4F 3 D 2 4 9 2 02 A 7 9C C23 7E0 0D8 84F D39 9DA A2A A45 5C9 522 202 9A9 974 49C 7 9 D 2 5 C2 237 E0D D84 4FD 39D DA 2A 45C C95 220 029 A97 749 9C2 37E 37 E0D 84 FD 39 A 2A 45C 95 220 29 A9 49 C2 37E 0D 37 E0D 84 FD 39 DA 2A 45C 95 220 29 A9 749 C2 37E 0D 84 7 D F 7E E0D 84F FD3 39D A2 2A4 45C 952 2202 29A A97 49C C23 37E 0D8 84F D3 0D 84 D 9D A2 A4 5C 952 20 9A 97 49 23 7E 0D 4F D3 9D 0D 84 FD 39D A2 A4 5C 952 20 29A 97 49 C23 7E 0D 84F D3 9D A2 C F 3 8 D8 84F D3 9D A2A A45 5C9 9522 202 29A 974 49C 237 7E0 0D8 4FD D39 9DA A2A A45 4F D3 9D A2 45 C9 52 02 9A 974 9C 237 E0 D8 4FD 39 DA 2A 45 C9 D3 9D A2 A4 C 52 202 9A 97 9C 23 E D8 4F 3 D 2A 45 C9 522 9D A2 A4 5C 952 20 9A 97 49C 23 7E 0D 4F D3 9D A2 45 C9 52 02 A2 A4 5C 952 20 29A 97 49C 23 7E 0D 84F D3 9D A2 A4 C9 52 202 9A A4 5C 952 20 29A 97 49 23 7E 0D 84F D3 9D A2 A4 5C9 52 202 9A 97 5C 95 20 29A 97 49 C23 7E 0D 84F D3 9D A2 A4 5C 52 202 9A 97 49C 95 220 29 9 49 C2 7E 0D 84 D 9D A2 A4 5C 952 20 9A 97 49C 23 22 29 A9 74 C2 37 0D 84 FD 39 A A 5C 95 20 29 9 49 2 7E 02 A 74 9C 37 E0 8 FD 39 DA 2A 45 95 22 29 A9 74 C2 37 0D 9A 97 9C 23 E D8 4F 3 D 2A 45 C9 22 02 A 74 9C 37 E0 8 97 49C 23 7E 0D 4F D3 9D A2 45 C9 52 02 9A 974 9C 237 E0 D8 4FD 49 2 7E 0D 84 D3 9D A2 A4 C 52 20 9A 97 9C 23 E D 4F 3 C2 37 0D 84 FD 9D A A 5C 95 20 29 97 49 2 7E 0D 84 D3 9D 37 E0D 84 FD 39 A 2A 45C 95 220 29 A9 49 C2 37E 0D 84 FD 9D A2 E0 8 FD 39 DA 2A 45 9 22 29 A9 74 C2 37 0 84 FD 39 A A D8 4F 3 D 2A 45 C9 522 02 A 74 9C 37 E0 D8 FD 39 DA 2A 45 4F D3 9D A2 45 C9 52 02 9A 974 9C 237 E0 D8 4FD 39 DA 2A 45 C9 D3 9D A2 A4 C 52 202 9A 97 9C 23 E D8 4F 3 D 2A 45 C9 522 9D A2 A4 5C 952 20 9A 97 49C 23 7E 0D 4F D3 9D A2 45 C9 52 02 A2 A4 5C 952 20 29A 97 49C 23 7E 0D 84F D3 9D A2 A4 C9 52 202 9A A4 5C 952 20 29A 97 49 23 7E 0D 84F D3 9D A2 A4 5C9 52 202 9A 97 5C 95 20 29A 97 49 C23 7E 0D 84F D3 9D A2 A4 5C 52 202 9A 97 49C 95 220 29 9 49 C2 7E 0D 84 D 9D A2 A4 5C 952 20 9A 97 49C 23 22 29 A9 74 C2 37 0D 84 FD 39 A A 5C 95 20 29 9 49 2 7E 02 A 74 9C 37 E0 8 FD 39 DA 2A 45 95 22 29 A9 74 C2 37 0D 9A 97 9C 23 E D8 4F 3 D 2A 45 C9 22 02 A 74 9C 37 E0 8 97 49C 23 7E 0D 4F D3 9D A2 45 C9 52 02 9A 974 9C 237 E0 D8 4FD 49 2 7E 0D 84 D3 9D A2 A4 C 52 20 9A 97 9C 23 E D 4F 3 C2 37 0D 84 FD 9D A A 5C 95 20 29 97 49 2 7E 0D 84 D3 9D 37 E0D 84 FD 39 A 2A 45C 95 220 29 A9 49 C2 37E 0D 84 FD 9D A2 E0 8 FD 39 DA 2A 45 9 22 29 A9 74 C2 37 0 84 FD 39 A A D8 4F 3 D 2A 45 C9 522 02 A 74 9C 37 E0 D8 FD 39 DA 2A 45 4F D3 9D A2 45 C9 52 02 9A 974 9C 237 E0 D8 4FD 39 DA 2A 45 C9 D3 9D A2 A4 C 52 202 9A 97 9C 23 E D8 4F 3 D 2A 45 C9 522 9D A2 A4 5C 952 20 9A 97 49C 23 7E 0D 4F D3 9D A2 45 C9 52 02 A2 A4 5C 952 20 29A 97 49C 23 7E 0D 84F D3 9D A2 A4 C9 52 202 9A A4 5C 952 20 29A 97 49 23 7E 0D 84F D3 9D A2 A4 5C9 52 202 9A 97 5C 95 20 29A 97 49 C23 7E 0D 84F D3 9D A2 A4 5C 52 202 9A 97 49C 95 220 29 9 49 C2 7E 0D 84 D 9D A2 A4 5C 952 20 9A 97 49C 23 22 29 A9 74 C2 37 0D 84 FD 39 A A 5C 95 20 29 9 49 2 7E 02 A 74 9C 37 E0 8 FD 39 DA 2A 45 95 22 29 A9 74 C2 37 0D 9A 97 9C 23 E D8 4F 3 D 2A 45 C9 22 02 A 74 9C 37 E0 8 97 49C 23 7E 0D 4F D3 9D A2 45 C9 52 02 9A 974 9C 237 E0 D8 4FD 49 2 7E 0D 84 D3 9D A2 A4 C 52 20 9A 97 9C 23 E D 4F 3 C2 37 0D 84 FD 9D A A 5C 95 20 29 97 49 2 7E 0D 84 D3 9D 37 E0D 84 FD 39 A 2A 45C 95 220 29 A9 49 C2 37E 0D 84 FD 9D A2 E0 8 FD 39 DA 2A 45 9 22 29 A9 74 C2 37 0 84 FD 39 A A D8 4F 3 D 2A 45 C9 522 02 A 74 9C 37 E0 D8 FD 39 DA 2A 45 4F D3 9D A2 45 C9 52 02 9A 974 9C 237 E0 D8 4FD 39 DA 2A 45 C9 D3 9D A2 A4 C 52 202 9A 97 9C 23 E D8 4F 3 D 2A 45 C9 522 9D A2 A4 5C 952 20 9A 97 49C 23 7E 0D 4F D3 9D A2 45 C9 52 02 A2 A4 5C 952 20 29A 97 49C 23 7E 0D 84F D3 9D A2 A4 C9 52 202 9A A4 5C 952 20 29A 97 49 23 7E 0D 84F D3 9D A2 A4 5C9 52 202 9A 97 5C 95 20 29A 97 49 C23 7E 0D 84F D3 9D A2 A4 5C 52 202 9A 97 95 220 29 9 49 C2 7E 0D 84 D 9D A2 A4 5C 952 20 9A 97 49 22 29 A9 74 C2 37 0D 84 FD 39 A A 5C 95 20 29 9 49 02 A 74 9C 37 E0 8 FD 39 DA 2A 45 95 22 29 A9 74 C 9A 97 9C 23 E D8 4F 3 D 2A 45 C9 22 02 A 74 9C 97 49C 23 7E 0D 4F D3 9D A2 45 C9 52 02 9A 974 9C 2 49 2 7E 0D 84 D3 9D A2 A4 C 52 20 9A 97 9C 23 C2 37 0D 84 FD 9D A A 5C 95 20 29 97 49 2 7 37 E0D 84 FD 39 A 2A 45C 95 220 29 A9 49 C2 37E E0 8 FD 39 DA 2A 45 9 22 29 A9 74 C2 37 D8 4F 3 D 2A 45 C9 522 02 A 74 9C 37 E0 4F D3 9D A2 45 C9 52 02 9A 974 9C 237 E0 D3 9D A2 A4 C 52 202 9A 97 9C 23 E D8 9D A2 A4 5C 952 20 9A 97 49C 23 7E 0D A2 A4 5C 952 20 29A 97 49C 23 7E 0D 84 A4 5C 952 20 29A 97 49 23 7E 0D 84F 5C 95 20 29A 97 49 C23 7E 0D 84F 95 220 29 9 49 C2 7E 0D 84 D 22 2 A 74 C 37 0 8 FD 3

Q.P. Code: 36248

3

(c) (d) (e)

(f)

Q. 4 (a) (b)

(c)

(b) (c)

(d)

(e)

Explain life cycle of service in android. Write a note on Alarm Manager along with example. In order to implement two factor authentication, an organization needs to develop an android application which will accept mobile number from user. On click of submit button display a message with the help of Snackbar that “OTP is sent on your number”. [Write only JAVA code ]. Also state the difference between Toast and Snackbar. What do you mean by material design in android? Explain the concept in detail.

Attempt the following (Any THREE) (15) Write a short note on Shared Preferences. Discuss the Google provided tools for advertisers the AdMob with respect to following points: Concept, features and implementation. Explain following with respect to database along with suitable example:  Insert  Select  Update  Delete  Cursor

(d) (e) (f)

Discuss ACID properties of transaction. What is a content provider? How does it work? State the concept of performance. Discuss Memory monitor, CPU monitor, GPU monitor and Network monitor with respect to performance.

Q. 5 (a)

Attempt the following (Any THREE) Write XML code for the following GUI. Name : [EditText] (Use textview for Name) Password : [EditText] (Use textview for Password) Buttons : Submit and Cancel.

Use Relative Layout with proper attributes. How to perform back navigation in android? Provide one example. Develop an application to play a music file. Provide necessary steps for the same. [Write only Java code.] Explain following terms in 2-3 lines.

1) 2) 3) 4) 5)

gradle layout Floating Action Button ANR manifest file

Firebase, a set of tools for mobile and web app developers. Justify the statement and list some features of Firebase.

_________________

5C9522029A9749C237E0D84FD39DA2A4

(15)

More Documents from "Udit Thakur"