QUESTION #1

category := models.Category{}
uadmin.Get(&category, "id = ?", 1)

Which uAdmin function will match the given statement above?

A. uadmin.GetString(category)
B. uadmin.GetString(&category)
C. uadmin.GetID(reflect.ValueOf(category))
D. uadmin.GetID(reflect.ValueOf(&category))


QUESTION #2

person := models.Person{}
uadmin.Get(&person, "id = ?", 5)

Which uAdmin function will match the given statement above?

A. uadmin.GetString(&person)
B. uadmin.GetString(person)
C. uadmin.GetID(reflect.ValueOf(&person))
D. uadmin.GetID(reflect.ValueOf(person))


QUESTION #3

animal := models.Animal{}
uadmin.Get(&animal, "name = ?", "Dog")

Which uAdmin function will match the given statement above?

A. uadmin.GetID(reflect.ValueOf(&animal))
B. uadmin.GetString(&animal)
C. uadmin.GetID(reflect.ValueOf(animal))
D. uadmin.GetString(animal)


QUESTION #4

employee := models.Employee{}
uadmin.Get(&employee, "id = ?", 16)

Which uAdmin function will match the given statement above?

A. uadmin.GetID(reflect.ValueOf(&employee))
B. uadmin.GetID(reflect.ValueOf(employee))
C. uadmin.GetString(&employee)
D. uadmin.GetString(employee)


QUESTION #5

building := models.Building{}
uadmin.Get(&building, "name = ?", "Empire State Building")

Which uAdmin function will match the given statement above?

A. uadmin.GetID(reflect.ValueOf(building))
B. uadmin.GetString(building)
C. uadmin.GetID(reflect.ValueOf(&building))
D. uadmin.GetString(&building)


QUESTION #6

coffee := models.Coffee{}
cookie := models.Cookie{}
uadmin.Get(&coffee, "name = ?", "Cappuccino")
uadmin.Get(&cookie, "id = ?", 5)

Which uAdmin function will match the given statement above?

A. uadmin.GetID(reflect.ValueOf(cookie))
        uadmin.GetString(coffee)


B. uadmin.GetID(reflect.ValueOf(coffee))
        uadmin.GetString(cookie)


C. uadmin.GetString(coffee)
        uadmin.GetID(reflect.ValueOf(cookie))


D. uadmin.GetString(&cookie)
        uadmin.GetID(reflect.ValueOf(&coffee))



QUESTION #7

desktop := models.Desktop{}
mobile := models.Mobile{}
uadmin.Get(&desktop, "name = ?", "Dell")
uadmin.Get(&mobile, "id = ?", 4)

Which uAdmin function will match the given statement above?

A. uadmin.GetID(reflect.ValueOf(desktop))
        uadmin.GetString(mobile)


B. uadmin.GetID(reflect.ValueOf(mobile))
        uadmin.GetString(desktop)


C. uadmin.GetString(desktop)
        uadmin.GetID(reflect.ValueOf(mobile))


D. uadmin.GetString(&mobile)
        uadmin.GetID(reflect.ValueOf(&desktop))



QUESTION #8

student := models.Student{}
teacher := models.Teacher{}
uadmin.Get(&student, "name = ?", "John Doe")
uadmin.Get(&teacher, "id = ?", 2)

Which uAdmin function will match the given statement above?

A. uadmin.GetID(reflect.ValueOf(&student))
        uadmin.GetString(&teacher)


B. uadmin.GetString(student)
        uadmin.GetID(reflect.ValueOf(teacher))


C. uadmin.GetID(reflect.ValueOf(teacher))
        uadmin.GetString(student)


D. uadmin.GetString(teacher)
        uadmin.GetID(reflect.ValueOf(student))



QUESTION #9

currency := models.Currency{}
card := models.Card{}
uadmin.Get(&currency, "name = ?", "US Dollar")
uadmin.Get(&card, "id = ?", 2)

Which uAdmin function will match the given statement above?

A. uadmin.GetString(currency)
        uadmin.GetID(reflect.ValueOf(card))


B. uadmin.GetID(reflect.ValueOf(&currency))
        uadmin.GetString(&card)


C. uadmin.GetString(card)
        uadmin.GetID(reflect.ValueOf(currency))


D. uadmin.GetID(reflect.ValueOf(card))
        uadmin.GetString(currency)



QUESTION #10

assent := models.Assent{}
ascent := models.Ascent{}
uadmin.Get(&assent, "name = ?", "Approval")
uadmin.Get(&ascent, "id = ?", 5)

Which uAdmin function will match the given statement above?

A. uadmin.GetString(assent))
        uadmin.GetID(reflect.ValueOf(ascent))


B. uadmin.GetID(reflect.ValueOf(assent))
        uadmin.GetString(ascent)


C. uadmin.GetString(&ascent))
        uadmin.GetID(reflect.ValueOf(&assent))


D. uadmin.GetID(reflect.ValueOf(ascent))
        uadmin.GetString(assent)



QUESTION #11

Suppose you have this model as shown below:

OCEAN NAME
Pacific Pacific
Atlantic Atlantic
Indian Indian
Arctic Arctic

Code:

ocean := models.Ocean{}
uadmin.Get(&ocean, "id = ?", 2)

Which uAdmin function will match the given statement above?

A. uadmin.GetString(ocean)
        ---------------------------------------------------------------------
        Result: Pacific


B. uadmin.GetString(ocean)
        ---------------------------------------------------------------------
        Result: Atlantic


C. uadmin.GetString(ocean)
        ---------------------------------------------------------------------
        Result: Indian


D. uadmin.GetString(ocean)
        ---------------------------------------------------------------------
        Result: Arctic



QUESTION #12

Suppose you have this model as shown below:

CONTINENT NAME
South America South America
Oceania Oceania
North America North America
Europe Europe
Australia Australia
Asia Asia
Africa Africa

Code:

continent := models.Continent{}
uadmin.Get(&continent, "name = ?", "Europe")

Which uAdmin function will match the given statement above?

A. uadmin.GetID(reflect.ValueOf(continent))
        ---------------------------------------------------------------------
        Result: 6


B. uadmin.GetID(reflect.ValueOf(continent))
        ---------------------------------------------------------------------
        Result: 3


C. uadmin.GetID(reflect.ValueOf(continent))
        ---------------------------------------------------------------------
        Result: 5


D. uadmin.GetID(reflect.ValueOf(continent))
        ---------------------------------------------------------------------
        Result: 4



QUESTION #13

Suppose you have this model as shown below:

BOOK NAME DESCRIPTION
Cinderella Cinderella It is a folk tale embodying a myth-element of unjust oppression and triumphant reward.
Snow White and the Seven Dwarfs Snow White and the Seven Dwarfs It is a 1938 picture book written and illustrated by Wanda Gág and published by Coward-McCann.
Harry Potter Harry Potter It is a series of fantasy novels written by British author J. K. Rowling.

Code:

book := models.Book{}
book_copy := models.Book{}
uadmin.Get(&book, "name = ?", "Harry Potter")
uadmin.Get(&book_copy, "id = ?", 2)

Which uAdmin function will match the given statement above?

A. uadmin.GetID(reflect.ValueOf(book))
        uadmin.GetString(book_copy)
        ---------------------------------------------------------------------
        ID Result: 1
        String Result: Snow White and the Seven Dwarfs


B. uadmin.GetID(reflect.ValueOf(book))
        uadmin.GetString(book_copy)
        ---------------------------------------------------------------------
        ID Result: 2
        String Result: Harry Potter


C. uadmin.GetID(reflect.ValueOf(book_copy))
        uadmin.GetString(book)
        ---------------------------------------------------------------------
        ID Result: 1
        String Result: Snow White and the Seven Dwarfs


D. uadmin.GetID(reflect.ValueOf(book))
        uadmin.GetString(book_copy)
        ---------------------------------------------------------------------
        ID Result: 4
        String Result: Snow White and the Seven Dwarfs



QUESTION #14

Suppose you have this model as shown below:

GAME NAME DESCRIPTION DEVELOPER
Flappy Bird Flappy Bird It is a mobile game developed by Vietnamese video game artist and programmer Dong Nguyen. dotGears
Mobile Legends: Bang Bang Mobile Legends: Bang Bang It has been confirmed to be the first of the esports titles to be included in the 2019 Southeast Asian Games. Moonton
Dota 2 Dota 2 It is a sequel to Defense of the Ancients, which was a community-created mod for Blizzard Entertainment's Warcraft III: Reign of Chaos and its expansion pack, The Frozen Throne. Valve Corporation

Code:

game := models.Game{}
game_copy := models.Game{}
uadmin.Get(&game, "developer = ?", "Moonton")
uadmin.Get(&game_copy, "id = ?", 3)

Which uAdmin function will match the given statement above?

A. uadmin.GetID(reflect.ValueOf(game_copy))
        uadmin.GetString(game)
        ---------------------------------------------------------------------
        ID Result: 3
        String Result: Mobile Legends: Bang Bang


B. uadmin.GetID(reflect.ValueOf(game))
        uadmin.GetString(game_copy)
        ---------------------------------------------------------------------
        ID Result: 2
        String Result: Flappy Bird


C. uadmin.GetID(reflect.ValueOf(game))
        uadmin.GetString(game_copy)
        ---------------------------------------------------------------------
        ID Result: 2
        String Result: Dota 2


D. uadmin.GetID(reflect.ValueOf(game))
        uadmin.GetString(game_copy)
        ---------------------------------------------------------------------
        ID Result: 1
        String Result: Flappy Bird



QUESTION #15

Suppose you have this model as shown below:

MOVIE NAME DESCRIPTION DIRECTOR YEAR
Bohemian Rhapsody Bohemian Rhapsody It is a foot-stomping celebration of Queen, their music and their extraordinary lead singer Freddie Mercury. Bryan Singer 2018
Beauty and the Beast Beauty and the Beast The film is a live-action reimagining of Disney's 1991 animated film of the same name, itself an adaptation of Jeanne-Marie Leprince de Beaumont's 18th-century fairy tale Bill Condon 2017
Train to Busan Train to Busan The film mostly takes place on a train to Busan, as a zombie apocalypse suddenly breaks out in the country and compromises the safety of the passengers. Yeon Sang-ho 2016

Code:

movie := models.Movie{}
movie_copy := models.Movie{}
uadmin.Get(&movie, "name = ?", "Train to Busan")
uadmin.Get(&movie_copy, "id = ?", 3)

Which uAdmin function will match the given statement above?

A. uadmin.GetID(reflect.ValueOf(movie))
        uadmin.GetString(movie_copy)
        ---------------------------------------------------------------------
        ID Result: 3
        String Result: Train to Busan


B. uadmin.GetID(reflect.ValueOf(movie))
        uadmin.GetString(movie_copy)
        ---------------------------------------------------------------------
        ID Result: 1
        String Result: Train to Busan


C. uadmin.GetID(reflect.ValueOf(movie))
        uadmin.GetString(movie_copy)
        ---------------------------------------------------------------------
        ID Result: 3
        String Result: Bohemian Rhapsody


D. uadmin.GetID(reflect.ValueOf(movie))
        uadmin.GetString(movie_copy)
        ---------------------------------------------------------------------
        ID Result: 1
        String Result: Bohemian Rhapsody