Podcast
Questions and Answers
Which of the following is a benefit of using user stories in agile development?
Which of the following is a benefit of using user stories in agile development?
What should be avoided in a focus group?
What should be avoided in a focus group?
Which of the following is a property of the List class in C#?
Which of the following is a property of the List class in C#?
Which method of the List class would you use to delete an element at a specific index?
Which method of the List class would you use to delete an element at a specific index?
Signup and view all the answers
To make a button execute a group of code when it is clicked at runtime in a C# Windows Forms App, what event handler should you generate by double-clicking on the button on the designer window?
To make a button execute a group of code when it is clicked at runtime in a C# Windows Forms App, what event handler should you generate by double-clicking on the button on the designer window?
Signup and view all the answers
To make a ComboBox execute a group of code when it is selected at runtime in a C# Windows Forms App, what event handler should you generate by double-clicking on the ComboBox on the designer window?
To make a ComboBox execute a group of code when it is selected at runtime in a C# Windows Forms App, what event handler should you generate by double-clicking on the ComboBox on the designer window?
Signup and view all the answers
A List<T> collection uses ___ to identify each element in the collection while a Dictionary<TKey, TValue> uses ____ to identify each value in the collection.
A List<T> collection uses ___ to identify each element in the collection while a Dictionary<TKey, TValue> uses ____ to identify each value in the collection.
Signup and view all the answers
Which of the following is an advantage of observation of the users when collecting software requirements?
Which of the following is an advantage of observation of the users when collecting software requirements?
Signup and view all the answers
Which of the following is NOT a benefit of studying the legacy system and analyzing the documents?
Which of the following is NOT a benefit of studying the legacy system and analyzing the documents?
Signup and view all the answers
Which of the following is a property of the List class in C# that returns the number of elements in the list?
Which of the following is a property of the List class in C# that returns the number of elements in the list?
Signup and view all the answers
Which method of the List class would you use to delete an element at a specific index?
Which method of the List class would you use to delete an element at a specific index?
Signup and view all the answers
To make a button execute a group of code when it is clicked at runtime in a C# Windows Forms App, what event handler should you generate by double-clicking on the button on the designer window?
To make a button execute a group of code when it is clicked at runtime in a C# Windows Forms App, what event handler should you generate by double-clicking on the button on the designer window?
Signup and view all the answers
To make a ComboBox execute a group of code when it is selected at runtime in a C# Windows Forms App, what event handler should you generate by double-clicking on the ComboBox on the designer window?
To make a ComboBox execute a group of code when it is selected at runtime in a C# Windows Forms App, what event handler should you generate by double-clicking on the ComboBox on the designer window?
Signup and view all the answers
A List<T> collection uses ___ to identify each element in the collection while a Dictionary<TKey, TValue> uses ____ to identify each value in the collection.
A List<T> collection uses ___ to identify each element in the collection while a Dictionary<TKey, TValue> uses ____ to identify each value in the collection.
Signup and view all the answers
Which of the following is an advantage of using user stories in agile development?
Which of the following is an advantage of using user stories in agile development?
Signup and view all the answers
What should be avoided in a focus group?
What should be avoided in a focus group?
Signup and view all the answers
Which of the following is an advantage of structured questionnaires?
Which of the following is an advantage of structured questionnaires?
Signup and view all the answers
Which of the following is an advantage of observation of users when collecting software requirements?
Which of the following is an advantage of observation of users when collecting software requirements?
Signup and view all the answers
Which of the following is not a benefit of studying the legacy system and analyzing the documents?
Which of the following is not a benefit of studying the legacy system and analyzing the documents?
Signup and view all the answers
Which of the following consists of five to ten users with a moderator?
Which of the following consists of five to ten users with a moderator?
Signup and view all the answers
Compared to an interview for user requirements, what does a structured questionnaire with close-ended questions take less of?
Compared to an interview for user requirements, what does a structured questionnaire with close-ended questions take less of?
Signup and view all the answers
What are collections in C# similar to?
What are collections in C# similar to?
Signup and view all the answers
How does the number of elements in a collection in C# change dynamically?
How does the number of elements in a collection in C# change dynamically?
Signup and view all the answers
What is a reason you may still want to learn about arrays in C#?
What is a reason you may still want to learn about arrays in C#?
Signup and view all the answers
Which method of the List class would you use to delete an element at a specific index?
Which method of the List class would you use to delete an element at a specific index?
Signup and view all the answers
To make a button execute a group of code when it is clicked at runtime in a C# Windows Forms App, what event handler should you generate by double-clicking on the button on the designer window?
To make a button execute a group of code when it is clicked at runtime in a C# Windows Forms App, what event handler should you generate by double-clicking on the button on the designer window?
Signup and view all the answers
To make a ComboBox execute a group of code when it is selected at runtime in a C# Windows Forms App, what event handler should you generate by double-clicking on the ComboBox on the designer window?
To make a ComboBox execute a group of code when it is selected at runtime in a C# Windows Forms App, what event handler should you generate by double-clicking on the ComboBox on the designer window?
Signup and view all the answers
A List<T> collection uses ___ to identify each element in the collection while a Dictionary<TKey, TValue> uses ____ to identify each value in the collection.
A List<T> collection uses ___ to identify each element in the collection while a Dictionary<TKey, TValue> uses ____ to identify each value in the collection.
Signup and view all the answers
The ____ of an element in a List<T> collection may change when another element is removed from or inserted into the list.
The ____ of an element in a List<T> collection may change when another element is removed from or inserted into the list.
Signup and view all the answers
The key to an element in a Dictionary<TKey, TValue> collection _____ when another element is removed from or inserted into the dictionary.
The key to an element in a Dictionary<TKey, TValue> collection _____ when another element is removed from or inserted into the dictionary.
Signup and view all the answers
An allStudents collection that uses student ID as the key should look like this (assuming a student ID is an integer and a student is an instance of the Student class): Dictionary<int, Student> allStudents = new Dictionary<int, Student>();
An allStudents collection that uses student ID as the key should look like this (assuming a student ID is an integer and a student is an instance of the Student class): Dictionary<int, Student> allStudents = new Dictionary<int, Student>();
Signup and view all the answers
Suppose a collection of all friends with phone number is declared like this (assuming a phone number is a string and a friend is an instance of the Friend class): Dictionary<string, Friend> allFriends = new Dictionary<string, Friend>(); Then a friend with a phone number of (202)341-9988 is ___.
Suppose a collection of all friends with phone number is declared like this (assuming a phone number is a string and a friend is an instance of the Friend class): Dictionary<string, Friend> allFriends = new Dictionary<string, Friend>(); Then a friend with a phone number of (202)341-9988 is ___.
Signup and view all the answers
Adding a key/value pair to a dictionary that already contains the key will ____.
Adding a key/value pair to a dictionary that already contains the key will ____.
Signup and view all the answers
To access the value of a non-existing key of a dictionary collection will ___.
To access the value of a non-existing key of a dictionary collection will ___.
Signup and view all the answers
Study Notes
Agile Development
- A benefit of using user stories in agile development is that it provides a clear understanding of the requirements.
Focus Groups
- In a focus group, leading questions should be avoided.
C# Lists
- A property of the List class in C# is that it uses indexes to identify each element in the collection.
- The Count property of the List class returns the number of elements in the list.
- The RemoveAt method of the List class is used to delete an element at a specific index.
C# Windows Forms App
- To make a button execute a group of code when it is clicked at runtime, the Click event handler should be generated by double-clicking on the button on the designer window.
- To make a ComboBox execute a group of code when it is selected at runtime, the SelectedIndexChanged event handler should be generated by double-clicking on the ComboBox on the designer window.
C# Collections
- A List collection uses indexes to identify each element in the collection, while a Dictionary uses keys to identify each value in the collection.
- Collections in C# are similar to arrays.
- The number of elements in a collection in C# changes dynamically.
- A reason to learn about arrays in C# is that they are still used in some situations.
Dictionary_Collections
- The key to an element in a Dictionary collection remains constant when another element is removed from or inserted into the dictionary.
- An example of a Dictionary collection is: Dictionary allStudents = new Dictionary();
- Adding a key/value pair to a dictionary that already contains the key will throw an exception.
- Accessing the value of a non-existing key of a dictionary collection will throw an exception.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Related Documents
Description
Improve your understanding of user stories and software requirements with this quiz. Test your knowledge on communication tools, interview participants, collecting information, and avoiding common pitfalls in focus groups.