soalan fill in the blanks

Upload: mazlin-azura

Post on 17-Feb-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/23/2019 Soalan Fill in the Blanks

    1/3

    1. The Solution Explorer window allows you to browse solution files.

    2. A form's Textproperty specifies the text displayed in the Form's title bar.

    3. The toolboxcontains the controls that you can add to a Form.

    4. Property TextAlignspecifies how text is alined within a !abel's boundaries.

    ". #f there are errors in an app$ they appear in a window %nown as theImmediate Window

    &. All ariables must be declaredbefore they can used in a (isual )asic proram.

    *. Aprogram controlrefer+s, to the tas% of orderin an app's statement correctly.

    -. The number that refers to a particular element of an array is calledsubscript.

    . An array's lengthis one more than the array's last index.

    1/. The expression ....................creates an inteer array of two rows and fie columns.

    12. The smallest data item a computer can process is called a bits.

    13. A +n,OpenFileDialog control allows the user to select a file to open.

    14. 0iits$ letters and special symbols are referred to as characters.

    1". ethods from class StreamReadercan be used to read data from a file.1&. A +n,procedureis a unit of code enclosed either between the ub and nd ub statements.

    1*. The WriteAllTextmethod writes text to a file.

    1- Structured exception handling is a mechanism for handlin both hardware and software

    exceptions.

    1. Almost any problem can be described in terms of declarations$ input$processingand output.

    2/. The deeloperis the person that deelops the specifications$ desins the proram$ creates the

    alorithm$ write the code and tests the proram.

    21. Toolboxcontains the controls used to build the user interface and located on the left side of

    the screen.

    22. Priate$ ub and nd are examples of !e"words or words in (isual )asic that hae a specialfunction and cannot be used as ariables or control names.

    23 #ompilingis the process of conertin a deeloper forms and code into a standalone proram.

    24 $inar" storage is storae containers come in different sies and are desined for storin

    different types of items.

    2"Data t"peis a set of specific methods for storin data in a ariable.

    2&. 5un6time errors can be aoided usin the correct data t"pes

    2* Debugging is the process of locatin and fixin or bypassin bus +errors, in computer

    proram code or the enineerin of a hardware deice.

    2-. Short Integer or shortis a data type that stores inteers from 632*&- to 32*&*.

    2. A%ieldis a roup of characters or bytes that coneys meanin. For example$ it consistin of

    decimal diits that represent a person's ae.

    3/. The logical A&Doperator is used to ensure that two conditions are both true.

  • 7/23/2019 Soalan Fill in the Blanks

    2/3

    1. Translator prorams called assemblerconert assembly6lanuae code to machine lanuae

    code 7uic%ly.

    2. Translator prorams called compilerconert hih6leel lanuae code into machine lanuaecode.

    3. The lanuae$ %nown as the 'ni%ied (odeling )anguage *'(), is now the most widely used

    raphical scheme for modelin ob8ect6oriented systems.4. The Window menu contains commands for hidin$ openin$ closin and displayin #0

    windows.

    ". The techni7ue of +isual ,rogramming allows you to create 9:#s without writin any code.-. A )utton'sTextproperty sets the text on the face of the )utton.

    .Assignment operatorand the e7uality operator both use the ; symbol.

    1/.,seudocodeis an informal lanuae that helps you deelop alorithms. #t's similar to

    eeryday nlish but not an actual computer prorammin lanuae.11. The if-Then statement either performs an action if a condition is true$ or s%ips the action if

    the condition is false.

    12. A :! actiit" diagrammodels the wor%flow +also called the actiity, of a software system.

    13. A condition containinthe logical exclusie OR *-or)

    operator is true if and only if one of itsoperands results in a true alue and the other results in a false alue.

    14. A unar"operator re7uires exactly one operand.1". The .0o...!oop

  • 7/23/2019 Soalan Fill in the Blanks

    3/3

    1. ?omputers process data under the control of se7uences of instructions called computer

    programs.

    2. Adatabaseis a collection of data that's oranied for easy access and manipulation.3. The 'nicodecharacter set contains characters for many of the world's lanuaes.

    *. A +n, ariableis a name that represents a numerical 7uantity$ a strin$ or some other basic data

    item.-. The toolbox that can combines the capabilities of a text box and a list box is called combobox.

    . A +n, eent procedure is an independent roup of commands that is executed wheneer an

    eent occurs durin proram execution.1/. A +n, dialog boxis used to exchane information between the proram and the user.

    11. 0iidin by ero or attemptin to ta%e the s7uare root of a neatie number are the examples

    of run time errors.

    12. The (isual basic debuggercontains features that can assist prorammers in location thesource of the errors.

    13 'serinduced errorsare the result of mista%es made by the user when proram is executin$

    for example$ enterin number that are out of rane.

    14. A +n, error handleris a series of (isual )asic statements that is intended to reconie anerror when it occurs and then proide appropriate correctie action.

    1". The watch aluesare the current alues of certain ariables or expressions that are displayedat brea%point.

    1&Form (odulescontain declarations$ eent procedures and arious support information their

    respectie forms and control.1*. A +n,procedureis a self6contained roup of (isual )asic commands that can be accessed

    froma remote location within a (isual )asic proram.1-. Scoperefers to the portion of a proram within which a procedure definition is reconied.1. (isual )asic supports three types of procedures@ Sub procedure +1,$%unction procedure+2/,

    and,ropert" procedures+21,.

    22. The indiidual elements within an array are calledsubscript ariables23. A +n, d"namic arra"is an array whose sie can be chaned at arious place within a proram24. Function)ower$ound +24, in array returns the subscripts lower limit of the array arument

    while 'pper$ound*/01 returns the subscripts upper limit of the array arument.2&. (isual )asic reconies three different types of data files@ Se2uential %iles+2&,$Randomaccess %iles+2*, and$inar" %iles+2-,.

    2. FunctionEOF *1chec%s for end6of6file condition within a specified file.

    3/. Function)OFreturns the lenth +in bytes, of the specified file.