W-Test Winform by BachDEV

download W-Test Winform by BachDEV

of 16

Transcript of W-Test Winform by BachDEV

  • 8/4/2019 W-Test Winform by BachDEV

    1/16

    1.___________________property of the OpenFileDialog class opens the selected file with read-only permissions.

    ( thuc tnh no ca OpenFileDialog m cc tp tin c chn vi quyn Read-Only)

    Filter

    Title

    OpenFile

    FileOk

    2.

    Which of the following are the advantages of using MDI application?

    ( ty chn nng cao ca MDI Application)

    1. Systematic Organization - T chc li h thng2. Increased Efficiency - tng hiu qu3. Less Memory Usage - s dng t b nh hn4. Easy Implementation - d dng thi hnh

    1, 2, 3

    2, 3, 4

    1, 3, 4

    1, 2, 3, 4

    3.

    An object of the _______ class cannot be created.

    ( khng th to i tng ca lp )

    MenuStrip

    Menu // n l Base class ca cc loi menu khcContextMenuStrip

    4.

    The ___________ property of the StatusStrip class specifies or retrieves a value that indicates whether the StatusStrip

    contains a handle in its lower right corner.

    Thuc tnh ch ra rng StatusStrip c cha mt x l kch thc gc bn phi ca n )

    CanOverflow

    SizingGrip

    GripStyle

    5.

    The ____________ property of the Command object retrieves the text of a command statement to be used against a

    data provider.

    Thuc tnh ca Command object tr v c u lnh m ngi dng gi n databaseConnection

    CommandText

    Conmmand Type

    6.

    The _______ method of the DataAdapter class adds a DataTable in a DataSet.

    FillSchema()

    FillLoadOption

    RefillSchema()

    7.

    The _____________ method of the DataAdapter class executes a set of executable commands.

    phng thc thc hin 1 nhm cc cu lnh ca DataAdapterIsNull()

    RunLoad()

    ExecuteBatch()

    8.

    The _________ method of the DataTable class copies a DataRow into a DataTable.

    SetOrdinal()

    ImportRow

    GetFieldType()

    9.

    The _____________ method of the DataTableReader class gets the data type of a particular column.

    Phng thc ca DataTableReader gets data type ca mt ct c th no .FillSchema()

    ExecuteBatch()

    GetFieldType()

    10.

    The two-way data binding binds a property to a field in a _____________ manner.

    Hai cch databinding mt thuc tnh vo 1 tr ng .

    read/write

    Write-only

    Read-only

    11.

    No public constructors are defined in the _________ class.

    Khng c public constructor c nh ngha trong _____ Class .

    DataGridViewColumnDataGridViewBand

    DataGridViewRow

    12.

    The ________ class allows the user to bind a property of the specified control with the property of an object.

    Class ny cho php ngi dng bind 1 thuc tnh vo 1 control c th vi 1 object :|

    BindStyle

    BindingSource

    Binding

    13.

    In the case of re-installing __________ technology based applications, only the modified parts of the application are

    updated to save time and effort.

    Trong trng hp cit li cc _____ cng ngh cbn ca ng dng, ch c nhng phn sau ca ng dng l update tit kim thi gian v cng sc

    ClickOne

    ClickOnce

    ClickOn

    ClickOnly

    14.

    FPT Aptechngun Anh ng Vn Thanh

    W-Test by BachDEVThursday, August 18, 2011

    9:30 AM

    Windows Form Programing with CSharp Page 1

  • 8/4/2019 W-Test Winform by BachDEV

    2/16

    A form is a ____________ that holds and manages controls and is used to create GUI based Windows applications.

    1 form l tp hp cc control c s dng to GUI Windows Application.

    collection

    frame

    property

    container

    15.

    Which of the following controls belong to the category Value setting controls?

    Control no thuc v nhm Value Setting control ?

    RadioButton

    CheckBoxGridView

    ImageList

    16.

    The ________________ control is used to display mutually exclusive options.

    c s dng hin th cc ty chn lo i tr ln nhau :

    CheckedListBox

    Checkbox

    RadioButton

    TreeView

    17.

    The methods of the ________________ class are used to check an item, retrieve the checked state of an item, and clear

    all the selected items.

    Phng thc ca class s dng check an Item, tr v state checked ca 1 item v xa tt c cc item cselected ,

    Checkbox

    RadioButton

    CheckedListBox

    UncheckedListBox

    18.

    Selection List Controls enable selection of values from specified ranges with the help of the ________________ keys.

    Selection Listcontrol c sn sng xc nh cc gi tr trong 1 khonh nht ng vi s tr gip ca _____

    Up-Down arrow

    Page Up -Page Down

    Ctrl-Shift

    Left-Right arrow

    19.

    The ListView control is similar to the _____ icon on the standard toolbar of Windows Explorer.

    ListViewControl tng t vi ____icon trong thnh toolbar chun ca windows explorer

    File

    Edit

    Views

    Tools

    20.

    The _______________ control appears as a text box along with a drop-down calendar and displays the current date in a

    particular format.

    Control c mt textbox vi 1 drop down lch th xung hin th ngy hin ti trong 1 format c th.

    DateTimePicker

    MonthCalendar

    DropDownList

    Timer

    21.

    The _______________ control appears as drop-down grid of rows and columns displaying the dates of a particular

    month.

    Control c 1 drop down grid ca cc hng v ct, hin th ngy t rong 1 thng c th

    DateTimePicker

    MonthCalendar

    Timer

    DropDownList

    22.

    The ____________ property of the 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.

    Screen clipping taken: 8/18/2011 2:27 PM

    ActiveViewIndex

    DisplayGroupTree

    SelectionFormula

    ReportSource

    23.

    Which of the following properties of the MonthCalendar class specifies or retrieves a value, which indicates the color of

    days in months which are partially displayed in the control?

    Cc thuc tnh sau ca lp MonthCalendar quy nh chi tit hoc ly mt gi tr, m chra mu sc ca ngy trong thngang c hin th trong control

    TitleBackColor

    TitleForeColor

    TrailingForeColor

    ShowTodayCircle

    Windows Form Programing with CSharp Page 2

  • 8/4/2019 W-Test Winform by BachDEV

    3/16

    Screen clipping taken: 8/18/2011 2:37 PM

    24.

    Which of the following are the limitations of Interval property?

    NHng hn ch ca Interval Property :

    1. Less Frequency

    2. Long Interval

    3. Inaccuracy

    4. Inexact Precision

    1, 2, 3

    2, 3, 4

    1, 3, 4

    1, 2, 3, 4

    Screen clipping taken: 8/18/2011 2:41 PM

    25.

    Which of the following are the features of dialog box? Which of the following are the features of dialog box?

    1. It is not Resizable

    2. It is Usual Model

    3. It contains OK and Cancel buttons

    1, 2

    2, 3

    1, 3

    1, 2, 3

    Screen clipping taken: 8/18/2011 2:42 PM

    Winform

    Inserted from:

    th 2 ca anh ng Vn Thanh

    Windows Form Programing with CSharp Page 3

    http://c/Users/BachDEV/Desktop/Ly%20Thuyet%20Winform/Winform.dochttp://c/Users/BachDEV/Desktop/Ly%20Thuyet%20Winform/Winform.dochttp://c/Users/BachDEV/Desktop/Ly%20Thuyet%20Winform/Winform.doc
  • 8/4/2019 W-Test Winform by BachDEV

    4/16

    Screen clipping taken: 8/18/2011 3:14 PM

    V tr ca StatusStrip Control - how the item are laid out by statusStrip

    Event ca Dataset sy ra khi source v object hin ti cadatarow c cng 1 primary key.

    Screen clipping taken: 8/18/2011 3:25 PM

    Thuc tnh ca ControlCollection class miu t 1 control trong collection.

    Screen clipping taken: 8/18/2011 3:31 PM

    Windows Form Programing with CSharp Page 4

  • 8/4/2019 W-Test Winform by BachDEV

    5/16

    Screen clipping taken: 8/18/2011 3:34 PM

    Screen clipping taken: 8/18/2011 3:36 PM

    Mt i tng c dng miu t cho 1 database object trong b nh tm.

    Screen clipping taken: 8/18/2011 3:39 PM

    Windows Form Programing with CSharp Page 5

  • 8/4/2019 W-Test Winform by BachDEV

    6/16

    Phng thc ca PrinterSettings Class xc nh r khi no 1 file nh c th c in :

    Screen clipping taken: 8/21/2011 5:46 PM

    GDI + provides rich graphic support in the form of

    GDI cung cp nhiu c ch ha trong 1 form ca ____ blending v brushes ca GDI

    Screen clipping taken: 8/21/2011 6:12 PM

    Screen clipping taken: 8/21/2011 6:13 PM

    Ch phn bit vi

    Thuc tnh ca PageSettings Class tr v ln lt cc bn in ca 1 trong cho my in cho n khiThuc tnh ______ tr v ci t ca my in lin kt vi trang :

    Windows Form Programing with CSharp Page 6

  • 8/4/2019 W-Test Winform by BachDEV

    7/16

    Thuc tnh sau ay ca Form Class dng ci t hoc gi v thuc tnh ngang hng ca cc gc bntri mn hnh

    Screen clipping taken: 8/22/2011 3:36 PM

    Screen clipping taken: 8/22/2011 3:44 PM

    Portal loi 2 ( ngun Internet)

    1 For retrieving data from the database, you must first connect to SQL Serverdatabase using ________________.

    Windows Form Programing with CSharp Page 7

  • 8/4/2019 W-Test Winform by BachDEV

    8/16

    OleDbDataReader

    SqlConnection

    SqlDataReader

    SqlCommand

    2 A _______ object is a representation of database objects in the cached memory.

    DataAdapter

    DataReader

    DataSet

    SqlCommand

    3 The ________ class is used to sort, filter, search, modify, and navigate through therecords of a table.

    DataAdapter

    DataSet

    DataTable

    DataView

    4 The _______ class helps to bind th e property value of an object to the propertyvalue of a control.

    Binding

    Control

    BindingSource

    SqlConnection

    5 Crystal Reports allow you to generate reports using the ADO.NET object,________.

    DataAdapter

    DataSet

    DataTable

    DataView

    6 The __________ method of the PrinterSettings class determines whether an imagefile can be printed.

    IsDirectPrintingSupported

    CreateMeasurementGraphics

    ToString

    Print

    7 The .NET Framework is a _ __________ and ___________ environment to build,deploy, and run applications.

    multi-tiered

    multi-lingual

    open source

    multi-platform

    8 GDI+ provides rich graphic support in the form of ____________ blending and____________ brushes GDI.

    alpha

    image

    paint

    texture

    9 In the case of re-installing __________ technology based applications, only themodified parts of the application are updated to save time an d effort.

    ClickOne

    ClickOnce

    ClickOn

    ClickOnly

    10 A form is a ____________ that holds and manages controls and is used to createGUI based Windows applications.

    collection

    frame

    property

    container

    Screen clipping taken: 8/22/2011 4:38 PM

    Windows Form Programing with CSharp Page 8

  • 8/4/2019 W-Test Winform by BachDEV

    9/16

    11 Which of the following controls belong to the category, Value setting controls?

    RadioButton

    CheckBox

    GridView

    ImageList

    12 The ________________ control is used to display mutually exclusive options. Loaitru lan nhau

    CheckedListBox

    Checkbox

    RadioButton

    TreeView

    13 The methods of the ________________ class are used to check an item, retrieve thechecked state of an item, and clear all th e selected items.

    Checkbox

    RadioButton

    CheckedListBox

    UncheckedListBox

    14 Selection List Controls enable selection of values from specified ranges with thehelp of the ________________ keys.

    Up-Down arrow

    Page Up -Page Down

    Ctrl-ShiftLeft-Right arrow

    15 The ListView control is similar to the _____ icon on the standard toolbar ofWindows Explorer.

    File

    Edit

    Views

    Tools

    16 The _______________ control appears as a text box along with a drop-downcalendar and displays the current date in aparticular format.

    DateTimePicker

    MonthCalendar

    DropDownList

    Timer

    17 The _______________ control appears as drop-down grid of rows and columnsdisplaying the dates of aparticular month .

    DateTimePicker

    MonthCalendar

    Timer

    DropDownList

    18 Timer is a _________ that generates an event at regular intervals.

    event

    eventhandler

    control

    component

    19 ___________________ was the f irst data access model created for accessing localdatabases in the Microsoft Jet Database Engine format.

    ActiveX Data Objects

    Data Access Objects

    Remote Data Objects

    Remote Procedure Calls

    20 The ___________ class consists of a set of SQL commands and a databaseConnection object.

    DataAdapter

    OleDbCommand

    DataSet

    Windows Form Programing with CSharp Page 9

  • 8/4/2019 W-Test Winform by BachDEV

    10/16

    SqlCommand

    chp Hnh ( ngun BK_APTECH)

    Windows Form Programing with CSharp Page 10

  • 8/4/2019 W-Test Winform by BachDEV

    11/16Windows Form Programing with CSharp Page 11

  • 8/4/2019 W-Test Winform by BachDEV

    12/16Windows Form Programing with CSharp Page 12

  • 8/4/2019 W-Test Winform by BachDEV

    13/16Windows Form Programing with CSharp Page 13

  • 8/4/2019 W-Test Winform by BachDEV

    14/16Windows Form Programing with CSharp Page 14

  • 8/4/2019 W-Test Winform by BachDEV

    15/16Windows Form Programing with CSharp Page 15

  • 8/4/2019 W-Test Winform by BachDEV

    16/16