Advertisement
rcleveland19

Opensesame script help

Feb 5th, 2016
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.94 KB | None | 0 0
  1. # Generated by OpenSesame 2.9.7 (Hesitant Heisenberg)
  2. # Fri Feb 5 11:46:11 2016 (posix)
  3. # <http://www.cogsci.nl/opensesame>
  4.  
  5. set background "#ffffff"
  6. set bidi "no"
  7. set canvas_backend "psycho"
  8. set compensation "0"
  9. set coordinates "uniform"
  10. set description "Default description"
  11. set font_bold "no"
  12. set font_family "sans"
  13. set font_italic "no"
  14. set font_size "18"
  15. set foreground "#000000"
  16. set height "768"
  17. set keyboard_backend "psycho"
  18. set mouse_backend "psycho"
  19. set question "6. Which of the following statements best expresses the author’s attitude toward the damage to vegetation caused by foraging elephants?"
  20. set sampler_backend "legacy"
  21. set spacing "10"
  22. set start "sequence"
  23. set subject_nr "0"
  24. set subject_parity "even"
  25. set synth_backend "legacy"
  26. set timeout "infinite"
  27. set title "New experiment"
  28. set uniform_coordinates "yes"
  29.  
  30. define sketchpad ELE
  31. set description "Displays stimuli"
  32. set duration "keypress"
  33. set reset_variables "no"
  34. draw image 0 0 "ELE-[pageno].jpg" scale=1 center=1 z_index=0 show_if="always"
  35.  
  36. define loop ELE_loop
  37. set break_if "never"
  38. set column_order "pageno"
  39. set cycles "8"
  40. set description "Repeatedly runs another item"
  41. set item "ELE_sequence"
  42. set offset "no"
  43. set order "sequential"
  44. set repeat "1"
  45. set skip "0"
  46. setcycle 0 pageno "1"
  47. setcycle 1 pageno "2"
  48. setcycle 2 pageno "3"
  49. setcycle 3 pageno "4"
  50. setcycle 4 pageno "5"
  51. setcycle 5 pageno "6"
  52. setcycle 6 pageno "7"
  53. setcycle 7 pageno "8"
  54. run ELE_sequence
  55.  
  56. define form_multiple_choice ELE_q1
  57. set _theme "gray"
  58. set advance_immediately "no"
  59. set allow_multiple "no"
  60. set button_text "NEXT"
  61. set description "A simple multiple choice item"
  62. set form_title "Question 1"
  63. set form_var "response"
  64. set margins "50;50;50;50"
  65. __options__
  66. explaining why elephants are facing the threat of extinction
  67. explaining difficulties in providing sufficient forage for plant-eaters
  68. explaining how the elephant’s impact on its surroundings affects other species
  69. distinguishing between savannas and rain forests as habitats for elephants
  70. contrasting elephants with members of other endangered species
  71. __end__
  72. __question__
  73. 1. The passage is primarily concerned with
  74. __end__
  75.  
  76. define form_multiple_choice ELE_q2
  77. set advance_immediately "no"
  78. set allow_multiple "no"
  79. set button_text "NEXT"
  80. set form_title "Question 2"
  81. set form_var "response"
  82. __options__
  83. Like them, it faces the threat of extinction
  84. It is herbivorous rather than carnivorous
  85. It moves more ponderously than either the tiger or the whale
  86. Unlike them, it physically alters its environment
  87. It is the largest extant land mammal
  88. __end__
  89. __question__
  90. 2. The author mentions tigers and whales in order to emphasize which point about the elephant?
  91. __end__
  92.  
  93. define form_multiple_choice ELE_q3
  94. set advance_immediately "no"
  95. set allow_multiple "no"
  96. set button_text "NEXT"
  97. set form_title "Question 3"
  98. set form_var "response"
  99. __options__
  100. massive intelligence
  101. threatened extinction
  102. ravenous hunger
  103. lack of grace
  104. ability to regenerate
  105. __end__
  106. set question "3. A necessary component of the elephant’s ability to transform the landscape is its"
  107.  
  108. define form_multiple_choice ELE_q4
  109. set advance_immediately "no"
  110. set allow_multiple "no"
  111. set button_text "NEXT"
  112. set form_title "Question 4"
  113. set form_var "response"
  114. __options__
  115. the lion and the cheetah commonly prey upon elephants
  116. the elephant is dependent upon the existence of smaller plant-eating mammals for its survival
  117. elephants have an indirect effect on the hunting patterns of certain carnivores
  118. the floor of the tropical rain forest is too overgrown to accommodate larger plant-eating species
  119. the natural tendency of elephants is to crowd together in packs
  120. __end__
  121. set question "4. It can be inferred from the passage that"
  122.  
  123. define form_multiple_choice ELE_q5
  124. set advance_immediately "no"
  125. set allow_multiple "no"
  126. set button_text "NEXT"
  127. set form_title "Question 5"
  128. set form_var "response"
  129. __options__
  130. I only
  131. II only
  132. I and II only
  133. II and III only
  134. I, II, and III
  135. __end__
  136. set question "5. The passage contains information that would answer which of the following questions? a.How does the elephant’s foraging affect its surroundings? b.How do the feeding patterns of gazelles and giraffes differ? c.What occurs in the rain forest when the elephant population dwindles?"
  137.  
  138. define form_multiple_choice ELE_q6
  139. set advance_immediately "no"
  140. set allow_multiple "no"
  141. set button_text "NEXT ARTICLE"
  142. set form_title "Question 6"
  143. set form_var "response"
  144. __options__
  145. It is an unfortunate by-product of the feeding process
  146. It is a necessary but undesirable aspect of elephant population growth
  147. It fortuitously results in creating environments suited to diverse species
  148. It has the unexpected advantage that it allows scientists access to the rain forest
  149. It reinforces the impression that elephants are a disruptive force
  150. __end__
  151. set question "6. Which of the following statements best expresses the author’s attitude toward the damage to vegetation caused by foraging elephants?"
  152.  
  153. define sequence ELE_sequence
  154. set description "Runs a number of items in sequence"
  155. set flush_keyboard "yes"
  156. run ELE "always"
  157. run __Finished "[pageno]=8"
  158. run ELE_q1 "[pageno]=8"
  159. run ELE_q2 "[pageno]=8"
  160. run ELE_q3 "[pageno]=8"
  161. run ELE_q4 "[pageno]=8"
  162. run ELE_q5 "[pageno]=8"
  163. run ELE_q6 "[pageno]=8"
  164.  
  165. define sketchpad FW
  166. set description "Displays stimuli"
  167. set duration "keypress"
  168. set reset_variables "no"
  169. draw image 0 0 "FW-[pageno].jpg" scale=1 center=1 z_index=0 show_if="always"
  170.  
  171. define loop FW_loop
  172. set break_if "never"
  173. set column_order "pageno"
  174. set cycles "7"
  175. set description "Repeatedly runs another item"
  176. set item "FWsequence"
  177. set offset "no"
  178. set order "sequential"
  179. set repeat "1"
  180. set skip "0"
  181. setcycle 0 pageno "1"
  182. setcycle 1 pageno "2"
  183. setcycle 2 pageno "3"
  184. setcycle 3 pageno "4"
  185. setcycle 4 pageno "5"
  186. setcycle 5 pageno "6"
  187. setcycle 6 pageno "7"
  188. run FWsequence
  189.  
  190. define form_multiple_choice FW_q1
  191. set _theme "gray"
  192. set advance_immediately "no"
  193. set allow_multiple "no"
  194. set button_text "NEXT"
  195. set description "A simple multiple choice item"
  196. set form_title "Question 1"
  197. set form_var "response"
  198. set margins "50;50;50;50"
  199. __options__
  200. showcase Wright`s use of unconventional building tactics and techniques
  201. describe the relationship between Wright and Edgar J. Kaufmann
  202. judge the place of Fallingwater in the history of architecture
  203. describe Fallingwater as Wright`s response to a challenging building site
  204. evaluate various critical responses to Fallingwater
  205. __end__
  206. set question "1. The primary purpose of the passage is to"
  207.  
  208. define form_multiple_choice FW_q2
  209. set advance_immediately "no"
  210. set allow_multiple "no"
  211. set button_text "NEXT"
  212. set form_title "Question 2"
  213. set form_var "response"
  214. __options__
  215. conservative
  216. inexpensive
  217. daring
  218. idealistic
  219. architecturally unsound
  220. __end__
  221. set question "2. The passage suggests that Edgar J. Kaufmann’s original plans for the site were"
  222.  
  223. define form_multiple_choice FW_q3
  224. set advance_immediately "no"
  225. set allow_multiple "no"
  226. set button_text "NEXT"
  227. set form_title "Question 3"
  228. set form_var "response"
  229. __options__
  230. the technique used to create the fireplace in Fallingwater
  231. the use of traditional engineering techniques in Fallingwater
  232. an unusual design feature of Fallingwater
  233. modern technological advances in the use of concrete
  234. how Fallingwater conforms to nature
  235. __end__
  236. set question "3. The author includes a description of a cantilever in order to explain"
  237.  
  238. define form_multiple_choice FW_q4
  239. set advance_immediately "no"
  240. set allow_multiple "no"
  241. set button_text "NEXT"
  242. set form_title "Question 4"
  243. set form_var "response"
  244. __options__
  245. representative of its owner`s wealth and position
  246. as durable as current construction techniques would allow
  247. a landmark in 20th-century American architecture
  248. impressive yet in harmony with its surroundings
  249. a symbol of man`s triumph over the natural landscape
  250. __end__
  251. set question "4. Above all else, Wright wanted Kaufmann’s home to be "
  252.  
  253. define form_multiple_choice FW_q5
  254. set advance_immediately "no"
  255. set allow_multiple "no"
  256. set button_text "NEXT"
  257. set description "A simple multiple choice item"
  258. set form_title "Question 5"
  259. set form_var "response"
  260. __options__
  261. warmth
  262. darkness
  263. simplicity
  264. claustrophobia
  265. security
  266. __end__
  267. set question "5. Critics` comparison of Fallingwater to a cave suggests that the house conveys a sense of"
  268.  
  269. define form_multiple_choice FW_q6
  270. set advance_immediately "no"
  271. set allow_multiple "no"
  272. set button_text "NEXT ARTCLE"
  273. set form_title "Question 6"
  274. set form_var "response"
  275. __options__
  276. encourages visitors to appreciate the change of seasons
  277. benefits the environment as well as its occupants
  278. stands out as the most beautiful feature in the local landscape
  279. enables its owners to entertain in an impressive setting
  280. typifies Wright’s efforts to infuse modern architecture with spirituality
  281. __end__
  282. set question "6. In context, the phrase for “the invigoration and exaltation of both” suggests that Fallingwater "
  283.  
  284. define sequence FWsequence
  285. set description "Runs a number of items in sequence"
  286. set flush_keyboard "yes"
  287. run FW "always"
  288. run _Finished "[pageno]=7"
  289. run FW_q1 "[pageno]=7"
  290. run FW_q2 "[pageno]=7"
  291. run FW_q3 "[pageno]=7"
  292. run FW_q4 "[pageno]=7"
  293. run FW_q5 "[pageno]=7"
  294. run FW_q6 "[pageno]=7"
  295.  
  296. define form_text_display Finished
  297. set cols "1;1;1"
  298. set form_text "You have finished the current pasage. Please click NEXT to move on to the questions."
  299. set form_title "<span size=24></span>"
  300. set ok_text "NEXT"
  301. set rows "1;4;1"
  302. widget 0 0 3 1 label text="[form_title]"
  303. widget 0 1 3 1 label center="no" text="[form_text]"
  304. widget 1 2 1 1 button text="[ok_text]"
  305.  
  306.  
  307. define form_text_display Instructions
  308. set cols "1;1;1"
  309. __form_text__
  310. In this experiement, you will read SAT passages and answer the corresponding questions.
  311.  
  312. Use the right arrow key to go to the next page while reading. Please read carefully. You will not be able to go back to the previous page once you jump to the next page.
  313.  
  314. After each passage, a screen with appear to indicate that the passage is finished. Please click NEXT to move on to the questions.
  315.  
  316. Use the mouse to select the corect answer and click NEXT to move on to the next question. Answer carefully. You will not be able to go back to the previous question once you jump to the next question. Each passage contains 4-6 questions.
  317.  
  318. Click OK if you are ready to begin the first passage
  319. __end__
  320. set form_title "<span size=24>Instructions- Please read carefully</span>"
  321. set ok_text "OK"
  322. set rows "1;4;1"
  323. widget 0 0 3 1 label text="[form_title]"
  324. widget 0 1 3 1 label center="no" text="[form_text]"
  325. widget 1 2 1 1 button text="[ok_text]"
  326.  
  327.  
  328. define loop MAINLOOP
  329. set break_if "never"
  330. set column_order "passage"
  331. set cycles "3"
  332. set description "Repeatedly runs another item"
  333. set item "MAINSEQUENCE"
  334. set offset "no"
  335. set order "random"
  336. set repeat "1"
  337. set skip "0"
  338. setcycle 0 passage "1"
  339. setcycle 1 passage "2"
  340. setcycle 2 passage "3"
  341. run MAINSEQUENCE
  342.  
  343. define sequence MAINSEQUENCE
  344. set description "Runs a number of items in sequence"
  345. set flush_keyboard "yes"
  346. run NOV_loop "[passage]=3"
  347. run FW_loop "[passage]=1"
  348. run ELE_loop "[passage]=2"
  349.  
  350. define sketchpad NOV
  351. set description "Displays stimuli"
  352. set duration "keypress"
  353. set reset_variables "no"
  354. draw image 0 0 "NOV-[pageno].jpg" scale=1 center=1 z_index=0 show_if="always"
  355.  
  356. define loop NOV_loop
  357. set break_if "never"
  358. set column_order "pageno"
  359. set cycles "6"
  360. set item "NOV_sequence"
  361. set order "sequential"
  362. set repeat "1"
  363. set skip "0"
  364. setcycle 0 pageno "1"
  365. setcycle 1 pageno "2"
  366. setcycle 2 pageno "3"
  367. setcycle 3 pageno "4"
  368. setcycle 4 pageno "5"
  369. setcycle 5 pageno "6"
  370. run NOV_sequence
  371.  
  372. define form_multiple_choice NOV_q1
  373. set advance_immediately "no"
  374. set allow_multiple "no"
  375. set button_text "NEXT"
  376. set form_title "Question 1"
  377. set form_var "response"
  378. __options__
  379. heroic tale of the Civil War
  380. sweeping epic of the old South
  381. story based on personal material
  382. political treatise on slavery
  383. veiled condemnation of 1930s America
  384. __end__
  385. set question "1. In the discussion of Willa Cather`s Sapphira and the Slave Girl, the author refers to the book primarily as a"
  386.  
  387. define form_multiple_choice NOV_q2
  388. set advance_immediately "no"
  389. set allow_multiple "no"
  390. set button_text "NEXT"
  391. set form_title "Question 2"
  392. set form_var "response"
  393. __options__
  394. A number of the characters in the novel are based on people Cather knew in her childhood.
  395. The novel displays Cather`s mixed feelings about slavery.
  396. Cather took four years to complete the novel because she carefully researched her characters.
  397. One of Cather`s purposes in writing the novel was to paint a full portrait of life in rural Virginia in the years before the Civil War.
  398. The characters in the novel are portrayed in a positive light since Cather was a great admirer of the old South.
  399. __end__
  400. set question "2. Mandy Ringer and Dr. Clevenger are mentioned in order to emphasize which point about Sapphira and the Slave Girl?"
  401.  
  402. define form_multiple_choice NOV_q3
  403. set advance_immediately "no"
  404. set allow_multiple "no"
  405. set button_text "NEXT"
  406. set form_title "Question 3"
  407. set form_var "response"
  408. __options__
  409. She was ignorant of the legal and political aspects of slavery even though she was a keen observer of history.
  410. She did not denounce slavery directly but criticized it in more roundabout ways.
  411. She sympathized equally with both slaves and slave owners.
  412. She was an enemy of slavery but refrained from getting involved in political issues.
  413. She disliked the treatment of slaves yet never tried to help improve their lot in life.
  414. __end__
  415. set question "3. According to the author, why is Willa Cather`s attitude toward slavery somewhat ambiguous?"
  416.  
  417. define form_multiple_choice NOV_q4
  418. set advance_immediately "no"
  419. set allow_multiple "no"
  420. set button_text "NEXT ARTICLE"
  421. set form_title "Question 4"
  422. set form_var "response"
  423. __options__
  424. condemned the evils of slavery
  425. favored the past over the present
  426. disliked writing about life in the 1930s
  427. denounced certain aspects of 19th-century life
  428. exaggerated the evils of earlier generations
  429. __end__
  430. set question "4. In the sentence In spite of her willingness to acknowledge that particular aspects of the past were far from ideal, Willa Cather was, if anything, a bit of a romantic, a bit of a romantic suggests that Willa Cather"
  431.  
  432. define sequence NOV_sequence
  433. run NOV "always"
  434. run Finished "[pageno]=6"
  435. run NOV_q1 "[pageno]=6"
  436. run NOV_q2 "[pageno]=6"
  437. run NOV_q3 "[pageno]=6"
  438. run NOV_q4 "[pageno]=6"
  439.  
  440. define form_text_display _Finished
  441. set cols "1;1;1"
  442. set form_text "You have finished the current pasage. Please click NEXT to move on to the questions."
  443. set form_title "<span size=24></span>"
  444. set ok_text "NEXT"
  445. set rows "1;4;1"
  446. widget 0 0 3 1 label text="[form_title]"
  447. widget 0 1 3 1 label center="no" text="[form_text]"
  448. widget 1 2 1 1 button text="[ok_text]"
  449.  
  450.  
  451. define form_text_display _Thankyou
  452. set cols "1;1;1"
  453. set form_text "Thank you for your participation!!"
  454. set form_title "<span size=24>Thank You</span>"
  455. set ok_text "OK"
  456. set rows "1;4;1"
  457. widget 0 0 3 1 label text="[form_title]"
  458. widget 0 1 3 1 label center="no" text="[form_text]"
  459. widget 1 2 1 1 button text="[ok_text]"
  460.  
  461.  
  462. define form_text_display __Finished
  463. set cols "1;1;1"
  464. set form_text "You have finished the current pasage. Please click NEXT to move on to the questions."
  465. set form_title "<span size=24></span>"
  466. set ok_text "NEXT"
  467. set rows "1;4;1"
  468. widget 0 0 3 1 label text="[form_title]"
  469. widget 0 1 3 1 label center="no" text="[form_text]"
  470. widget 1 2 1 1 button text="[ok_text]"
  471.  
  472.  
  473. define sequence sequence
  474. set description "Runs a number of items in sequence"
  475. set flush_keyboard "yes"
  476. run Instructions "always"
  477. run MAINLOOP "always"
  478. run _Thankyou "always"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement