Solved question paper for JAVA May-2015 (DIPLOMA 5th)

Solved Question Paper

Java programming May-2015

PSBTE • DIPLOMA • Information Technology • 5th • May-2015

JAVA for Punjab State Board of Technical Education Diploma in Engineering is listed here to help Information Technology students find subject-wise previous year question papers and exam preparation material for the 5th semester. These papers can support revision, highlight repeated question themes, and give a clearer idea of the exam pattern for java programming. BRpaper is not the official website of the university or board, and the papers here are meant for practice and reference only. Students can use this subject page to search for old papers, review important topics, and prepare more confidently for semester exams.

Solved Questions

Solved
  1. The name of a Java program file must match the name of the class with the extension java.
    True / False 1.5 Marks May-2015 • PSBTE DIPLOMA
  2. Two methods cannot have the same name in Java.
    True / False 1.5 Marks May-2015 • PSBTE DIPLOMA
  3. The modulus operator (%) can be used only with integer operands.
    True / False 1.5 Marks May-2015 • PSBTE DIPLOMA
  4. Declarations can appear anywhere in the body of a Java method.
    True / False 1.5 Marks May-2015 • PSBTE DIPLOMA
  5. All the bitwise operators have the same level of precedence in Java.
    True / False 1.5 Marks May-2015 • PSBTE DIPLOMA
  6. When x is a positive number, the operations x >> 2 and x >>> 2 both produce the same result.
    True / False 1.5 Marks May-2015 • PSBTE DIPLOMA
  7. If a = 10 and b = 15, then the statement x = (a > b) ? a : b; assigns the value 15 to x.
    True / False 1.5 Marks May-2015 • PSBTE DIPLOMA
  8. In evaluating a logical expression of type boolean expression1 && boolean expression2, both the boolean expressions are not always evaluated.
    True / False 1.5 Marks May-2015 • PSBTE DIPLOMA
  9. In evaluating the expression (x == y && a < b), the boolean expression x == y is evaluated first and then a < b is evaluated.
    True / False 1.5 Marks May-2015 • PSBTE DIPLOMA
  10. The default case is always required in the switch selection structure.
    True / False 1.5 Marks May-2015 • PSBTE DIPLOMA
  11. What is meant by Byte Code in Java?
    Short Answer 6 Marks May-2015 • PSBTE DIPLOMA
  12. Write the syntax of while-loop and for-loop.
    Short Answer 6 Marks May-2015 • PSBTE DIPLOMA
  13. What is meant by Scope of a Variable?
    Short Answer 6 Marks May-2015 • PSBTE DIPLOMA
  14. Define Class, and write the syntax of a class.
    Short Answer 6 Marks May-2015 • PSBTE DIPLOMA
  15. Write the use of command-line arguments.
    Short Answer 6 Marks May-2015 • PSBTE DIPLOMA
  16. What is the use of final keyword?
    Short Answer 6 Marks May-2015 • PSBTE DIPLOMA
  17. What is meant by a Package in Java?
    Short Answer 6 Marks May-2015 • PSBTE DIPLOMA
  18. Write the syntax of defining an Interface in Java.
    Short Answer 6 Marks May-2015 • PSBTE DIPLOMA
  19. Explain how to Enter and Execute a Java Program.
    Long Answer May-2015 • PSBTE DIPLOMA
  20. Explain various Types of Operators used in Java.
    Long Answer May-2015 • PSBTE DIPLOMA
  21. Define Inheritance. Give various forms of Inheritance and write a Java program on single inheritance.
    Long Answer May-2015 • PSBTE DIPLOMA
  22. Explain about life cycle of a Thread.
    Long Answer 15 Marks May-2015 • PSBTE DIPLOMA
  23. The name of a Java program file must match the name of the class with the extension java
    True / False 1.5 Marks May-2015 • PSBTE DIPLOMA
  24. In evaluating the expression (x == y && a < b) the boolean expression x == y is evaluated first and then a < b is evaluated.
    True / False 1.5 Marks May-2015 • PSBTE DIPLOMA
  25. Write the Syntax of while-loop and for-loop
    Short Answer 6 Marks May-2015 • PSBTE DIPLOMA
  26. Define Class, and write the syntax of a class
    Short Answer 6 Marks May-2015 • PSBTE DIPLOMA
  27. What is the use of ‘final’ keyword?
    Short Answer 6 Marks May-2015 • PSBTE DIPLOMA
  28. Write the syntax of Defining an Interface in Java
    Short Answer 6 Marks May-2015 • PSBTE DIPLOMA
  29. (a) Explain how to Enter and Execute a Java Program
    Long Answer 15 Marks May-2015 • PSBTE DIPLOMA
  30. (b) Explain various Types of Operators used in Java
    Long Answer 15 Marks May-2015 • PSBTE DIPLOMA

Explore all data

FAQ

Frequently Asked Questions

Answers about this subject, solved papers, and preparation.

Updated regularly
01 Where can I find JAVA previous year question papers for Diploma IT 5th semester?

You can use this BRpaper subject page to look for JAVA previous year question papers for the Diploma in Engineering Information Technology 5th semester.

02 Are these papers useful for revision before the exam?

Yes. Previous year papers help you revise important topics, understand question style, and get familiar with the exam pattern.

03 Can I use this page to check repeated questions in JAVA?

Yes. Going through old papers can help you spot repeated themes and commonly asked areas in JAVA programming.

04 Does BRpaper provide the official JAVA paper from the board?

No. BRpaper is not the official website of Punjab State Board of Technical Education. It shares papers and preparation material for reference.

05 Are solved JAVA question papers guaranteed on this page?

Not always. This page is mainly for previous year question papers and related exam preparation content, if available.