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

Create a Python script that will compute the NET Salary of an employee from an input number of hours worked and the rate per hour. An additional 20% of the overtime pay if an employee worked for more than 40 hours of regular work.


Sample Output:

Hours Worked : 45

Rate (per Hour): 200

Basic Pay : 8000

Overtime Pay : 1000

Incentive : 200

NET Salary is 9200


I need the code to have an output as stated above.


Use recursion tree to solve the following recurrence.


T(n) = T(n/15) + T(n/10) + 2T(n/6) + √n


Make a program that will accept an arithmetic operators (either +,-,*,/ and %) and two numbers to compute. It has to display the correct answer based on the operator you enter.




Noted: Since there are 5 arithmetic operators to choose from, there should be cases followed by the default.

1.

Create a Java program named PE1Lastname. (ex. PE1Dela_Cruz)

2.

Initialize the following variables based on the table below:

DATA TYPE

VARIABLE NAME

VALUE

String

firstName

Type your first name

String

lastName

Type your last name

char

mi

Type your middle initial

int

age

Type your age

char(array)

nickNameArray

Every index should contain each of the

letters of your nickname.

3.

Use scanner class for data entry. Use comments to give a short description of

the parts of the program. (//Single-line comments and /**/multi-line comments)

4.

Produce an output similar to the sample below.

5.

The nickname should be inside an array variable. You should be able to display

each letters.


a. Write algorithm using pseudocode and flowchart that uses while loops to perform the

following steps:

i. Prompt the user to input two integers: firstNum and secondNum note that firstNum

must be less than secondNum.

ii. Output all odd numbers between firstNum and secondNum.

iii. Output the sum of all even numbers between firstNum and secondNum.

iv. Output the numbers and their squares between firstNum and secondNum.

v. Output the sum of the square of the odd numbers between firstNum and secondNum.

b. Redo Exercise (a) using for loops.

c. Redo Exercise (a) using do. . .while loops.


What does associativity means


The population of a town A is less than the population of town B.However, the population of



algorithmoutputs after how many years the population of town A will be greater than or equal to



flowchartthat prompts the user to enter the population and growth rate of each town. The



Population of town A =5000, growth rate of town A = 4%, populationof town B = 8000, and



town A is growing faster than the population of town B. Write algorithm usingpseudocodeand



the population of town B and the populations of both the towns at that time. (A sample input is:



growth rate of town B =2%)

Store one book data via pointer. Use function to initialize the data given by user.

1. If Satellite with a radius of 5.3m transmitted a message at the frequency of 1.3 MHz to

earth station. Determine:

The wavelength, and time, in hour of the transmission

The centrifugal force of the satellite

The attenuation of the transmission

2. The wavelength of a signal transmitted at 1000MS-1 is 700M. Determine the period of

the transmission

3. Analyze the conditions that can lead to satellite path diversity

4. Explain handoff and discuss three types of satellite handoff


Write a c program to make a queue from user input and check whether prime number present or not in the queue and find frequency of the prime number.



Hints


Make a menu which will having following menu options


-insert queue data


-insert in which position


-delete queue data


-show queue


-show prime numbers in queue


-show frequency of prime number in queue




LATEST TUTORIALS
APPROVED BY CLIENTS