QUESTION #1
Which of the following will be used to initialize the Choice?
QUESTION #2
What are the different fields in the Choice struct?
QUESTION #3
Suppose you have given data as shown below.
Choice: false
ID: 0
Name: -
Which of the following will match the given statement above?
QUESTION #4
Suppose you have given data as shown below.
Choice: true
ID: 3
Name: Mike
Which of the following will match the given statement above?
QUESTION #5
Suppose you have given data as shown below.
Choice: false
ID: 2
Name: Jane
Which of the following will match the given statement above?
QUESTION #6
Suppose you have given data as shown below.
Choice: true
ID: 7
Name: Christine
Which of the following will match the given statement above?
QUESTION #7
Suppose you have given data as shown below.
Choice: true
ID: 13
Name: Alicia
Which of the following will match the given statement above?
QUESTION #8
Suppose you have given source code as shown below.
choices := []uadmin.Choice{}
sports := []models.Sport{}
uadmin.All(&sports)
for _, s := range sports {
// Your code
}
The selected value is true.
Which of the following will match the given statement above?
QUESTION #9
Suppose you have given source code as shown below.
choices := []uadmin.Choice{}
drinks := []models.Drink{}
uadmin.All(&drinks)
for _, d := range drinks {
// Your code
}
The selected value is false.
Which of the following will match the given statement above?
QUESTION #10
Suppose you have given source code as shown below.
choices := []uadmin.Choice{}
animals := []models.Animal{}
uadmin.All(&animals)
for _, a := range animals {
// Your code
}
The selected value is true.
Which of the following will match the given statement above?
QUESTION #11
Suppose you have given source code as shown below.
choices := []uadmin.Choice{}
devices := []models.Device{}
uadmin.All(&devices)
for _, d := range devices {
// Your code
}
The selected value is false.
Which of the following will match the given statement above?
QUESTION #12
Suppose you have given source code as shown below.
choices := []uadmin.Choice{}
applications := []models.Application{}
uadmin.All(&applications)
for _, a := range applications {
// Your code
}
The selected value is false.
Which of the following will match the given statement above?
QUESTION #13
Suppose you have this model as shown below:
RIVER | NAME |
---|---|
Amazon | Amazon |
Ganges | Ganges |
Danube | Danube |
Nile | Nile |
Code:
choices := []uadmin.Choice{}
rivers := []models.River{}
uadmin.Filter(&rivers, "id IN (1,4)")
for _, r := range rivers {
// Your code
}
The selected value is true.
Which of the following will match the given statement above and what will be the result?
QUESTION #14
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:
choices := []uadmin.Choice{}
continents := []models.Continent{}
uadmin.Filter(&continents, "id IN (2,4,6)")
for _, c := range continents {
// Your code
}
The selected value is true.
Which of the following will match the given statement above and what will be the result?
QUESTION #15
Suppose you have this model as shown below:
MOUNTAIN | NAME |
---|---|
Kilimanjaro | Kilimanjaro |
Mount Elbrus | Mount Elbrus |
Denali | Denali |
Mount Aconcagua | Mount Aconcagua |
Mount Everest | Mount Everest |
Vinson Massif | Vinson Massif |
Mount Kosciuszko | Mount Kosciuszko |
Jaya Peak (Mount Carstensz) | Jaya Peak (Mount Carstensz) |
Code:
choices := []uadmin.Choice{}
mountains := []models.Mountain{}
uadmin.Filter(&mountains, "id IN (1,3,6,8)")
for _, m := range mountains {
// Your code
}
The selected value is false.
Which of the following will match the given statement above and what will be the result?