QUESTION #1

friend := []models.Friend{}

Which uAdmin function will be used to fetch all objects in the database?

A. uadmin.All(&friend)
B. uadmin.Get(&friend)
C. uadmin.Filter(&friend)
D. uadmin.AdminPage(&friend)


QUESTION #2

goat := []models.Goat{}

Which uAdmin function will be used to fetch all objects in the database?

A. uadmin.All(goat)
B. uadmin.All(*goat)
C. uadmin.All(&goat)
D. uadmin.All($goat)


QUESTION #3

house := []models.House{}

Which uAdmin function will be used to fetch all objects in the database?

A. uadmin.Alll(&house)
B. uadmin.All(&house)
C. uadmin.All(house)
D. uadmin.Alll(house)


QUESTION #4

tax := []models.tax{}

Which uAdmin function will be used to fetch all objects in the database?

A. uadmin.All(&tax)
B. uadmin.Alll(&tax.)
C. uadmin.All(&tax.)
D. uadmin.Alll(&tax)


QUESTION #5

newyork := []models.NewYork{}

Which uAdmin function will be used to fetch all objects in the database?

A. uadmin.All(&NewYork)
B. uadmin.All(&newyork)
C. uadmin.All(&New York)
D. uadmin.All(&new york)


QUESTION #6

paynemt := []models.Payment{}

Which uAdmin function will be used to fetch all objects in the database?

A. uadmin.All(&payment)
B. uadmin.All(&Paynemt)
C. uadmin.All(&Payment)
D. uadmin.All(&paynemt)


QUESTION #7

burger := models.Burger{}
Field: ID
x := 2

Which uAdmin function will be used to fetch the second record from the database?

A. uadmin.Get(&burger, "id=?, x)
B. uadmin.Filter(&burger, id=?”, x)
C. uadmin.Filter(&burger, "id=?”, x)
D. uadmin.Get(&burger, "id=?”, x)


QUESTION #8

fries := models.Fries{}
Field: ID
x := 5

Which uAdmin function will be used to fetch the fifth record from the database?

A. uadmin.Get(&fries, "id=?, x)
B. uadmin.Get(&fries, id=?”, x)
C. uadmin.Get(&fries, "id=?”, x)
D. uadmin.Get(&fries, "ld=?”, x)


QUESTION #9

dog := models.Dog{}
Field: ID and Name
x := 3
y := "Labrador Retriever”

Which uAdmin function will be used to fetch the third record from the database?

A. uadmin.Get(&dog, "id=? AND name=?, x, y)
B. uadmin.Get(&dog, "id=? AND name=?”, y, x)
C. uadmin.Get(&dog, "id=? AND name=?”, x, y)
D. uadmin.Get(&dog, id=? AND name=?”, x, y)


QUESTION #10

appliances := models.Appliances{}
Field: ID and Name
x := 5
y := "Refrigerator”

Which uAdmin function will be used to fetch the fifth record from the database?

A. uadmin.Get(&appliances, "id=? AND name=?”, x, y)
B. uadmin.Get(&Appliances, "id=? AND name=?”, x, y)
C. uadmin.Get(&appliances, "id=? AND name=?”, y, x)
D. uadmin.Get(&Appliances, "id=? AND name=?”, y, x)


QUESTION #11

gadgets := models.Gadgets{}
Field: ID and Name
x := 1
y := "iPhone”

Which uAdmin function will be used to fetch the first record from the database?

A. uadmin.Get(gadgets, "id=? AND name=?”, x, y)
B. uadmin.Get(&gadgets, "id=? AND name=?”, x, y)
C. uadmin.Get(&Gadgets, "id=? AND name=?”, x, y)
D. uadmin.Get(Gadgets, "id=? AND name=?”, x, y)


QUESTION #12

family := models.Family{}
Field: ID and Name
x := 1; i := 2; j := 3
y := "Mother”

Which uAdmin function will be used to fetch the second record from the database?

A. uadmin.Get(&family, "id=? AND name=?”, x, y)
B. uadmin.Get(&family, "id=? AND name=?”, i, j)
C. uadmin.Get(&family, "id=? AND name=?”, i, y)
D. uadmin.Get(&family, "id=? AND name=?”, j, y)


QUESTION #13

socialmedia := models.SocialMedia{}
Field: ID and Name
x := 1; i := 2; j := 3
y := "Twitter”; a := "Facebook"; b := "Youtube"

Which uAdmin function will be used to fetch the third record from the database containing the name "Facebook"?

A. uadmin.Get(&socialmedia, "id=? AND name=?”, j, b)
B. uadmin.Get(&socialmedia, "id=? AND name=?”, x, y)
C. uadmin.Get(&socialmedia, "id=? AND name=?”, i, b)
D. uadmin.Get(&socialmedia, "id=? AND name=?”, j, a)


QUESTION #14

galaxy := models.Galaxy{}
Field: ID and Name
x := 2; i := 5; j := 8
y := "Milky Way”; a := "Andromeda"; b := "Whirlpool"

Which uAdmin function will be used to fetch the fifth record from the database containing the name "Andromeda"?

A. uadmin.Get(&galaxy, "id=? AND name=?”, x, b)
B. uadmin.Get(&galaxy, "id=? AND name=?”, i, a)
C. uadmin.Get(&galaxy, "id=? AND name=?”, j, a)
D. uadmin.Get(&galaxy, "id=? AND name=?”, i, y)


QUESTION #15

cors := models.Cars{}
Field: ID and Name
x := 1; i := 2; j := 3
y := "Toyota”; a := "Mitsubishi"; b := "Subaru"

Which uAdmin function will be used to fetch the first record from the database containing the name "Subaru"?

A. uadmin.Get(&cars, "id=? AND name=?”, x, b)
B. uadmin.Get(&cars, "id=? AND name=?”, x, a)
C. uadmin.Get(&cors, "id=? AND name=?”, x, b)
D. uadmin.Get(&cars, "id=? AND name=?”, x, y)