Mixed Variable Types Challenge and Quiz

phpBB3 and MOD challenges setup by the staff to test and challenge your phpBB3 coding skills.

Re: Mixed Variable Types Challenge and Quiz

Postby iWisdom » 11 Jul 2007, 13:43

I did better than I thought :D
iWisdom    
phpBB Team Member
phpBB Team Member
 
Posts: 58
Joined: 10 Jul 2007, 20:01
Gender: Male
phpBB Knowledge: 10


Re: Mixed Variable Types Challenge and Quiz

Postby Highway of Life » 11 Jul 2007, 13:55

Your scores, blackbeltboy47:
Spoiler:
Code: Select all
$var = 0;
type: integer
100% perfect!
----
$var = 1;
type: integer
100% perfect!
----
$var = "0";
type: string
10 out of a possible 11 are correct for a score of 90%
----
$var = "1";
type: string
10 out of a possible 11 are correct for a score of 90%
----
$var = 10;
type: integer
100% perfect!
----
$var = 1.2;
type: double
10 out of a possible 11 are correct for a score of 90%
----
$var = "1.2";
type: string
10 out of a possible 11 are correct for a score of 90%
----
$var = "true";
type: string
10 out of a possible 11 are correct for a score of 90%
----
$var = false;
type: boolean
10 out of a possible 11 are correct for a score of 90%
----
$var = array(0 => "foo");
type: array
6 out of a possible 11 are correct for a score of 54%
----
$var = new test_parent();
type: object
9 out of a possible 11 are correct for a score of 81%
----
$var = NULL;
type: NULL
100% perfect!
----
$var = mysql_connect("localhost", "mysql_user", "mysql_pass");
type: resource
9 out of a possible 11 are correct for a score of 81%
----
4 quizes out of 13 are perfect

128 out of 143 answers correct. -- Overall score: 89%


Arg! I?m still missing people. :blush:
Watch out! I might do a code wheelie!

User avatar
Highway of Life    
STG Jedi Master
STG Jedi Master
 
Posts: 10458
Joined: 08 May 2006, 05:23
Location: Beware of Programmers carrying screwdrivers
Gender: Male
phpBB Knowledge: 10

Re: Mixed Variable Types Challenge and Quiz

Postby Highway of Life » 11 Jul 2007, 14:03

And finally, CorniI?s scores.

Spoiler:
Code: Select all
$var = 0;
type: integer
9 out of a possible 11 are correct for a score of 81%
----
$var = 1;
type: integer
9 out of a possible 11 are correct for a score of 81%
----
$var = "0";
type: string
10 out of a possible 11 are correct for a score of 90%
----
$var = "1";
type: string
10 out of a possible 11 are correct for a score of 90%
----
$var = 10;
type: integer
9 out of a possible 11 are correct for a score of 81%
----
$var = 1.2;
type: double
100% perfect!
----
$var = "1.2";
type: string
100% perfect!
----
$var = "true";
type: string
100% perfect!
----
$var = false;
type: boolean
100% perfect!
----
$var = array(0 => "foo");
type: array
100% perfect!
----
$var = new test_parent();
type: object
100% perfect!
----
$var = NULL;
type: NULL
100% perfect!
----
$var = mysql_connect("localhost", "mysql_user", "mysql_pass");
type: resource
100% perfect!
----
8 quizes out of 13 are perfect

135 out of 143 answers correct. -- Overall score: 94%

Excellent job!! :good:

If anyone would like the individual test results, please PM me for them.
Watch out! I might do a code wheelie!

User avatar
Highway of Life    
STG Jedi Master
STG Jedi Master
 
Posts: 10458
Joined: 08 May 2006, 05:23
Location: Beware of Programmers carrying screwdrivers
Gender: Male
phpBB Knowledge: 10

Previous

Return to phpBB3 Challenges at phpBB Academy

Who is online

Users browsing this forum: No registered users and 1 guest