Search Header Logo

SA2 CodeIgniter Model and Validation Quiz

Authored by Minase Aoi

Computers

University

Used 2+ times

SA2 CodeIgniter Model and Validation Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

41 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Models are typically loaded and called from within controllerLinks to an external site.

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Model classes cannot be nested within sub-directories.

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following code snippet allows you to add a "where" clause:

$this->db->where()

$this->db->update where()

$this->db->delete_Where()

$this->db->set_where()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Query Builder generates safer queries since the values are escaped automatically by the system.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is a PHP class that are designed to work with information in your database

Model

Database

Config

Route

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Model class can contain functions to insert, update, and retrieve a database.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following allows you to gets the sum of values in the selected fields?

$this->db->select_sum()

$this->db->select_avg()

$this->db->select_max()

$this->db->select_min()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers