1.
One of these is not a characteristics of Yii
Correct Answer
D. Custom control
Explanation
The correct answer is "custom control" because Yii is a PHP framework that follows the object-oriented and component-based approach. It is also an open-source framework, but it does not provide a specific feature or characteristic called "custom control." This means that Yii does not have a built-in functionality for creating custom controls or user interface elements.
2.
The term Yii originates from
Correct Answer
A. China
Explanation
Yii is a high-performance PHP framework used for web development. The term "Yii" originates from China. The framework was created by Qiang Xue, a Chinese software engineer, and the name "Yii" is an acronym for "Yes It Is!". It reflects the simplicity, efficiency, and elegance of the framework, which aligns with the principles of Chinese culture. Yii has gained popularity worldwide for its robust features and ease of use in building web applications.
3.
Yii was created to fix the flaws of
Correct Answer
B. PRADO framework
Explanation
Yii was created to fix the flaws of the PRADO framework. PRADO is a PHP framework that was popular in the early 2000s, but it had certain limitations and drawbacks. Yii was developed to overcome these flaws and provide a more efficient and flexible framework for PHP web development. It introduced features such as lazy loading, a powerful caching system, and a component-based architecture, which addressed the shortcomings of PRADO and made Yii a popular choice among PHP developers.
4.
Yii is written in what programming language?
Correct Answer
A. pHP
Explanation
Yii is a high-performance PHP framework used for developing web applications. It is specifically designed to be fast, secure, and efficient. Therefore, it is written in PHP, which is a popular server-side scripting language used for web development. PHP allows developers to create dynamic web pages and applications, making it a suitable choice for Yii framework.
5.
The Yii framework is a .
Correct Answer
B. Web application framework
Explanation
The Yii framework is a web application framework. This means that it provides a set of tools, libraries, and features that are specifically designed to help developers build web applications. It offers a wide range of functionalities such as database access, user authentication, caching, and URL routing, making it easier for developers to create robust and scalable web applications.
6.
Yii 1.1 was released in
Correct Answer
C. 2010
Explanation
Yii 1.1 was released in 2010.
7.
In Yii, the unit of functionality test is based on Selenium and
Correct Answer
C. pHPUnit
Explanation
In Yii, the unit of functionality test is based on PHPUnit. PHPUnit is a popular unit testing framework for PHP. It provides a set of tools and features that allow developers to write and execute tests for their PHP code. With PHPUnit, developers can define test cases, assert expected results, and run tests to ensure that their code is functioning correctly. In Yii, PHPUnit is used as the unit testing framework for testing the functionality of the application.
8.
In Yii, layered caching scheme supports the following except
Correct Answer
D. List caching
Explanation
The layered caching scheme in Yii supports dynamic content, data caching, and fragment caching. However, it does not support list caching. List caching refers to caching a list of items or records, which is not supported in the layered caching scheme of Yii.
9.
In Yii, security measures includes the prevention of
Correct Answer
D. Constant feedback
10.
Internalization and localization in Yii, include these except
Correct Answer
D. Content formatting
Explanation
Internalization and localization in Yii involve adapting a web application to different languages, regions, and cultures. It includes various aspects such as date and time formatting, number formatting, and interface localization. However, content formatting refers to the way content is presented and styled, such as font, spacing, and layout. While it is an important aspect of web development, it is not directly related to internalization and localization.