CoolInterview.com - World's Largest Collection of Interview Questions
Start Your Own website Now
Sponsored Links

Interview Questions
Our Services

Get 9,000 Interview Questions & Answers in an eBook.


  • 9500+ Pages
  • 9000 Question & Answers
  • All Tech. Categories
  • 14 MB Content

    Get it now !!



    Send your Resume to 6000 Companies


  • INTERVIEW QUESTIONS ALGORITHM DETAILS
    Question :
    Design a program that will read a file of employee records containing employee number, employee name, hourly pay rate, regular hours worked and overtime hours worked. The company pays its employees weekly, according to the following rules:
    regular pay = regular hours worked * hourly rate of pay overtime pay = overtime hours worked * hourly rate of pay * 1.5 total pay = regular pay + overtime pay
    Your program is to read the input data on each employee?s record and compute and print the employee?s total pay, on the weekly payroll report. All input data and calculated amounts are to appear on the report. A total payroll amount is to appear at the end of the repor


    Posted by: kemi on 8/27/2011

    Contact kemi Contact kemi
    Category Algorithm Interview Questions
    Rating (0.5) By 69 users
    Added on 8/27/2011
    Views 306
    Rate it!
    Answers:
    No answer available currently. Be the first one to reply to this question by submitting your answer from the form below.

    If you have the better answer, then send it to us. We will display your answer after the approval.
    Rules to Post Answers in CoolInterview.com:-

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
  • Name :*
    Email Id :*
    Answer :*
    Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification  Enter the above shown code:*
    Inform me about updated answers to this question

       
    Related Questions
    View Answer
    Design a program that will calculate the service charge a customer owes for writing a bad check. The program accepts a customer?s name, the date the check was written (year, month, and day), the current date (year, month, and day), and the amount of check in dollars and cents. The service charge is $20 plus 2 percent of the amount of check, plus $5 for every month that has passed since the check was written.
    View Answer
    using Polya's step solve the following problem:
    Problem
    Crossing a road
    Consider that three adults and three children want to cross a road at a zebra crossing, to get to school a little further down the road. However, to conform to the rules of the school, it is necessary that no child is unaccompanied by an adult.
    Furthermore, everybody crossing has to carry a colored flag. Unfortunately most of the flags have been lost, there are only two left. Anybody can carry up to two flags. It is too risky to throw flags across so somebody needs to transport them.
    Children take 30 seconds to cross, adults take 20 seconds to cross, but if an adult is travelling with a child they travel at the speed of the child.
    You need to get all the people across.
    1. Clearly state the notation you intend to use.
    2. What is the initial state?
    3. What is the final state?
    4. What are the allowable intermediate states?
    5. What are the possible first moves? You need to explicitly rule out each disallowed ones.
    6. Construct a solution to transport everybody across. How long will it take?
    Now generalize the situation to n Adults and m Children.
    1. Under what conditions can all the people are transported across.
    2. Write pseudo-code to represent an algorithm for transporting all the people.
    3. How long will it take for everybody to cross using the solution you have given?
    View Answer
    Laser light and light sensor meter are fixed between ceiling fan blades such that when fan rotates, light sensor reading are turned on and off. There are three blades in the fan and it cannot rotate faster than 180 rpm. Write a program or algorithm that continuously displays/outputs fans speed in rpm.
    Assume you have access to system API
    int ReadLightSensor()
    which returns 1 when there is light and 0 where light is broken.
    View Answer
    If you are given task to build search engine, how will you arrange items and what kind of algorithm will you use to get the quickest search result?
    View Answer
    what is openGL
    View Answer
    what is callsystem
    View Answer
    Which of recent books on testing is rated highly?
    View Answer
    Please Give the example of bruteforce algorithm?
    View Answer
    State the problems which differentiate between recursive procedure and non-recursive procedure?
    View Answer
    Explain the depth of recursion?
    View Answer
    Explain about procedural body and computation boxes?
    View Answer
    How can an inductive definition be realized?
    View Answer
    State recursion and its different types?
    View Answer
    Define and describe an iterative process with general steps of flow chart?
    View Answer
    Given a system of N equations whose coefficient matrix A is triangular and is stored in a vector R and the right hand side vector B, this algorithm obtains the solution vector X. Sum is a temporary variable. I am M are integer variables. How to follow the algorithm?
    View Answer
    In Algorithmic context how would you define ?book keeping operations??
    View Answer
    Explain the function SUB in algorithmic notation?
    View Answer
    What are the arguments present in pattern matching algorithms?
    View Answer
    Define string in an algorithmic notation and an example to support it?
    View Answer
    What are the two ways through which the Markov algorithm terminates?
    View Answer


    Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

    View ALL Algorithm Interview Questions

    User Options
    Sponsored Links


    Copyright ©2003-2014 CoolInterview.com, All Rights Reserved.
    Privacy Policy | Terms and Conditions

    Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Dedicated Servers | C Interview Questions & Answers

    Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes


    Cache = 0.015625 Seconds