As a next step, please answer the programming tasks below as soon as possible to be considered for the position.
1. In a language of your choice, write a function that gets a string as an argument and returns true if the string starts with an upper case letter and false if it starts with a lower case letter. You can assume the argument strings will only include letters in the English alphabet.
2. Explain why the statement
array("asdf") === array("asdf")
returns true in PHP but the equivalent statement
Array("asdf") === Array("asdf")
An administrator writes up a plaintext (no HTML) article in a website administration backend and submits it. The article needs to be saved in a database and an error message or success message along with the created article that is correctly formatted must be output to the administrator. From the point of view of MVC architecture, explain what happens in each tier in both success and error cases.
5. What do you think the following code is trying to accomplish?
$koodi = '';
$k = 0;
while ($[url removed, login to view]().$k),$alku,$alku+10);
$korvattavat = array("0","O","l","I","1");
$possible = "23456789abcdfghjkmnpqrstvwxyz";
$char = substr($possible, mt_rand(0, strlen($possible)-1), 1);
$koodi = str_replace($korvattavat,$char,$koodi);
$query = "SELECT code FROM #__com_groovefactory_gig_codes WHERE code='".$koodi."'";
Is there anything wrong with the approach the code takes to solve the problem? If yes, what would you do
to improve it?
9 freelancere byder i gennemsnit $574 på dette job
Dear Sir, Kindly Check PMB, For further discussion of your Project In Details... Many Thanks, Nikhil Pawar Webwing Technologies PVT Limited Business Development Executive
We are freelance software developers. If you contact me I can give a quote for your project and we can discuss the details. www.<b><i>Removed by Freelancer.com Admin for breaching our Terms and Conditions</i></b>.io