2023-05-31T05:14:39-04:00
2023-05-31T05:14:39-04:00
http://baikiemtra.net/tai-lieu/de-thi-mon-windowsfrom-c-aptech-757.html
http://baikiemtra.net/uploads/tin-tuc/2023_05/banner_laptrinh.net_-01.png
Hệ thống đề thi, bài kiểm tra, thi thử miễn phí
http://baikiemtra.net/uploads/logo-baikiemta_1.png
Thứ tư - 31/05/2023 05:12
Đề thi môn WindowsFrom C# - Aptech
“
Tìm đề thi môn WindowsForm C# - Aptech. Tăng cường kiến thức và chuẩn bị cho kì thi thành công với đề thi chi tiết.
Q.1) |
The DataAdapter is used to link the DataSet to the data source. |
|
A. |
True (correct answer) |
|
B. |
False |
Q.2) |
The SqlDataAdapter is used to edit data in the sql server database and update DataSet. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
Q.3) |
The OleDbDataAdapter class is used to connect to multiple databases such as SQL, Oracle and MS Access. |
|
A. |
True (correct answer) |
|
B. |
False |
Q.4) |
The AccepChangesDuringFill property indicates how the DataReader object is used to fill the DataSet. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.5) |
The Fill() method uses the DataSet name to add or refresh rows in the DataSet to match with those in the data source. |
|
A. |
True (correct answer) |
|
B. |
Fasle |
Q.6) |
Links a DataSet to the MS Access database for retrieving and saving data. |
|
A. |
OleDbDataAdapter (correct answer) |
|
B. |
SqlDataAdapter |
|
|
|
|
|
Q.7) |
Links a DataSet to the SQL database for retrieving and saving data. |
|
A. |
OleDbDataAdapter |
|
B. |
SqlDataAdapter (correct answer) |
Q.8) |
Store the SQL query results in DataTable object. |
|
A. |
SqlDataAdapter (correct answer) |
|
B. |
OledbDataAdapter |
|
|
|
|
|
Q.9) |
Connect to multiple databases such as Sybase and Oracle. |
|
A. |
OledbDataAdapter (correct answer) |
|
B. |
SqlDataAdapter |
Q.10) |
The typed DataSet is inherited from the DataSet class. |
|
A. |
True (correct answer) |
|
B. |
False |
|
|
|
|
|
Q.11) |
The ReadXml() method is used to update the xml file. |
|
A. |
True |
|
B. |
Fasle (correct answer) |
Q.12) |
The MoveNext() method of the BindingSource clas is used to navigate to a record in the DataSet. |
|
A. |
True (correct answer) |
|
B. |
Fasle |
|
|
|
|
|
Q.13) |
The type DataSet is used to catch any wrong values fetched from a table. |
|
A. |
True |
|
B. |
Fasle (correct answer) |
Q.14) |
The untype dataset is used on data that does not have static or predicable structure. |
|
A. |
True (correct answer) |
|
B. |
False |
|
|
|
|
|
Q.15) |
This property specifies or retrieve the locale information used to compare strings in the table. |
|
A. |
Readxml |
|
B. |
Clear |
|
C. |
GetType |
|
D. |
Locale (correct answer) |
|
E. |
DataSetName |
Q.16) |
This property specifies or retrieves the DataSet name. |
|
A. |
Readxml |
|
B. |
Clear |
|
C. |
Locale |
|
D. |
GetType |
|
E. |
DataSetName (correct answer) |
|
|
|
|
|
Q.17) |
This method removes rows in all tables. |
|
A. |
DataSetName |
|
B. |
Clear (correct answer) |
|
C. |
GetType |
|
D. |
Locale |
|
E. |
Readxml |
Q.18) |
This method retrieves the type of the current instance. |
|
A. |
Readxml |
|
B. |
Locale |
|
C. |
GetType (correct answer) |
|
D. |
Clear |
|
E. |
DataSetName |
|
|
|
|
|
Q.19) |
This method retrieves xml schema and data into the DataSet. |
|
A. |
Locale |
|
B. |
DataSetName |
|
C. |
ReadXml (correct answer) |
|
D. |
Clear |
|
E. |
GetType |
Q.20) |
The DataTable object is used to as a case- sensitive object if the casing of two tables with the same name differs. |
|
A. |
True (correct answer) |
|
B. |
False |
|
|
|
|
|
Q.21) |
The DataRow and DataColumn classes are you as a primary components of the DataTable class. |
|
A. |
True (correct answer) |
|
B. |
False |
Q.22) |
The DataRelation objects are used to enter duplicate values in a column of the table. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.23) |
The DataRelation objects are used to enforce referential integrity. |
|
A. |
True (correct answer) |
|
B. |
Fasle |
Q.24) |
The DataTableReader object is used to return the records of a table in editable mode. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.25) |
This property specifies or retrieves the table name. |
|
A. |
RowDelete |
|
B. |
TableNewRow |
|
C. |
Clear() |
|
D. |
TableName |
|
E. |
DataSet (correct answer) |
Q.26) |
//Custom Control
Custom controls allow you to create reusable controls. |
|
A. |
True (correct answer) |
|
B. |
False |
|
|
|
|
|
Q.27) |
A composite control allows you to create a control by inheriting from any standard control. |
|
A. |
true |
|
B. |
False (correct answer) |
Q.28) |
User-Defined validation allows you to define the type of validation the user can perform. |
|
A. |
True (correct answer) |
|
B. |
Fasle |
|
|
|
|
|
Q.29) |
Customize design allows you to specify the appearance of standard controls on the custom |
|
A. |
True (correct answer) |
|
B. |
False |
Q.30) |
An extended control allows you to create a control by inheriting from the control class. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.31) |
This property retrieves a collection of controls in the specified control. |
|
A. |
Enable |
|
B. |
OnPaint |
|
C. |
Invalidate |
|
D. |
Parent |
|
E. |
Controls (correct answer) |
Q.32) |
This property specifies or retrieves the parent container associated with control. |
|
A. |
Enable |
|
B. |
OnPaint |
|
C. |
Invalidate |
|
D. |
Parent (correct answer) |
|
E. |
Controls |
|
|
|
|
|
Q.33) |
This property checks whether the control responds to user interaction |
|
A. |
Controls |
|
B. |
Parent |
|
C. |
Invalidate |
|
D. |
OnPaint |
|
E. |
Enable (correct answer) |
Q.34) |
This method send a paint message to the control |
|
A. |
Controls |
|
B. |
Parent |
|
C. |
Invalidate (correct answer) |
|
D. |
OnPaint |
|
E. |
Enable |
|
|
|
|
|
Q.35) |
This method triggers the Paint event |
|
A. |
Enable |
|
B. |
Invalidate |
|
C. |
Controls |
|
D. |
OnPaint (correct answer) |
|
E. |
Parent |
Q.36) |
Can you arrange the steps for inheriting the windows forms existing controls in correct order?
1. From the Project menu, select Add User Control.
2. Double – click Inherited User Control
3. Include the required properties and methods
4. Override the Onpaint() method.
5. Modify the name of the base class. |
|
A. |
1-3-4-5-2 |
|
B. |
1-2-4-5-3 |
|
C. |
1-2–5-3-4 (correct answer) |
|
|
|
|
|
Q.37) |
Customer controls are added by right-clicking the toolbox and clicking the .Net Framework components option. |
|
A. |
True |
|
B. |
False (correct answer) |
Q.38) |
Windows form existing controls cannot be inherited in your application |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.39) |
The ToolboxBitmapAttribute class is used to specify a particular image for the custom control. |
|
A. |
True (correct answer) |
|
B. |
Fasle |
Q.40) |
Toolbox bitmap is specified by adding ToolboxBitmapAttribute bellow the class declaration of the custom control. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.41) |
Custom control are programmatically used in your application by using the namspace in which the control is create. |
|
A. |
True (correct answer) |
|
B. |
False |
Q.42) |
Composite control are used for creating custom graphical interfaces. |
|
A. |
True (correct answer) |
|
B. |
False |
|
|
|
|
|
Q.43) |
Composite controls are created only as a part of the windows application project |
|
A. |
True |
|
B. |
False (correct answer) |
Q.44) |
Composite controls are reused across multiple application. |
|
A. |
True (correct answer) |
|
B. |
False |
|
|
|
|
|
Q.45) |
Composite controls contain only one windows forms control in a container. |
|
A. |
True |
|
B. |
False (correct answer) |
Q.46) |
Composite controls cannot be inherited from other controls. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.47) |
Provides options for designing and sorting the database. |
|
A. |
Reusability |
|
B. |
Security |
|
C. |
Data Designing and Formatting (correct answer) |
|
D. |
Data Access |
|
E. |
Viewing Report |
Q.48) |
Facilitates access of the databases by using more than 35 data drivers |
|
A. |
Reusability |
|
B. |
Security |
|
C. |
Data Designing and Formatting |
|
D. |
Data Access (correct answer) |
|
E. |
Viewing Report |
|
|
|
|
|
Q.49) |
Stores all objects used in a report in a centralized library for easy access. |
|
A. |
Reusability (correct answer) |
|
B. |
Security |
|
C. |
Data Designing and Formatting |
|
D. |
Data Access |
|
E. |
Viewing Report |
Q.50) |
Allows the user to preview the report before generating it |
|
A. |
Reusability |
|
B. |
Security |
|
C. |
Data Designing and Formatting |
|
D. |
Data Access |
|
E. |
Viewing Report (correct answer) |
|
|
|
|
|
Q.51) |
Update itself to all the latest service packs and fixes. |
|
A. |
Reusability |
|
B. |
Security (correct answer) |
|
C. |
Data Designing and Formatting |
|
D. |
Data Access |
|
E. |
Viewing Report |
Q.52) |
The ReportSource property helps in specifying which report the CrystalReportViewer control should be bound to |
|
A. |
True (correct answer) |
|
B. |
False |
|
|
|
|
|
Q.53) |
Crystal Reports allows reports to be generated only using ADO.Net datasets. |
|
A. |
True |
|
B. |
Fasle (correct answer) |
Q.54) |
The Crystal Report Creation Wizard provides a step guide to generate report. |
|
A. |
True (correct answer) |
|
B. |
Fasle |
|
|
|
|
|
Q.55) |
The CrystalreportViewer control binds the report to the application |
|
A. |
True (correct answer) |
|
B. |
Fasle |
Q.56) |
The report document allows you to choose the layout for report. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.57) |
Can you arrange the steps to create a Report using the Crystal Report Creation Wizard in the correct order?
1. Select Available data Source
2.Select an Available Style
3. Add New -> Crystal Report
4. Select the report document from Crystal Report Gallery
5. Enter Name. |
|
A. |
1-2-3-4-5 |
|
B. |
3-4-5-1-2 |
|
C. |
3-5-4-1-2 (correct answer) |
|
D. |
3-5-4-2-1 |
Q.58) |
Parameter fields help displaying the reports based on a criterion taken from the user |
|
A. |
True (correct answer) |
|
B. |
False |
|
|
|
|
|
Q.59) |
Sorting fields help in sorting the data only in ascending and descending orders. |
|
A. |
True |
|
B. |
False (correct answer) |
Q.60) |
Selection formulas support passing formula to the SelectionFormulae property of the CrystalReportView class. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.61) |
Selection formulas help to filter or group the data displayed in the report. |
|
A. |
True (correct answer) |
|
B. |
False |
Q.62) |
The RefereshReport() method of the CrystalReportViewer class refereshes the report after it has been changed. |
|
A. |
True (correct answer) |
|
B. |
False |
|
|
|
|
|
Q.63) |
The ReportDocument class exists in CrystalDecisions.CrystalReports.Engine namespace |
|
A. |
True (correct answer) |
|
B. |
False |
Q.64) |
The CrystalReportViewer control supports the Errors event to track exceptions |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.65) |
A crystal report supports the .doc format for exporting the report |
|
A. |
True (correct answer) |
|
B. |
False |
Q.66) |
Which method do The CrystalReportViewer class provide to export a crystal report ? |
|
A. |
Export() |
|
B. |
ExportReport() (correct answer) |
|
|
|
|
|
Q.67) |
The ViewCount property of CrystalReportViewer class gets the number of views for the viewer control. |
|
A. |
True (correct answer) |
|
B. |
Fasle |
Q.68) |
This property identifies the formula for filtering records in a report. |
|
A. |
ExportReport |
|
B. |
SelectionFormula (correct answer) |
|
C. |
ReportSource |
|
D. |
PrintReport |
|
E. |
Navigate |
|
|
|
|
|
Q.69) |
This method exports the report displayed in the control |
|
A. |
ExportReport (correct answer) |
|
B. |
SelectionFormula |
|
C. |
ReportSource |
|
D. |
PrintReport |
|
E. |
Navigate |
Q.70) |
This method prints the report displayed in the control. |
|
A. |
ExportReport |
|
B. |
SelectionFormula |
|
C. |
ReportSource |
|
D. |
PrintReport (correct answer) |
|
E. |
Navigate |
|
|
|
|
|
Q.71) |
This event occurs when the user navigates through a report. |
|
A. |
ExportReport |
|
B. |
SelectionFormula |
|
C. |
ReportSource |
|
D. |
PrintReport |
|
E. |
Navigate (correct answer) |
Q.72) |
This property specifies the source of the report to be bound. |
|
A. |
ExportReport |
|
B. |
SelectionFormula |
|
C. |
ReportSource (correct answer) |
|
D. |
PrintReport |
|
E. |
Navigate |
|
|
|
|
|
Q.73) |
This method provides the printer settings information in string format. |
|
A. |
InstalledPrinters |
|
B. |
PrinterName |
|
C. |
PrinterFileName |
|
D. |
ToPage |
|
E. |
ToString (correct answer) |
Q.74) |
This property indicates the last page number to print. |
|
A. |
InstalledPrinters |
|
B. |
PrinterName |
|
C. |
PrinterFileName |
|
D. |
ToPage (correct answer) |
|
E. |
ToString |
|
|
|
|
|
Q.75) |
This property identifies the names of all printers installed on the machine. |
|
A. |
InstalledPrinters (correct answer) |
|
B. |
PrinterName |
|
C. |
PrinterFileName |
|
D. |
ToPage |
|
E. |
ToString |
Q.76) |
This property identifies the printer for printing. |
|
A. |
InstalledPrinters |
|
B. |
PrinterName (correct answer) |
|
C. |
PrinterFileName |
|
D. |
ToPage |
|
E. |
ToString |
|
|
|
|
|
Q.77) |
This property identifies the file, while printing to a file |
|
A. |
InstalledPrinters |
|
B. |
PrinterName |
|
C. |
PrinterFileName (correct answer) |
|
D. |
ToPage |
|
E. |
ToString |
Q.78) |
Windows Forms execute on a remote machine |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.79) |
The application settings feature allows storing only user-defined setting |
|
A. |
True |
|
B. |
False (correct answer) |
Q.80) |
The ToolStripContainer control is a new control introduced in Window Forms |
|
A. |
True (correct answer) |
|
B. |
False |
|
|
|
|
|
Q.81) |
Windows Forms can access a database, which exists on another machine. |
|
A. |
True (correct answer) |
|
B. |
False |
Q.82) |
Creates application that can be installed with less user interaction. |
|
A. |
Data Binding Model |
|
B. |
Application Settings |
|
C. |
Windows Form Controls |
|
D. |
ClickOne Deployment. (correct answer) |
|
E. |
Rich Graphics |
|
|
|
|
|
Q.83) |
Stored user specific data. |
|
A. |
Data Binding Model |
|
B. |
Application Settings (correct answer) |
|
C. |
Windows Form Controls |
|
D. |
ClickOne Deployment. |
|
E. |
Rich Graphics |
Q.84) |
Support alpha blending and texture brushes. |
|
A. |
Data Binding Model |
|
B. |
Application Settings |
|
C. |
Windows Form Controls |
|
D. |
ClickOne Deployment. |
|
E. |
Rich Graphics (correct answer) |
|
|
|
|
|
Q.85) |
Provides the BingdingSource component. |
|
A. |
Data Binding Model (correct answer) |
|
B. |
Application Settings |
|
C. |
Windows Form Controls |
|
D. |
ClickOne Deployment. |
|
E. |
Rich Graphics |
Q.86) |
Provide the MaskedTextBox and WebBrowser controls. |
|
A. |
Data Binding Model |
|
B. |
Application Settings |
|
C. |
Windows Form Controls (correct answer) |
|
D. |
ClickOne Deployment. |
|
E. |
Rich Graphics |
|
|
|
|
|
Q.87) |
Can you arrange the sequence of events in the lifecycle of a form ?
1. Actived
2. Form closing.
3. Construction
4. FormClose.
5. Load. |
|
A. |
1-2-4-5-3 |
|
B. |
5-1-3-4-2 |
|
C. |
3-5–1-2-4 (correct answer) |
Q.88) |
Indicates whether a form can be displayed as modal. |
|
A. |
Load |
|
B. |
WindowState |
|
C. |
Modal (correct answer) |
|
D. |
Activated |
|
E. |
Activate |
|
|
|
|
|
Q.89) |
Display the form after the form is constructed. |
|
A. |
Load (correct answer) |
|
B. |
WindowState |
|
C. |
Modal |
|
D. |
Activated |
|
E. |
Activate |
Q.90) |
Indicates that the user has focused back the form. |
|
A. |
Load |
|
B. |
WindowState |
|
C. |
Modal |
|
D. |
Activated (correct answer) |
|
E. |
Activate |
|
|
|
|
|
Q.91) |
Displays the form as an active window |
|
A. |
Load |
|
B. |
WindowState |
|
C. |
Modal |
|
D. |
Activated |
|
E. |
Activate (correct answer) |
Q.92) |
Indicates whether the form is minimized or maximized. |
|
A. |
Load |
|
B. |
WindowState (correct answer) |
|
C. |
Modal |
|
D. |
Activated |
|
E. |
Activate |
|
|
|
|
|
Q.93) |
The basic control are controls that include the Radiobutton and CheckBox controls. |
|
A. |
True |
|
B. |
False (correct answer) |
Q.94) |
The selection list controls are controls that allow you to select a value from the list using the arrows only. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.95) |
The Controls class is the parent class of all graphic controls |
|
A. |
True (correct answer) |
|
B. |
False |
Q.96) |
The Control class is used to create custom controls |
|
A. |
True (correct answer) |
|
B. |
False |
|
|
|
|
|
Q.97) |
The Visible property of the Control class is used to activate the control |
|
A. |
True |
|
B. |
False (correct answer) |
Q.98) |
Controls allow you to use the most commonly used control. |
|
A. |
Selection List controls |
|
B. |
Grouping controls |
|
C. |
Value Setting controls |
|
D. |
Basic control (correct answer) |
|
E. |
Menu controls |
|
|
|
|
|
Q.99) |
Controls allow you to choose the required options from the given set of option. |
|
A. |
Selection List controls |
|
B. |
Grouping controls |
|
C. |
Value Setting controls (correct answer) |
|
D. |
Basic control |
|
E. |
Menu controls |
Q.100) |
Controls allows you to select values from a list using the up and down arrows. |
|
A. |
Selection List controls (correct answer) |
|
B. |
Grouping controls |
|
C. |
Value Setting controls |
|
D. |
Basic control |
|
E. |
Menu controls |
|
|
|
|
|
Q.101) |
Controls allow you to organize controls in a group. |
|
A. |
Selection List controls |
|
B. |
Grouping controls (correct answer) |
|
C. |
Value Setting controls |
|
D. |
Basic control |
|
E. |
Menu controls |
Q.102) |
Controls allow you to create menus. |
|
A. |
Selection List controls |
|
B. |
Grouping controls |
|
C. |
Value Setting controls |
|
D. |
Basic control |
|
E. |
Menu controls (correct answer) |
|
|
|
|
|
Q.103) |
Method is used to specify the next control to navigated according to the tab order. |
|
A. |
Focused |
|
B. |
isMnemonic |
|
C. |
Focus |
|
D. |
SetNextControl (correct answer) |
|
E. |
GotFocus |
Q.104) |
Property to determine for any mnenmonic characters associated with the control |
|
A. |
Focused |
|
B. |
isMnemonic (correct answer) |
|
C. |
Focus |
|
D. |
SetNextControl |
|
E. |
GotFocus |
|
|
|
|
|
Q.105) |
Event that is invoked when the focus is received by the control |
|
A. |
Focused |
|
B. |
isMnemonic |
|
C. |
Focus |
|
D. |
SetNextControl |
|
E. |
GotFocus (correct answer) |
Q.106) |
Property to retrieve a value indicating whether the control is focused |
|
A. |
Focused (correct answer) |
|
B. |
isMnemonic |
|
C. |
Focus |
|
D. |
SetNextControl |
|
E. |
GotFocus |
|
|
|
|
|
Q.107) |
Method to place the focus on the control |
|
A. |
Focused |
|
B. |
isMnemonic |
|
C. |
Focus (correct answer) |
|
D. |
SetNextControl |
|
E. |
GotFocus |
Q.108) |
Property of TextBox control used to allow the user to enter text on multiple lines. |
|
A. |
PromptChar |
|
B. |
Image |
|
C. |
Multiline (correct answer) |
|
D. |
MaxDropDownItems |
|
E. |
SelectedItem |
|
|
|
|
|
Q.109) |
Property of ComBoBox control used to indicate the number of the items in the list. |
|
A. |
PromptChar |
|
B. |
Image |
|
C. |
Multiline |
|
D. |
MaxDropDownItems (correct answer) |
|
E. |
SelectedItem |
Q.110) |
Property of MaskTextBox control used to denote missed input. |
|
A. |
PromptChar (correct answer) |
|
B. |
Image |
|
C. |
Multiline |
|
D. |
MaxDropDownItems |
|
E. |
SelectedItem |
|
|
|
|
|
Q.111) |
Property of the ListBox control used to get or set the selected item. |
|
A. |
PromptChar |
|
B. |
Image |
|
C. |
Multiline |
|
D. |
MaxDropDownItems |
|
E. |
SelectedItem (correct answer) |
Q.112) |
Property of the button control used to specify the image. |
|
A. |
PromptChar |
|
B. |
Image (correct answer) |
|
C. |
Multiline |
|
D. |
MaxDropDownItems |
|
E. |
SelectedItem |
|
|
|
|
|
Q.113) |
The property determines whether the control is checked , unchecked , or indeterminate |
|
A. |
Checked |
|
B. |
CheckStateChanged |
|
C. |
Select |
|
D. |
CheckState (correct answer) |
|
E. |
CheckChanged |
Q.114) |
The event occurs when the value of the Checked property is changed |
|
A. |
Checked |
|
B. |
CheckStateChanged |
|
C. |
Select |
|
D. |
CheckState |
|
E. |
CheckedChanged (correct answer) |
|
|
|
|
|
Q.115) |
The property determines whether the control is checked |
|
A. |
Checked (correct answer) |
|
B. |
CheckStateChanged |
|
C. |
Select |
|
E. |
CheckChanged |
Q.116) |
The method actives the control |
|
A. |
Checked |
|
B. |
CheckStateChanged |
|
C. |
Select (correct answer) |
|
D. |
CheckState |
|
E. |
CheckChanged |
|
|
|
|
|
Q.117) |
The event occurs when the value of the CheckSate property is changed |
|
A. |
Checked |
|
B. |
CheckStateChanged (correct answer) |
|
C. |
Select |
|
D. |
CheckState |
|
E. |
CheckChanged |
Q.118) |
The VisibaleChaned() method of the panel control is invoked when the value of the Enable property changes. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.119) |
The Anchor property of the group box control is used to set the demensions of the control. |
|
A. |
True |
|
B. |
False (correct answer) |
Q.120) |
A Panel control is displayed without a border on a form |
|
A. |
True (correct answer) |
|
B. |
Fasle |
|
|
|
|
|
Q.121) |
The Rezise event of the group box control is invoked when the size of the control automatically changes. |
|
A. |
True (correct answer) |
|
B. |
False |
Q.122) |
The FlatStyle property of the panel control us used to specify the style using the FlatStyle enumeration. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.123) |
Property used to set or get a value indicating if the control can respond to user’s action. |
|
A. |
FlatStyle |
|
B. |
Show |
|
C. |
Resize |
|
D. |
Enable (correct answer) |
|
E. |
StyleChanged |
Q.124) |
Property used to specify or retrieve the flat style of the control. |
|
A. |
FlatStyle (correct answer) |
|
B. |
Show |
|
C. |
Resize |
|
D. |
Enable |
|
E. |
StyleChanged |
|
|
|
|
|
Q.125) |
Event that occurs when the style of control is modified. |
|
A. |
FlatStyle |
|
B. |
Show |
|
C. |
Resize |
|
D. |
Enable |
|
E. |
StyleChanged (correct answer) |
Q.126) |
Method used to display the control to the user. |
|
A. |
FlatStyle |
|
B. |
Show (correct answer) |
|
C. |
Resize |
|
D. |
Enable |
|
E. |
StyleChanged |
|
|
|
|
|
Q.127) |
Event that occurs when the control is re-sized. |
|
A. |
FlatStyle |
|
B. |
Show |
|
C. |
Resize (correct answer) |
|
D. |
Enable |
|
E. |
StyleChanged |
Q.128) |
Property used to set or get the image to be displayed in the control. |
|
A. |
SizeMode |
|
B. |
LoadCompleted |
|
C. |
Image (correct answer) |
|
D. |
Paint |
Q.129) |
Event that occurs when the control is re-drawn on the form. |
|
A. |
SizeMode |
|
B. |
LoadCompleted |
|
C. |
Image |
|
D. |
Paint (correct answer) |
|
E. |
LoadAsysnc |
Q.130) |
Event that occurs when the asynchronous loading of a graphic is cancelled . |
|
A. |
SizeMode |
|
B. |
LoadCompleted (correct answer) |
|
C. |
Image |
|
D. |
Paint |
|
E. |
LoadAsysnc |
|
|
|
|
|
Q.131) |
Method used to load a graphic asynchronous |
|
A. |
SizeMode |
|
B. |
LoadCompleted |
|
C. |
Image |
|
D. |
Paint |
|
E. |
LoadAsysnc (correct answer) |
Q.132) |
Property used to specify how the image will be displayed in the control. |
|
A. |
SizeMode (correct answer) |
|
B. |
LoadCompleted |
|
C. |
Image |
|
D. |
Paint |
|
E. |
LoadAsysnc |
|
|
|
|
|
Q.133) |
The SplitContainer control is used to separate the form into horizontal or vertical panels |
|
A. |
True (correct answer) |
|
B. |
False |
Q.134) |
The Panel1 property is used to retrieve the right or the bottom panel of a splitContainer
control. |
|
A. |
True |
|
B. |
False (correct answer) |
Q.135) |
The FixedPanel property is used to specify which panel of a SplitContainer control is not resize while changing the size of the form. |
|
A. |
True (correct answer) |
|
B. |
False |
Q.136) |
The SpliterMoving event is raised when the splitter is moved. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.137) |
The Shown() method is used to display the SplitContainer control to the user. |
|
A. |
True |
|
B. |
False (correct answer) |
Q.138) |
Event that occurs when the value of the Value property is changed. |
|
A. |
Increment |
|
B. |
Maximum |
|
C. |
UpButton |
|
D. |
Value |
|
E. |
ValueChanged (correct answer) |
|
|
|
|
|
Q.139) |
Method used to increase the value of the NumericUpDown control. |
|
A. |
Increment |
|
B. |
Maximum |
|
C. |
UpButton (correct answer) |
|
D. |
Value |
|
E. |
ValueChanged |
Q.140) |
Property used to retrieve or specify the maximum value for the control. |
|
A. |
Increment |
|
B. |
Maximum (correct answer) |
|
C. |
UpButton |
|
D. |
Value |
|
E. |
ValueChanged |
|
|
|
|
|
Q.141) |
Property used to retrieve or specify the increment or decrement number |
|
A. |
Increment (correct answer) |
|
B. |
Maximum |
|
C. |
UpButton |
|
D. |
Value |
|
E. |
ValueChanged |
Q.142) |
Method used to specify or retrieve the value assigned to the control. |
|
A. |
Increment |
|
B. |
Maximum |
|
C. |
UpButton |
|
D. |
Value (correct answer) |
|
E. |
ValueChanged |
|
|
|
|
|
Q.143) |
The Detail property of ListView control displays items with medium icons. |
|
A. |
True |
|
B. |
False (correct answer) |
Q.144) |
The TreeView control display data in hierarchical manner. |
|
A. |
True (correct answer) |
|
B. |
False |
|
|
|
|
|
Q.145) |
The ListView controls supports sorting of items |
|
A. |
True (correct answer) |
|
B. |
False |
Q.146) |
The child node of TreeView control consists of one or more child nodes and parent node. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.147) |
The ListView control dose not allow displaying extra information about an item. |
|
A. |
True |
|
B. |
False (correct answer) |
Q.148) |
Which of the following snippets about the ListView control are correct ? |
|
A. |
ListView lvwDiary = new ListView(); (missed) |
|
B. |
lvwDiary .View = “List”; |
|
C. |
lvwDiary .Items.Add(“MC”); (missed) |
|
D. |
lvwDiary .Items.Add(“Glenm”); (missed) |
|
E. |
lvwDiary .Items.AddNew(“AC”); |
|
|
|
|
|
Q.149) |
Which of the following snippets about the ListView control are correct ? |
|
A. |
ListView lvwDiary = new ListView(); (missed) |
|
B. |
lvwDiary.Items[0].Selected(true) |
|
C. |
lvwDiary.SetFocus(); |
|
D. |
Controls.Add(lvwDiary); (missed) |
Q.150) |
In RichTextBox , This event occurs when the value of Text property value is modified . |
|
A. |
SelectAll |
|
B. |
TextChanged (correct answer) |
|
C. |
Text |
|
D. |
AppendText |
|
E. |
SelectedText |
|
|
|
|
|
Q.151) |
This method select all text in the control in RichTextBox. |
|
A. |
SelectAll (correct answer) |
|
B. |
TextChanged |
|
C. |
Text |
|
D. |
AppendText |
|
E. |
SelectedText |
Q.152) |
In RichTextBox , This method adds text after the current text to the control. |
|
A. |
SelectAll |
|
B. |
TextChanged |
|
C. |
Text |
|
D. |
AppendText (correct answer) |
|
E. |
SelectedText |
|
|
|
|
|
Q.153) |
In RichTextBox , This property specify specifies or retrieves the selected text within the control. |
|
A. |
SelectAll |
|
B. |
TextChanged |
|
C. |
Text |
|
D. |
AppendText |
|
E. |
SelectedText (correct answer) |
Q.154) |
In RichTextBox, This property specifies or retrieves the text in the control. |
|
A. |
SelectAll |
|
B. |
TextChanged |
|
C. |
Text (correct answer) |
|
D. |
AppendText |
|
E. |
SelectedText |
|
|
|
|
|
Q.155) |
The Value property gets or sets the minimum and maximum values of the ProgressBar control. |
|
A. |
True |
|
B. |
False (correct answer) |
Q.156) |
The Increment method sets the current position of the ProgressBar control |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.157) |
The Step Property increments the current position of the ProgressBar by the specified value. |
|
A. |
True |
|
B. |
False (correct answer) |
Q.158) |
The Marquee ProgressBar gives an idea about how long the process will take to complete. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.159) |
The ProgressBar control implements visual styles. |
|
A. |
True (correct answer) |
|
B. |
False |
Q.160) |
The DateTimePicker control is used to select a date and time from a specified range of dates and times. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.161) |
The DateTimePickerFormat is used to specify a date format for the dateTimePicker control. |
|
A. |
True (correct answer) |
|
B. |
False |
Q.162) |
The CustomFormat property is used to display only date in various formats. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.163) |
The Format property of the DateTimePicker control is used to display standard and custom date formats. |
|
A. |
True (correct answer) |
|
B. |
False |
Q.164) |
The Shortvalue of the Format property is used to display date in dd-mm-yyyy format |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.165) |
Displays time representing 24 hour format In CustomFormat property. |
|
A. |
h |
|
B. |
m |
|
C. |
M |
|
D. |
H (correct answer) |
|
E. |
t |
Q.166) |
Displays the number indicating the month. |
|
A. |
h |
|
B. |
m |
|
C. |
M (correct answer) |
|
D. |
H |
|
E. |
t |
|
|
|
|
|
Q.167) |
Display the number indicating minutes |
|
A. |
h |
|
B. |
m (correct answer) |
|
C. |
M |
|
D. |
H |
|
E. |
t |
Q.168) |
Display the starting letter of A.M. or P.M. |
|
A. |
h |
|
B. |
m |
|
C. |
M |
|
D. |
h |
|
E. |
t (correct answer) |
|
|
|
|
|
Q.169) |
Display time representing 12 hour format. |
|
A. |
h (correct answer) |
|
B. |
t |
|
C. |
m |
|
D. |
H |
|
E. |
M |
Q.170) |
Event that is raised when a date is selected using the mouse. |
|
A. |
UpdateBoldedDates |
|
B. |
DateSelected (correct answer) |
|
C. |
TittleBackColor |
|
D. |
AddAnuallyBoldedDate |
|
E. |
ShowTodayCircle |
|
|
|
|
|
Q.171) |
Property used to set the background color of the title region. |
|
A. |
UpdateBoldedDates |
|
B. |
DateSelected |
|
C. |
TittleBackColor (correct answer) |
|
D. |
AddAnuallyBoldedDate |
|
E. |
ShowTodayCircle |
Q.172) |
Property used to identity the date with a circle. |
|
A. |
UpdateBoldedDates |
|
B. |
DateSelected |
|
C. |
TittleBackColor |
|
D. |
AddAnuallyBoldedDate |
|
E. |
ShowTodayCircle (correct answer) |
|
|
|
|
|
Q.173) |
Method used to re-draw the dates in bold to view the list of the bolded dates. |
|
A. |
UpdateBoldedDates (correct answer) |
|
B. |
DateSelected |
|
C. |
TittleBackColor |
|
D. |
AddAnuallyBoldedDate |
|
E. |
ShowTodayCircle |
Q.174) |
Method used to display a date in bold on an annual basis. |
|
A. |
UpdateBoldedDates |
|
B. |
DateSelected |
|
C. |
TittleBackColor |
|
D. |
AddAnuallyBoldedDate (correct answer) |
|
E. |
ShowTodayCircle |
|
|
|
|
|
Q.175) |
The Timer component does not provide with the explicit functionality to stop the passage of time once it has started. |
|
A. |
True |
|
B. |
False (correct answer) |
Q.176) |
The Start() method starts the Timer component. |
|
A. |
True (correct answer) |
|
B. |
False |
|
|
|
|
|
Q.177) |
The Interval property supports only a maximum interval of 64,766 milliseconds. |
|
A. |
True |
|
B. |
False (correct answer) |
Q.178) |
The Enabled property indicates whether the Timer component is running. |
|
A. |
True (correct answer) |
|
B. |
False |
|
|
|
|
|
Q.179) |
The Timer component raise the Tick event before the specified interval has been elapsed. |
|
A. |
True |
|
B. |
False (correct answer) |
Q.180) |
A dialog box is always modal. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.181) |
Modeless dialog boxes allow you to work with the application on which the dialog box is placed. |
|
A. |
True (correct answer) |
|
B. |
False |
Q.182) |
A dialog box is a window that cannot be maximized, minimized or restored. |
|
A. |
True (correct answer) |
|
B. |
False |
|
|
|
|
|
Q.183) |
The Font dialog box in the Paint program is a modeless dialog box. |
|
A. |
True |
|
B. |
False (correct answer) |
Q.184) |
Which statements are true for Modeless Dialog Box ? |
|
A. |
Allows you to switch between the application window and the dialog box. (missed) |
|
B. |
Is used when some critical information needs to be displayed to the user. |
|
C. |
Allows you to work with the application on with the dialog box is placed. (missed) |
|
D. |
Is used when some information from the user is required to complete the particular task. |
|
E. |
Is used for performing frequent task as required by the user. (missed) |
|
|
|
|
|
Q.185) |
The ShowDialogBox() method is used to display the dialog box to the user. |
|
A. |
True |
|
B. |
False (correct answer) |
Q.186) |
The CustomColors property is used to set or get the custom colors of the ColorDialog component. |
|
A. |
True (correct answer) |
|
B. |
False |
|
|
|
|
|
Q.187) |
The Font property is used to set or get the selected font style of the FontDialog component. |
|
A. |
True |
|
B. |
False (correct answer) |
Q.188) |
The OpenFile() method is used to open the specified file with the read-only permission. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.189) |
The AllowOrientation property is used to get or set a value whether the user canspecify the orientation of a page. |
|
A. |
True (correct answer) |
|
B. |
False |
Q.190) |
Which of the following snippets about User-Define Dialog box are true ? |
|
A. |
Form form = new Form(); (missed) |
|
B. |
form.MinimizedBox = false; |
|
C. |
form.ShowDialog(); (missed) |
|
D. |
form.MaximizedBox = false; |
|
E. |
form.Border = Border.FixedDialog; |
|
|
|
|
|
Q.191) |
Which of following snippets about User-define Dialog Box are true? |
|
A. |
Form form1 = new Form(); (missed) |
|
B. |
form1.AcceptBotton = btOk; (missed) |
|
C. |
form1.ShowDialogBox(); |
|
D. |
form1.CancelBotton =btCancel; (missed) |
Q.192) |
User-Defined dialog box can be defined as modal and modeless. |
|
A. |
True (correct answer) |
|
B. |
False |
|
|
|
|
|
Q.193) |
A user – defined dialog box can be created using the FormBorderStyle property of a form. |
|
A. |
True (correct answer) |
|
B. |
False |
Q.194) |
A user – defined dialog box can be create by setiting the MaximizedBox and MinimizedBox properties to True. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.195) |
A user Defined dialog box can have the Cancel button using the CancelButtons property. |
|
A. |
True |
|
B. |
False (correct answer) |
Q.196) |
A user-defined dialog box can have an Ok button using AcceptButtons property. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.197) |
An MDI application suport maximum two parent form. |
|
A. |
True |
|
B. |
False (correct answer) |
Q.198) |
In MDI, A child form remains open even when the parent form is closed. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.199) |
In MDI, A parent form remains open even if all the child forms are closed |
|
A. |
True (correct answer) |
|
B. |
False |
Q.200) |
An MDI application increases the risk of data inconsistency while working with multiple child forms. |
|
A. |
True (correct answer) |
|
B. |
False |
|
|
|
|
|
Q.201) |
The IsMdiFormContainer property is used to create a parent form. |
|
A. |
True |
|
B. |
False (correct answer) |
Q.202) |
Method used to organize the child forms within the parent form. |
|
A. |
IsMdiChild |
|
B. |
ActiveMdiChild |
|
C. |
LayoutMdi (correct answer) |
|
D. |
MdiChildActivate |
|
E. |
MdiChildren |
|
|
|
|
|
Q.203) |
Property used to retrieve the collection of child forms of the current parent form. |
|
A. |
IsMdiChild |
|
B. |
ActiveMdiChild |
|
C. |
LayoutMdi |
|
D. |
MdiChildActivate |
|
E. |
MdiChildren (correct answer) |
Q.204) |
Event that occurs when the child forms is activated or closed. |
|
A. |
IsMdiChild |
|
B. |
ActiveMdiChild |
|
C. |
LayoutMdi |
|
D. |
MdiChildActivate (correct answer) |
|
E. |
MdiChildren |
|
|
|
|
|
Q.205) |
Property used to retrieve the active child form. |
|
A. |
IsMdiChild |
|
B. |
ActiveMdiChild (correct answer) |
|
C. |
LayoutMdi |
|
D. |
MdiChildActivate |
|
E. |
MdiChildren |
Q.206) |
Property used to determine whether the form is a child form. |
|
A. |
IsMdiChild (correct answer) |
|
B. |
ActiveMdiChild |
|
C. |
LayoutMdi |
|
D. |
MdiChildActivate |
|
E. |
MdiChildren |
|
|
|
|
|
Q.207) |
A context menu appears when the left mouse button is clicked. |
|
A. |
True |
|
B. |
False (correct answer) |
Q.208) |
The Shortcut property of the MenuItem class specifies the right – click as the short cut key to the access the menu. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.209) |
The contextMenu class exists in the System.Windows.Forms namespace. |
|
A. |
True (correct answer) |
|
B. |
False |
Q.210) |
The IsParent property of the MainMenu class detemines whether the menu consists of any child forms. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.211) |
The MenuStrip control helps you to add menus, modify and reorder menus. |
|
A. |
True (correct answer) |
|
B. |
False |
Q.212) |
This method retrieves the MenuItem that contains the value specified. |
|
A. |
Popup |
|
B. |
GetForm |
|
C. |
PerformClick |
|
D. |
RightToLeft |
|
E. |
FindMenuItem (correct answer) |
|
|
|
|
|
Q.213) |
This event occurs before the shortcut menu is displayed. |
|
A. |
Popup (correct answer) |
|
B. |
GetForm |
|
C. |
PerformClick |
|
D. |
RightToLeft |
|
E. |
FindMenuItem |
Q.214) |
This property indicates whether the text is displayed form right to left. |
|
A. |
Popup |
|
B. |
GetForm |
|
C. |
PerformClick |
|
D. |
RightToLeft (correct answer) |
|
E. |
FindMenuItem |
|
|
|
|
|
Q.215) |
This method generates a Click event for the MenuItem. |
|
A. |
Popup |
|
B. |
GetForm |
|
C. |
PerformClick (correct answer) |
|
D. |
RightToLeft |
|
E. |
FindMenuItem |
Q.216) |
This method retrieves the form that contains this control. |
|
A. |
Popup |
|
B. |
GetForm (correct answer) |
|
C. |
PerformClick |
|
D. |
RightToLeft |
|
|
|
|
|
Q.217) |
A ToolStrip control can host menu items, which are similar to the menu bar. |
|
A. |
True |
|
B. |
False (correct answer) |
Q.218) |
You can not drag items from one ToolStrip to other. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.219) |
A ToolStrip control can reorder items at runtime. |
|
A. |
True (correct answer) |
|
B. |
False |
Q.220) |
ToolStrip is the base class for MenuStrip, StatusStrip , and ContextMenuStrip classes |
|
A. |
True (correct answer) |
|
B. |
False |
|
|
|
|
|
Q.221) |
A ToolStrip control can create toolbars that provides a common look and feel across the form. |
|
A. |
True (correct answer) |
|
B. |
False |
Q.222) |
In ToolStrip class, Event that occurs when an items is clicked. |
|
A. |
Items |
|
B. |
LayoutStyle |
|
C. |
ImageList |
|
D. |
ItemClicked (correct answer) |
|
E. |
Show |
|
|
|
|
|
Q.223) |
In ToolStrip class, Property that is used to identify the displayed image. |
|
A. |
Items |
|
B. |
LayoutStyle |
|
C. |
ImageList (correct answer) |
|
D. |
ItemClicked |
|
E. |
Show |
Q.224) |
In ToolStrip class, Method that displays the control to the user. |
|
A. |
Items |
|
B. |
LayoutStyle |
|
C. |
ImageList |
|
D. |
ItemClicked |
|
E. |
Show (correct answer) |
|
|
|
|
|
Q.225) |
In ToolStrip class, Property that retrieves all the items of the control. |
|
A. |
Items (correct answer) |
|
B. |
LayoutStyle |
|
C. |
ImageList |
|
D. |
ItemClicked |
|
E. |
Show |
Q.226) |
Property that identifies the layout style of the items. |
|
A. |
Items |
|
B. |
LayoutStyle (correct answer) |
|
C. |
ImageList |
|
D. |
ItemClicked |
|
E. |
Show |
|
|
|
|
|
Q.227) |
Requires no data – type conversion In Features of ADO.Net . |
|
A. |
Interoperability. |
|
B. |
Maintainability. |
|
C. |
Programmability. |
|
D. |
Performance (correct answer) |
|
E. |
Scalability |
Q.228) |
Support the XML format. |
|
A. |
Interoperability. (correct answer) |
|
B. |
Maintainability. |
|
C. |
Programmability. |
|
D. |
Performance |
|
E. |
Scalability |
|
|
|
|
|
Q.229) |
Serves large number of users. |
|
A. |
Interoperability. |
|
B. |
Maintainability. |
|
C. |
Programmability. |
|
D. |
Performance |
|
E. |
Scalability (correct answer) |
Q.230) |
Unaffected by architectural changes in features of ADO.Net |
|
A. |
Interoperability. |
|
B. |
Maintainability. (correct answer) |
|
C. |
Programmability. |
|
D. |
Performance |
|
E. |
Scalability |
|
|
|
|
|
Q.231) |
Uses data commands and data classes. |
|
A. |
Interoperability. |
|
B. |
Maintainability. |
|
C. |
Programmability. (correct answer) |
|
D. |
Performance |
|
E. |
Scalability |
Q.232) |
In ADO.Net, Bulk copy operations save for lengthy operations. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.233) |
The connection to original database is closed once a request is processed in disconnected data access model. |
|
A. |
True (correct answer) |
|
B. |
False |
Q.234) |
In ADO.Net, .Net framework alows you to access application data only from local machine. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.235) |
RDO and ADO depends on two-tier client-server architecture. |
|
A. |
True (correct answer) |
|
B. |
False |
Q.236) |
ADO.Net technology provides connection to various database systems. |
|
A. |
True (correct answer) |
|
B. |
False |
|
|
|
|
|
Q.237) |
Data provider helps in connecting to the database, performing operations and also retrieving results. |
|
A. |
True (correct answer) |
|
B. |
False |
Q.238) |
.Net Framework data provider for ODBC uses Oracle client connectivity software to enable data access. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.239) |
.Net Framwork data provider for SQL Server allows access to Microsoft SQL Server |
|
A. |
True (correct answer) |
|
B. |
False |
Q.240) |
.Net Framework data provider for OLE DB enable data access from relation database by using the connectivity software. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.241) |
Specifies or retrieves a connection across the data source. |
|
A. |
DataAdapter object |
|
B. |
DataSet object |
|
C. |
DataReader object |
|
D. |
Connection (correct answer) |
|
E. |
OLE DB |
Q.242) |
Requires exclusive use of an open Connection object |
|
A. |
DataAdapter object |
|
B. |
DataSet object |
|
C. |
DataReader object (correct answer) |
|
D. |
Connection |
|
E. |
OLE DB |
|
|
|
|
|
Q.243) |
Used for accessing data stores of various types in a uniform manner. |
|
A. |
DataAdapter object |
|
B. |
DataSet object |
|
C. |
DataReader object |
|
D. |
Connection |
|
E. |
OLE DB (correct answer) |
Q.244) |
Acts as a link between a DataSet and a data source. |
|
A. |
DataAdapter object (correct answer) |
|
B. |
DataSet object |
|
C. |
DataReader object |
|
D. |
Connection |
|
E. |
OLE DB |
|
|
|
|
|
Q.245) |
Enable to update or manipulate data. |
|
A. |
DataAdapter object |
|
B. |
DataSet object (correct answer) |
|
C. |
DataReader object |
|
D. |
Connection |
|
E. |
OLE DB |
Q.246) |
Which of following namespace contains the ODBC .Net data provider types. |
|
A. |
System.Data.OleDb |
|
B. |
System.Data.SqlClient |
|
C. |
System.Data.OracleClient |
|
D. |
System.Data |
|
E. |
System.Data.Odbc (correct answer) |
|
|
|
|
|
Q.247) |
Contains classes representing the ADO.Net architecture. |
|
A. |
System.Data.OleDb |
|
B. |
System.Data.SqlClient |
|
C. |
System.Data.OracleClient |
|
D. |
System.Data (correct answer) |
|
E. |
System.Data.Odbc |
Q.248) |
Contains the OLE DB .Net data provider types. |
|
A. |
System.Data.OleDb (correct answer) |
|
B. |
System.Data.SqlClient |
|
C. |
System.Data.OracleClient |
|
D. |
System.Data |
|
E. |
System.Data.Odbc |
|
|
|
|
|
Q.249) |
Contains the SQL Server .Net data provider types. |
|
A. |
System.Data.OleDb |
|
B. |
System.Data.SqlClient (correct answer) |
|
C. |
System.Data.OracleClient |
|
D. |
System.Data |
|
E. |
System.Data.Odbc |
Q.250) |
Contains the Oracle .Net data provider. |
|
A. |
System.Data.OleDb |
|
B. |
System.Data.SqlClient |
|
C. |
System.Data.OracleClient (correct answer) |
|
D. |
System.Data |
|
E. |
System.Data.Odbc |
|
|
|
|
|
Q.251) |
The DataView class provides view settings for multiple tables in the DataSet. |
|
A. |
True |
|
B. |
False (correct answer) |
Q.252) |
The DataViewmanager class ensures that the information from each table is fetch correctly. |
|
A. |
True (correct answer) |
|
B. |
False |
|
|
|
|
|
Q.253) |
The DataView class supports searching and navigating records of a table. |
|
A. |
True (correct answer) |
|
B. |
False |
Q.254) |
The DataViewManager class allows you to filter and sort rows of a table |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.255) |
The ListChanged event of the DtaViewManager class occurs when a row is delected from the DataView. |
|
A. |
True (correct answer) |
|
B. |
False |
Q.256) |
Represents the index of the focused row. |
|
A. |
DataMember |
|
B. |
CurrentRowIndex (correct answer) |
|
C. |
DataSource |
|
D. |
Item |
|
E. |
CurrentCell |
|
|
|
|
|
Q.257) |
Represents the data source for the control |
|
A. |
DataMember |
|
B. |
CurrentRowIndex |
|
C. |
DataSource (correct answer) |
|
D. |
Item |
|
E. |
CurrentCell |
Q.258) |
Indicates the list in the data source, which is to be displayed in the control. |
|
A. |
DataMember (correct answer) |
|
B. |
CurrentRowIndex |
|
C. |
DataSource |
|
D. |
Item |
|
E. |
CurrentCell |
|
|
|
|
|
Q.259) |
Represents the current focused cells |
|
A. |
DataMember |
|
B. |
CurrentRowIndex |
|
C. |
DataSource |
|
D. |
Item |
|
E. |
CurrentCell (correct answer) |
Q.260) |
Indicates a particular cell value. |
|
A. |
DataMember |
|
B. |
CurrentRowIndex |
|
C. |
DataSource |
|
D. |
Item (correct answer) |
|
E. |
CurrentCell |
|
|
|
|
|
Q.261) |
Navigates to the table by relation name in DataGrid |
|
A. |
BeginEdit |
|
B. |
NaviagteBack |
|
C. |
IsExpanded |
|
D. |
NavigateTo (correct answer) |
|
E. |
Collapse |
Q.262) |
Indicates the expanded or collapsed state of the row node in DataGrid. |
|
A. |
BeginEdit |
|
B. |
NavigateBack |
|
C. |
IsExpanded (correct answer) |
|
D. |
NavigateTo |
|
E. |
Collapse |
|
|
|
|
|
Q.263) |
Puts the control in the editable state. |
|
A. |
BeginEdit (correct answer) |
|
B. |
NavigateBack |
|
C. |
IsExpanded |
|
D. |
NavigateTo |
|
E. |
Collapse |
Q.264) |
Navigates back to the previous table displayed in the control. |
|
A. |
BeginEdit |
|
B. |
NavigateBack (correct answer) |
|
C. |
IsExpanded |
|
D. |
NavigateTo |
|
E. |
Collapse |
|
|
|
|
|
Q.265) |
Collapses child relations for all the rows in DataGrid. |
|
A. |
BeginEdit |
|
B. |
NavigateBack |
|
C. |
IsExpanded |
|
D. |
NavigateTo |
|
E. |
Collapse (correct answer) |
Q.266) |
This property notifies the control about the cell, which has uncommitted changed in DataGridView. |
|
A. |
AutoGenerateColumns. |
|
B. |
CellClick |
|
C. |
NotifyCurrentCellDirty. (correct answer) |
|
D. |
CommitEdit |
|
E. |
CellValueChanged. |
|
|
|
|
|
Q.267) |
This property indicates whether columns can be generated automatically in DataGridView |
|
A. |
AutoGenerateColumns. (correct answer) |
|
B. |
CellClick |
|
C. |
NotifyCurrentCellDirty. |
|
D. |
CommitEdit |
|
E. |
CellValueChanged. |
Q.268) |
In DataGridView, this event occurs when the user clicks the cell. |
|
A. |
AutoGenerateColumns. |
|
B. |
CellClick (correct answer) |
|
C. |
NotifyCurrentCellDirty. |
|
D. |
CommitEdit |
|
E. |
CellValueChanged. |
|
|
|
|
|
Q.269) |
This event occurs after the value of the cell changes in DataGridView. |
|
A. |
AutoGenerateColumns. |
|
B. |
CellClick |
|
C. |
NotifyCurrentCellDirty. |
|
D. |
CommitEdit |
|
E. |
CellValueChanged. (correct answer) |
Q.270) |
This method makes the changes in the current cell to the data cache in DataGridview. |
|
A. |
AutoGenerateColumns. |
|
B. |
CellClick |
|
C. |
NotifyCurrentCellDirty |
|
D. |
CommitEdit (correct answer) |
|
E. |
CellValueChaged |
|
|
|
|
|
Q.271) |
The DataGridView control allows you to specify custom column types |
|
A. |
True |
|
B. |
False (correct answer) |
Q.272) |
The DataGrid control displays data only from an external data source. |
|
A. |
True (correct answer) |
|
B. |
False |
|
|
|
|
|
Q.273) |
The DataGridView control allows you to set the same appearance for the cells having similar kind of data. |
|
A. |
True (correct answer) |
|
B. |
False |
Q.274) |
The Datagrid control allows you to set shortcut menus for cells. |
|
A. |
True |
|
B. |
False (correct answer) |
|
|
|
|
|
Q.275) |
The DataGridView control allows you to display hierarchical information of two tables |
|
A. |
True |
|
B. |
False (correct answer) |
Q.276) |
This method resumes data binding in CurrencyManager class. |
|
A. |
ItemChanged |
|
B. |
List |
|
C. |
Current |
|
D. |
Position. |
|
E. |
ResumeBinding (correct answer) |
|
|
|
|
|
Q.277) |
This property identifies the current item. |
|
A. |
ItemChanged |
|
B. |
List |
|
C. |
Current (correct answer) |
|
D. |
Position |
|
E. |
ResumeBinding |
Q.278) |
This property identifies the current position in the list. |
|
A. |
ItemChanged |
|
B. |
List |
|
C. |
Current |
|
D. |
Position (correct answer) |
|
E. |
ResumeBinding |
|
|
|
|
|
Q.279) |
This event occurs when the current item in list is changed in CurrencyManager class. |
|
A. |
ItemChanged (correct answer) |
|
B. |
List |
|
C. |
Current |
|
D. |
Position |
|
E. |
ResumeBinding |
Q.280) |
Data binding allows you to fetch multiple tables simultaneously |
|
A. |
True (correct answer) |
|
B. |
False |
|
|
|
|
|
Q.281) |
In Data binding, Examples of data providers include arrays and data tables |
|
A. |
true (correct answer) |
|
B. |
False |
Q.282) |
In Data Binding, Data consumers fetch the data from the database. |
|
A. |
True |
|
B. |
False (correct answer) |
Ý kiến bạn đọc