QUESTION #1

Which uAdmin function will hide the Rating field in the Movie model?

A. uadmin.Schema["movie"].FieldByName("Rating").Hide = true
B. uadmin.Schema["movie"].FieldByName("Rating").HideTo = true
C. uadmin.Schema["movie"].FieldByName("Rating").Hidden = true
D. uadmin.Schema["movie"].FieldByName("Rating").Invisible = true


QUESTION #2

Model: Movie

Filter containing the Name field

Which uAdmin function will match the given screenshot above?

A. uadmin.Schema["movie"].FieldByName("Name").Filtered = true
B. uadmin.Schema["movie"].FieldByName("Name").Filtering = true
C. uadmin.Schema["movie"].FieldByName("Name").FilterTo = true
D. uadmin.Schema["movie"].FieldByName("Name").Filter = true


QUESTION #3

Required Name field

Which uAdmin function will match the given screenshot above?

A. uadmin.Schema["movie"].FieldByName("Name").Require = true
B. uadmin.Schema["movie"].FieldByName("Name").Required = true
C. uadmin.Schema["movie"].FieldByName("Name").Highlight = true
D. uadmin.Schema["movie"].FieldByName("Name").Highlighted = true


QUESTION #4

Model: Movie
Field: Name

Search by Name

Which uAdmin function will match the given screenshot above?

A. uadmin.Schema["movie"].FieldByName("Name").Search = true
B. uadmin.Schema["movie"].FieldByName("Name").Searchable = true
C. uadmin.Schema["movie"].FieldByName("Name").SearchBar = true
D. uadmin.Schema["movie"].FieldByName("Name").SearchableBar = true


QUESTION #5

Grayscale Name field

Which uAdmin function will match the given screenshot above?

A. uadmin.Schema["movie"].FieldByName("Name").Disabled = true
B. uadmin.Schema["movie"].FieldByName("Name").Disabled = "true"
C. uadmin.Schema["movie"].FieldByName("Name").ReadOnly = true
D. uadmin.Schema["movie"].FieldByName("Name").ReadOnly = "true"


QUESTION #6

Name field contains John Doe

Which uAdmin function will match the given screenshot above?

A. uadmin.Schema["movie"].FieldByName("Name").DefaultValue = "John Doe"
B. uadmin.Schema["movie"].FieldByName("Name").Value = "John Doe"
C. uadmin.Schema["movie"].FieldByName("Name").Contains = "John Doe"
D. uadmin.Schema["movie"].FieldByName("Name").DisplayValue = "John Doe"


QUESTION #7

Field: Name

Name field displays as Title

Which uAdmin function will match the given screenshot above?

A. uadmin.Schema["movie"].FieldByName("Name").AliasName = "Title"
B. uadmin.Schema["movie"].FieldByName("Name").DefaultName = "Title"
C. uadmin.Schema["movie"].FieldByName("Name").DisplayName = "Title"
D. uadmin.Schema["movie"].FieldByName("Name").AlternativeName = "Title"


QUESTION #8

Error message notification

Which uAdmin function will match the given screenshot above?

A. uadmin.Schema["movie"].FieldByName("Name").ErrMsg = "Name does not accept special symbols."
B. uadmin.Schema["movie"].FieldByName("Name").ErrorMsg = "Name does not accept special symbols."
C. uadmin.Schema["movie"].FieldByName("Name").ErrMessage = "Name does not accept special symbols."
D. uadmin.Schema["movie"].FieldByName("Name").ErrorMessage = "Name does not accept special symbols."


QUESTION #9

Upload Image

After uploading, the image folder contains the original image and the raw ones that will save in the /media/custom-images/ path.

Which uAdmin function will match the given screenshot above?

A. uadmin.Schema["movie"].FieldByName("Image").Type = "image"
        uadmin.Schema["movie"].FieldByName("Image").TypeName = "string"
        uadmin.Schema["movie"].FieldByName("Image").Upload = "/media/custom-images/"


B. uadmin.Schema["movie"].FieldByName("Image").Type = "image"
        uadmin.Schema["movie"].FieldByName("Image").TypeName = "string"
        uadmin.Schema["movie"].FieldByName("Image").Save = "/media/custom-images/"


C. uadmin.Schema["movie"].FieldByName("Image").Type = "image"
        uadmin.Schema["movie"].FieldByName("Image").TypeName = "string"
        uadmin.Schema["movie"].FieldByName("Image").SaveTo = "/media/custom-images/"


D. uadmin.Schema["movie"].FieldByName("Image").Type = "image"
        uadmin.Schema["movie"].FieldByName("Image").TypeName = "string"
        uadmin.Schema["movie"].FieldByName("Image").UploadTo = "/media/custom-images/"



QUESTION #10

Progress bar

Condition:

If the progress bar value is less than 50, the color is red.
If the progress bar value is around 50 and 75, the color is yellow.
Otherwise, the color is green.

Which uAdmin function will match the given screenshot above?

A. uadmin.Schema["movie"].FieldByName("Rating").Type = "progress_bar"
        uadmin.Schema["movie"].FieldByName("Rating").TypeName = "int"
        uadmin.Schema["movie"].FieldByName("Rating").ProgressBar = map[float64]string {
                "50": "red",
                "75": "yellow",
                "100": "green",
        }


B. uadmin.Schema["movie"].FieldByName("Rating").Type = "progress_bar"
        uadmin.Schema["movie"].FieldByName("Rating").TypeName = "int"
        uadmin.Schema["movie"].FieldByName("Rating").ProgressBar = map[float64]string {
                50: "red",
                75: "yellow",
                100: "green",
        }


C. uadmin.Schema["movie"].FieldByName("Rating").Type = "progress_bar"
        uadmin.Schema["movie"].FieldByName("Rating").TypeName = "int"
        uadmin.Schema["movie"].FieldByName("Rating").ProgressBar = map[float64]string {
                "red": 50,
                "yellow": 75,
                "green": 100,
        }


D. uadmin.Schema["movie"].FieldByName("Rating").Type = "progress_bar"
        uadmin.Schema["movie"].FieldByName("Rating").TypeName = "int"
        uadmin.Schema["movie"].FieldByName("Rating").ProgressBar = map[float64]string {
                "red": "50",
                "yellow": "75",
                "green": "100",
        }