LiteBreeze PHP Developer Interview Questions | Glassdoor.co.in

Find jobs for PHP Developer

LiteBreeze PHP Developer Interview Questions

Interviews at LiteBreeze

1 Interview Review

Experience

Experience
100%
0%
0%

Getting an Interview

Getting an Interview
100%

Difficulty

3.0
Average

Difficulty

Hard
Average
Easy

Helpful (2)  

PHP Developer Interview

Anonymous Interview Candidate in Kochi
No Offer
Positive Experience
Average Interview

Application

I applied through other source. I interviewed at LiteBreeze (Kochi) in March 2019.

Interview

Telephone conversation and after that 30 mins Online test we can attend this test from our home after that they evaluate the answer on next day and send a acknowledgement mail to candidate he or she select or not on next rounds according to online test.

Interview Questions

  • Consider generating a monthly mobile bill for data usage. A basic charge of Rs. 200 allows for 20GB of data per month, with a daily cap of 2GB. The user has to pay Rs. 200 per month irrespective of the amount of data used. For each additional MB used above 2GB per day, the user is to pay an additional Rs. 0.025. Also, for each additional MB above 20GB for the whole month, the user needs to pay an additional Rs. 0.05.

    Assumption: 1GB = 1024MB

    Write a function that does the following:
    - Accepts an array containing daily usages in MB for a month
    - Calculate the total monthly bill for the input, including the additional charge for exceeding daily and monthly limits, if any.

    Sample Input/Output

    Input
    Data usage: date of month => data used in MB

    Array

    (

        [2] => 3000

        [5] => 1250

        [10] => 2000

        [12] => 300

        [14] => 900

        [16] => 4250

        [18] => 2560

        [19] => 1500

        [22] => 190

        [26] => 2020

        [28] => 5050

    )

    Output

    Array

    (

        [baseCharge] => Rs. 200

        [dailyAdditional] => Rs. 166.7

        [monthlyAdditional] => Rs. 127

        [totalBill] => Rs. 493.7

    )   1 Answer
Don't Miss Out On a Job You Love
Upload a CV to easily apply to jobs from anywhere. It's simple to set up.