Wednesday, 20 August 2014

T.Y.BSC Computer Science, October - 2012, Paper - I, Data Communication, Networking & Security, Semester - 6.

T.Y.BSC Computer Science, October - 2012, Paper - I, Data Communication, Networking & Security, Semester - 6.


Con. 6200-12.                       (REVISED COURSE)                                        HK -4870
                                                    (3 Hours)                                         [Total Marks : 100]

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-questios is not allowed.

1.Attempt the followinng (Any four) :-
(a) Ring Topology5
(b) Sliding Window of Go-Back-N ARQ5
(c) Advantages of IPv65
(d) PGP5
(e) Infrared communication5
(f) Types of Login in Telnet.5

2.

Attempt the following (any four) :-
(a) State any 5 functions of Physical layer. 5
(b) What factors can affect performance of network ? Explain.5
(c) What is serial transmission ? Explain any one of its types.5
(d) Define multiplexing. State its types. What is the minimum bandwidth of a link on5
     which five channels of 100 kHz bandwidth with guard bands of 10 kHz are multiplexed?
(e) Write a note on coaxial cable.5
(f) What is packet switch ? State its components along with their role.5

3.

Attempt the following (any four) :-
(a) What is CRC ? How CRC Encoder works ?5
(b) Explain PPP Transition phases.5
(c) Write a note on Polling.5
(d) Explain Switched Ethernet.5
(e) What is bridge ? Explain its filtering function.5
(f) Solve the following :-5
       (i) Find the Hamming Distance -d(101011, 010010)
       (ii) Find the class and default mask of IP Address - 130.111.23.75.

4.

Attempt the following (any four) :-
(a) If an IP packet arrives with the first 8 bits as 01001101, what the receiver will do5
     with the packet and why ? Also state whether this is IPv4 or IPv6 packet.
(b) How does ARP work ?5
(c) What is Fowarding ? Explain any twp forwarding techniques.5
(d) Explain Three-Way handshaking in TCP.5
(e) What is closed-loop congestion ? Explain Backpressure.5
(f) What a note on FTP.5

5.

Attempt the following (any four) :-
(a) State and explain any five types of attacks.5
(b) Using the addictive cipher with key = 15, decrypt the message - "PQDGI".5
(c) What is firewall ? Explain packet filters.5
(d) How digital signature works ?5
(e) What is role of audit record in intrusion detection ?5
(f) What is IPSec ? Explain Authentication Header format of IPSec.5

TYB.Sc Computer Science Advanced Java Semester 6 Paper II October 2012

TYB.Sc Computer Science Advanced Java Semester 6 Paper II October 2012

Con.6203-12.                                           (REVISED COURSE)                     HK-5110

                                                                       (3 Hours)                       [Total Marks:-100]

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.

1. Attempt the following(any four):-
   (a) Write a note on the JColorChooser Class. [5 Marks]
   (b) What is a Network Interface? How can Network Interface information be arrived? [5 Marks]
   (c) Distinguish between Generic and HTTP Servlets. [5 Marks]
   (d) What is an Enterprise Bean? What are its benefits? [5 Marks]
   (e) State the JDBC drivers and explain any two in brief. [5 Marks]
   (f) Write a note on the JAX-WS technology. [5 Marks]

2. Attempt the following (any four) :-
    (a) Write a short note on the advantages of JFC. [5 Marks]
    (b) Write a note on the ResultSet interface of the java.sql package. [5 Marks]
    (c) State two constructors and three methods of the following JAVA Swing
          classes :- [5 Marks]
           (i) JList   (ii) JTabbedPane
    (d) Explain with an example the seven steps of JDBC. [5 Marks] 
    (e) Write a Swing Program with two text boxes labeled "First Number" and "Second
          Number" respectively. Include a Button Labeled "Reverse" on the click of which the
          number entered in the first box should be reversed and displayed in the second
          box. [5 Marks]  
     (f) Write a JDBC program that would create the Friends(F_Name, F_Mobile,F_Email)
          table and insert three records in it. [5 Marks]

3. Attempt the following(any Four):-
    (a) Explain the lifecycle of a Thread. [5 Marks]
    (b) What are the Thread Safe variables? How are they declared? [5 Marks]
    (c) Write note on the RMI Registry Service. [5 Marks]
    (d) Explain the RMI Architecture Layers. [5 Marks]
    (e) What does InetAddress class represent? State and explain any four methods
          of this class. [5 Marks] 
    (f) Write a TCP client server program wherein the clients sends a number to the server and the
         server replies with its factorial. [5 Marks]

4. Attempt the following(any four):-
     (a) Explain error handling mechanism in JSP with an appropriate example. [5 Marks]
     (b) Explain how GET and POST requests are handled using servlets with appropriate
          examples. [5 Marks]
     (c) State and explain the different JSP elements. [5 Marks]
     (d) Explain the methods of the HttpSession Interface. [5 Marks]
     (e) Explain the usage of the following JSP tags:- [5 Marks]
           (i) jsp:useBean  (ii) jsp:setProperty
     (f) Write a servlets that accepts a username from a HTML form and stores it in a cookie
          variable. Write another servlet that would retrieve the value of this servlet and display
          it. (HTML code not required). [5 Marks]

5. Attempt the following any four):-
    (a) What factors should be considered before giving local or remote access to
          beans? [5 Marks]
    (b) Explain the lifecycle of a stateless Session Bean. [5 Marks]
    (c) State the contents of an Enterprise Beans? Also state their naming conventions. [5 Marks]
    (d) What is a Message Driven Bean? State its characteristics. [5 Marks]
    (e) What are the characteristics of a Remote Client of an  Enterprise Bean? What are the
         different ways to create an enterprise bean that allows remote access? [5 Marks] 
    (f) Write a Web Service method that accepts a number n and returns 1+2+3+....+n. [5 Marks]

Tuesday, 19 August 2014

T.Y.BSC. Computer Science Paper- III Operating Systems and LINUX Semester 6 October 2012

T.Y.BSC. Computer Science Paper- III Operating Systems and LINUX Semester 6 October 2012

Con.6145-12.                                   (REVISED COURSE)                            HK-5146.

                                                                 (3 Hours)                                 [Total Marks:- 100]

Note:- (1) All questions are compulsory.
           (2) Use separate answer books for the two sections, and submit them separately.
           (3) Figures to the right indicate full marks.
           (4) Symbols have their usual meaning unless otherwise stated.
           (5) Illustrations , in-depth answers and diagrams will be appreciated.


Section-I

1. (a) Describe the activities of Process Management Module of the Operating system. [6 Marks]
    (b) Define thread. What are the benefits of multithreaded programming? Write short note 
         on any one of the following : [6 Marks] 
    (c) Write short note on any one of the following: [5 Marks]
          i. Command Interpreter ii. Systems programs offered by the operating system.

OR

1. (p) Define multiprogramming. Explain how multiprogramming increases CPU
          utilization. [6 Marks]
    (q) Explain the concept of Layered Approach and state its advantages. [6 Marks]
    (r) Write note on types of schedulers. [5 Marks]

2. (a) Explain how the principles of Mutual Exclusion is implemented using Semaphore. [6 Marks]  
    (b) Calculate the average waiting time for the following processes by Round Robin method 
          and shortest Job First. Find out which is better? [6 Marks]
          Time quantum is 8ms.
           
      (c) In context with Banker's algorithm, explain the resource request algorithm. [5 Marks]
      
OR

2. (p) Describe the structure of Monitor stating its advantages. [6 Marks]
    (q) Elaborate on the two process solution for Critical Section Problem. [6 Marks]
    (r) Write note on Preemptive Process scheduling algorithm. [5 Marks]

3. (a) Explain the following terms in brief: OPT Page Replacement Technique and 
         Fragmentation. [6 Marks]  
    (b) Explain the SCAN and C-SCAN algorithm for disk scheduling. [5 Marks]
    (c) Discuss the various steps involved in DMA method of data transfer. [5 Marks]

OR

3. (p) Explain simple paging technique. [6 Marks]
    (q) Write note on Interrupt driven I/O. [5 Marks]
    (r) Write note on any one of the following:- 1. Attributes of File  2. File Operations.

4. (a) Write short note on listing of file and directory. [6 Marks]
    (b) Explain the different types of Files in Unix. [6 Marks]
    (c) Give command for the following: - [5 Marks]
            i. Displaying the inode along with the file size.
           ii. Change permission of File f1 to 601.
          iii. Display contents of a directory.

OR

4. (p) Describe Unix Kernel and shell relationship. [6 Marks]
    (q) What are Basic Regular Expression? How do they help in pattern search. [6 Marks]
    (r) Explain simple filters: -Sort and cut with any two options for each. [5 Marks]

5. (a) How to compile and execute 'C' program in Unix? Explain. [6 Marks]
    (b) Write a shell script to count the number of ordinary, directory and link files in the directory 
          specified as a command line argument to the script. [6 Marks]      
    (c) Write note on Shell Environment Variables. [5 Marks]

OR

5. (p) Explain the significance of .bash_profile file. [6 Marks]
    (q) Write a shell script to accept two numbers from user and find the GCD and LCM of 
          those numbers. [6 Marks]
    (r) What are the characteristics of a GOOD password. [5 Marks]

6. (a) With an example describe the use of BEGIN and END sections in awk. [6 Marks]
    (b) What are the runlevels? Explain. [5 Marks]
    (c) Write note on system administrator's privileges. [5 Marks]

OR

6. (p) Write note on fcsk utility. [6 Marks]
    (q) What does mounting and unmounting File System mean? Explain. [5 Marks]
    (r) Explain the cpio backup program. [5 Marks] 

TYB.Sc Computer Science, Advanced Java, Semester 6, Paper II, May 2012.

TYB.Sc Computer Science, Advanced Java,

Semester 6, Paper II, May 2012.
Con.1408-12
EX - 6489
(REVISED COURSE)

(3 Hours)
[Total Mark: 100]
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.

1. Attempt the following (any four): -
(a) Features of JFC ------ (5 Marks)
(b) RMI ------ (5 Marks)
(c) Servlet Life Cycle ------ (5 Marks)
(d) Message Driven Bean ------ (5 Marks)
(e) ResultSet ------ (5 Marks)
(f) Lifecycle of Stateful Session Bean ------ (5 Marks)

2. Attempt the following (any four): -
(a) Write a JDBC program that accepts a table name and displays total number of records presenting it. ------ (5 Marks)
(b) How to create a JMenu and add it to a JMenuBar inside a JFrame? ------ (5 Marks)
(c) Explain PreparedStatement using code snippets. ------ (5 Marks)
(d) Describe the way a Stored Procedure is called in JDBC. ------ (5 Marks)
(e) Explain in detail JScrollPane. ------ (5 Marks)
(f) List and explain any three Text-Entry Components. ------ (5 Marks)

3. Attempt the following (any four): -
(a) Explain the use of following classes/interface-(p) Remote(q) Naming. ------ (5 Marks)
(b) Explain the synchronized keyword with example. ------ (5 Marks)
(c) Write a short note on Socket Direct Protocol. ------ (5 Marks)
(d) Explain the steps to execute a RMI program. ------ (5 Marks)
(e) Explain the following classes using code snippets – InetAddress, URLConnection. ------ (5 Marks)
(f) Write a JApplet that draws a dot at random location in its display area every 200 milliseconds. ------ (5 Marks)

(4) Attempt the following (any four): -
(a) Write a short note on HttpSession. ------ (5 Marks)
(b) Write a Servlet file which will display if a number N is prime or not prime. Number N is accepted from prime.html. ------ (5 Marks)
(c) List and explain various JSP Page Directives. ------ (5 Marks)
(d) What is a filter? Explain various parameters of doFilter().------ (5 Marks)
(e) What are cookies? Explain how Servlets read data from Cookies. ------ (5 Marks)
(f) Write a JSP to print the sum of 1 to N numbers. Number N is accepted from sum.html. ------ (5 Marks)

5. Attempt the following (any four): -
(a) What is EJB? Explain the benefits of EJB. ------ (5 Marks)
(b) What is MessageListener? Also explain onMessage().------ (5 Marks)
(c) Explain the Lifecycle of Stateless Session Bean. ------ (5 Marks)
(d) What are the various ways of passing parameters in EJB? ------ (5 Marks)
(e) Explain the use of (p) @ WebMethod (q) @ WebParam. ------ (5 Marks)
(f) Write a Web Services which will return factorial of a number passed to it. ------ (5 Marks)

T.Y.BSC. Computer Science, Paper - III, Operating Systems and Linux, Semester - 6, May 2012.

T.Y.BSC. Computer Science, Paper - III, Operating Systems and Linux, Semester - 6, May 2012.


Con. 1410-12.                         (REVISED COURSE)                                        EX-6459
                                                     (3 Hours)                                         [Total Marks : 100

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 subquestions is not allowed.

1.Write a short notes on following :-5
(a) OS services5
(b) Segmentation5
(c) Features of Linux5
(d) Firewalls 5
(e) Shared memory and Message Passing5
(f) Iptables.5

2.

Answer the following questions (any four) :-
(a) Consider the following set of processes with CPU burst time and arrival time. Illustrate5
     the execuation pf processes. Also calculate average waiting time and turnaround time.


(b) Write an algorithm using bounded buffer which will prove the synchronization between5
     producer and consumer problem.
(c) Define Thread. Explain in what all ways Threads are different than processes.5
(d) List different types of OS. Explain any 2 feature of time sharing OS and Real Time OS.5
(e) Define critical section. State the requirement that must be meet to solve critical5
    section problem.
(f) Explain 5 state process model in brief.5

3.

Answer the following question (any four) :-
(a) Consider the following snapshot of a system. A,B,C,D are the resource types.5
     Allocation, MAX and available matrix is as follows :-


      Available matrix : [ 1 4 2 0]
      Total Resource are : [4 14 12 12]
            * Find the content of need array.
            * Find the safe sequence.
(b) Explain fixed sized partitoned method and variable sized partitioned method with5
     respect to memory management.
(c) Discuss different technique used for free space management.5
(d) Define the following terms :5
          (1) virus (2) trap door (3) encryption (4) worm (5) authentically.
(e) Consider the requested track was 55, 58 and 39, 18, 90, 160, 150, 38, 184. Current5
     head position is at location 100. Find the average seek time of Disk using SSTF and
     SCAN algorithm.
     Comment which algorithm is better.
(f) Diagrammatically step wise explain the concept of page fault handling.5

4.

Answer the following question. (any four) :-
(a) Discuss different utilities of compressing the files.5
(b) Define a link. State different types of links. Explain them in brief.5
(c) Whar do you understand by Postional parameters ? Explain with a small5
      example.
(d) Explain the read command with options and suitable example.5
(e) Find the syntax errors ( if any ) from the following shell scripts and predict the5
     output.

(f) Explain the Linux Architecture.5

5.

Answer the following questions (any four) :-
(a) Explain startup and shutdown processes in linux.5
(b) Discuss the following commands :5
                 Rcp , ping, rwho, rlogin, wall.
(c) Demostrate with suitable example how to trap a particular signal.5
(d) What is openesh ? Discuss with respect to following points : tasks and com5
     ponents.
(e) Predict the outputs :-

5


(f) Write a note on FTP.5

T.Y.BSC. Computer Science Paper-III Operating Systems and UNIX Semester 6 October 2012

T.Y.BSC. Computer Science Paper-III Operating Systems and UNIX Semester 6 October 2012

Con.6144-12.                                (REVISED COURSE)                      HK-5149

                                                               (3 Hours)                            [Total Marks:-100]

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

Q.1 Answer any four from the following: -
       (a) Describe the activities of Operating System in regard to process management. [5 Marks]
       (b) Write short note on typical PC bus structure. [5 Marks]
       (c) Describe features of Linux/UNIX OS. [5 Marks]
       (d) Write short note on FTP. [5 Marks]
       (e) What is swapping? Give its need. [5 Marks] 
       (f) List all and explain any two file compression utilities. [5 Marks]

Q.2 Answer any four from the following: -
       (a) What are Distributed Systems? Give their advantage. [5 Marks]
       (b) Explain concept of layered approach stating its advantages and
            disadvantages. [5 Marks]
       (c) Write note on Task Control Block. [5 Marks]
       (d) Give the characteristics features of indirect communication between
             processes. [5 Marks]
       (e) Calculate the average waiting time and turnaround time for the following set of process
             using Round Robin Scheduling. Use time quantum 8. [5 Marks]
       (f) Write note on threading models. [5 Marks]

Q.3 Answer any four from the following: -
       (a) Obtain a solution of Dining Philosophers problems using monitors. [5 Marks]
       (b) How does one recover from deadlock? Explain. [5 Marks]
       (c) Given the following reference string find out the number of page faults that occur
            using FIFO 3 frames. Further check whether this reference string follows Belady's
            anomaly for 4 frames. [5 Marks]   
            7 0 2 0 3 0 1 0 0 0 0 5 3 4 7 1 1 5 4
       (d) Describe Tree Structured Directory Structure. [5 Marks]
       (e) Describe with neat diagram the various solutions to the Dynamic partitioning. [5 Marks]
       (f) Discuss various types of attacks. [5 Marks]

Q.4 Answer any four from the following:-
       (a) Write note on grep. [5 Marks]
       (b) A file named emp.lst contains data related to the employees of an organization in
             the following format : Fields are separated using "῀" [5 Marks]
             EmpId ῀ EmpName῀ Designation ῀ DOJ ῀ Salary
             Give commands for the following: -
             i) Sort the employees on descending order of their salary.
            ii) Count the no. of employees in the organization.
           iii) Display the employee having highest salary.
           iv) Display all the employees joined in the year 1970. [5 Marks]
      (c) Describe the following commands: [5 Marks]
            chsh, chfn, chage, chown, uniq
      (d) Write a shell script to accept random 8 numbers from the users and store them separately
             in files odd.lst and even.lst if those numbers are odd or even. [5 Marks]
      (e) What are command Line Parameters? Explain $#, $@, $0, $*. [5 Marks]
      (f) What are links? Give their types. Give example for creation of links. [5 Marks]

Q.5 Answer any four from the following: -
       (a) Discuss various iptables table. [5 Marks]
       (b) What does redirection mean? Explain Standard File Descriptors. [5 Marks]
       (c) Explain the following: - [5 Marks]
            SIGINT, SIGTSTP, SIGQUIT, SIGKILL, SIGTERM.
       (d) Provide examples with explanation for each of the following using sed: - [5 Marks]
             i. Use of flag values :- g, p, w for sed substitution.
            ii. Deleting a line.
       (e) Describing the component of Linux File System. [5 Marks]
       (f) Write note on OpenSSH. [5 Marks] 

T.Y.BSC. Computer Science, Paper- IV Structured System Analysis and Design Semester 6 October 2012

T.Y.BSC. Computer Science, Paper- IV Structured System Analysis and Design Semester 6 October 2012

Con.6481-12.                              (REVISED COURSE)                     HK-5188

                                                            (3 Hours)                         [Total Marks:-100]

Note: - i. All questions are compulsory.
           ii. Use separate answer books for the two sections, and submit them separately.
          iii. Figures to the right indicate full marks. 
          iv) Symbols have their usual meaning unless otherwise stated.
          v) Illustrations, in-depth answers and diagrams will be appreciated.

Section I

1. (a) Who is system analyst? List the tasks performed by him. [6 Marks]
    (b) What are the features of good information systems? [5 Marks] 
    (c) What is incremental model? How is it different from the spiral model? [6 Marks]
OR

1. (p) Write short note on Prototype Paradigm. [6 Marks]
    (q) Write a short note on Technical Feasibility. [5 Marks]
    (r) What sis waterfall model? How is it different from incremental model? [6 Marks]

2. (a) Define the following (any 2):- [6 Marks]  
         1. Stakeholder
         2. 7 + -2 Rule
         3. black hole and miracle
    (b) Explain types of Questionnaire which is one of the fact finding method. [6 Marks]
    (c) Explain the columns of an event table. Why is it used? [5 Marks]

OR

2. (p) What is the objective of structured walkthrough? [6 Marks]
    (q) For the below given case study, complete the event table and draw the context level 
         diagram. A Janshakti Sahakari Bank has many branches and large number of customers. 
         A customer can open many different kinds of accounts with the bank. The bank has got 
         many branches. The bank keeps track of the customer with his UID NO,name,address 
         and mobile number. Age is a factor to check whether he is a major or minor. There are 
         different types of loans which are given to customers, each identifies by loan number. 
         Customer can take up more than one type of loan and all branches can give loans. Loans 
          have duration and an interest rate. the account holder can enquire about the balance in his 
          account. He has given the facility of ATM and when he opens the account. [6 Marks]     
     (r) How will you compare the two types of events such as external and temporal 
          event? [5 Marks]

3. (a) What is system flow chart used for? What symbol are used for it? [6 Marks]
    (b) What is the difference between coupling and cohesion? [6 Marks]
    (c) List the steps to convert ERD into a relational database. [4 Marks]

OR

3. (p) How will one measure the qualityof structure chart? [6 Marks]
    (q) Describe the tools used for explaining processing logic and procedures. [6 Marks]
    (r) What is transaction logging? [4 Marks]

4. (a) Explain <<extends>> & <<includes>> steriotypes along with an example. [5 Marks]
    (b) Explain the concept of activity diagram with the help of an example. [6 Marks]
    (c) Write a short note on component diagram. [5 Marks]

OR

4. (p) What is the difference between state chart and activity diagram? [5 Marks]
    (q) Explain the relationships Aggregation, Association and Generalization in context with 
         class diagram.[6 Marks]   
    (r) Define and explain with an example:- Swimlanes and actor. [5 Marks]

OR

5. (a) What is Hybrid DBMS? [5 Marks]
    (b) Discuss while box testing. [6 Marks]
    (c) What is the difference between alpha and beta testing? Explain. [6 Marks]

OR

5. (p) Write short note on partitioned database servers. [5 Marks]
    (q) List and explain the seven characteristics of testable software. [6 Marks]
    (r) Explain the loop testing. [6 Marks]

6. (a) What are the errors that are commonly found during unit testing? [6 Marks]
    (b) What are the drawbacks of fault based testing? [5 Marks]
    (c) Write a short note on unit testing in OO context. [6 Marks]

OR

6. (p) What are the different types of partitioning Testing at the class Level? Explain 
          them. [6 Marks]
    (q) Explain in short the Surface Structure Testing. [5 Marks]
    (r) Discuss the problems, which may occur, in fault-based testing. [6 Marks]