Panjab University Chandigarh
Internet Programming
Paper : BCA 3rd Year
Time : 3 Hrs.
M.Marks : 90
Note : Attempt five questions in all. select one question each from Sections A-D. section E is compulsory.
Section - A
1. What are Ordered and unordered list in HTML ? What are benefits of using them ? Describe the different list attributes. Differentiate between list and unordered list with proper example. 18
2. (a) what are different client side objects used in Java Script ? Explain each with suitable example. 9
(b) Discuss the form validation available in Java Script. 9
Section - B
3. (a) Describe the various unary, binary and ternary operators available in Java. 9
(b) What features of Java make it a favourable language for internet programming ? 9
4. (a) What is a class and object ? How can you access a class data member and function ? Write a proper Java program to find weather a given number is prime or not. 9
(b) Describe with example the different constructors available in Java. 9
Section - C
5. Explain the following :
(a) Utility of super keyword
(b) Using abstract classes
(c) Dynamic method despatch
(d) Using final keyword 18
6. What is package ? What are different types of packages available in Java ? How are they created ? Explain with proper Java code. 18
Section - D
7. Explain the following terms :
(a) Thread priorities
(b) Thread syncronization
(c) Deadlock
(d) Creating thread by implementing runnable interface. 18
8. What are applets ? What are the advantages of using applets for web programming ? Explain in detail the lifecycle of applet. Create an applet for checking whether string is a palindrome or not. 18
Section - E
9. Write short notes on :
(a) Tables in HTML
(b) Frames in HTML
(c) Byte code
(d) Interface
(e) Throwing an exception
(f) Event handling in Java 6*3=18
Internet Programming
Paper : BCA 3rd Year
Time : 3 Hrs.
M.Marks : 90
Note : Attempt five questions in all. select one question each from Sections A-D. section E is compulsory.
Section - A
1. What are Ordered and unordered list in HTML ? What are benefits of using them ? Describe the different list attributes. Differentiate between list and unordered list with proper example. 18
2. (a) what are different client side objects used in Java Script ? Explain each with suitable example. 9
(b) Discuss the form validation available in Java Script. 9
Section - B
3. (a) Describe the various unary, binary and ternary operators available in Java. 9
(b) What features of Java make it a favourable language for internet programming ? 9
4. (a) What is a class and object ? How can you access a class data member and function ? Write a proper Java program to find weather a given number is prime or not. 9
(b) Describe with example the different constructors available in Java. 9
Section - C
5. Explain the following :
(a) Utility of super keyword
(b) Using abstract classes
(c) Dynamic method despatch
(d) Using final keyword 18
6. What is package ? What are different types of packages available in Java ? How are they created ? Explain with proper Java code. 18
Section - D
7. Explain the following terms :
(a) Thread priorities
(b) Thread syncronization
(c) Deadlock
(d) Creating thread by implementing runnable interface. 18
8. What are applets ? What are the advantages of using applets for web programming ? Explain in detail the lifecycle of applet. Create an applet for checking whether string is a palindrome or not. 18
Section - E
9. Write short notes on :
(a) Tables in HTML
(b) Frames in HTML
(c) Byte code
(d) Interface
(e) Throwing an exception
(f) Event handling in Java 6*3=18