You are on page 1of 16

WEB SYSTEM TECHNOLOGIES

FORMATIVE 1

1. Java Swing is an example of: MVC as GUI

2. Microsoft ASP.NET is an example of: MVC as GUI

3. DOM stands for Document Object Model which makes it an FALSE


MVC model.

4. Java Swing is an example of MVC as a WEB FALSE

5. XML is an example of: MVC as WEB

6. Eiffel is an example of: MVC as GUI

7. In what year that Trygve Reenskaug introduced MVC into 1970s


Smalltalk-79 while visiting the Xerox Palo Alto Research
Center (PARC)?

8. In what year that the Journal of Object Technology (JOT) 1988


express MVC as a general concept?

9. GNUstep is an example of: MVC as GUI

10. Apache Pivot is an example of: MVC as GUI

11. Cropping is one methods of image manipulation library TRUE

12. CodeIgniter is a toolkit for people who build web TRUE


applications using PHP.

13. It can be web page, but in CodeIgniter, it can be a page VIEW


fragment like a header or footer. It can also be an RSS
page, or any other type of "page".

14. CodeIgniter supports Query Builder Database TRUE

15. One of the features of CodeIgniter is traceback class FALSE

16. One of the features of CodeIgniter is unit testing class TRUE


17. It represents the data structures in which model classes Model
contains functions such as retrieve, insert, and update
information in database.

18. CodeIgniter requires huge libraries. FALSE


(small)

19. One of the features of CodeIgniter is full page caching TRUE

20. CodeIgniter has email sending class features TRUE

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.

23. Ruby is an example of: MVC as WEB

24. MVC enables logical grouping of related actions on a HIGH


controller together which is commonly known as? COHESION

25. Visual Fox Express is an example of: MVC as GUI

26. .NET is an example of: MVC as WEB

27. Is a part of the application that is responsible for retrieving MODEL


data from the database.

28. MVA stands for Model-view-accelerator. FALSE


(model-view-ada
pter)

29. ABAP Objects is an example of: MVC as WEB

30. This refers to information that is being presented to a user. VIEW

31. CodeIgniter was created with the following objectives TEMPLATE


except for: ENGINE

32. CodeIgniter has large library of “helper” functions. TRUE


33. The following are methods of image manipulation library LOCALIZATION
except for:

34. One of the features of CodeIgniter is error loading FALSE


(correct answer
daw is TRUE
pero nakalagay
sa module error
LOGGING)

35. This serves as an intermediary between the Model, the CONTROLLER


View, and any other resources needed to process the
HTTP request and generate a web page.

36. CodeIgniter’s goal is to attain maximum performance, TRUE


capability, and flexibility in the smallest, lightest possible
package.

37. It is the application's dynamic data structure, independent Model


of the user interface. It directly manages the data.

38. ActionScript is an example of: MVC as WEB

39. The following are popular programming language that C


have MVC frameworks for web or mobile application
development straight out of the box except for?

40. Groovy is an example of: MVC as WEB

41. Web applications that uses the WebForm approach can Database Code
be?

42. MVC stands for Model-view-controller True

43. Cocoa framework is an example of: MVC as GUI

44. CMFL is an example of: MVC as WEB

45. CodeIgniter is free and fast True

46. CodeIgniter does come with a simple template parser that False
can be optionally used, so it does require a template
engine.

47. Which refers to the system of numbering pages-a list of Pagination


numbered links ?

48. CodeIgniter has form and data validation features. True

49. Component Singularity is one of the objectives of True


CodeIgniter

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.

51. Popular programming languages like JavaScript, Python, True


Ruby, PHP, Java, C#, and Swift have MVC frameworks that
are used for web or mobile application development
straight out of the box.

52. GTK+ is an example of: MVC as GUI

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.

54. It is a software design pattern commonly used for MVC


developing user interfaces that divides the related program
logic into three interconnected elements.

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.

57. One of the features of CodeIgniter is zip decoding class False


(encoding)

58. CodeIgniter strives for simplicity, flexibility, and high True


performance in a small footprint package.

59. Which one is the business logic in CodeIgniter? CONTROLLER

60. CodeIgniter uses a segment-based approach. True

61. Rotating refers to the system of numbering pages-a list of False


numbered links ? (Pagination)

62. CodeIgniter has full featured database classes with True


support for several platforms.

63. CodeIgniter can be also modified to use HMVC. True

64. Smalltalk is an example of: MVC as WEB

65. Multiple developers can work simultaneously on the model, True


controller and views.

66. What is the correct algorithm of MVC passive view? User-controller-


model-controller
-view-User

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.

69. JFace is an example of: MVC as GUI

70. Model-View-Controller Based System is one features of True


CodeIgniter

71. One of the features of CodeIgniter is security and XSS True


filtering

72. CodeIgniter also enables you to incorporate your own True


scripts, or even develop core libraries for the system,
enabling you to work in a way that makes the most sense
to you.

73. Base URL can be changed from which configuration file: config

74. CodeIgniter has session management features True

75. MVC stands for? Model-view-cont


roller

76. PERL is an example of: MVC as WEB

77. Model refers to information that is being presented to a False


user. (View)

78. Loose Coupling is one of the objectives of CodeIgniter TRUE

79. XTML-RPC Library is one of the features of CodeIgniter FALSE


(XML)

80. One of the features of CodeIgniter is applicable profiling FALSE


(application)

81. One of the features of CodeIgniter is data encryption TRUE

83.One of the features of CodeIgniter is extremely light weight TRUE

FORMATIVE 2

1. A Controller is a class file that can be associated with a TRUE


URI.

2. Controllers are the heart of your application, as they TRUE


determine how HTTP requests should be handled.

3. The default controller can be set from which configuration Routes


file:

4. Which one will control all the segments? something three

5. To load a default controller, what should you do? Add a setting to


application/confi
g.php

or
application/config/
routes.php

6. Views are called directly and must be loaded by a FALSE


controller. (never)

7. CodeIgniter will handle multiple calls to $this->load->view() TRUE


from within a controller.

8. An example of storing view within sub-directories: FALSE


$this->load->v('subdirectory_name/file_name'); $this->load->view(
'directory_name/fil
e_name');

9. In an MVC framework, the Controller acts as the True


orchestrator, so it is responsible for fetching a particular
view.

10. A view is simply a web page, or a page fragment (header, True


footer) and can be embedded within other views.

11. If your URI contains more than two segments they will be False
passed to your method as function

12. The application/config/routes.php file determines which True


controller is called by default

13. CodeIgniter will intelligently handle multiple calls to True


$this->load->view() from within a controller.

14. An example of storing view within subdirectories: True


$this->load->view("directory_name/file_name");
15. To load a view file you will use the following method: $this->load->vie
w('name');

16. The .php file extension does not need to be specified True
unless you use something other than .php.

17. Class names must start with an uppercase letter. True

18. During the installation, you need to create an .htaccess True


file, which rewrites the URLs so that they still get to
index.php, although it is not included explicitly.

19. In this example: example.com/class/function/ID/foo/bar, class


what is the controller class?

20. This has an invalid class name: <?php class blog extends TRUE
CI_Controller { }

21. It is a class file that can be associated with a URI. 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.

24.An example of storing view within sub-directories: TRUE


$this->load->view('directory_name/file_name');

25. In the example: example.com/index.php/blog/, the , Find a controller


CodeIgniter would attempt to? named Blog.php

F1 & F2

The very nature of the MVC framework is such that there is low TRUE
coupling among models, views or controllers.

It is any representation of information such as a chart, diagram -VIEW


or table in a particular format.

CodeIgniter lets you creatively focus on your project by TRUE


minimizing the amount of code needed for a given task.

Dynamic Instantiation is one of the objectives of CodeIgniter TRUE


F3

1. The basic syntax for a model class is : Model_Name


class ___________extends CI_Model {
}

2. Model class can contain functions to insert, update, and TRUE


retrieve a database

3. Model classes are stored in your application/models/ True

4. If this is your class: Sample_model.p


hp
class Sample_model extends CI_Model { }
Your filename should be :
application/models/_________

5. It is a PHP class that are designed to work with Model


information in your database

6. Model classes cannot be nested within sub-directories. FALSE

7. Class names musthave the first letter capitalized and TRUE


should extend the base Model class.

8. Models are PHP classes that are designed to work with TRUE
information in your database.

9. The file name must match the class name. TRUE

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: ()

16. Which of the following produces SELECT * FROM $query =


mytable $this->db->get('
mytable');

17. It allows the developer to perform database operations Query builder


with minimal scripting. class

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.

22. The basic syntax for a model class is : Model_Name


class ___________extends CI_Model {
}

23. If this is your class: Sample_model.p


class Sample_model extends CI_Model { } hp

Your filename should be : application/models/_________


24. The following functions allow you to build SQL SELECT $this->db->get(m
statements except for? ytable);

25. Which of the following produces SELECT * FROM $query =


mytable $this->db->get('
mytable’);
F4

1. If the validation fails, the response is then sent back to the Server-side
client, which happens in? validation

2. Main drawback of client-side validation is that it relies on True


JavaScript.

3. What validation indicates users to fill out the web form Server-side
without getting feedback until they submit? validation

4. Form validation ensures that end-users provided Server-side


necessary and properly formatted information to validation
successfully complete a transaction.

5. A validation that is visually rich. Client-side


validation

6. What does the rule implies: The username


field be no
$this->form_validation->set_rules('username', 'Username', shorter than 5
'required|min_length[5]|max_length[12]'); characters and
no longer than
12.

7. In this type of validation, user’s input can be validated as Client-side


they type. validation
8. 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.

9. This validation relies on JavaScript. Client-side


validation

10. Validation is being handled in JavaScript methods that true


you create (or within frameworks/plugins) and users get
immediate feedback if validation fails.

11. What does the rule implies: The email field


must contain a
$this->form_validation->set_rules('email', 'Email', valid email
'required|valid_email'); address.

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.

14. A common data preparation is known as ”trimming” the TRUE


fields

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.

16. The validation system supports callbacks to your own TRUE


validation methods.

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.

22. A kind of validation that results in a slow response from Server-side


the server. validation

23. This ensures that end-users provided necessary and Form validation
properly formatted information to successfully complete a
transaction.

24. Server-side validation is enough to have a successful and TRUE


secure form validation.

25. A validation that is secure because validations will work Server-side


even if JavaScript is turned off in web browser. validation

26. Form never gets submitted if validation fails is very typical Client-side
in type of validation validation

27. The validation system supports callbacks to your own TRUE


validation methods.

28. What does the rule implies: The email field


$this->form_validation->set_rules('email', 'Email', must contain a
'required|valid_email'); valid email
address.

29. This validation is done on the client using script languages Client-side
such as JavaScript validation

30. What does the rule implies: The username


field be no
$this->form_validation->set_rules('username', 'Username', shorter than 5
'required|min_length[5]|max_length[12]'); characters and
no longer than 12
31. In the server-side validation, information is being sent to TRUE
the server and validated using one of server-side
languages.

32.

You might also like