Accounting and Financial Management (3) Analog and Digital Communication (2) Artificial Intelligence (2) BE(Civil) (2) BE(CSE) (83) BE(ECE) (11) BE(Mech) (10) Business Processes (3) C# and .NET Framework (2) Communication Skills (1) Compiler Design (1) COMPONENT BASED TECHNOLOGY (1) COMPUTER ARCHITECTURE (1) COMPUTER GRAPHICS and MULTIMEDIA SYSTEMS (6) COMPUTER INTEGRATED MANUFACTURING (1) Computer Networks (9) Computer Organization (2) Computer Programming (1) Consumer Behaviour (1) Control Systems (1) Cryptography and Network Security (3) Datastructures and Algorithms (10) Datawarehousing and Mining (1) DBMS (5) DESIGN AND ANALYSIS OF ALGORITHMS (9) DESIGN OF MACHINE ELEMENTS (1) DIGITAL PRINCIPLES AND SYSTEMS DESIGN (3) Discrete Mathematics (1) DISTRIBUTED COMPUTING (2) DSP (8) DYNAMICS OF MACHINERY (2) Economic Foundations (1) ELECTRICAL ENGINEERING (1) ELECTRICAL ENGINEERING AND CONTROL SYSTEMS (1) Electromagnetic Fields (3) ELECTRONIC CIRCUITS (1) ELECTRONIC COMMERCE (4) ELECTRONIC DEVICES AND CIRCUITS (1) EMBEDDED SYSTEMS (1) FUNDAMENTALS OF COMPUTING (2) Graphics and Multimedia (3) HEAT AND MASS TRANSFER (1) HUMAN RESOURCE MANAGEMENT (1) Internet Programming (9) INTRODUCTION TO FINITE ELEMENT ANALYSIS (1) Legal Aspects of Business (1) MANAGEMENT INFORMATION SYSTEMS (1) Marketing Management (1) MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE (4) MATHEMATICS - I (1) MBA (9) MCA (83) MCA QUESTION BANK (2) MECHATRONICS (1) MicroProcessor and Controllers (4) MICROPROCESSORS AND APPLICATIONS (5) MIDDLE WARE TECHNOLOGIES (3) MOBILE COMPUTING (5) NETWORK PROGRAMMING (1) NUMERICAL METHODS (1) OBJECT ORIENTED ANALYSIS AND DESIGN (5) Object Oriented Programming (18) Operating System (2) OPERATING SYSTEMS (9) Organizational Behaviour (2) POWER ELECTRONICS (1) Principles of Management (8) PROBABILITY AND QUEUEING THEORY (2) Probability and Statistics (1) PROBLEM SOLVING AND PROGRAMMING (2) PROCESS PLANNING AND COST ESTIMATION (1) PROFESSIONAL ETHICS AND HUMAN VALUES (1) RANDOM PROCESSES (1) RESOURCE MANAGEMENT TECHNIQUES (2) ROBOTICS (1) Security analysis (1) Service Marketing (1) SIGNALS AND SYSTEMS (1) Software Engineering (8) SOFTWARE PROJECT MANAGEMENT (4) SOFTWARE QUALITY MANAGEMENT (2) System Software (2) TCP/IP PROTOCOL SUITE (3) Theory of Computation (4) Total Quality Management (2) UNIX AND NETWORK PROGRAMMING (4) Visual Programming (2) WEB GRAPHICS (2) WEB TECHNOLOGY (2) XML AND WEB SERVICES (4)

Tuesday, October 26, 2010

NETWORK PROGRAMMING JUNE 2009

M.C.A DEGREE EXAMINATION, MAY/JUNE 2009

3rd Semester

NETWORK PROGRAMMING


PART A (10 x 2 = 20 Marks)

1. Differentiate exit and _exit functions.
2. Show how the current signal mask of a signal can be changed?
3. Write a program to find the host byte order.
4. State the purpose of SO_REUSEADDR and SO_REUSEPORT Socket options.
5. List out the information maintained by Zombie State.
6. Show how TCP maintains queue for listening socket.
7. How TCP_NODELAY option is used while sending small packets?
8. How, when and why a client that wants to access a site in remote server would accesses the DNS?
9. How a client running on IPV4 configured host communicate with a server in IPV6 host?
10. State few functions and uses of a raw socket.

PART B ( 5 x 16 = 80 Marks)

11. a) Explain the Posix Signal Handling process, which calls Signal function. (8)
b) State the conditions that generate a signal. (4)
c) Write notes on Signal Sets. (4)

12. a) i) Explain the characteristics of Process Groups and Sessions. (8)
ii) Write notes on Message Queues and Shared memory. (8)
Or
b) Write a program to generate accounting data for a parent and three children. Get two integers in parent process and its children perform addition, subtraction and multiplication respectively and all get terminated in reverse order.

13. a) Explain gethostbyname, gethostbyname2 with resolver option and the structure
these two points by their return value. (16)
Or
b) Write a Concurrent server program which uses TCP and show the status of Client and Server before call to fork, after fork and after socket closing by parent and child. (16)

14. a) Explain the various TCP Socket options in detail. (16)
Or
b) Explain the various UDP server side System Calls and getsocket , setsocket functions
in detail. (16)

15. a) Write notes on
i. Raw Socket Creation and its uses. (6)
ii. IPV6 client communicating with IPV4 server (10)
Or
b) Write a program that uses raw sockets for handling ICMP messages. (16)

No comments:

Post a Comment