Cool start up looking for two PHP coders

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")

returns false in JavaScript.

3. In JavaScript, write code that alerts "Mikä on elämän tarkoitus?" when the following statement is executed:


window refers to the JavaScript global object.

4. Scenario:

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."'";



if ($db->getNumRows()==0)




Is there anything wrong with the approach the code takes to solve the problem? If yes, what would you do

to improve it?

Kemahiran: Javascript, jQuery / Prototaip, MySQL, PHP, Reka Bentuk Laman Web

Lihat lagi: where to start programming, what would you do for $5, what will you do for $5, what is the problem statement, what is problem statement, what is a string in programming, what is a problem statement, what is an array in programming, what is an argument in programming, what can you do with php, website for c programming solve, up string, two string problem, the string problem, start programming, php string to html, k programming language, javascript coders, c programming if statement, c programming array of strings, cool programming language, char in c programming, argument programming, administration position, __com_groovefactory_gig_codes

Tentang Majikan:
( 0 ulasan ) Ghaziabad, India

ID Projek: #4038894

9 pekerja bebas membida secara purata $574 untuk pekerjaan ini


********************************************.. YOUR SEARCH ENDS HERE .. ********************************************** GET IT DONE RIGHT THE FIRST TIME! Hello Sir/Ma'am, I look forward to talking to you further and get Lagi

$1000 USD dalam 8 hari
(130 Ulasan)

Check your PMB for details!!!

$585 USD dalam 10 hari
(98 Ulasan)

Dear Sir, Kindly Check PMB, For further discussion of your Project In Details... Many Thanks, Nikhil Pawar Webwing Technologies PVT Limited Business Development Executive

$740 USD dalam 18 hari
(96 Ulasan)

Hello, Thanks for your post. Kindly check our PMB.

$500 USD dalam 12 hari
(24 Ulasan)

Hi, We have a 6 year experience of Website Design and development using PHP, MYSQL, Asp.Net, AJAX, Jquery, Wordpress, Joomla, We are capable to do any kind website design and development, Kindly see PMB for more de Lagi

$600 USD dalam 30 hari
(32 Ulasan)

Hi, I have over 5 years experience in php, mysql, zend etc and web development am interested. Let me know if you are serious buyer.

$500 USD dalam 15 hari
(12 Ulasan)

Hello. Please contact with me. I can do. Thank you.

$490 USD dalam 10 hari
(0 Ulasan)

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

$500 USD dalam sehari
(0 Ulasan)

Good morning sir. some remarks, please check PMB.

$500 USD dalam 5 hari
(0 Ulasan)

we will provide you complete Solution as per your need. For more detail please check our message where you can find our previous work too

$250 USD dalam 4 hari
(0 Ulasan)