Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Java programming using linux, Cheat Sheet of Java Programming

Java programming using linux Mahatma Gandhi university

Typology: Cheat Sheet

2021/2022

Uploaded on 06/03/2025

rinu-varghese
rinu-varghese 🇮🇳

1 document

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
QP CODE: 22100311 Reg No : .....................
Name : .....................
B.Sc DEGREE (CBCS ) REGULAR / REAPPEARANCE EXAMINATIONS,
JANUARY 2022
Fifth Semester
CORE COURSE - CS5CRT14 - JAVA PROGRAMMING USING LINUX
Common to B.Sc Computer Applications Model III Triple Main, B.Sc Computer Science Model III,
B.Sc Information Technology Model III & Bachelor of Computer Application
2017 Admission Onwards
09B592C0
Time: 3 Hours Max. Marks : 80
Part A
Answer any ten questions.
Each question carries 2 marks.
1. Differentiate between object oriented and procedure oriented programming.
2. Explain the use of continue statement.
3. Define classes and objects.
4. What are constructors?
5. What is the use of protected keyword in java?
6. What is two dimensional array?
7. What is nested try statement ?
8. Why swing component are called lightweight components?
9. Define Window Event Class.
10. Diffrentiate between swing and Jpanel.
11. Distinguish between init() and distroy() methods in applet.
12. How parameters can be passed to applet using tag?
(10×2=20)
Part B
Answer any six questions.
Each question carries 5 marks.
22100311
Page 1/2 Turn Over
pf2

Partial preview of the text

Download Java programming using linux and more Cheat Sheet Java Programming in PDF only on Docsity!

QP CODE: 22100311 Reg No^ :^ .....................

Name : .....................

B.Sc DEGREE (CBCS ) REGULAR / REAPPEARANCE EXAMINATIONS,

JANUARY 2022

Fifth Semester

CORE COURSE - CS5CRT14 - JAVA PROGRAMMING USING LINUX

Common to B.Sc Computer Applications Model III Triple Main, B.Sc Computer Science Model III, B.Sc Information Technology Model III & Bachelor of Computer Application 2017 Admission Onwards 09B592C Time: 3 Hours Max. Marks : 80 Part A Answer any ten questions. Each question carries 2 marks.

  1. Differentiate between object oriented and procedure oriented programming.
  2. Explain the use of continue statement.
  3. Define classes and objects.
  4. What are constructors?
  5. What is the use of protected keyword in java?
  6. What is two dimensional array?
  7. What is nested try statement?
  8. Why swing component are called lightweight components?
  9. Define Window Event Class.
  10. Diffrentiate between swing and Jpanel.
  11. Distinguish between init() and distroy() methods in applet.
  12. How parameters can be passed to applet using tag? (10×2=20) Part B Answer any six questions. Each question carries 5 marks. 22100311 Page 1/2 Turn Over
  1. Explain the characterset of Java Program.
  2. Write a Java program to find the smallest among 3 numbers.
  3. Explain method overloading with example.
  4. How will you implement hierarchical inheritance in Java?
  5. Explain about user defined packages.
  6. Write a Java program to demonstrate thread priorities.
  7. Develop a simple program to implement KeyEvent class.
  8. Write an applet that receives three numeric values as input from the user and display the largest.
  9. What are JDBC statements? (6×5=30) Part C Answer any two questions. Each question carries 15 marks.
  10. Illustrate the use of different operators in Java.
  11. Diffrentiate final methods ans final classes with examples.
  12. a)Differentiate between one-dimensional , two-dimensional arrays with appropriate syntax & examples b)Write a Java program to sort numbers & sort names in 2 different arrays.
  13. What is Layout manager? Explain any three layout managers in which method is used to set the layout manager. (2×15=30) Page 2/