This task is to write a function to check whether the inputted number is a prime number. If the inputted number is not a prime number, return "Not a prime". If the inputted number is a prime number then return the average value of ALL the prime numbers that are less than and including the inputted number. Example For input = 5, the output should be 3.33 (2 + 3 + 5) / 3 = 3.33 Note: - A prime number is a whole number greater than 1 whose only factors are 1 and itself. A factor is a whole number that can be divided evenly into another number. The first few prime numbers are 2, 3, 5, 7, 11, 13, 17, 19, 23 and 29. - 1 is not considered a prime number because it has only one factor.
Senior Php Interview Questions
4,925 senior php interview questions shared by candidates
do you know SOLID pattern
Versioning systems: centralized vs distributed.
PHP output buffering and various other functions.
Describe DDD
The question that was asked was for a Laravel basic question.
Design a URL Shortener Service (like bit.ly)
Create a simple Laravel application with HTML, routes, controller, and database persistence.
What is your theoretical orientation?
A code challenge based on position.
Viewing 3281 - 3290 interview questions
See Interview Questions for Similar Jobs
Senior Php DeveloperAngularjs DeveloperSenior Frontend EngineerMean Stack DeveloperAngular Js DeveloperPhp Backend DeveloperSr Php DeveloperWeb Developer PhpSenior Frontend DeveloperAngular Web DeveloperFresher Php DeveloperPhp Software DeveloperSenior Javascript DeveloperJavascript DeveloperJunior Fullstack DeveloperPhp DevelopersSenior Php Magento DeveloperPhp Laravel Developer