Exam Details
Subject | java programming | |
Paper | ||
Exam / Course | b.sc.software | |
Department | ||
Organization | alagappa university | |
Position | ||
Exam Date | November, 2017 | |
City, State | tamil nadu, karaikudi |
Question Paper
B.Sc. DEGREE EXAMINATION, NOVEMBER 2017
Third Semester
Software
JAVA PROGRAMMING
(CBCS 2014 onwards)
Time 3 Hours Maximum 75 Marks
Part A (10 x 2 20)
Answer all questions.
1. What is a token?
2. What is a variable?
3. List out the operators in Java.
4. Write the general form of conditional operator.
5. What is a class?
6. List out any four vector methods.
7. What are packages?
8. Write the different ways to create a thread in java.
9. What is an applet?
10. Write the syntax to draw circle.
Sub. Code
4BSO3C1
AFF-4575
2
Ws1
Part B x 5 25)
Answer all questions by choosing either or
11. Describe the structure of a Java Program.
Or
Explain various data types supported by Java.
12. Write a program to check whether the given year is
leap year or not.
Or
Write a program to find the sum of even integers
from 2 to 100.
13. Differentiate method overloading and method
overriding.
Or
Write a program to sort the given numbers in
ascending order.
14. Write a program to implement multiplication table
of 5 and 7 using thread.
Or
Explain types of Errors.
15. Describe the different stages in the life cycle of an
applet.
Or
Write an applet to draw the following shapes.
Line Circle Square inside a circle
Circle inside a square Rectangle.
AFF-4575
3
Ws1
Part C x 10 30)
Answer any three questions.
16. Explain about features of Java.
17. Write a program to convert the given temperature
in Farenheit to celcius using the formula
c 32) /1.8 and display the result.
Write a program to find the factorial of a given
number.
18. Explain different forms of inheritance with suitable
example.
19. Explain how exception handling mechanism can be used
for debugging a program.
20. Develop an applet that receives four numeric values as
input from the user and then display the smallest
number on the screen. Write a HTML page to test it.
————————
Third Semester
Software
JAVA PROGRAMMING
(CBCS 2014 onwards)
Time 3 Hours Maximum 75 Marks
Part A (10 x 2 20)
Answer all questions.
1. What is a token?
2. What is a variable?
3. List out the operators in Java.
4. Write the general form of conditional operator.
5. What is a class?
6. List out any four vector methods.
7. What are packages?
8. Write the different ways to create a thread in java.
9. What is an applet?
10. Write the syntax to draw circle.
Sub. Code
4BSO3C1
AFF-4575
2
Ws1
Part B x 5 25)
Answer all questions by choosing either or
11. Describe the structure of a Java Program.
Or
Explain various data types supported by Java.
12. Write a program to check whether the given year is
leap year or not.
Or
Write a program to find the sum of even integers
from 2 to 100.
13. Differentiate method overloading and method
overriding.
Or
Write a program to sort the given numbers in
ascending order.
14. Write a program to implement multiplication table
of 5 and 7 using thread.
Or
Explain types of Errors.
15. Describe the different stages in the life cycle of an
applet.
Or
Write an applet to draw the following shapes.
Line Circle Square inside a circle
Circle inside a square Rectangle.
AFF-4575
3
Ws1
Part C x 10 30)
Answer any three questions.
16. Explain about features of Java.
17. Write a program to convert the given temperature
in Farenheit to celcius using the formula
c 32) /1.8 and display the result.
Write a program to find the factorial of a given
number.
18. Explain different forms of inheritance with suitable
example.
19. Explain how exception handling mechanism can be used
for debugging a program.
20. Develop an applet that receives four numeric values as
input from the user and then display the smallest
number on the screen. Write a HTML page to test it.
————————
Other Question Papers
Subjects
- .net programming
- computer networks
- elective –database management system
- elective — computer graphics
- fundamentals of computers and c–programming
- java programming
- operating system
- programming in c++
- programming in c++ and algorithms
- software engineering
- visual basic
- web design technology