0% found this document useful (0 votes)
252 views7 pages

Midterm Exam - Attempt Review

The document is a summary of a student's midterm exam in a CodeIgniter course. The student answered 25 multiple choice and matching questions and received a score of 48/50 (96%). Some of the questions covered CodeIgniter form validation rules, email methods, database functions and concepts like form helpers, database normalization and self-service password resets.

Uploaded by

12stemd.cggarcia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
252 views7 pages

Midterm Exam - Attempt Review

The document is a summary of a student's midterm exam in a CodeIgniter course. The student answered 25 multiple choice and matching questions and received a score of 48/50 (96%). Some of the questions covered CodeIgniter form validation rules, email methods, database functions and concepts like form helpers, database normalization and self-service password resets.

Uploaded by

12stemd.cggarcia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Home / My courses / UGRD-ITE6301A-2323T / Midterm Exam / Midterm Exam

Started on Saturday, 2 March 2024, 8:34 PM


State Finished
Completed on Saturday, 2 March 2024, 8:54 PM
Time taken 20 mins 42 secs
Marks 48.00/50.00
Grade 96.00 out of 100.00

Question 1 Registration is an activity of deleting user information on the database.


Incorrect

Mark 0.00 out of Select one:


1.00
True 

False

Question 2 valid_email form validation rule is used to check if an e-mail is valid or not.
Correct

Mark 1.00 out of Select one:


1.00
True 

False

Question 3 is_uniques form validation rule checks if the input is unique from the table.
Correct

Mark 1.00 out of Select one:


1.00
True

False 

Question 4
IDENTIFICATION: cc()  Method that accepts 'secondary recipients' that receives the mail just to keep
Correct
them informed
Mark 1.00 out of
1.00

Question 5
IDENTIFICATION: from()  Method that accepts the sender's email address
Correct

Mark 1.00 out of


1.00


Question 6 Form helper class helps us by returning formatted HTML form elements.
Correct

Mark 1.00 out of Select one:


1.00
True 

False

Question 7 is_unique requires table and field name as parameter.


Correct

Mark 1.00 out of Select one:


1.00
True 

False

Question 8 We should subject a user for approval on registration.


Correct

Mark 1.00 out of Select one:


1.00
True 

False

Question 9 Database Normalization is the process of organizing the columns/records or attributes and tables of the database
Correct to minimize data redundancy.
Mark 1.00 out of
1.00 Select one:
True 

False


Question 10 Matching Type. Choose the correct answer from the selection provided.
Correct

Mark 10.00 out


SSPR stands for Self-service password reset
of 10.00

application to help the program perform small or simple task such as autoloaded
formatting a parameter, computation or series of commands

Queries
are templates for reports

is the process of organizing the columns/records or attributes and tables Database Normalization
of the database to minimize data redundancy.

Name the configuration file needed to set helper autoload config



functions that accepts input parameters and returns an HTML input form form helper class
element.

­function returns the auto incremented or last inserted id from the query $this->db->insert_id()

It is very useful on web forms security against online bots, crawlers and CAPTCHA
spammers.

md5
encrypted email as a key

runs a back-end database query and displays the information in single report page
organized and informational manner

returns a string containing any server messages, email header and the $this->email->print_debugger()
email message.

variables that store values but it can only contain strings and numbers constant

methods is very useful on getting pieces of data, one at a time Look Up
particularly on multiple tables and databases

formatted result of database queries and contain useful data for decision Reports
making and analysis

used as a function library that we can just load to the controller or view. helper

Your answer is correct.

Question 11 CodeIgniter allows us to send email in a neat and simple way. We can load the email class by Declaring $this-
Correct >load->library('email');
Mark 1.00 out of
1.00 Select one:
True 

False
Question 12 $that->db->insert_id() function returns the auto incremented or last inserted id from the query.
Correct

Mark 1.00 out of Select one:


1.00
True

False 

Question 13 Account registration can be approved through activation link sent from user's email or by an admin approval.
Correct

Mark 1.00 out of Select one:


1.00
True 

False

Question 14 Self-survey password reset (SSPR) is defined as any process or technology that allows users who forgot their
Correct password authenticate their account and reset their passwords without calling the help desk.
Mark 1.00 out of
1.00 Select one:
True

False 

Question 15 We should subject a user for approval on registration.


Correct

Mark 1.00 out of Select one:


1.00
True 

False

Question 16 $this->db->insert_id() inserts an id in the database.


Correct

Mark 1.00 out of Select one:


1.00
True

False 

Question 17
IDENTIFICATION: message()  Method that accepts the email's body or content
Correct

Mark 1.00 out of


1.00

Question 18
IDENTIFICATION: bcc()  Method that accepts recipients that are not visible to the other recipients
Correct

Mark 1.00 out of


1.00

Question 19 matches form validation rule checks 3 fields that should have an equal or same value.
Correct

Mark 1.00 out of Select one:


1.00
True

False 

Question 20
IDENTIFICATION: print_debug  Method that returns a string containing any server messages, email header
Correct
and email message.
Mark 1.00 out of
1.00

Question 21
IDENTIFICATION: email addre  An input required to verify the user's record existence in order to reset his/her
Correct
password.
Mark 1.00 out of
1.00

Question 22 SEARCH methods is very useful on getting pieces of data, one at a time particularly on multiple tables and
Correct databases.
Mark 1.00 out of
1.00 Select one:
True

False 

Question 23
IDENTIFICATION: send()  Method that triggers the sending of email
Correct

Mark 1.00 out of


1.00

Question 24
IDENTIFICATION: to()  Method that accepts the recipient's email address
Correct

Mark 1.00 out of


1.00


Question 25 Matching Type. Choose the correct answer from the selection.
Correct

Mark 10.00 out


What function can be used to access session variables on webpages? session_start()
of 10.00

. htaccess
File that will automatically route the index.php next to the Controller

__construct
Method will execute codes once the class is created or instantiated.

Variables that can be accessed anywhere on the web application because it is stored on superglobal
the browser session

Organization that sponsors CI Ellislab



Controller
It can be said as the entry point of application.

variables are session variables that expires with a given time limit. Tempdata

Function that fetch the data as a single row array row_array()



show_404()
You can display the error 404 page by using what function

result_array()
Function that fetch the data as a multi-dimentional array

Your answer is correct.

Question 26 Account registration can be approved through activation link sent from user's email or by an admin approval.
Correct

Mark 1.00 out of Select one:


1.00
True 

False

Question 27
IDENTIFICATION: subject()  Method that accepts the email's title or heading text
Incorrect

Mark 0.00 out of


1.00

Question 28
IDENTIFICATION: Forgot pass  It is any process or technology that allows users who forgot their passwords
Correct
authenticate and reset the passwords of their account
Mark 1.00 out of
1.00 
Question 29 Database Normalization is the process of organizing records to minimize redundancy.
Correct

Mark 1.00 out of Select one:


1.00
True 

False

Question 30 A Query is a formatted result of database queries and contain useful data for decision making and analysis
Correct

Mark 1.00 out of Select one:


1.00
True

False 

Question 31 bcc stands for Black Carbon Copy


Correct

Mark 1.00 out of Select one:


1.00
True

False 

Question 32 is_unique requires table and field name as parameter.


Correct

Mark 1.00 out of Select one:


1.00
True 

False

◄ Prelim Lab Exam Jump to... Midterm Lab Exam ►

You might also like