MCC - CIS162AD
Study Guide for Test 2![]()
Completion of the study guide is NOT required, so it will not be turned in or submitted electronically. However, completing the study guide will help you prepare for the exam. In addition, the completed study guide can be used on the actual exam, because exams are open book and notes. If you can't find the answer to any of the questions, please feel free to ask your classmates and/or instructor.
Object-Oriented Programming (classes):
What is a class?
What are the properties of a class?
What are the methods of a class?
What is the difference between Public and Private variables?
What is the difference between Public and Private methods?
What is the difference between Instance and Static variables?
What is a constructor and what could it be used for?
Can a constructor be overloaded?
What are the rules in naming a constructor?
What is a destructor?
What is an object?
What does instantiate mean?
What does encapsulation mean?
What does polymorphism mean and what are some examples of it in object-oriented programming?
What is method overloading?
What is method overriding?
What does inheritance mean?
Which class is referred to as the base class in inheritance?
Which class is referred to as the derived class in inheritance?
List Boxes and Loops:
Can the list items be added to list and combo boxes at design-time and run-time?
The list items in a list box or combo box is a collections object (true).
What are some properties and methods that allow us to manage the lists at run-time?
What does the Sorted property of list boxes do?
What are the main differences between the while and do-while loops?
What is meant by nested loops?
What causes an infinite loop?
In the statement for (number = 0; number < 10; number ++ )
What is the initial value?Is the for loop more like a while or do-while loop and why?
What is the Boolean condition?
What is the update action?
File Processing:
What is meant by File I/O?
What does reading a file mean?
What does writing to a file mean?
What is the external filename?
What is the internal filename?
What is the difference between the Write and Writeline methods?
How is a file opened?
Why should a file be closed after processing it?
Why is it important for a programmer to check for End of File (EOF)?
What command can be used to checked for EOF?
What type of loop is best to process an input file that may be empty?
What is meant by sequential file processing?
Arrays:
The array declaration of string[] strName = new string[5]; declares how many variables of type string?
What should be the first valid subscript value for the above array?An array is a collection of variables of (different or the same) data type?
What should be the last valid subscript value for the above array?
What subscript values would be out of range?
What is stored in GetUpperBound(0)?
Why must we count how many elements are loaded into an array?
Can a single array element be passed through a method's argument?
How many subscripts would be required to reference a single array element in a two- and three-demensional array?
How many dimensions can be defined for an array?
Database Processing:
What does ADO stand for?
What does the ADO.NET technology support?
What is usually stored in database file?
What does an ADO.NET connection do?
What does an ADO.NET data adapter do?
What does an ADO.NET dataset do?
What does it mean that in ADO.NET datasets are disconnected?
Does an ADO.NET data adapter allow for retrieving and updating of data?
What does data binding mean?
What is simple data binding?
What is complex data binding?
What does SQL stand for?
Why does knowing SQL make a programmer more versatile?
What SQL statement is used to retrieve data from a database?
Which SQL clause is added to the Select statement to create query with selection criteria?
Additional Control Objects - MDI, ToolStrip, and Dates:
What are single document interface (SDI) projects?
What are multiple document interface (MDI) projects?
In MDI, what is the difference between parent and child forms?
Which property is set to make a form a parent form?
How are child forms created?
Which property is set on a menu to allow users to manage the child forms?
What are the layout options for child forms (LayoutMdi)?
How much code does it take to implement the layout options?
Does each button on the toolStrip have its own click event or is it one for the entire toolStrip?
How does the DateTimePicker control appear to the user on a form?
In which property is the selected date stored in for DateTimePicker?
How does the MonthCalendar control appear to the user on a form?
In which properties are the selected dates stored in for MonthCalendar?