Exam Details
Subject | programming in java | |
Paper | ||
Exam / Course | b.voc software development | |
Department | ||
Organization | Mar Ivanios College | |
Position | ||
Exam Date | November, 2016 | |
City, State | kerala, thiruvananthapuram |
Question Paper
(Pages 1524
P.T.O.
MAR IVANIOS COLLEGE (AUTONOMOUS)
THIRUVANANTHAPURAM
Reg. No. :.………………… Name:………………….
Fifth Semester B.Voc. Degree Examination, November 2016
First Degree Programme under CSS
Skill Course -XVIII: (for Software Development)
AUSD571: Programming in Java
Time: 3 Hours Max. Marks: 80
SECTION A
Answer ALL questions in one or two sentences.
1. What is a byte code
2. Define Constructors.
3. What is class path
4. What are exceptions
5. What is a sub class
6. Define applet.
7. What is a layout
8. List all integer data types supported by Java.
9. Define abstract class.
10. Why Java is called a strongly-typed language
(10 1 10 Marks)
SECTION B
Answer any EIGHT questions, not exceeding a paragraph of 50 words.
11. Discuss about access modifiers.
12. What is the difference between an interface and a class
13. What is the role of "extends" keyword
14. What do you mean by API
15. What is a package in Java
1524
2
16. What is the use of "new" operator.
17. Write short notes on Image Observer.
18. Explain any 2 graphic methods.
19. What is the importance of and equals method in String object
20. How Java handles more than one exception from a block
21. What are byte stream classes
22. Explain threads.
2 16 Marks)
SECTION C
Answer any SIX questions, in a page of 100 words.
23. Explain the concept of method overriding with an example.
24. Write a Java program to create threads using Thread class.
25. Discuss JDBC.
26. Explain the life cycle of an applet.
27. What is the role of try, catch and finally statements
28. What are the properties of a constructor? Explain.
29. What is inheritance? Explain "super" and "final" keyword.
30. Write an applet program to draw a polygon with 6 corners.
31. How to play sound in Java
4 24 Marks)
SECTION D
Answer any TWO questions, not exceeding four pages.
32. Write a short note on the features of Java.
Write a Java program to copy one file to another, using byte stream classes.
33. Write the steps to create a user-defined package. Create a package "College" which has 2 classes "Staff" and "Student". Staff class has 2 methods accept() and display(). The Student class has 2 methods accept() and display(). Write a program to display all details using "College" package.
34. What are AWT controls Illustrate any 2 controls using a program.
Differentiate AWT and Swing.
35. What are the different types of inheritance Write a Java program to implement multilevel inheritance.
15 30 Marks)
P.T.O.
MAR IVANIOS COLLEGE (AUTONOMOUS)
THIRUVANANTHAPURAM
Reg. No. :.………………… Name:………………….
Fifth Semester B.Voc. Degree Examination, November 2016
First Degree Programme under CSS
Skill Course -XVIII: (for Software Development)
AUSD571: Programming in Java
Time: 3 Hours Max. Marks: 80
SECTION A
Answer ALL questions in one or two sentences.
1. What is a byte code
2. Define Constructors.
3. What is class path
4. What are exceptions
5. What is a sub class
6. Define applet.
7. What is a layout
8. List all integer data types supported by Java.
9. Define abstract class.
10. Why Java is called a strongly-typed language
(10 1 10 Marks)
SECTION B
Answer any EIGHT questions, not exceeding a paragraph of 50 words.
11. Discuss about access modifiers.
12. What is the difference between an interface and a class
13. What is the role of "extends" keyword
14. What do you mean by API
15. What is a package in Java
1524
2
16. What is the use of "new" operator.
17. Write short notes on Image Observer.
18. Explain any 2 graphic methods.
19. What is the importance of and equals method in String object
20. How Java handles more than one exception from a block
21. What are byte stream classes
22. Explain threads.
2 16 Marks)
SECTION C
Answer any SIX questions, in a page of 100 words.
23. Explain the concept of method overriding with an example.
24. Write a Java program to create threads using Thread class.
25. Discuss JDBC.
26. Explain the life cycle of an applet.
27. What is the role of try, catch and finally statements
28. What are the properties of a constructor? Explain.
29. What is inheritance? Explain "super" and "final" keyword.
30. Write an applet program to draw a polygon with 6 corners.
31. How to play sound in Java
4 24 Marks)
SECTION D
Answer any TWO questions, not exceeding four pages.
32. Write a short note on the features of Java.
Write a Java program to copy one file to another, using byte stream classes.
33. Write the steps to create a user-defined package. Create a package "College" which has 2 classes "Staff" and "Student". Staff class has 2 methods accept() and display(). The Student class has 2 methods accept() and display(). Write a program to display all details using "College" package.
34. What are AWT controls Illustrate any 2 controls using a program.
Differentiate AWT and Swing.
35. What are the different types of inheritance Write a Java program to implement multilevel inheritance.
15 30 Marks)
Other Question Papers
Subjects
- advanced java
- animation softwares
- aptitude & logical reasoning
- business informatics
- business statistics
- c programming
- computer hardware & maintenance
- database administration
- entrepreneurship development
- environmental studies
- financial accounting
- free and open source software
- human resource development
- introduction to information security
- introduction to it
- it & society
- listening and speaking skills
- management information systems
- managerial economics
- mathematics – i
- mathematics i
- mathematics ii
- mobile application development
- network administration
- networks & internet applications
- networks and internet applications
- object oriented programming
- operating systems
- principles of management
- programming in java
- programming principles
- software engineering
- software testing
- system analysis and design
- visual tools
- web application & development
- word processing & image editing
- word processing and image editing
- writing and presentation skills