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

Get the length and width of a rectangular field. Calculate the area and perimeter and display it. Length 52.5 and width 18.6


Sue sells day old chicks after they hatch from eggs. She buys the eggs at a fixed cost of 11c per egg. She determined that she spends R1.10 on electricity and other costs per egg to hatch it. she needs a program to calculate the sales price of the chicks. she would like to make 15% profit per chick. Number of chicks 5 .The program must accept the number of chicks that a client wants and then calculate and display the sales price.


a book store needs to calculate the price of an order from the book price and the number of books that were ordered .Add tax 15 % and a shipping charge of R 12.50 per book. The tax is calculated on the sum of the total book price and the shipping price. Book price R502.50 and number of books 3 .Display the order price


From Answer to Question #185194 in Python for FORTUNE AIDOOAnswers>Programming & Computer Science>Python and Answer to Question #185135 in Python for FORTUNE AIDOO

Answers><span itemprop="name">Programming &amp; Computer Science</span>>Python

Write a Python program that gets a number using keyboard input. (Remember to use input for Python 3 but raw_input for Python 2.)

If the number is positive, the program should call countdown. If the number is negative, the program should call countup. Choose for yourself which function to call (countdown or countup) for input of zero.

Provide the following.

  • An explanation of your choice for what to call for input of zero.

The difference between the representation of a decision structure and a loop in a flowchart.


  1. How you can improve the efficiency of a nested decision?
  2. When you combine AND and OR operators within the same statement, which takes precedence?

 Create a class named as Recruitment which is derived from two base classes named as 

Basic qualification and interview. Basic qualification contains the Name, marks in last 

qualification, Interview class contains the marks obtained in interview. Recruitment class 

will display the message as recruited or not recruited. Criteria for recruitment is if the 

marks in last qualification is more than 80 and interview marks are greater than equal to 6 

out of 10 for interview marks. Make sure that negative marks are not allowed. 


Teacher has prepared the result of a class containing n number of students. He wants to

give the award to 3 toppers of the class. Display the Result for 3 toppers as reflected as percentage

form in floating type data.


You

are required to design a software for a company to manage its employees. Given the following requirements:


 There are different departments in the company, each department has a name which is unique. Within the department

there are faculty members each having a name, cnic, qualification and salary.

Each department also has staff belonging to it, information to be kept about is their name, cnic, hours worked and hourly rate


 


  •  Please decide which classes would be
  • needed and what would be the relationship between those classes.
  •  Write the interface of the classes

Create a class

entertainment

consisting of the following data members:

•Title

•Air_Date i.e. Release Date

•Genre

•Type (i.e. Movie, TV Show)

•Runtime

Country

•Actors

Rating



LATEST TUTORIALS
APPROVED BY CLIENTS