Professional Documents
Culture Documents
FORMATIVE 1
21. The very nature of the MVC framework is such that there is TRUE
low coupling among models, views, or controllers.
22. MVC pattern has become popular for designing web TRUE
applications.
41. Web applications that uses the WebForm approach can Database Code
be?
46. CodeIgniter does come with a simple template parser that False
can be optionally used, so it does require a template
engine.
50. This mean that the framework navigation can be complex Code
because it introduces new layers of indirection and requires navigability
users to adapt to the decomposition criteria of MVC.
53. Which of the following best describe code reuse Similar view for
one application
can be
refactored for
another
application with
different data
because the
view is simply
handling how
the data is being
displayed to the
user.
55. Later frameworks for Java, such as Spring continued the October 2002
strong bond between Java and MVC that was released on?
56. This components of MVC validates user input and handles Controller
data to be displayed.
67. In what year that Jim Althoff and others implemented a 1980s
version of MVC for the Smalltalk-80 class library?
68. This kind of pattern is used for designing the layout of the MVC
page.
73. Base URL can be changed from which configuration file: config
FORMATIVE 2
or
application/config/
routes.php
11. If your URI contains more than two segments they will be False
passed to your method as function
16. The .php file extension does not need to be specified True
unless you use something other than .php.
20. This has an invalid class name: <?php class blog extends TRUE
CI_Controller { }
22. Data is passed from the controller to the view by way of an TRUE
array in the second parameter of the view loading method.
F1 & F2
The very nature of the MVC framework is such that there is low TRUE
coupling among models, views or controllers.
8. Models are PHP classes that are designed to work with TRUE
information in your database.
10. Models are typically loaded and called from within TRUE
controller
11. Which of the following allows you to gets the sum of $this->db->select
values in the selected fields? _sum()
12. CodeIgniter require that each database table be its own FALSE
class file
13. Which of the following allows you to get the minimum $this->db->select
value in a column? _min()
14. Which of the following allows you to gets the average of $this->db->select
values in the selected fields? _avg()
15. Which of the following code snippet allows you to add a $this->db->where
“where” clause: ()
18. The following functions allow you to build SQL SELECT $this->db->get(m
statements except for? ytable);
19. Query Builder generates safer queries since the values TRUE
are escaped automatically by the system.
20. A major benefit to using the Query Builder features is that TRUE
it allows you to create database independent applications,
since the query syntax is generated by each database
adapter.
21. Class names musthave the first letter capitalized and TRUE
should extend the base Model class.
1. If the validation fails, the response is then sent back to the Server-side
client, which happens in? validation
3. What validation indicates users to fill out the web form Server-side
without getting feedback until they submit? validation
12. To invoke a callback just put the method name in a rule, TRUE
with “callback_” as the rule prefix.
13. To invoke a callback just put the method name in a rule, TRUE
with “callback_” as the rule prefix.
15. CodeIgniter lets you set as many validation rules as you TRUE
need for a given field, cascading them in order, and it
even lets you prep and pre-process the field data at the
same time.
17. Any native PHP function that accepts one parameter can TRUE
be used as a rule, like ``htmlspecialchars()``, ``trim()``,
etc.
18. To repopulate the form field with the submitted data FALSE
set_val 'field name’) is commonly used.
19. Client-side validation is secure because validations will FALSE
work even if JavaScript is turned off in web browser.
20. To invoke a callback just put the method name in a rule, FALSE
with “callback_” as the rule suffix.
21. It is the process of cleaning and transforming raw data Data Preparation
prior to processing and analysis.
23. This ensures that end-users provided necessary and Form validation
properly formatted information to successfully complete a
transaction.
26. Form never gets submitted if validation fails is very typical Client-side
in type of validation validation
29. This validation is done on the client using script languages Client-side
such as JavaScript validation
32.