task_id
stringlengths
6
6
question
stringlengths
12
399
choices
sequencelengths
2
4
k00001
Which class is used to create a basic pagination?
[ ".pagination", ".page", ".pages", ".navigation" ]
k00002
The Bootstrap grid system is based on how many columns?
[ "9", "12", "6", "3" ]
k00003
Which class adds zebra-stripes to a table?
[ ".table-striped", ".even and .odd", ".table-bordered", ".table-zebra" ]
k00004
Which class shapes an image to a circle?
[ ".img-rounded", ".img-round", ".img-circle", ".img-thumbnail" ]
k00005
Which class is used to create a big box for calling extra attention?
[ ".jumbotron", ".container", ".bigbox" ]
k00006
Which button class is used to create a large button?
[ ".btn-xl", ".btn-large", ".btn-lg", ".btn-l" ]
k00007
Which class is used to create a button group?
[ ".button-group", ".group-button", ".group-btn", ".btn-group" ]
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>" ]
k00009
Which class is used to create a badge?
[ ".flag", ".badge", ".tag", ".label" ]
k00010
Which class is used to create a basic list group?
[ ".group-list", ".grouped-list", ".list-group" ]
k00011
Which class adds a heading to a panel?
[ ".panel-heading", ".panel-header", ".panel-footer", ".panel-head" ]
k00012
Which class indicates a dropdown menu?
[ ".dropdown", ".select", ".dropdown-list" ]
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\">" ]
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\">" ]
k00015
Which class is used to create a black navigation bar?
[ ".navbar-inverse", ".navbar-black", ".navbar-dark", ".navbar-default" ]
k00016
Which plugin is used to cycle through elements, like a slideshow?
[ "Carousel", "Orbit", "Scrollspy", "Slideshow" ]
k00017
Which plugin is used to create a modal window?
[ "Modal", "Dialog Box", "Window", "Popup" ]
k00018
Which plugin is used to create a tooltip?
[ "Modal", "Popup", "Dialog Box", "Tooltip" ]
k00019
Which contextual class indicates a succesful or positive action?
[ ".text-primary", ".text-info", ".text-warning", ".text-success" ]
k00020
Which contextual class indicates a dangerous or potentially negative action?
[ ".text-warning", ".text-danger", ".text-info", ".text-primary" ]
k00021
Which class indicates uppercased text?
[ ".text-uppercase", ".ucase", ".text-capitalize", ".uppercase" ]
k00022
Bootstrap 3 is mobile-first.
[ "True", "False" ]
k00023
Which class provides a full width container, spanning the entire width of the viewport?
[ ".container-fluid", ".container", ".container-fixed" ]
k00024
Which class provides a responsive fixed width container?
[ ".container-fluid", ".container", ".container-fixed" ]
k00025
The .container class provides a full width container, spanning the entire width of the screen
[ "False", "True" ]
k00026
Which contextual class indicates a dangerous or potentially negative action?
[ ".bg-info", ".bg-danger", ".bg-primary", ".bg-warning" ]
k00027
Which class indicates uppercased text?
[ ".uppercase", ".text-uppercase", ".text-capitalize", ".ucase" ]
k00028
Which contextual class is used to create an orange text color?
[ ".bg-warning", ".txt-warning", ".txt-orange", ".text-warning" ]
k00029
The Bootstrap grid system is based on how many columns?
[ "9", "3", "12", "6" ]
k00030
Which class adds zebra-stripes to a table?
[ ".table-zebra", ".even and .odd", ".table-bordered", ".table-striped" ]
k00031
Which class shapes an image to a circle?
[ ".rounded-circle", ".img-round", ".img-rounded", ".img-circle" ]
k00032
Which class is used to create a big box for calling extra attention?
[ ".bigbox", ".container", ".jumbotron" ]
k00033
Which button class is used to create a large button?
[ ".btn-lg", ".btn-xl", ".btn-l", ".btn-large" ]
k00034
Which class is used to create a button group?
[ ".button-group", ".group-btn", ".btn-group", ".group-button" ]
k00035
Which class is used to create a badge?
[ ".badge-label", ".badge", ".label-badge", ".badge-item" ]
k00036
Which class is used to create a loader?
[ ".spinner", ".spinner-border", ".loader", ".spinner-loader" ]
k00037
Which class is used to create a basic pagination?
[ ".pagination", ".navigation", ".page", ".pages" ]
k00038
Which class provides a responsive fixed width container?
[ ".container-fluid", ".container-fixed", ".container" ]
k00039
Which class adds a heading to a card?
[ ".card-heading", ".card-head", ".card-footer", ".card-header" ]
k00040
Which class indicates a dropdown menu?
[ ".select", ".dropdown-list", ".dropdown" ]
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\">" ]
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\">" ]
k00043
Which class is used to create a vertical navigation bar?
[ ".navbar", ".navbar-inverse", ".navbar navbar-vertical", ".navbar-vertical" ]
k00044
Which component is used to cycle through elements, like a slideshow?
[ "Scrollspy", "Carousel", "Orbit", "Slideshow" ]
k00045
What classes can be combined to create a custom checkbox?
[ "checkbox control", "custom-control custom-checkbox", "custom-check custom-checkbox" ]
k00046
Which attribute is used to create a tooltip?
[ "data-toggle=\"tooltip\"", "data-toggle=\"popup\"", "data-toggle=\"modal\"", "data-toggle=\"collapse\"" ]
k00047
Which contextual class indicates a succesful or positive action?
[ ".bg-info", ".bg-success", ".bg-primary", ".bg-warning" ]
k00048
Which class is used to create a basic list group?
[ ".group-list", ".grouped-list", ".list-group" ]
k00049
The .container class provides a full width container, spanning the entire width of the screen
[ "False", "True" ]
k00050
Which button class is used to create a large button?
[ ".btn-l2", ".btn-large", ".btn-l", ".btn-lg" ]
k00051
Which class is used to create a button group?
[ ".group-button", ".button-group", ".group-btn", ".btn-group" ]
k00052
Which class is used to create a big box for calling extra attention?
[ ".bigbox", "There is no such class", ".container", ".jumbotron" ]
k00053
Which class provides a responsive fixed width container?
[ ".container", ".container-responsive", ".container-fixed", ".container-fluid" ]
k00054
Which class adds zebra-stripes to a table?
[ ".table-zebra", ".table-striped", ".even and .odd", ".table-bordered" ]
k00055
The Bootstrap grid system is based on how many columns?
[ "9", "3", "6", "12" ]
k00056
Which contextual class is used to create an orange text color?
[ ".txt-warning", ".bg-warning", ".txt-orange", ".text-warning" ]
k00057
Which class is used to create a badge?
[ ".badge", ".label-badge", ".badge-label", ".badge-item" ]
k00058
Which class shapes an image to a circle?
[ ".img-round", ".img-circle", ".rounded-circle", ".img-rounded" ]
k00059
Which class is used to create a loader?
[ ".spinner", ".spinner-border", ".spinner-loader", ".loader" ]
k00060
Which class is used to create a vertical navigation bar?
[ ".navbar-vertical", ".navbar-inverse", ".navbar", ".navbar navbar-vertical" ]
k00061
Which class is used to create a basic list group?
[ ".grouped-list", ".group-list", ".list-group" ]
k00062
Which class adds a heading to a card?
[ ".card-heading", ".card-header", ".card-head", ".card-footer" ]
k00063
Which class indicates a dropdown menu?
[ ".dropdown", ".dropdown-list", ".select" ]
k00064
Which component is used to cycle through elements, like a slideshow?
[ "Carousel", "Orbit", "Scrollspy", "Slideshow" ]
k00065
Which contextual class indicates a succesful or positive action?
[ ".bg-info", ".bg-warning", ".bg-success", ".bg-primary" ]
k00066
Which contextual class indicates a dangerous or potentially negative action?
[ ".bg-dark", ".bg-info", ".bg-danger", ".bg-primary" ]
k00067
Which class indicates uppercased text?
[ ".text-capitalize", ".uppercase", ".text-uppercase", ".ucase" ]
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\"" ]
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\">" ]
k00070
Which class is used to create a basic pagination?
[ ".page", ".navigation", ".pages", ".pagination" ]
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\">" ]
k00072
Which class is used to style a close icon?
[ ".btn-close", ".x", ".close-icon", ".btn-x" ]
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')" ]
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" ]
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" ]
k00076
What is the correct tag to use when ending an if statement?
[ "end if", "/if", "end", "endif" ]
k00077
What is the correct Django tag to use when writing a conditional (if) statement?
[ "if", "when", "!!" ]
k00078
What is the correct Django tag to use when writing a comment?
[ "exclude", "comment", "remove" ]
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 %}" ]
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" ]
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" ]
k00082
When debugging is turned off, you have to define which hosts are allowed to serve your project.
[ "True", "False" ]
k00083
What tag can be used to create a variable inside a template?
[ "with", "var", "let" ]
k00084
In the configuration file, what the correct syntax to turn off debugging?
[ "DEBUG = 'OFF'", "DEBUG : 'off'", "DEBUG : 0", "DEBUG = False" ]
k00085
In Django, Views are written as:
[ "Python tuples", "Python functions", "Python dictionaries" ]
k00086
To use a Django variable named firstname in a Django template, use this syntax:``` firstname ```
[ "## firtstname ##", "{{ firstname }}", "'' firstname ''" ]
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" ]
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" ]
k00089
In Django, data is created in objects, what are these objects called in Django?
[ "Tables", "SQLite", "Models" ]
k00090
Django templates are often .html pages.
[ "Yes", "No, never" ]
k00091
In Django, incomming requests are redirected to specific functions, what are these functions called?
[ "controls", "views", "models" ]
k00092
In Django, incomming request is handled in which file?
[ "settings.py", "manage.py", "urls.py" ]
k00093
Which language is Django written in?
[ "Java", "C", "Python" ]
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" ]
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" ]
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" ]
k00097
What is Git?
[ "A remote repository platform.", "A version control system.", "A nickname for GitHub.", "A programming language." ]
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" ]
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" ]
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" ]
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
33
Edit dataset card