Skip to content

Instantly share code, notes, and snippets.

@bhaumik
Last active October 3, 2017 17:18
Show Gist options
  • Select an option

  • Save bhaumik/df2135ee64425a12781fd2a97a7cbf45 to your computer and use it in GitHub Desktop.

Select an option

Save bhaumik/df2135ee64425a12781fd2a97a7cbf45 to your computer and use it in GitHub Desktop.

Revisions

  1. Bhaumik revised this gist Oct 3, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion tech-eval-questions.md
    Original file line number Diff line number Diff line change
    @@ -42,7 +42,7 @@ add 10
    add 20
    ```

    Q: How would you output the letters of the word 'cab'.
    Q: How would you output the individual letters of the word 'cab'.

    A:

  2. Bhaumik created this gist Oct 3, 2017.
    60 changes: 60 additions & 0 deletions tech-eval-questions.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,60 @@
    # Tech Eval Questions

    ## Introductory questions

    * How did you find the reading?
    * Do you have any questions about anything in there?

    ## Section 1: Reading code

    Q: What would the output of this program be?
    Q: There are 6 steps in this program. What would be on the list at each step?

    ```
    add 4
    add 5
    showNumber
    add 6
    remove
    add 7
    ```

    A: Output is 5. The list at each step looks like:

    ```
    add 4 // List = 4
    add 5 // List = 4 5
    showNumber // List = 4 5
    add 6 // List = 4 5 6
    remove // List = 4 5
    add 7 // List = 4 5 7
    ```


    ## Section 2: Writing code

    Q: How would you write a program which makes the list `4 9 10 20`?

    ```
    add 4
    add 9
    add 10
    add 20
    ```

    Q: How would you output the letters of the word 'cab'.

    A:

    ```
    add 3
    showLetter
    add 1
    showLetter
    add 2
    showLetter
    ```

    ## What we're looking for

    Students should get through these with minimal prompting. Look for them working step-by-step, talking about what's in the list after each instruction is run. They should be referring back to the overview in the writing for definitions of the instructions - point them in that direction if they have forgotten what some of the instructions do.