Zend 200-550 Exam Practice Questions (P. 5)
- Full Access (223 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #21
- AUse classes to encapsulate code and represent objects, and namespaces to avoid symbol name collisions
- BUse classes for performance-sensitive code, and namespaces when readability matters more
- CUse namespaces for performance-sensitive code, and classes when readability matters more
- DAlways use them; namespaces are always superior to classes
A

Hi! Do you need help with this question ?
- Why isn't the A the right answer?
- Traducir la pregunta al español
Contributor get free access to an augmented ChatGPT 4 trained with the latest IT Questions.
Question #22
- AOnly classes
- BClasses, functions and constants
- CClasses, functions, constants and variables
B

Hi! Do you need help with this question ?
- Why isn't the A the right answer?
- Traducir la pregunta al español
Contributor get free access to an augmented ChatGPT 4 trained with the latest IT Questions.
Question #23
*as much as possible* the length of the class name you have to type. What would you do?
- AImport the MyGreatFramework namespace
- BImport the MyGreatFramework\MyGreatDatabaseAbstractionLayer namespace
- CAlias MyGreatFramework\MyGreatDatabaseAbstractionLayer\MyDBConnection to a shorter name
- DAlias MyGreatFramework\MyGreatDatabaseAbstractionLayer to a shorter name
C

Hi! Do you need help with this question ?
- Why isn't the A the right answer?
- Traducir la pregunta al español
Contributor get free access to an augmented ChatGPT 4 trained with the latest IT Questions.
Question #24
- AEnabling display_errors
- BEnabling log_errors
- CHaving a site-wide exception handler
- DSetting error_reporting to E_ALL & ~E_NOTICE
B

Hi! Do you need help with this question ?
- Why isn't the A the right answer?
- Traducir la pregunta al español
Contributor get free access to an augmented ChatGPT 4 trained with the latest IT Questions.
Question #25
namespace MyFramework\DB;
class MyClass {
static function myName() {
return __METHOD__;
}
}
print MyClass::myName();
- AMyFramework\DB\myName
- BMyFramework\DB\MyClass\myName
- CMyFramework\DB\MyClass::myName
- DMyClass::myName
C

Hi! Do you need help with this question ?
- Why isn't the A the right answer?
- Traducir la pregunta al español
Contributor get free access to an augmented ChatGPT 4 trained with the latest IT Questions.
All Pages