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.
Php Developer Programmer Interview Questions
4,925 php developer programmer 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
Web Developer ProgrammerFresher Php DeveloperPhp DevelopersDatabase Software EngineerSenior Php DeveloperBackend DeveloperBack End DeveloperWeb Applications DeveloperSenior Web Applications DeveloperPhp DeveloperMysql Database AdministratorSenior Back End EngineerPhp Sql Web Database DeveloperSoftware Engineer Web Applications DeveloperSoftware ProgrammerWeb Developer PhpPhp Backend DeveloperJunior Php Developer