JPR 314317 Java Programming Class Test Important Questions, Notes

Hey diploma students, We all know that MSBTE Maharashtra State Board of Technical Education unit test 1 is starting soon.

JPR 314317 Java Programming Class Test Important Questions, Notes

To help students, we provided some important questions for JPR 314317 Java Programming.

Java programming subject contains basic knowledge of Java programming for computer branch students.

JPR 314317 Java Programming Class Test Important Questions

Chapter 1: Basic syntactical constructs in Java (12 marks)

  • 2 Marks Questions
    • Write all primitive data types available in Java with their storage size in bytes
    • Write down the syntax of array declaration and initialization.
    • Define term token and enlist types of tokens in Java
    • Write syntax and examples for each.
    • Explain the difference between String and String Buffer.
    • Describe instance Of and dot (.) operators in Java with a suitable example.
    • Enlist any two bitwise and logical operators.
    • What is an Object? How to create it? Explain with Example.
  • 4 Marks Questions
    • Explain any four features of Java.
    • Write a program to accept marks and find grades using if statement.
    • Describe the concept of type casting and explain its types with proper syntax and examples.
    • State & explain the scope of the variable with an example.
    • Write a program to accept a character and check whether a character is a vowel or consonant using a switch-case statement.
    • Write a program to copy all elements of one array into another array.
    • What is method overloading and constructor overloading? Give examples.
    • Explain the significance of garbage collection in Java. How does it contribute to memory management?
    • Write a program to print all the Armstrong numbers from 0 to 999.
    • Explain visibility controls in Java.
    • Compare Array and Vector.
    • Write a program to check whether the entered string is palindrome or not.

Full class Test 1 IMP PDF :

  • 6 Marks Questions
    • Describe the use of any methods of vector class with their syntax.
    • Explain the command line arguments with suitable examples.
    • Write a program to print the sum, difference, and product of two complex numbers by creating a class named “Complex” with separate methods for each operation whose real and imaginary parts are entered by the user.
    • What is a constructor? List types of constructors. Explain the parameterized constructor with a suitable example.
    • Explain the vector with the help of an example. Explain any four methods of vector class.

JPR 314317 Java Programming Notes

  • Chapter 1: Unit: I Basic Syntactical Constructs in Java
  • Unit – II Inheritance, Interface, and Packages
  • Unit – III Exception Handling and Multithreading

Conclusion

In this blog post, we provided important questions and notes on Java programming, JPR 314317.

Leave a Reply

Your email address will not be published. Required fields are marked *

2 Comments