Practical Slip 13 - 2019 Pattern

Core Java:

A) Write a java program to accept ‘n’ integers from the user & store them in an ArrayList collection. Display the elements of ArrayList collection in reverse order.  [15 M]

B) Write a java program that asks the user name, and then greets the user by name. Before outputting the user's name, convert it to upper case letters. For example, if the user's name is Raj, then the program should respond "Hello, RAJ, nice to meet you!".  [25 M]


Python:

A) Write a Python program to input a positive integer. Display correct message for correct and incorrect input. (Use Exception Handling)  [15 M]

B) Write a program to implement the concept of queue using list.  [25 M]

Post a Comment

0 Comments