Punjab Technical University 2005 M.C.A INTERNET PROGRAMMING & JAVA (N,N2) 502 - Question Paper
Tuesday, 16 April 2013 06:35Web
INTERNET PROGRAMMING & JAVA (N,N2) MCA 502 fifth Sem May 2k5
Max marks 60
Note : Attempt any 1 ques. every from part A,B,C and D. part E is compulsory.
part A Marks nine every
1. Name the protocols that a browser normally supports.
2. Write the HTML code needed to display 2 lists, 1 ordered and the other unordered. every list must contain 3 items. Headings must be shown for every list.
part B Marks nine every
3. Explain 1 procedure to configure a system for E-mail services.
4. What do you understand by internet addressing/? discuss
part C Marks nine every
5. (a) discuss the usage of bitwise operators <<, >> and >>>. Assuming a negative left operand as an example show the effect of using every of the 3 operators.
(b) elaborate constructors? provide examples. When are they executed?
6. Write java code which demonstrates the use of interface. Your example should show how a class can have multiple interface.
part D Marks nine every
7. Write a socket program to send data from 1 computer to a different.
8. Write short notes on the following: Jcomponents, Socket abstraction.
part E Marks 24
9.
(a) What is a PPP? SLIP? 2
(b) What do you understand by e-com?
(c) How will you transfer a file from your computer to a computer in USA? 2
(d) What is DNS? Who allocates this? 2
(e) Consider the subsequent java program segment: 2
Count = 0; 2
For ( I = 0;I<10;I++)
For (j=0;j;j++)
System.out.printin (count);
What is outputted after the execution of the above? 4
(f) What is the effect of assigning 1 object reference variable to a different object reference variable? 2
(g) What is an unchecked exception? 3
(h) Give any tow examples of when Action Event is generated. 2
(i) What is the purpose of Font Metrics class? 2
(j) Differentiate ranging from C++ and Java.
Earning: Approval pending. |