FirstRanker Logo

FirstRanker.com - FirstRanker's Choice is a hub of Question Papers & Study Materials for B-Tech, B.E, M-Tech, MCA, M.Sc, MBBS, BDS, MBA, B.Sc, Degree, B.Sc Nursing, B-Pharmacy, D-Pharmacy, MD, Medical, Dental, Engineering students. All services of FirstRanker.com are FREE

📱

Get the MBBS Question Bank Android App

Access previous years' papers, solved question papers, notes, and more on the go!

Install From Play Store

Download JNTUA MCA 2019 May Reg-Supply 2nd Sem 17F00204 Java Programming Question Paper

Download JNTU Anantapur (JNTU Anantapur) Master of Computer Applications (MCA) 2019 May Reg-Supply 2nd Sem 17F00204 Java Programming Previous Question Paper

This post was last modified on 28 July 2020

This download link is referred from the post: JNTUA MCA 2nd Sem last 10 year 2010-2020 Previous Question Papers (JNTU Anantapur)


FirstRanker.com
Firstranker's choice
Code: 17F00204

--- Content provided by FirstRanker.com ---

FirstRanker.com
MCA II Semester Regular & Supplementary Examinations May/June 2019
JAVA PROGRAMMING
(For students admitted in 2017 & 2018 only)
Time: 3 hours Max. Marks: 60

--- Content provided by FirstRanker.com ---

Answer all the questions

  1. Illustrate the use of different operators used in java with an example.
    Write a java program that accepts four integers from the user and prints equal if all four are equal, and not equal otherwise.
    OR
    Explain the important features of java.
  2. --- Content provided by FirstRanker.com ---

  3. Demonstrate the use of while and do-while statements for displaying all the prime numbers up to n.
  4. Write a java program to create a two-dimensional array of order m x m and assign the elements of array A[][] such that A[i][j] is true if i and j are prime and have no common factors, otherwise A[i][j] becomes false.
    OR
    Explain various access specifiers supported by java with an example.
  5. Write a java program to perform the following functions using classes, objects, constructors and destructors wherever necessary:

    --- Content provided by FirstRanker.com ---

    (i) Read 5 subjects marks of 5 students.
    (ii) Calculate the total and print the result on the monitor.
  6. Define an interface named IntStack with two operations Push() and Pop(). Define a class called stack that implements IntStack. Write a java program to reverse the array elements using the above class.
    Distinguish between method overloading and method overriding with an example.
    OR

    --- Content provided by FirstRanker.com ---

    Write the steps for creating and accessing packages in java.
  7. What are the various types of exceptions available in java? Demonstrate the use of exception handling mechanism used in java with an example program.
  8. Write an applet application which will display colours in list box and a scrolling banner which scrolls from left to right within a browser. When user selects any colour from the list, it should change the colour of scrolling banner.
    OR
    Explain thread life cycle and thread creation in java.
  9. --- Content provided by FirstRanker.com ---

  10. Write a java program to concatenate two given files. Give names of files using command line arguments.
  11. Write a program to create a frame for a simple arithmetic calculator using swing components and layout managers.
    Write a program to handle keyboard events.
    OR
    What is the significance of layout managers? Discuss briefly various layout managers.
  12. --- Content provided by FirstRanker.com ---

  13. Write an example java program that displays four push buttons and a text field. Each button displays the flag of 2 countries. When any button is pressed, the name of that country is displayed in the text field.


This download link is referred from the post: JNTUA MCA 2nd Sem last 10 year 2010-2020 Previous Question Papers (JNTU Anantapur)

--- Content provided by FirstRanker.com ---