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?
- Improving communication (correct)
- Collecting software requirements
- Conducting interviews
- Encouraging vague information
What should be avoided in a focus group?
What should be avoided in a focus group?
- Vague information
- Structured questionnaires
- Leading questions (correct)
- Observation of users
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#?
- Non-generic version
- Count (correct)
- Generic version
- Grow and shrink
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?
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?
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?
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.
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?
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?
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?
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?
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?
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?
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.
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?
What should be avoided in a focus group?
What should be avoided in a focus group?
Which of the following is an advantage of structured questionnaires?
Which of the following is an advantage of structured questionnaires?
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?
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?
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?
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?
What are collections in C# similar to?
What are collections in C# similar to?
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?
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#?
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?
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?
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?
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.
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.
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.
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>();
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 ___.
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 ____.
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 ___.
Flashcards are hidden until you start studying
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.