Uncategorized

America's Best Coding Non-Profits

Coding non-profits are organizations that want to improve the state of programming and computer science education, and any associated fields. Currently, there are hundreds of coding non-profits around the world. By taking a different approach…
Coding CommunityE-Learning

Livecoding.tv Quiz of the Day: 10/10/2016

Answer: The problem here is that strpos() returns the starting position index of $str1 in $str2 (if found), otherwise it returns false. So in this example, strpos() returns 0 (which is then coerced to false when referenced in the if statement). That’s why the code doesn’t work properly. The correct…
Coding CommunityE-Learning

Livecoding.tv Question of the Day: 07/10/2016

  Answer: The output will be: location is null 1/1/0001 12:00:00 AM 12 location is null1/1/0001 12:00:00 AM Although both variables are uninitialized, String is a reference type and DateTime is a value type. As a value type, an initialized DateTime variable is set to a default value of midnight of 1/1/1…
Coding CommunityE-Learning

Livecoding.tv Quiz of the day

September, 29 2016: PHP Answer: The correct answer is 18. Here’s why: PHP supports automatic type conversion based on the context in which a variable or value is being used. If you perform an arithmetic…