Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

You have to design your own Java console application about any valid problem that your application must solve. Your solution can include solving a business problem, a new idea or even a game. Your application must make use of concepts such as arrays, loops, inheritance, constructors and information hiding. Output must be shown in the form of a report using the console.

Explain what is meant by a Programming Paradigm and the main characteristics of Procedural, Object oriented and Event-driven paradigms and the relationships among them. Write small snippets of code as example for the above three programming paradigms using a suitable programming language(s). you also need to critically evaluate the code samples that you have given above in relation to their structure and the unique characteristics.


Write a program that will output the square root of any number entered through the keyboard, until the inputted number, is zero.                 


Create a class called ‘Student’ holding the basic information about the student including the roll.no and name.

Derive a class called ‘Academics’ from the student with the protected members for accessing three different subject marks.

Derive another class from Student called ‘Extracurricular’ with the sports mark.

Now compute the result marks(average of academics + sports marks) creating a class result inheriting academics and extracurricular


All the banks operating in India are controlled by RBI. RBI has set a well defined guideline (e.g. minimum interest rate, minimum balance allowed, maximum withdrawal limit etc) which all banks must follow. For example, suppose RBI has set minimum interest rate applicable to a saving bank account to be 4% annually; however, banks are free to use 4% interest rate or to set any rates above it.

 

 

Write a java program to implement bank functionality in the above scenario. Note: Create few classes namely Customer, Account, RBI (Base Class) and few derived classes (SBI, ICICI, PNB etc). Assume and implement required member variables and functions in each class.


All the banks operating in India are controlled by RBI. RBI has set a well defined guideline (e.g. minimum interest rate, minimum balance allowed, maximum withdrawal limit etc) which all banks must follow. For example, suppose RBI has set minimum interest rate applicable to a saving bank account to be 4% annually; however, banks are free to use 4% interest rate or to set any rates above it.

Write a program to implement bank functionality in the above scenario. Note: Create few classes namely Customer, Account, RBI (Base Class) and few derived classes (SBI, ICICI, PNB etc). Assume and implement required member variables and functions in each class.


# Create a variable called currentPriceLabel consisting of the text 'Current Price: ' followed # by currentPrice.

# Add currentPriceLabel and currentPrice as two separate items to a new list (the sub-List).     

 # Append the sub-List to displayList.

 . . .

# Sort displayList using the SECOND item (price) in its sub-lists

 . . .

# For each sub-List in displayList, print only the label (first item) in the sub-List

. . .

#replace ellipsis with applicable code


Write a C code to implement the following operations using stack. 

Assume the Stack S is empty initially.

Read the given text character by character.

If the character read is an operand push it onto the stack.

If the character read is a special character do the following

* means pop 

$ means two pops

# means pop and a duplicate of popped value

Example: 

DAT*ASTRU$$CTURES**#ANDAL$$GOR##ITHM**S

Stack:

S

T

I

G

A

U

T

C

A

A

D

Output: TURTSSERRLADNRROOMH


Required:

1. Code the classes Employee, Manager and Secretary.

2. Code an application with a main method. In this class you must code an array of type Employee with a maximum size of 20.

a. Add a minimum of 10 objects to the array. You may hard-code these object values. The objects must be a mixture of Employee, Manager and Secretary.

b. Display all the objects on the screen.

c. Calculate, and then display, the average salary of all employees.

Extra

Calculate and display the cost of the leave to the company for each employee.


Given an integer N as a starting number and K as input, write a program to print a number pyramid of K rows as shown below.

In the example, the given starting number is

10, and the number of rows in the pyramid is 5.So, the output should be

10

11 12 

13 14 15 

16 17 18 19 

20 21 22 23 24


LATEST TUTORIALS
APPROVED BY CLIENTS