Home > Computer Engineering > Quizzes > Delphi 6 Fundamentals Test
Delphi 6 Fundamentals Test
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 0% Most missed: “Given that x and y are variables declared as type Char - which of the following …”
Delphi 6 Fundamentals Test
Time left 00:00
25 Questions

1. Which of the following removes the SQL statement from a TQuery component called Query1?
2. What is the purpose of the Initialization section of a Unit?
3. Which three properties of TProgressBar are responsible for setting the minimum - maximum and current position for the control?
4. Which of the following will connect a DataSource to a Table where the Datasource component is call DataSource1 and the Table component is called Table1?
5. Which key toggles between the Object Inspector and the Edit Window / Form?
6. For a TQuery component called Query1 with SQL of 'Select * from Student Where Number=500' - which of the following is the correct method to run the query?
7. Which of the following are valid identifier names for a variable?
8. What is the shortcut key for manually displaying the code completion window while entering code?
9. Which of the following is the correct code to 'tick' a TCheckBox component called CheckBox1 as shown?
10. Which of the following is the correct code to cause a form named Form1 to be displayed as modal?
11. Which of the following is NOT an event of the TApplicationEvents component?
12. What files end with the .dpk extension?
13. What value is displayed on screen when the procedure test is called?
14. TDataSet is a base class from which other database components are inherited to encapsulate which database object(s)?
15. What is the purpose of the TDataModule?
16. In the code shown - TMyClass inherits from which parent class?
17. Which of the following properties when set to True - enables an application to gain sole access to a database?
18. Given the code 'Edit1.Hint := 'Customer Name|Enter Customer Name in the edit box';' - which of the following is the correct code to retrieve the text after the | character - i.e. 'Enter Customer Name in the edit box' - when the OnHint handler is called?
19. Which of the following changes a TDBNavigator component called DBNavigator1 so that it only displays navigation buttons?
20. Given a TPageControl component called PageControl1 with three TabSheets called TabSheet1 - TabSheet2 and TabSheet3 (in that order) - which of the following will make TabSheet2 selected?
21. What component is used to link two datasets in a master/detail relationship?
22. Which of the following is the correct code to create an object from class TMainForm?
23. What is the purpose of the AutoMerge property in the TMainMenu component?
24. The TTimer component has a property which determines how frequently the OnTimer event occurs. Which of the following is that property and what does the property measure?
25. What does the Cancel property of the TButton object do?