Sample Questions with Answers
QUESTIONS
1.In the Delphi language, which symbols or words define the start and end of a code block?
a) { }
b) [ ]
c) start end
d) begin end
2.What is the underlying type of the TDateTime type?
a) Double
b) TObject
c) String
d) Integer
3.Which of the following is not a valid calling convention for 32-bit Delphi routines?
a) register
b) dynamic
c) stdcall
d) cdecl
4.Delphi Package can contain components, non-visual classes, but not forms.
a) True
b) False
5.In the Delphi language, which symbols or words define the declaration
of an attribute?
a) { }
b) < >
c ) [ ]
d) & &
e) None of the above
6.In which memory area are local variables and procedure parameters stored?
a) Stack
b) Heap
c) Random access area
7.Which generics classes will destroy an object when they are removed from the list,assuming the list owns the object? (Choose all that apply)
a) TList
b) TObjectList
c) TDictionary
d) TObjectDictionary
8.When working with a large number of records in the dataset, what DataSet method
should the application call to prevent data-aware controls from updating every timet
he active record changes?
a) BlockUpdate
b) DisableControls
c) Disabled) None of the above
QUESTIONS
1.In the Delphi language, which symbols or words define the start and end of a code block?
a) { }
b) [ ]
c) start end
d) begin end
2.What is the underlying type of the TDateTime type?
a) Double
b) TObject
c) String
d) Integer
3.Which of the following is not a valid calling convention for 32-bit Delphi routines?
a) register
b) dynamic
c) stdcall
d) cdecl
4.Delphi Package can contain components, non-visual classes, but not forms.
a) True
b) False
5.In the Delphi language, which symbols or words define the declaration
of an attribute?
a) { }
b) < >
c ) [ ]
d) & &
e) None of the above
6.In which memory area are local variables and procedure parameters stored?
a) Stack
b) Heap
c) Random access area
7.Which generics classes will destroy an object when they are removed from the list,assuming the list owns the object? (Choose all that apply)
a) TList
b) TObjectList
c) TDictionary
d) TObjectDictionary
8.When working with a large number of records in the dataset, what DataSet method
should the application call to prevent data-aware controls from updating every timet
he active record changes?
a) BlockUpdate
b) DisableControls
c) Disabled) None of the above
Comments
Post a Comment