Exam Details
Subject | introduction to internet programming | |
Paper | paper 21 | |
Exam / Course | b.c.a | |
Department | ||
Organization | Nalanda Open University | |
Position | ||
Exam Date | 2016 | |
City, State | bihar, patna |
Question Paper
Nalanda Open University
Annual Examination 2016
Bachelor in Computer Application Part-III
Paper-XXI [Introduction to Internet Programming
Time: 3.00 Hrs. Full Marks: 80
Answer any Five questions. All questions carry equal marks.
1. What is object oriented programming? Explain the concept of reusability by creating an
Account class and deriving Saving_Account and Current_Account classes from it. Use
appropriate access specifiers, data members and member functions in your explanation.
2. What is interface in Java? Explain need of interface with the help of an example. What is a
stream? Explain difference between Byte Stream and Character Stream.
3. What is multithreading? Explain different states of a thread. Write a Java program using
multithreading to create two threads which display numbers 1 10.
4. Define a constructor. Is it possible, to overload a constructor? Justify your answer using an
example.
5. What is super key word in Java? Explain with example. Differentiate between overloading and
overriding with the help of suitable example.
6. Write a Java program to count the number of words and lines in a file. The program should
take the name of the file at command line. What is exception? Explain with an example,
how Java handle Arithmetic- Exceptions.
7. Write a Java applet to take your name, address, contact number as input and display it in
'blue color'. What is string class? How it is different from StringBuffer Class?
8. Explain the following with respect to Java programming with the help of an example.
Abstract Class
Finally
Package
Layout Manager
JVM
9. Write a program in Java to perform the addition of two complex numbers. Static function can
operate only on static data. Explain.
10. Explain what happens if private is applied to a method in a class. Give an example. Describe
the accessibility of protected and public members within a package, subclass and globally.
Annual Examination 2016
Bachelor in Computer Application Part-III
Paper-XXI [Introduction to Internet Programming
Time: 3.00 Hrs. Full Marks: 80
Answer any Five questions. All questions carry equal marks.
1. What is object oriented programming? Explain the concept of reusability by creating an
Account class and deriving Saving_Account and Current_Account classes from it. Use
appropriate access specifiers, data members and member functions in your explanation.
2. What is interface in Java? Explain need of interface with the help of an example. What is a
stream? Explain difference between Byte Stream and Character Stream.
3. What is multithreading? Explain different states of a thread. Write a Java program using
multithreading to create two threads which display numbers 1 10.
4. Define a constructor. Is it possible, to overload a constructor? Justify your answer using an
example.
5. What is super key word in Java? Explain with example. Differentiate between overloading and
overriding with the help of suitable example.
6. Write a Java program to count the number of words and lines in a file. The program should
take the name of the file at command line. What is exception? Explain with an example,
how Java handle Arithmetic- Exceptions.
7. Write a Java applet to take your name, address, contact number as input and display it in
'blue color'. What is string class? How it is different from StringBuffer Class?
8. Explain the following with respect to Java programming with the help of an example.
Abstract Class
Finally
Package
Layout Manager
JVM
9. Write a program in Java to perform the addition of two complex numbers. Static function can
operate only on static data. Explain.
10. Explain what happens if private is applied to a method in a class. Give an example. Describe
the accessibility of protected and public members within a package, subclass and globally.
Other Question Papers
Subjects
- c programming and data structure
- c++ and object oriented programming
- communicative english
- computer fundamentals and pc software (cs-611)]
- computer networks
- computer organisation
- database management system
- element of system analysis and design
- foundation course in english for computing
- foundation course in humanities and social sciences
- foundation course in social and environmental science
- fundamental course in science and technology
- fundamental of it
- intranet administration
- introduction to computer organization
- introduction to internet programming
- introduction to software engineering
- introduction to system software
- multimedia
- pc software and office automation
- pc software skills, cs - 612
- programming methodology using c
- rdbms lab
- system analysis and design
- tcp/ip programming
- theory of computer science
- windows programming