Pre Survey¶
Please answer the following questions.
-
Generally I have felt secure about attempting computer programming problems.
- 1. Strongly disagree
- 2. Disagree
- 3. Neither agree nor disagree
- 4. Agree
- 5. Strongly agree
-
I am sure I could do advanced work in computer science.
- 1. Strongly disagree
- 2. Disagree
- 3. Neither agree nor disagree
- 4. Agree
- 5. Strongly agree
-
I am sure that I can learn programming.
- 1. Strongly disagree
- 2. Disagree
- 3. Neither agree nor disagree
- 4. Agree
- 5. Strongly agree
-
I think I could handle more difficult programming problems.
- 1. Strongly disagree
- 2. Disagree
- 3. Neither agree nor disagree
- 4. Agree
- 5. Strongly agree
-
I can get good grades in computer science.
- 1. Strongly disagree
- 2. Disagree
- 3. Neither agree nor disagree
- 4. Agree
- 5. Strongly agree
-
I have a lot of self-confidence when it comes to programming.
- 1. Strongly disagree
- 2. Disagree
- 3. Neither agree nor disagree
- 4. Agree
- 5. Strongly agree
For the next questions please select the answer that best matches your familiarity and confidence about the specified concept(s).
-
Familiarity with nested dictionaries in Python (dictionaries within dictionaries) and how they are structured.
- 1. I am unfamiliar with these concepts
- 2. I know what they mean, but have not used them in a program
- 3. I have used these concepts in a program, but am not confident about my ability to use them
- 4. I am confident in my ability to use these concepts in simple programs
- 5. I am confident in my ability to use these concepts in complex programs
-
How to access values in a inner dictionary like
- 1. I am unfamiliar with these concepts
- 2. I know what they mean, but have not used them in a program
- 3. I have used these concepts in a program, but am not confident about my ability to use them
- 4. I am confident in my ability to use these concepts in simple programs
- 5. I am confident in my ability to use these concepts in complex programs
value_for_inner_key1 = nested_dict['outer_key']['inner_key1']
-
How to add a new key-value pair to a inner dictionary of the given nested dictionary like
- 1. I am unfamiliar with these concepts
- 2. I know what they mean, but have not used them in a program
- 3. I have used these concepts in a program, but am not confident about my ability to use them
- 4. I am confident in my ability to use these concepts in simple programs
- 5. I am confident in my ability to use these concepts in complex programs
nested_dict['outer_key']['new_key'] = 'new_value'
-
How to loop through the outer items (key-value pairs) of a nested dictionary like for
- 1. I am unfamiliar with these concepts
- 2. I know what they mean, but have not used them in a program
- 3. I have used these concepts in a program, but am not confident about my ability to use them
- 4. I am confident in my ability to use these concepts in simple programs
- 5. I am confident in my ability to use these concepts in complex programs
outer_key, outer_value in nested_dict.items():
-
How to loop through the inner items of a nested dictionary like for
- 1. I am unfamiliar with these concepts
- 2. I know what they mean, but have not used them in a program
- 3. I have used these concepts in a program, but am not confident about my ability to use them
- 4. I am confident in my ability to use these concepts in simple programs
- 5. I am confident in my ability to use these concepts in complex programs
inner_key, inner_value in nested_dict['outer_key'].items():
What to do next¶
Click on the following link to go the practice problems: Practice
You have attempted of activities on this page