Exam Details
Subject | introduction to internet programming | |
Paper | paper 21 | |
Exam / Course | b.c.a | |
Department | ||
Organization | Nalanda Open University | |
Position | ||
Exam Date | April, 2018 | |
City, State | bihar, patna |
Question Paper
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 abstraction? Explain with an example. What is a stream? Differentiate between
stream source and stream destination.
2. Differentiate between the following using Java code fragments: (Give proper examples).
notify() and notify All(
throws and throw
and operators.
3. What is a package? How are packages imported in a Java program? Write a Java program
to check if a number is odd or even.
4. Describe the structure of an Applet, explaining its different methods and their sequence of
execution. What are threads? How can they be created?
5. What is built-in exceptions in Java? Explain the use of any one of them with the help of a
suitable example. Write a Java program to read 10 numbers from the keyboard and sort them
in descending order.
6. Why does one sometimes need to override a method of the parent class in its subclass?
Write a program fragment to suitably override the method "volume()" of class solid in its
subclass sphere.
7. Write a program to accept two numbers at the command line and print out their sum. What
is the keyword in front of:
a variable a method a class.
8. What is polymorphism? Explain compile-time polymorphism and run-time polymorphism
with an example of each?
9. What do you mean by a layout manager? Explain GridBagLayout in detail with an example.
Why Java is called Architecture-neutral? Explain.
10. Write a program in java to multiply two 2x3 matrices and print their results.
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 abstraction? Explain with an example. What is a stream? Differentiate between
stream source and stream destination.
2. Differentiate between the following using Java code fragments: (Give proper examples).
notify() and notify All(
throws and throw
and operators.
3. What is a package? How are packages imported in a Java program? Write a Java program
to check if a number is odd or even.
4. Describe the structure of an Applet, explaining its different methods and their sequence of
execution. What are threads? How can they be created?
5. What is built-in exceptions in Java? Explain the use of any one of them with the help of a
suitable example. Write a Java program to read 10 numbers from the keyboard and sort them
in descending order.
6. Why does one sometimes need to override a method of the parent class in its subclass?
Write a program fragment to suitably override the method "volume()" of class solid in its
subclass sphere.
7. Write a program to accept two numbers at the command line and print out their sum. What
is the keyword in front of:
a variable a method a class.
8. What is polymorphism? Explain compile-time polymorphism and run-time polymorphism
with an example of each?
9. What do you mean by a layout manager? Explain GridBagLayout in detail with an example.
Why Java is called Architecture-neutral? Explain.
10. Write a program in java to multiply two 2x3 matrices and print their results.
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