WFC_OBJ
-
Upload
viet-anh-nguyen -
Category
Documents
-
view
215 -
download
0
Transcript of WFC_OBJ
-
7/27/2019 WFC_OBJ
1/8
1. The ______ control appears as a textbox along with a drop-down calendar and display the current
date in a particular format.
a. DateTimePicker
b. MonthCalendar
c. DropDownList
d. Timer
Slide 4 - s4
2. For retrieving data from the database, you must first connect to SQL Server using ______
a. OleDbDataReader
b. SqlConnection
c. SqlDataReader
d. SqlCommand
3. The _____ class is used to sort, filter, search, modify, and navigate through the record of a table.
a. DataAdapter
b. DataSet
c. DataTable
d. DataView
Slide 4 - s9
4. _____ are common dialog boxes while _____ are custom dialog boxes.
a. Modal, modeless
b. Modal, system defined
c. Modeless, user defined
d. System defined, user defined
Slide 12 - s5
5. The ______ control is used to provide a shortcut for accessing menu options displayed on the
menu bar.
-
7/27/2019 WFC_OBJ
2/8
a. ToolStripMenuItem
b. ContextMenuStrip
Slide 19 - s6
6. The _____ property of the PageSetting Class retrieves printable region of the page for the
printer while the ____ specifies the setting of the printer linked with the page
a. Landscape
b. Margins
c. PrintableArea
d. PrinterSetting
Slide 13 - s14
7. Which among the following are the valid ways to create a Graphics object ?
a. Using the Paint Event of the PaintEventArgs class
b. Using the CreateGraphics() method
c. Using the Object that is derived from the Image class
d. Using the Graphic class constructor
Slide 11 - s11
8. Which of the following are features introduced by ADO.NET?
a. Connected Data Architecture
b. XML Data Support
c. Tracking
d. Connection Pool Control
Slide 5 - s7
9. Which of the following is the function of the Clip property of the Graphic?
a. Specifies or retrieves a region that limits the drawing surface
b. Specifies or retrieves the page coordinate unit measure
c. Specifies or retrieves a region
d. Specifies or retrieves a page
-
7/27/2019 WFC_OBJ
3/8
-
7/27/2019 WFC_OBJ
4/8
a. ActiveX Data Objects
b. Data Access Objects
c. Remote Data Objects
d. Remote Procedure Calls
Slide 7 s7
15. The .NET Framework is a _____ and ____ environment to build, deploy, and run applications.
a. Multi-tiered
b. Multi lingual
c. Open source
d. Multi platform
Slide 6 s1
16. GDI+ provides rich graphic support in the form of ____ blending and _____ brushes GDI.
a. Alpha
b. Image
c. Paint
d. Texture
17. Panel control provides a ____ view of the control it holds while the GroupBox control appears as____ around them.
a. Logical, box
b. Logical, frame
c. Group, box
d. Group, frame
Slide 15, 17 s2
18. The SelectedItemChanged event occurs when the user ____ a ____ item.
a. Selects, changed
b. Changes, modified
c. Modifies, selected
d. Changes, selected
-
7/27/2019 WFC_OBJ
5/8
Slide 7 s3
19. The _____ property of the PrintDialog class represents the PrintDocument while the ____
property specifies or retrieves the setting of the printer.
a. AllowPrintToFile
b. Document
c. PrintToFile
d. PrinterSettings
Slide 24 s5
20. The _____ property of the DataGrid class retrieves the data binding for the control while the
_____ property specifies or retrieves the value of a given cell.
a. CurrentCell
b. CurrentRowIndex
c. DataBindings
d. Item
Slide 15 s9
21. The__property of CrystalReportViewer class specifies or retrieves the index of the active view in
the viewer control while the__property specifies or retrieves the report to be bound to the control.
a. ActiveViewIndex
b. DisplayGroupTree
c. SelectionFormula
d. ReportSource
Slide 27 s13
22. Which of the following refers to the valid wizards in Crystal Report Creation Wizard?
a. Standard, Cross-Tab and Mail Label
b. Standard, Detail and Mail Label
c. Classic, Cross-Tab and Mail Label
d. Class, Detail and Mail Label
Slide 9 s13
-
7/27/2019 WFC_OBJ
6/8
23. In the case of re-installing _____ technology based applications, only the modified parts of the
application are updated to save time and effort.
a. ClickOne
b. ClickOnce
c. ClickOn
d. ClickOnly
Slide 7 s1
24. The _____ control is used to display mutually exclusive options.
a. CheckedListBox
b. CheckBox
c. Radio Button
d. TreeView
Slide 4 s2
25. The ____ property of the sqlcommand class specifies or retrieves a value that indicates the way in
which the CommandText property is interpreted while the ____ method executes the database
query and returns a single value.
a. CommandTimeOut
b. CommandType
c. ExecuteReader
d. ExecuteScalar
Slide 28 s7
26. A _____ control is derived from other Windows Forms control, the ____ control is created byinheriting the UserControl class and the ____ control is created by inheriting the Control Class.
a. Custom, Extended, Composit
b. Extended, Composite, Custom
c. Composite, Extended, Custom
d. Custom, Composite, Extended
-
7/27/2019 WFC_OBJ
7/8
Slide 5 s12
27. The ____ property of the PrintDocument class specifies or retrieves the document name to be
displayed while printing and the _____ property specifies or retrives the printer that prints the
document.
a. DocumentName
b. DefaultPageSetting
c. PrintController
d. PrinterSettings
Slide 8 s14
28. The ____ and _____ methods of the CrystalReportViewer class retrieves the current page number of
the report and display the last page of the report respectively.
a. GetCurrentPageNumber
b. SearchForText
c. ShowNthPage
d. ShowLastPage
Slide 27 s13
29. A _____ object a representation of database object in the cached memory.
a. DataAdapter
b. DataReader
c. DataSet
d. SqlCommand
Slide 23 s8
30. The _____ dialog box allows you to select system- defined colors while the _____ dialog box allows the
user to set the page layout for printing.
a. PrintDialog, ColorDialog
b. ColorDialog, PrintDialog
c. PageSetupDialog, PrintDialog
d. ColorDialog, PageSetupDialog
Slide 14, 21 s5
-
7/27/2019 WFC_OBJ
8/8
31. The _____ control facilitates addition of components like buttons and labels to forms while the ____
control is used to display useful information about a tasks status.
a. ToolStrip, StatusStrip
b. StatusStrip, ToolStrip
c. ContextMenuStrip, MenuStrip
d. MenuStrip, ContextMenuStrip
Slide 30, 35 s6
32. The ____ property of the PrintPageEventArgs class retrieves an object of the Graphics class used to
paint the page while the ____ property retrives the rectangular area, which is the total area of the
page.
a. HasMorePages
b. Graphics
c. PageSetting
d. PageBounds
Slide 11 s14
33. The _____ method of the PrintController class begins the control sequence for a page while the ____
method begins the control sequence for a document.
a. OnStartPage
b. OnStartPrint
c. OnEndPrint
d. OnEndPage
Slide 9 s14
34. ______ menus appear on the forms menu bar while _____ menus appear on right clicking the mouse.
a. Anchored, Context
b. Context, Anchored
Slide 15 s6