Exam Details
Subject | java programming | |
Paper | ||
Exam / Course | b.e.(computer science and engineering) | |
Department | ||
Organization | SETHU INSTITUTE OF TECHNOLOGY | |
Position | ||
Exam Date | May, 2017 | |
City, State | tamil nadu, pulloor |
Question Paper
Reg. No.
B.E. B.Tech. DEGREE EXAMINATION, MAY 2017
Fourth Semester
Computer Science and Engineering
01UCS403 JAVA PROGRAMMING
(Common to Information Technology)
(Regulation 2013)
Duration: Three hours Maximum: 100 Marks
Answer ALL Questions
PART A (10 x 2 20 Marks)
1. What are the access specifiers available in java?
2. Differentiate between break and continue statement.
3. What are proxies? How are they advantageous?
4. List out any two uses of the keyword "super".
5. What is use of finally block in exception handling?
6. What are the two ways for creating a thread?
7. Differentiate Applet and Swing.
8. What are events?
9. Define marshaling and un-marshaling.
10. What is the job of filter and pipe streams in java?
PART B x 16 80 Marks)
11. Write a java program to find factorial of a given number using default and parameterized constructors.
Question Paper Code: 31243
2
31243
Or Write a java program to sort the given array and find a given element is in that array or not.
12. Define package. Explain with suitable examples how packages can be created, imported and used. Also elaborate on its scope. Or What did you mean by polymorphism? Explain how run-time polymorphism is achieved in java with example.
13. Write a java program to implement producer-consumer problem using thread synchronization. Or What is exception handling in java? Why it is used? Write java program to handle the exception "divide by zero".
14. Explain in detail about AWT event hierarchy model. Or Write a java program to draw any four shapes in a frame.
15. Explain in detail about java I/O stream classes with example. Or
List out the steps to be followed to connect java with database. Explain that with an example.
B.E. B.Tech. DEGREE EXAMINATION, MAY 2017
Fourth Semester
Computer Science and Engineering
01UCS403 JAVA PROGRAMMING
(Common to Information Technology)
(Regulation 2013)
Duration: Three hours Maximum: 100 Marks
Answer ALL Questions
PART A (10 x 2 20 Marks)
1. What are the access specifiers available in java?
2. Differentiate between break and continue statement.
3. What are proxies? How are they advantageous?
4. List out any two uses of the keyword "super".
5. What is use of finally block in exception handling?
6. What are the two ways for creating a thread?
7. Differentiate Applet and Swing.
8. What are events?
9. Define marshaling and un-marshaling.
10. What is the job of filter and pipe streams in java?
PART B x 16 80 Marks)
11. Write a java program to find factorial of a given number using default and parameterized constructors.
Question Paper Code: 31243
2
31243
Or Write a java program to sort the given array and find a given element is in that array or not.
12. Define package. Explain with suitable examples how packages can be created, imported and used. Also elaborate on its scope. Or What did you mean by polymorphism? Explain how run-time polymorphism is achieved in java with example.
13. Write a java program to implement producer-consumer problem using thread synchronization. Or What is exception handling in java? Why it is used? Write java program to handle the exception "divide by zero".
14. Explain in detail about AWT event hierarchy model. Or Write a java program to draw any four shapes in a frame.
15. Explain in detail about java I/O stream classes with example. Or
List out the steps to be followed to connect java with database. Explain that with an example.
Other Question Papers
Subjects
- applied statistics and queuing networks
- artificial intelligence
- building enterprise applications
- c# and .net framework
- cloud computing
- computer communication and networks
- computer networks
- computer organization and architecture
- data structures
- data warehousing and data mining
- database management systems
- database system concepts
- design and analysis of algorithms
- discrete mathematics
- distributed systems
- environmental science and engineering
- fundamentals of information security
- fundamentals of mobile computing
- human computer interaction
- information storage management
- interactive computer graphics
- internet of things
- java programming
- microprocessors and microcontrollers
- multimedia
- object oriented analysis and design
- object oriented programming
- object oriented programming with c++
- operating systems
- principles of compiler design
- probability statistics and queuing systems
- project management and finance
- python programming
- qualitative and quantitative aptitude
- reasoning and quantitative aptitude
- software engineering
- software testing
- theory of computation
- transforms and partial differential equations
- value education and human rights
- web programming