computing and programming (coding)

Q1:  A design task involves finding values for three variables. Each variable can take two values. How many solutions are possible? If each solution requires 1 second to be evaluated on a computer, how long does it take to evaluate all solutions? If the number of variables increases to 30, how long does it take to evaluate all solutions?Show your work.Q2: In sorting, stability is defined as the ability of a sorting algorithm to preserve the relative of equal keys in a file. See illustration below.Comment on the stability of insertion sort and selection sort. Explain why they are stable or non-stable. Q3: Explain the difference between a compiler and an interpreter with your own words Q4:Complete the following Python exercises and include screenshots of your code and execution. 

Include      a screenshot of the execution of a simple line of code (e.g., print(“Hello      World”)) on a Python installation on your machine. 
Write a program to prompt the user      for hours and rate per hour to compute gross pay.
Rewrite your pay computation to      give the employee 1.5 times the hourly rate for hours worked above 40      hours.

Q5  Write a program to prompt for a score between 0.0 and 1.0. If the score is out of range, print an error message. If the score is between 0.0 and 1.0, print a grade using the following table:Score Grade>= 0.9 A>= 0.8  B>= 0.7 C>= 0.6 D< 0.6 FQ6: Write a program which repeatedly reads numbers until the user enters "done". Once "done" is entered, print out the total, count, and average of the numbers. If the user enters anything other than a number, detect their mistake using try and except and print an error message and skip to the next number. Enter a number: 4Enter a number: 5Enter a number: bad dataInvalid inputEnter a number: 7Enter a number: done16 3 5.333333333333333 Q7:  Take the following Python code that stores a string:`str = 'X-DSPAM-Confidence:0.8475'Use find and string slicing to extract the portion of the string after the colon character and then use the float function to convert the extracted string into a floating point number.

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more

Order your essay today and save 30% with the discount code HAPPY