QUESTION #1

box := []models.Box{}

Which uAdmin function will delete records from database?

A. uadmin.Delete(box)
B. uadmin.Delete(&box)
C. uadmin.Delete(*box)
D. uadmin.Delete(%box)


QUESTION #2

letter := []models.Letter{}

Which uAdmin function will delete records from database?

A. uadmin.Delete(&letter)
B. uadmin.Delete(*letter)
C. uadmin.Delete(letter)
D. uadmin.Delete(%letter)


QUESTION #3

animal := []models.Animal{}

Which uAdmin function will delete records from database?

A. uadmin.Delete(*animal)
B. uadmin.Delete(&animal)
C. uadmin.Delete(%animal)
D. uadmin.Delete(animal)


QUESTION #4

clock := []models.Clock{}

Which uAdmin function will delete records from database?

A. uadmin.Delete(%clock)
B. uadmin.Delete(*clock)
C. uadmin.Delete(&clock)
D. uadmin.Delete(clock)


QUESTION #5

speaker := []models.Speaker{}

Which uAdmin function will delete records from database?

A. uadmin.Delete(speaker)
B. uadmin.Delete(%speaker)
C. uadmin.Delete(*speaker)
D. uadmin.Delete(&speaker)


QUESTION #6

person := []models.Person{}
nameList := strings.Split(r.FormValue("name_id"), ",")

Which uAdmin function will delete the list of records from database?

A. uadmin.DeleteList(person, "id IN (?)", nameList)
B. uadmin.DeleteList(&person, "id IN (?)", &nameList)
C. uadmin.DeleteList(&person, "id IN (?)", nameList)
D. uadmin.DeleteList(person, "id IN (?)", &nameList)


QUESTION #7

table := []models.Table{}
tableList := strings.Split(r.FormValue("table_id"), ",")

Which uAdmin function will delete the list of records from database?

A. uadmin.DeleteList(&table, "id IN (?)", tableList)
B. uadmin.DeleteList(&table, "id IN (?)", &tableList)
C. uadmin.DeleteList(table, "id IN (?)", tableList)
D. uadmin.DeleteList(table, "id IN (?)", &tableList)


QUESTION #8

house := []models.House{}
houseList := strings.Split(r.FormValue("house_id"), ",")

Which uAdmin function will delete the list of records from database?

A. uadmin.DeleteList(house, "id IN (?)", houseList)
B. uadmin.DeleteList(&house, "id IN (?)", houseList)
C. uadmin.DeleteList(house, "id IN (?)", &houseList)
D. uadmin.DeleteList(&house, "id IN (?)", &houseList)


QUESTION #9

device := []models.Device{}
deviceList := strings.Split(r.FormValue("device_id"), ",")

Which uAdmin function will delete the list of records from database?

A. uadmin.DeleteList(device, "id IN (?)", &deviceList)
B. uadmin.DeleteList(&device, "id IN (?)", &deviceList)
C. uadmin.DeleteList(device, "id IN (?)", deviceList)
D. uadmin.DeleteList(&device, "id IN (?)", deviceList)


QUESTION #10

appliance := []models.Appliance{}
applianceList := strings.Split(r.FormValue("appliance_id"), ",")

Which uAdmin function will delete the list of records from database?

A. uadmin.DeleteList(appliance, "id IN (?)", applianceList)
B. uadmin.DeleteList(appliance, "id IN (?)", &applianceList)
C. uadmin.DeleteList(&appliance, "id IN (?)", &applianceList)
D. uadmin.DeleteList(&appliance, "id IN (?)", applianceList)


QUESTION #11

func (m *Mobile) Save() {
        // Your code
}

The Status drop down field has two values: Active and Disabled.
If you select Disabled in the drop down list, all records must be deleted in the specified model.

Which uAdmin function will match the given statement above?

A. if m.Status == m.Status.Disabled() {
                uadmin.Delete(m)
        }


B. if m.Status == m.Status.Disabled() {
                uadmin.DeleteList(m, "id > ?", 1)
        }


C. if m.Status == m.Status.Active() {
                uadmin.Delete(m)
        }


D. if m.Status == m.Status.Active() {
                uadmin.DeleteList(m, "id > ?", 1)
        }



QUESTION #12

func (s *Store) Save() {
        // Your code
}

The Status drop down field has two values: Open and Closed.
If you select Closed in the drop down list, all records must be deleted in the specified model.

Which uAdmin function will match the given statement above?

A. if s.Status == s.Status.Open() {
                uadmin.Delete(s)
        }


B. if s.Status == s.Status.Open() {
                uadmin.DeleteList(s, "id > ?", 1)
        }


C. if s.Status == s.Status.Closed() {
                uadmin.Delete(s)
        }


D. if s.Status == s.Status.Closed() {
                uadmin.DeleteList(s, "id > ?", 1)
        }



QUESTION #13

func (e *Elevator) Save() {
        // Your code
}

The Color drop down field has four values: Blue, Gray, Orange, and Red.
If you select Orange in the drop down list, all records that contains the name "Weight" must be deleted in the specified model.

Which uAdmin function will match the given statement above?

A. if e.Color == e.Color.Blue() {
                uadmin.DeleteList(e, "name = ?", "Weight")
        }


B. if e.Color == e.Color.Gray() {
                uadmin.DeleteList(e, "name = ?", "Weight")
        }


C. if e.Color == e.Color.Orange() {
                uadmin.DeleteList(e, "name = ?", "Weight")
        }


D. if e.Color == e.Color.Red() {
                uadmin.DeleteList(e, "name = ?", "Weight")
        }



QUESTION #14

func (f *Fruit) Save() {
        // Your code
}

The Condition drop down field has two values: Consumable and Expired.
If you select Expired in the drop down list, all records that contains the name "Tomato" must be deleted in the specified model.

Which uAdmin function will match the given statement above?

A. if f.Condition == f.Condition.Expired() {
                uadmin.DeleteList(f, "name = ?", "Tomato")
        }


B. if f.Condition == f.Condition.Expired() {
                uadmin.DeleteList(f, "name = ?", "tomato")
        }


C. if f.Condition == f.Condition.Expired {
                uadmin.DeleteList(f, "name = ?", "Tomato")
        }


D. if f.Condition == f.Condition.Expired {
                uadmin.DeleteList(f, "name = ?", "tomato")
        }



QUESTION #15

func (l *LongWord) Save() {
        // Your code
}

The Value drop down field has two values: Supercalifragilisticexpialidocious and Pneumonoultramicroscopicsilicovolcanoconiosis.
If you select Pneumonoultramicroscopicsilicovolcanoconiosis in the drop down list, all records that contains the name "Supercalifragilisticexpialidocious" must be deleted in the specified model.

Which uAdmin function will match the given statement above?

A. if l.Value == l.Value.Pneumonoultramicroscopicsilicovolcanoconiosis() {
                uadmin.DeleteList(l, "name = ?", "Supercalifragilisticexpialidelicious")
        }


B. if l.Value == l.Value.Pneumonoultramicroscopicsilicovolcanonconiosis() {
                uadmin.DeleteList(l, "name = ?", "Supercalifragilisticexpialidocious")
        }


C. if l.Value == l.Value.Pneumonoultramicroscopicsiliconvolcanoconiosis() {
                uadmin.DeleteList(l, "name = ?", "Supercalifragilisticexpialidocious")
        }


D. if l.Value == l.Value.Pneumonoultramicroscopicsilicovolcanoconiosis() {
                uadmin.DeleteList(l, "name = ?", "Supercalifragilisticexpialidocious")
        }