QUESTION #1

Suppose you have an A/B Test group named survey.

Which of the following is a function to register a click for an A/B Test group?

A. uadmin.ABTestClick("survey")
B. uadmin.ABTestClick(w, "survey")
C. uadmin.ABTestClick(r, "survey")
D. uadmin.ABTestClick(w, r, "survey")


QUESTION #2

Suppose you have an A/B Test group named article.

Which of the following is a function to register a click for an A/B Test group?

A. uadmin.ABTestClick(r, "article")
B. uadmin.ABTestClick(w, r, "article")
C. uadmin.ABTestClick(w, "article")
D. uadmin.ABTestClick("article")


QUESTION #3

Suppose you have an A/B Test group named adventure.

Which of the following is a function to register a click for an A/B Test group?

A. uadmin.ABTestClick(w, r, "adventure")
B. uadmin.ABTestClick("adventure")
C. uadmin.ABTestClick(w, "adventure")
D. uadmin.ABTestClick(r, "adventure")


QUESTION #4

Suppose you have a model named Animal assigned in animal variable.

Which of the following gets the first record of an active A/B tests for any field in AB Test model?

A. uadmin.GetABTest(w, &animal, "id = ?", 1)
B. uadmin.GetABTest(r, &animal, "id = ?", 1)
C. uadmin.GetABTest(&animal, "id = ?", 1)
D. uadmin.GetABTest(w, r, &animal, "id = ?", 1)


QUESTION #5

Suppose you have a model named Country assigned in country variable.

Which of the following gets the fifth record of an active A/B tests for any field in AB Test model?

A. uadmin.GetABTest(w, r, &country, "id = ?", 5)
B. uadmin.GetABTest(r, &country, "id = ?", 5)
C. uadmin.GetABTest(w, &country, "id = ?", 5)
D. uadmin.GetABTest(&country, "id = ?", 5)


QUESTION #6

Suppose you have a model named Instrument assigned in instrument variable.

Which of the following gets the second record of an active A/B tests for any field in AB Test model?

A. uadmin.GetABTest(w, &instrument, "id = ?", 2)
B. uadmin.GetABTest(&instrument, "id = ?", 2)
C. uadmin.GetABTest(r, &instrument, "id = ?", 2)
D. uadmin.GetABTest(w, r, &instrument, "id = ?", 2)


QUESTION #7

Suppose you have an image named "water.jpg" located in supply folder. It belongs to an A/B Test that has an ID of 1. The status is active.

Which uAdmin function is a model that stores a value for an A/B test?

A. abtestvalue := uadmin.ABTestValue{
                ABTestID: 1,
                Value: "/supply/water.jpg"
                Active: true,
        }


B. abtestvalue := uadmin.ABTestValue{
                ABTestID: 1,
                Value: "/supply/water.png"
                Active: true,
        }


C. abtestvalue := uadmin.ABTestValue{
                ABTestID: 1,
                Value: "/supply/water.jpg"
                Active: true
        }


D. abtestvalue := uadmin.ABTestValue{
                ABTestID: 1,
                Value: "/water/supply.jpg"
                Active: true,
        }



QUESTION #8

Suppose you have an image named "movie.jpg" located in multimedia folder. It belongs to an A/B Test that has an ID of 4. The status is not active.

Which uAdmin function is a model that stores a value for an A/B test?

A. abtestvalue := uadmin.ABTestValue{
                ABTestID: 4,
                Value: "/multimedia/movie.png"
                Active: false,
        }


B. abtestvalue := uadmin.ABTestValue{
                ABTestID: 4,
                Value: "/movie/multimedia.png"
                Active: false,
        }


C. abtestvalue := uadmin.ABTestValue{
                ABTestID: 4,
                Value: "/multimedia/movie.png"
                Active: false
        }


D. abtestvalue := uadmin.ABTestValue{
                ABTestID: 4,
                Value: "/multimedia/movie.jpg"
                Active: false,
        }



QUESTION #9

Suppose you have an image named "computer.jpg" located in technology folder. It belongs to an A/B Test that has an ID of 2. The status is active.

Which uAdmin function is a model that stores a value for an A/B test?

A. abtestvalue := uadmin.ABTestValue{
                ABTestID: 2,
                Value: "/technology/computer.jpg"
                Active: true
        }


B. abtestvalue := uadmin.ABTestValue{
                ABTestID: 2,
                Value: "/technology/computer.png"
                Active: true,
        }


C. abtestvalue := uadmin.ABTestValue{
                ABTestID: 2,
                Value: "/computer/technology.jpg"
                Active: true,
        }


D. abtestvalue := uadmin.ABTestValue{
                ABTestID: 2,
                Value: "/technology/computer.jpg"
                Active: true,
        }



QUESTION #10

Suppose you have an image named "empirestate.jpg" located in building folder. It belongs to an A/B Test that has an ID of 9. The status is not active.

Which uAdmin function is a model that stores a value for an A/B test?

A. abtestvalue := uadmin.ABTestValue{
                ABTestID: 9,
                Value: "/building/empirestate.jpg"
                Active: false,
        }


B. abtestvalue := uadmin.ABTestValue{
                ABTestID: 9,
                Value: "/building/empirestate.jpg"
                Active: false
        }


C. abtestvalue := uadmin.ABTestValue{
                ABTestID: 9,
                Value: "/empirestate/building.jpg"
                Active: false,
        }


D. abtestvalue := uadmin.ABTestValue{
                ABTestID: 9,
                Value: "/building/empirestate.png"
                Active: false,
        }



QUESTION #11

Name: "Presidential Election"
Type: Model
Model ID: 3
Field ID: 5
Primary Key: 1
Active: Yes
Group: candidates

Which uAdmin function is a model that stores an A/B test?

A. abtest := uadmin.ABTest{
                Name: "Presidential Election",
                Type: uadmin.ABTestType(0).Model(),
                ModelName: uadmin.ModelList(5),
                Field: uadmin.FieldList(3),
                PrimaryKey: 1,
                Active: true,
                Group: "candidates",
        }


B. abtest := uadmin.ABTest{
                Name: "Presidential Election",
                Type: uadmin.ABTestType(0).Static(),
                ModelName: uadmin.ModelList(3),
                Field: uadmin.FieldList(5),
                PrimaryKey: 1,
                Active: true,
                Group: "candidates",
        }


C. abtest := uadmin.ABTest{
                Name: "Presidential Election",
                Type: uadmin.ABTestType(0).Model(),
                ModelName: uadmin.ModelList(3),
                Field: uadmin.FieldList(5),
                PrimaryKey: 1,
                Active: true,
                Group: "candidates",
        }


D. abtest := uadmin.ABTest{
                Name: "Presidential Election",
                Type: uadmin.ABTestType(0).Model(),
                ModelName: uadmin.ModelList(3),
                Field: uadmin.FieldList(5),
                PrimaryKey: 1,
                Active: Yes,
                Group: "candidates",
        }



QUESTION #12

Name: "Attraction"
Type: Static
Primary Key: 4
Active: Yes
Group: scenery

The image named "attraction.jpg" is located in the scenery-ui folder.

Which uAdmin function is a model that stores an A/B test?

A. abtest := uadmin.ABTest{
                Name: "Attraction",
                Type: uadmin.ABTestType(0).Static(),
                StaticPath: "/scenery-ui/attraction.jpg",
                PrimaryKey: 4,
                Active: Yes,
                Group: "scenery",
        }


B. abtest := uadmin.ABTest{
                Name: "Attraction",
                Type: uadmin.ABTestType(0).Static(),
                StaticPath: "/scenery-ui/attraction.jpg",
                PrimaryKey: 4,
                Active: true,
                Group: "scenery",
        }


C. abtest := uadmin.ABTest{
                Name: "Attraction",
                Type: uadmin.ABTestType(0).Static(),
                StaticPath: "/scenery-ui/attraction.png",
                PrimaryKey: 4,
                Active: true,
                Group: "scenery",
        }


D. abtest := uadmin.ABTest{
                Name: "Attraction",
                Type: uadmin.ABTestType(0).Model(),
                StaticPath: "/scenery-ui/attraction.jpg",
                PrimaryKey: 4,
                Active: true,
                Group: "scenery",
        }



QUESTION #13

Name: "Social Media"
Type: Model
Model ID: 6
Field ID: 3
Primary Key: 7
Active: No
Group: trends

Which uAdmin function is a model that stores an A/B test?

A. abtest := uadmin.ABTest{
                Name: "Social Media",
                Type: uadmin.ABTestType(0).Static(),
                ModelName: uadmin.ModelList(6),
                Field: uadmin.FieldList(3),
                PrimaryKey: 7,
                Active: false,
                Group: "trends",
        }


B. abtest := uadmin.ABTest{
                Name: "Social Media",
                Type: uadmin.ABTestType(0).Model(),
                ModelName: uadmin.ModelList(3),
                Field: uadmin.FieldList(6),
                PrimaryKey: 7,
                Active: false,
                Group: "trends",
        }


C. abtest := uadmin.ABTest{
                Name: "Social Media",
                Type: uadmin.ABTestType(0).Model(),
                ModelName: uadmin.ModelList(6),
                Field: uadmin.FieldList(3),
                PrimaryKey: 7,
                Active: false,
                Group: "trends",
        }


D. abtest := uadmin.ABTest{
                Name: "Social Media",
                Type: uadmin.ABTestType(0).Model(),
                ModelName: uadmin.ModelList(6),
                Field: uadmin.FieldList(3),
                PrimaryKey: 7,
                Active: No,
                Group: "trends",
        }



QUESTION #14

Name: "Model House"
Type: Static
Primary Key: 19
Active: Yes
Group: residences

The image named "modernstyle.jpg" is located in the sketch-ui folder.

Which uAdmin function is a model that stores an A/B test?

A. abtest := uadmin.ABTest{
                Name: "Model House",
                Type: uadmin.ABTestType(0).Static(),
                StaticPath: "/sketch-ui/modernstyle.png",
                PrimaryKey: 19,
                Active: true,
                Group: "residences",
        }


B. abtest := uadmin.ABTest{
                Name: "Model House",
                Type: uadmin.ABTestType(0).Static(),
                StaticPath: "/sketch-ui/modernstyle.jpg",
                PrimaryKey: 19,
                Active: true,
                Group: "residences",
        }


C. abtest := uadmin.ABTest{
                Name: "Model House",
                Type: uadmin.ABTestType(0).Static(),
                StaticPath: "/sketch-ui/modernstyle.jpg",
                PrimaryKey: 19,
                Active: Yes,
                Group: "residences",
        }


D. abtest := uadmin.ABTest{
                Name: "Model House",
                Type: uadmin.ABTestType(0).Model(),
                StaticPath: "/sketch-ui/modernstyle.jpg",
                PrimaryKey: 19,
                Active: true,
                Group: "residences",
        }



QUESTION #15

Name: "Racing Competition"
Type: Model
Model ID: 17
Field ID: 9
Primary Key: 63
Active: Yes
Group: tournaments

Which uAdmin function is a model that stores an A/B test?

A. abtest := uadmin.ABTest{
                Name: "Racing Competition",
                Type: uadmin.ABTestType(0).Model(),
                ModelName: uadmin.ModelList(17),
                Field: uadmin.FieldList(9),
                PrimaryKey: 63,
                Active: Yes,
                Group: "tournaments",
        }


B. abtest := uadmin.ABTest{
                Name: "Racing Competition",
                Type: uadmin.ABTestType(0).Static(),
                ModelName: uadmin.ModelList(17),
                Field: uadmin.FieldList(9),
                PrimaryKey: 63,
                Active: true,
                Group: "tournaments",
        }


C. abtest := uadmin.ABTest{
                Name: "Racing Competition",
                Type: uadmin.ABTestType(0).Model(),
                ModelName: uadmin.ModelList(9),
                Field: uadmin.FieldList(17),
                PrimaryKey: 63,
                Active: true,
                Group: "tournaments",
        }


D. abtest := uadmin.ABTest{
                Name: "Racing Competition",
                Type: uadmin.ABTestType(0).Model(),
                ModelName: uadmin.ModelList(17),
                Field: uadmin.FieldList(9),
                PrimaryKey: 63,
                Active: true,
                Group: "tournaments",
        }