skill-assessment-app/test/fixtures/questions.yml

182 lines
4.1 KiB
YAML
Raw Normal View History

2016-07-26 17:00:00 -05:00
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2016-07-26 09:32:26 -05:00
fed1:
2016-07-26 17:00:00 -05:00
quiz: fed
2016-08-05 13:11:15 -05:00
question: 'You have a bit of text that you want to be available for screen readers but not visible on the screen, so you set it with CSS to “visibility: hidden”. Is this the best decision?'
2016-07-26 09:32:26 -05:00
category: CSS
2016-08-05 13:11:15 -05:00
input_type: text
input_options:
2016-07-26 09:32:26 -05:00
sort: 0
active: true
fed2:
2016-07-26 17:00:00 -05:00
quiz: fed
2016-08-05 13:11:15 -05:00
question: What function can be used to determine if a value is present in a given array?
category: JavaScript
2016-07-26 09:32:26 -05:00
input_type: checkbox
input_options:
- 'indexOf()'
- 'present()'
- 'inArray()'
2016-07-26 09:32:26 -05:00
sort: 1
active: true
fed3:
2016-07-26 17:00:00 -05:00
quiz: fed
2016-07-26 09:32:26 -05:00
question: How would you create a widget that would fit in a 250px wide area as well as a 400px wide area?
category: CSS
input_type: live_code
2016-07-26 09:32:26 -05:00
input_options:
sort: 2
active: true
fed4:
2016-07-26 17:00:00 -05:00
quiz: fed
2016-08-05 13:11:15 -05:00
question: Does your app/website need a doctype? Why or why not?
category: HTML
2016-07-26 09:32:26 -05:00
input_type: text
input_options:
sort: 3
active: true
fed5:
2016-07-26 17:00:00 -05:00
quiz: fed
2016-08-05 13:11:15 -05:00
question: What is the best way to track user interaction within a group of dynamically generated child elements?
category: JavaScript
2016-07-26 09:32:26 -05:00
input_type: radio
input_options:
- 'Dynamic listeners'
- 'Event delegation'
- 'Callback functions'
- 'HTML data attributes'
2016-07-26 09:32:26 -05:00
sort: 4
active: true
fed6:
2016-07-26 17:00:00 -05:00
quiz: fed
2016-08-03 08:55:30 -05:00
question: Comment on how realistic the following image is.
2016-11-18 17:43:24 -06:00
attachment: "https://dev.perficientdigital.com/skills-app-images/commets_css.jpg"
2016-07-26 09:32:26 -05:00
category: CSS
input_type: text
input_options:
sort: 5
active: true
fed7:
2016-07-26 17:00:00 -05:00
quiz: fed
2016-07-26 09:32:26 -05:00
question: Provide a code example to manipulate the DOM using jQuery/JavaScript to change the classname of a div 'classB' to 'classC', only if the div 'classA' exists in the page?
category: Javascript
2016-07-31 18:54:12 -05:00
input_type: live_code
2016-07-26 09:32:26 -05:00
input_options:
:html: "<p>Sample seed HTML</p>"
2016-08-23 21:54:53 -05:00
:css: "body { color: #644; }"
2016-07-26 09:32:26 -05:00
sort: 6
active: true
fed8:
2016-07-26 17:00:00 -05:00
quiz: fed
2016-07-26 09:32:26 -05:00
question: Select the HTML from below that would create an input field which restricts the number of characters inside it to 10.
category: HTML
input_type: radio_other
input_options:
- option-1
- option2
- "option 3"
2016-07-26 09:32:26 -05:00
sort: 7
active: true
fed9:
2016-07-26 17:00:00 -05:00
quiz: fed
2016-07-26 09:32:26 -05:00
question: Grunt or Gulp?
category: Javascript
input_type: checkbox_other
input_options:
- Grunt
- Gulp
- Neither
- Either
2016-07-26 09:32:26 -05:00
sort: 8
active: true
fed10:
2016-07-26 17:00:00 -05:00
quiz: fed
2016-07-26 09:32:26 -05:00
question: StarWars or Star Trek?
category: Performance
input_type: checkbox
input_options:
- "Live long and prosper"
- "Who ya gonna call?"
- "Who you calling Scruffy?"
- "J.J. Abrams"
- "wibbly wobbly, timey wimey"
2016-07-26 09:32:26 -05:00
sort: 9
active: true
2016-09-20 18:17:27 -05:00
fed11:
quiz: fed
question: nope, nope nope?
category: Performance
input_type: checkbox
input_options:
- "Live long and prosper"
- "Who ya gonna call?"
- "Who you calling Scruffy?"
- "J.J. Abrams"
- "wibbly wobbly, timey wimey"
sort: 91
active: false
fed12:
quiz: fed
question: yet, another old fake question
category: Performance
input_type: checkbox
input_options:
- "Live long and prosper"
- "Who ya gonna call?"
- "Who you calling Scruffy?"
- "J.J. Abrams"
- "wibbly wobbly, timey wimey"
sort: 91
active: false
2016-09-20 18:17:27 -05:00
admin1:
quiz: admin
question: 'You have a question you want to ask.'
category: Admin
input_type: text
input_options:
sort: 0
active: true
studio1:
quiz: studio
question: 'Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum.'
category: Ipsum
input_type: text
input_options:
sort: 0
active: true
studio2:
quiz: studio
question: 'Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum.'
category: Magna
input_type: text
input_options:
sort: 0
active: true
studio3:
quiz: studio
question: 'Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum.'
category: Commodo
input_type: text
input_options:
sort: 0
active: true