Programming & Computer Science Answers

C++ 9913
Python 5288
Java | JSP | JSF 3611
C 1680
C# 1362
Computer Networks 989
Algorithms 652
Databases | SQL | Oracle | MS Access 641
HTML/JavaScript Web Application 588
Other 537
Visual Basic 358
Assembler 209
Software Engineering 202
AJAX | JavaScript | HTML | PHP 166
MatLAB 150
MatLAB | Mathematica | MathCAD | Maple 124
Action Script | Flash | Flex | ColdFusion 112
UNIX/Linux Programming 89
Web Development 73
Excel 36
ASP | ASP.NET 23
Delphi | Pascal 21
Perl 16
Prolog 9
Functional Programming 9
MathCAD 5
Wolfram Mathematica 4
WPF 4
Ruby | Ruby on Rails 3
NodeJS Web Application 2

Questions answered by Experts: 26 876

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

what is python?

how does python work?

how easy way to learn python?


o develop a console or GUI turn-based battle game. The game allows player setup his/her team which made up of a numbers of units (default is 3). Each unit has a name, health point (HP), attack point (ATK), defence point (DEF), experience (EXP) and a rank. On top of that, a unit can be either a Warrior or Tanker which having different strength in different range for ATK and DEF point with a flowchart


Develop a Java program for a lottery winning game. The secret win number is “980-6578-854-976”. The user is allowed to enter their try, up to 10 times. For any incorrect entry, the program displays “Sorry. Try Again.” For each wrong entry, the program displays number of attempts remaining. When the 10 attempts are over, it displays “You have exhausted your chances to win. Bye.” The user can also press “E” to opt out of the game any time during the attempts. If they enter the win number at any point, the program displays “CONGRATULATIONS!! YOU HAVE WON 6 MILLION KSHS.” Then allows the user to enter their name, IDNO and phone number, after which the program displays e.g. “John Kamau, IDNO 89765, Phone Number 07863539, we shall contact you on information on how to receive your price. Have a good day”.


Programming Tasks: Apply all the things you have learned in this module. All program


should detect events like click on the buttons and keypress to detect inputs.


Task 1: Design and develop a program that will accept inputs like Name, Course and


Year Level. These inputs will be displayed in a message box after a button is clicked.


Task 2: Design and develop a program that will compute the take home amount for the


loanable amount of the customer. For example, if the customer’s loanable amount is


100,000.00 and has a 3% per annum interest. The company will deduct the interest for 5


years which is (15,000.00) to the loanable amount, so, the take home amount of the


customer is 85,000.00. Your program allows the user to input loanable amount and how


many years for the customer to pay the loan. Set the interest per annum to 3%.

Create a class named Square which performs the following tasks. a. Provide a method which returns calcuated area and circumference of the square and takes side length as one parameter of type integer. Write a test application named SquareApp which performs the following tasks. a. Create an object for the class Square. b. Read the side length of the Square from the user c. Pass the side length to the methods of the square class as an argument and print the calculated area and circumference of the square.


Programming Tasks:

1. Write a program that will determine if one or both textboxes for username and

password contains empty string. If username or/and password is/are empty then it will

display a message that username and password is required. Otherwise, it will determine

if it correct or incorrect.

2. Write a program implementing Select Case statement that evaluates a character either a

vowel or a consonant.

3. Write a program implementing While loop statement, any Do loops statement, any For

loops statement that display your Name, School, Course and Year level 10 times with

the use of message box.


Construct and implement Sub procedure and Function procedure for the following

problems:

1. Computation of the gross salary, tax deductions, total deductions and net salary of the

employee based on the following specifications. If employee is the manager, his or her

salary is 45,000. If the employee is regular or permanent his/her salary is 25,000 and

if the employee is contract of service, his/her salary is 15,000. If the employee’s gross

salary is 20,000 and above, then his /her gross salary is taxable to 2%. Otherwise, no

tax is deducted. Assume the monthly deductions for Philhealth=500.00, SSS=1000.00,

Pag-Ibig=1000.00 and monthly contribution=500.00. To compute for the total

deductions, add Philhealth, SSS, Pag-ibig, monthly contribution and the tax

deduction. To get the net salary, gross salary minus total deductions.

2. Determine the minimum and maximum numbers of 3 numbers.


Create an application that will allow the user to play cow and bull(only 4 character word)


Same character same position-cow


Same character different position-bull



Love


Cow-0,bull-0


Hate


Cow-0,bull-3


When


Cow-2,bull-0


What


Cow-4,bull-0

Do Exercise 6.4 from your textbook using recursion and the is_divisible function from section 6.4.



The current selected programming

language is C. We emphasize the

submission of a fully working code

over partially correct but efficient

code, Once submitted, you cannot

review this problem again. You can

use printf() to debug your code. The

printff) may not work in case of

syntax/runtime error. The version of

GCC being used is 5.5.0


LATEST TUTORIALS
APPROVED BY CLIENTS