testing-instructions.md 2.9 KB

Instructions for Participants (Dataset 1)

Protocol:

  1. Provide the informed consent form and describe the nature of the study.
  2. Provide the Loose-Instructed English prompts
  3. Provide the Strict-Instructed English prompts
  4. Provide the Loose-Instructed Unix Shell prompts
  5. Provide the Strict-Instructed Unix Shell prompts
  6. Tag data with sha256 hash of Cal Poly username

Loose-Instructed English Language

Please answer the following prompts with a complete, English sentence.

  1. Describe a T.V. show character.
  2. What is the weather outside today?
  3. Describe the inside of a restaurant.
  4. Who is the current president of the United States?
  5. Describe to an extra terrestrial how to use a microwave oven.
  6. Describe the time without using a clock.
  7. What is the name of a sport team and what sport do they play?
  8. Choose an animal and give a brief description of it.

Strict-Instructed English Language

Write the following paragraph:

It was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness, it was the epoch of belief, it was the epoch of incredulity, it was the season of Light, it was the season of Darkness, it was the spring of hope, it was the winter of despair, we had everything before us, we had nothing before us, we were all going direct to Heaven, we were all going direct the other way--in short, the period was so far like the present period, that some of its noisiest authorities insisted on its being received, for good or for evil, in the superlative degree of comparison only.

Loose-Instructed Shell

Perform the following tasks over an SSH session

  1. Create a directory named 'foo'
  2. Create an empty file in foo named 'bar'
  3. Write a C program in foo which prints "Hello World" to the terminal
  4. Compile the program to an executable named, "greet"
  5. Run greet
  6. Run greet and redirect the output to a file in foo
  7. Check that the output from greet and foo/bar are different
  8. Delete foo/bar
  9. Print your current directory
  10. Make a subdirectory of foo named bar/biz/boo
  11. Change your current directory to boo
  12. Write "Hello World" to a file
  13. Compare that file with the output of greet
  14. Print the contents of the foo directory
  15. Change your current directory to foo

Strict-Instructed Shell

Enter the following commands over an SSH session

  1. mkdir testsess1
  2. whoami
  3. touch testsess1/file.txt
  4. echo Hello World > testsess1/file.txt
  5. cp --verbose testsess1/file.txt testsess1/copy.txt
  6. diff -q testsess1/file.txt testsess1/copy.txt
  7. basename testsess1/copy.txt
  8. egrep -i wo testsess1/copy.txt
  9. cat > source.c

    int main() {
      int a = 7;
      int b = 2;
      return a - b;
    }
    
  10. gcc -g source.c

  11. ./a.out

  12. echo $?

  13. mv a.out testprog

  14. zip -j out.zip testsess1 source.c

  15. which vim

  16. wc --help

  17. wc -c source.c

  18. quit