task_id
stringlengths 6
6
| question
stringlengths 12
399
| choices
listlengths 2
4
| answer
stringclasses 4
values |
---|---|---|---|
k00001
|
Which class is used to create a basic pagination?
|
[
".pagination",
".page",
".pages",
".navigation"
] |
A
|
k00002
|
The Bootstrap grid system is based on how many columns?
|
[
"9",
"12",
"6",
"3"
] |
B
|
k00003
|
Which class adds zebra-stripes to a table?
|
[
".table-striped",
".even and .odd",
".table-bordered",
".table-zebra"
] |
A
|
k00004
|
Which class shapes an image to a circle?
|
[
".img-rounded",
".img-round",
".img-circle",
".img-thumbnail"
] |
C
|
k00005
|
Which class is used to create a big box for calling extra attention?
|
[
".jumbotron",
".container",
".bigbox"
] |
A
|
k00006
|
Which button class is used to create a large button?
|
[
".btn-xl",
".btn-large",
".btn-lg",
".btn-l"
] |
C
|
k00007
|
Which class is used to create a button group?
|
[
".button-group",
".group-button",
".group-btn",
".btn-group"
] |
D
|
k00008
|
How can you insert a search icon?
|
[
"<span class=\"glyphicon glyphicon-search\"></span>",
"<span class=\"glyphicon-search\"></span>",
"<span class=\"glyph glyph-search\"></span>",
"<span class=\"glyphicon search\"></span>"
] |
A
|
k00009
|
Which class is used to create a badge?
|
[
".flag",
".badge",
".tag",
".label"
] |
B
|
k00010
|
Which class is used to create a basic list group?
|
[
".group-list",
".grouped-list",
".list-group"
] |
C
|
k00011
|
Which class adds a heading to a panel?
|
[
".panel-heading",
".panel-header",
".panel-footer",
".panel-head"
] |
A
|
k00012
|
Which class indicates a dropdown menu?
|
[
".dropdown",
".select",
".dropdown-list"
] |
A
|
k00013
|
A standard navigation tab is created with:
|
[
"<ul class=\"navigation-tabs\">",
"<ul class=\"nav nav-navbar\">",
"<ul class=\"nav tabs\">",
"<ul class=\"nav nav-tabs\">"
] |
D
|
k00014
|
A standard navigation bar is created with:
|
[
"<nav class=\"navbar default-navbar\">",
"<nav class=\"navbar navbar-default\">",
"<nav class=\"navigationbar navbar-default\">",
"<nav class=\"nav navbar\">"
] |
B
|
k00015
|
Which class is used to create a black navigation bar?
|
[
".navbar-inverse",
".navbar-black",
".navbar-dark",
".navbar-default"
] |
A
|
k00016
|
Which plugin is used to cycle through elements, like a slideshow?
|
[
"Carousel",
"Orbit",
"Scrollspy",
"Slideshow"
] |
A
|
k00017
|
Which plugin is used to create a modal window?
|
[
"Modal",
"Dialog Box",
"Window",
"Popup"
] |
A
|
k00018
|
Which plugin is used to create a tooltip?
|
[
"Modal",
"Popup",
"Dialog Box",
"Tooltip"
] |
D
|
k00019
|
Which contextual class indicates a succesful or positive action?
|
[
".text-primary",
".text-info",
".text-warning",
".text-success"
] |
D
|
k00020
|
Which contextual class indicates a dangerous or potentially negative action?
|
[
".text-warning",
".text-danger",
".text-info",
".text-primary"
] |
B
|
k00021
|
Which class indicates uppercased text?
|
[
".text-uppercase",
".ucase",
".text-capitalize",
".uppercase"
] |
A
|
k00022
|
Bootstrap 3 is mobile-first.
|
[
"True",
"False"
] |
A
|
k00023
|
Which class provides a full width container, spanning the entire width of the viewport?
|
[
".container-fluid",
".container",
".container-fixed"
] |
A
|
k00024
|
Which class provides a responsive fixed width container?
|
[
".container-fluid",
".container",
".container-fixed"
] |
B
|
k00025
|
The .container class provides a full width container, spanning the entire width of the screen
|
[
"False",
"True"
] |
A
|
k00026
|
Which contextual class indicates a dangerous or potentially negative action?
|
[
".bg-info",
".bg-danger",
".bg-primary",
".bg-warning"
] |
B
|
k00027
|
Which class indicates uppercased text?
|
[
".uppercase",
".text-uppercase",
".text-capitalize",
".ucase"
] |
B
|
k00028
|
Which contextual class is used to create an orange text color?
|
[
".bg-warning",
".txt-warning",
".txt-orange",
".text-warning"
] |
D
|
k00029
|
The Bootstrap grid system is based on how many columns?
|
[
"9",
"3",
"12",
"6"
] |
C
|
k00030
|
Which class adds zebra-stripes to a table?
|
[
".table-zebra",
".even and .odd",
".table-bordered",
".table-striped"
] |
D
|
k00031
|
Which class shapes an image to a circle?
|
[
".rounded-circle",
".img-round",
".img-rounded",
".img-circle"
] |
A
|
k00032
|
Which class is used to create a big box for calling extra attention?
|
[
".bigbox",
".container",
".jumbotron"
] |
C
|
k00033
|
Which button class is used to create a large button?
|
[
".btn-lg",
".btn-xl",
".btn-l",
".btn-large"
] |
A
|
k00034
|
Which class is used to create a button group?
|
[
".button-group",
".group-btn",
".btn-group",
".group-button"
] |
C
|
k00035
|
Which class is used to create a badge?
|
[
".badge-label",
".badge",
".label-badge",
".badge-item"
] |
B
|
k00036
|
Which class is used to create a loader?
|
[
".spinner",
".spinner-border",
".loader",
".spinner-loader"
] |
B
|
k00037
|
Which class is used to create a basic pagination?
|
[
".pagination",
".navigation",
".page",
".pages"
] |
A
|
k00038
|
Which class provides a responsive fixed width container?
|
[
".container-fluid",
".container-fixed",
".container"
] |
C
|
k00039
|
Which class adds a heading to a card?
|
[
".card-heading",
".card-head",
".card-footer",
".card-header"
] |
D
|
k00040
|
Which class indicates a dropdown menu?
|
[
".select",
".dropdown-list",
".dropdown"
] |
C
|
k00041
|
A standard navigation tab is created with:
|
[
"<ul class=\"nav nav-tabs\">",
"<ul class=\"nav tabs\">",
"<ul class=\"navigation-tabs\">",
"<ul class=\"nav nav-navbar\">"
] |
A
|
k00042
|
A standard navigation bar is created with:
|
[
"<nav class=\"navigationbar navbar-default\">",
"<nav class=\"nav navbar\">",
"<nav class=\"navbar navbar-default\">",
"<nav class=\"navbar navbar-expand-sm\">"
] |
D
|
k00043
|
Which class is used to create a vertical navigation bar?
|
[
".navbar",
".navbar-inverse",
".navbar navbar-vertical",
".navbar-vertical"
] |
A
|
k00044
|
Which component is used to cycle through elements, like a slideshow?
|
[
"Scrollspy",
"Carousel",
"Orbit",
"Slideshow"
] |
B
|
k00045
|
What classes can be combined to create a custom checkbox?
|
[
"checkbox control",
"custom-control custom-checkbox",
"custom-check custom-checkbox"
] |
B
|
k00046
|
Which attribute is used to create a tooltip?
|
[
"data-toggle=\"tooltip\"",
"data-toggle=\"popup\"",
"data-toggle=\"modal\"",
"data-toggle=\"collapse\""
] |
A
|
k00047
|
Which contextual class indicates a succesful or positive action?
|
[
".bg-info",
".bg-success",
".bg-primary",
".bg-warning"
] |
B
|
k00048
|
Which class is used to create a basic list group?
|
[
".group-list",
".grouped-list",
".list-group"
] |
C
|
k00049
|
The .container class provides a full width container, spanning the entire width of the screen
|
[
"False",
"True"
] |
A
|
k00050
|
Which button class is used to create a large button?
|
[
".btn-l2",
".btn-large",
".btn-l",
".btn-lg"
] |
D
|
k00051
|
Which class is used to create a button group?
|
[
".group-button",
".button-group",
".group-btn",
".btn-group"
] |
D
|
k00052
|
Which class is used to create a big box for calling extra attention?
|
[
".bigbox",
"There is no such class",
".container",
".jumbotron"
] |
B
|
k00053
|
Which class provides a responsive fixed width container?
|
[
".container",
".container-responsive",
".container-fixed",
".container-fluid"
] |
A
|
k00054
|
Which class adds zebra-stripes to a table?
|
[
".table-zebra",
".table-striped",
".even and .odd",
".table-bordered"
] |
B
|
k00055
|
The Bootstrap grid system is based on how many columns?
|
[
"9",
"3",
"6",
"12"
] |
D
|
k00056
|
Which contextual class is used to create an orange text color?
|
[
".txt-warning",
".bg-warning",
".txt-orange",
".text-warning"
] |
D
|
k00057
|
Which class is used to create a badge?
|
[
".badge",
".label-badge",
".badge-label",
".badge-item"
] |
A
|
k00058
|
Which class shapes an image to a circle?
|
[
".img-round",
".img-circle",
".rounded-circle",
".img-rounded"
] |
C
|
k00059
|
Which class is used to create a loader?
|
[
".spinner",
".spinner-border",
".spinner-loader",
".loader"
] |
B
|
k00060
|
Which class is used to create a vertical navigation bar?
|
[
".navbar-vertical",
".navbar-inverse",
".navbar",
".navbar navbar-vertical"
] |
C
|
k00061
|
Which class is used to create a basic list group?
|
[
".grouped-list",
".group-list",
".list-group"
] |
C
|
k00062
|
Which class adds a heading to a card?
|
[
".card-heading",
".card-header",
".card-head",
".card-footer"
] |
B
|
k00063
|
Which class indicates a dropdown menu?
|
[
".dropdown",
".dropdown-list",
".select"
] |
A
|
k00064
|
Which component is used to cycle through elements, like a slideshow?
|
[
"Carousel",
"Orbit",
"Scrollspy",
"Slideshow"
] |
A
|
k00065
|
Which contextual class indicates a succesful or positive action?
|
[
".bg-info",
".bg-warning",
".bg-success",
".bg-primary"
] |
C
|
k00066
|
Which contextual class indicates a dangerous or potentially negative action?
|
[
".bg-dark",
".bg-info",
".bg-danger",
".bg-primary"
] |
C
|
k00067
|
Which class indicates uppercased text?
|
[
".text-capitalize",
".uppercase",
".text-uppercase",
".ucase"
] |
C
|
k00068
|
Which attribute is used to create a tooltip?
|
[
"data-bs-toggle=\"collapse\"",
"data-bs-toggle=\"modal\"",
"data-bs-toggle=\"popup\"",
"data-bs-toggle=\"tooltip\""
] |
D
|
k00069
|
A standard navigation tab is created with:
|
[
"<ul class=\"navigation-tabs\">",
"<ul class=\"nav nav-navbar\">",
"<ul class=\"nav tabs\">",
"<ul class=\"nav nav-tabs\">"
] |
D
|
k00070
|
Which class is used to create a basic pagination?
|
[
".page",
".navigation",
".pages",
".pagination"
] |
D
|
k00071
|
A standard navigation bar is created with:
|
[
"<nav class=\"navbar navbar-default\">",
"<nav class=\"navbar navbar-expand-sm\">",
"<nav class=\"nav navbar\">",
"<nav class=\"navigationbar navbar-default\">"
] |
B
|
k00072
|
Which class is used to style a close icon?
|
[
".btn-close",
".x",
".close-icon",
".btn-x"
] |
A
|
k00073
|
QuerySets can be used to query data in Django. What is a correct syntax to get data where 'firstname' is 'Emil'?
|
[
"get(firstname='Emil')",
"filter(firstname='Emil')",
"where(firstname LIKE 'Emil')"
] |
B
|
k00074
|
What is a correct syntax for creating a Django project?
|
[
"django-admin startproject my_tennis_club",
"django start my_tennis_club",
"py manage.py start-django my_tennis_club"
] |
A
|
k00075
|
What is the correct operator to use in if statements to evaulate if A is equal to B?
|
[
"if A == B",
"if A like B",
"if A equal B"
] |
A
|
k00076
|
What is the correct tag to use when ending an if statement?
|
[
"end if",
"/if",
"end",
"endif"
] |
D
|
k00077
|
What is the correct Django tag to use when writing a conditional (if) statement?
|
[
"if",
"when",
"!!"
] |
A
|
k00078
|
What is the correct Django tag to use when writing a comment?
|
[
"exclude",
"comment",
"remove"
] |
B
|
k00079
|
To perform programming logic in Django templates, you can use 'template tags', what is a correct syntax to start a for loop?```
for
```
|
[
"{ for x in y }",
"<% for x in y %>",
"{% for x in y %}"
] |
C
|
k00080
|
For a model to be visible in the admin interface it has to be registered in which file?
|
[
"views.py",
"settings.py",
"admin.py"
] |
C
|
k00081
|
Django comes with a built-in user interface that allows you to administrate your data. To access this interface you have to create a user name and password. What is a correct syntax to create such user?
|
[
"py.manage.py createadminuser",
"py manage.py createuser",
"py manage.py createsuperuser"
] |
C
|
k00082
|
When debugging is turned off, you have to define which hosts are allowed to serve your project.
|
[
"True",
"False"
] |
A
|
k00083
|
What tag can be used to create a variable inside a template?
|
[
"with",
"var",
"let"
] |
A
|
k00084
|
In the configuration file, what the correct syntax to turn off debugging?
|
[
"DEBUG = 'OFF'",
"DEBUG : 'off'",
"DEBUG : 0",
"DEBUG = False"
] |
D
|
k00085
|
In Django, Views are written as:
|
[
"Python tuples",
"Python functions",
"Python dictionaries"
] |
B
|
k00086
|
To use a Django variable named firstname in a Django template, use this syntax:```
firstname
```
|
[
"## firtstname ##",
"{{ firstname }}",
"'' firstname ''"
] |
B
|
k00087
|
If you have a Django application named members, and a model named Member, what is a correct syntax to import the model?```
members
``````
Member
```
|
[
"from members.models import Member",
"import Member from members",
"import members.Member"
] |
A
|
k00088
|
When you have done changes in a model, which command has to be executed in order to make the changes take effect in the database?
|
[
"py manage.py makemigrations",
"py manage.py executemigrations",
"py manage.py runmigrations"
] |
A
|
k00089
|
In Django, data is created in objects, what are these objects called in Django?
|
[
"Tables",
"SQLite",
"Models"
] |
C
|
k00090
|
Django templates are often .html pages.
|
[
"Yes",
"No, never"
] |
A
|
k00091
|
In Django, incomming requests are redirected to specific functions, what are these functions called?
|
[
"controls",
"views",
"models"
] |
B
|
k00092
|
In Django, incomming request is handled in which file?
|
[
"settings.py",
"manage.py",
"urls.py"
] |
C
|
k00093
|
Which language is Django written in?
|
[
"Java",
"C",
"Python"
] |
C
|
k00094
|
Django comes with a file containing all the configuration of your Django installation, what is the file's name?
|
[
"views.py",
"settings.py",
"config.py"
] |
B
|
k00095
|
When you create a Django project on your computer, you will get a folder for your project with a specific content. Which one of the following files is NOT part of the content?
|
[
"settings.py",
"templates.py",
"manage.py"
] |
B
|
k00096
|
What is a correct syntax to start a Django development server on your computer?
|
[
"py manage.py run",
"py manage.py startserver",
"py manage.py runserver"
] |
C
|
k00097
|
What is Git?
|
[
"A remote repository platform.",
"A version control system.",
"A nickname for GitHub.",
"A programming language."
] |
B
|
k00098
|
What is the command to show the differences between the current branch and the branch "new-email"?
|
[
"git log new-email",
"git changes new-email",
"git diff new-email",
"git status new-email"
] |
C
|
k00099
|
What is the command to get all the change history of the remote repository "origin"?
|
[
"git origin help",
"git status remote origin",
"git fetch origin",
"git get log origin"
] |
C
|
k00100
|
What is the command to push the current repository to the remote origin?
|
[
"git push origin",
"git remote commit",
"git merge remote",
"git remote push"
] |
A
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.