Exam Details
Subject | java programming | |
Paper | ||
Exam / Course | b.sc.computer science | |
Department | ||
Organization | alagappa university | |
Position | ||
Exam Date | April, 2018 | |
City, State | tamil nadu, karaikudi |
Question Paper
B.Sc. DEGREE EXAMINATION, APRIL 2018
Fourth Semester
Computer Science
JAVA PROGRAMMING
(CBCS 2011 onwards)
Time 3 Hours Maximum 75 Marks
Part A (10 x 2 20)
Answer all questions.
1. What is a Browser?
2. What is JVM?
3. What do you mean by operator precedence?
4. What are the bitwise operators available in java?
5. What is a Constructor?
6. What do you mean by Method Overriding?
7. Define package.
8. What are the advantages of Thread?
9. What is an Applet?
10. Write the syntax of the method which is used to draw an
arc.
Sub. Code
1BCE4C1
AFC-10681
2
Sp 1
Part B x 5 25)
Answer all questions, choosing either or
11. Explain the features of OOP.
Or
Explain Type casting in java.
12. Explain switch statement with an example.
Or
Write a Java program to print the prime numbers
between 150 and 500. Using while loop.
13. How will you implement an interface? Explain with
an example.
Or
Explain static members with an example.
14. Explain the Thread priority with example.
Or
Explain the exception handling in java with an
example.
15. Explain the Applet tag with an example with all
options.
Or
How will you display numerical values in an
Applet? Explain with an example.
AFC-10681
Part C x 10 30)
Answer any three questions.
16. Explain command line argument with a program.
17. Write a Java program to find the roots of a quadratic
equation for all cases.
18. Write a Java program to find the sum of odd numbers
and even numbers separately in an array.
19. How will you create and import a package? Explain with
a program.
20. Write a Java program to draw a circle inside a rectangle
and display your university name in different background
and foreground colors.
————————
Fourth Semester
Computer Science
JAVA PROGRAMMING
(CBCS 2011 onwards)
Time 3 Hours Maximum 75 Marks
Part A (10 x 2 20)
Answer all questions.
1. What is a Browser?
2. What is JVM?
3. What do you mean by operator precedence?
4. What are the bitwise operators available in java?
5. What is a Constructor?
6. What do you mean by Method Overriding?
7. Define package.
8. What are the advantages of Thread?
9. What is an Applet?
10. Write the syntax of the method which is used to draw an
arc.
Sub. Code
1BCE4C1
AFC-10681
2
Sp 1
Part B x 5 25)
Answer all questions, choosing either or
11. Explain the features of OOP.
Or
Explain Type casting in java.
12. Explain switch statement with an example.
Or
Write a Java program to print the prime numbers
between 150 and 500. Using while loop.
13. How will you implement an interface? Explain with
an example.
Or
Explain static members with an example.
14. Explain the Thread priority with example.
Or
Explain the exception handling in java with an
example.
15. Explain the Applet tag with an example with all
options.
Or
How will you display numerical values in an
Applet? Explain with an example.
AFC-10681
Part C x 10 30)
Answer any three questions.
16. Explain command line argument with a program.
17. Write a Java program to find the roots of a quadratic
equation for all cases.
18. Write a Java program to find the sum of odd numbers
and even numbers separately in an array.
19. How will you create and import a package? Explain with
a program.
20. Write a Java program to draw a circle inside a rectangle
and display your university name in different background
and foreground colors.
————————
Other Question Papers
Subjects
- applied physics – ii
- computer graphics
- computer networks
- computer organization and architecture
- database management system
- database management systems
- elective : digital image processing
- elective – web design technology
- elective –– data mining and data warehousing
- elective — c# .net programming
- elective — data mining and data warehousing
- elective — database managementsystem
- elective — mobile communication
- elective — multimedia technology
- elective — visual basic
- employability skills
- java programming
- object oriented programming with c++
- operating system
- operating systems
- programming in c
- programming in c and data structures
- programming in c++ and algorithms
- software engineering
- visual basic
- web design technology