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

93 lines
2.4 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
2016-08-05 13:11:15 -05:00
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_text
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
2016-08-05 13:11:15 -05:00
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.
attachment: "http://dev.perficientxd.com/skill_assets/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:
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
input_options: [ option-1, option2, "option 3", option-4]
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: radio
input_options: [Grunt, Gulp, Neither, Either]
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
2016-07-28 08:22:05 -05:00
input_options: ["Live long and prosper", "Who ya gonna call?", "Who you calling Scruffy?", "J.J. Abrams"]
2016-07-26 09:32:26 -05:00
sort: 9
active: true