FOXPRO MCQ QUESTION

download FOXPRO MCQ QUESTION

of 6

Transcript of FOXPRO MCQ QUESTION

  • 7/25/2019 FOXPRO MCQ QUESTION

    1/6

    FOXPRO

    FOXPRO

    I. FILL IN THE BLANKS:

    1. To add more record at the end of any dataa!e f"#e $!e the command %%%%%.A&&end

    '. In Fo(Pro the f"e#d name m$!t e)"n *"th a %%%%%%%.. +haracter

    ,. The %%%%%..command "! $!ed to e("t from Fo(Pro to -OS. $"t

    /. The #"!t command #"!t %%%%..record! on !creen. A##

    0. 2O- 3145061778 ret$rn! %%%%%%%.. 50

    5. The %%%%%%%..command "! $!ed to c#o!e the dataa!e f"#e "n $!e. +#o!edataa!e

    9. o$ can mo;e the command *"ndo* to any *here on the !creen &re!! the . The %%%%%%%.command can e $!ed to !earch for data "n a dataa!e f"#e.Locate

    4. To mod"fy the !tr$ct$re of a dataa!e f"#e %%%%%%..command "! $!ed. 2od"fy!tr$ct$re

    17. To def"ne the &a)e #en)th for a re&ort 6!e#ect &a)e #ayo$t from %%%.men$ Re&ort

    11. The command to mod"fy a re&ort f"#e "! %%%%%. 2od"fy Re&ort

    1'. The %%%%%.f$nct"on con;ert! a n$mer"c data to a character !tr"n). STR38

    1,. The %%%%%.command c#ear! a## data from the !creen. c#ear

    1/. The command d"!ay! data "n the ne(t ro* *herea! d"!ay "t "n the%%%%..ro*.

    +$rrent or !ame

    10. Ro$nd 31',/.56 ?'8 ret$rn! %%%%%%%%%%. 1'77

    15. The %%..command ro$te! the o$t&$t of @ +ommand to &r"nter.

    Set &r"nter on

    19. Re)ard#e!! of the !ett"n) of SET PRINTER 6%%%%%.!end! data to the &r"nter.

    1>. SE+ON-38 and %%%%%%%are "dent"ca# command!.

    SS3'8

    14. The %%%%%..f$nct"on ret$rn! the name of month from a date e(&re!!"on.

    +2ONTH38

    '7. +TO- "! the re;er!e of the %%%%..f$nct"on.

    -TO+

    '1. The %%..f$nct"on ret$rn! the name of year from a date e(&re!!"on. ear38

    ''. The defa$#t date !ty#e "! %%%%%%% mm@dd@yy',. LEN3SALES2AN8 ret$rn! %%%%%%%%%% >

  • 7/25/2019 FOXPRO MCQ QUESTION

    2/6

    FOXPRO

    '/. If ALE conta"n! 1760776STR 3ALE6 ,8 ret$rn!%%%% A!ter"!

    '0. %%%%%%command to a!!")n +REATE to F4 SET FN+TION F4 TOC+REATE:D

    '5. Name of the f"#e that ho#d! the defa$#t macro !et "! %%%%%%%. -EFALT.f. %%%%%%command create memory ;ar"a#e.

    '4. %%%%%%..command d"!ay ye!terday! date. -ATE38?1

    ,7. 2IN3,61'6118 ret$rn! %%%%%%%%% ,

    ,1. +e"#"n) 31>4.>48 ret$rn! %%%%%.. 147

    ,'. The defa$#t f"#e e(ten!"on name $!ed *"th &ro)ram f"#e "! %%%%%. .PRG

    ,,. A comment #"ne "n a &ro)ram e"n)! *"th %%%%%.or %%%%% or NOTE

    ,/. The %%%%remo;e! #an< !&ace! at the end of a character e(&re!!"on. TRI238

    ,0. An EGA mon"tor can d"!ay %%%or %%%%%%.. '06/,

    ,5. The %%%%%%%%ret$rn! .T. "f the !&ec"f"ed f"#e "! "n $!e. SE-38

    ,9. FN+TIONDD SE- JITH %%.GET con;ert! the entered character! to %%%%%$&&er?ca!e

    ,>. To d"!a#e a ar $!e the %%%%%%character a! the f"r!t character of the &rom&t.

    ,4. To $!e a &art"c$#ar #etter of a &ad or ar a! the hot . The %%%%%%..F$nct"on ro$nd! off a n$mer"c e(&re!!"on. Ro$nd38

    /4. %%%%%%%.remo;e! a## record! from the c$rrent dataa!e f"#e. AP

    07. The %%%%%%f$nct"on chec

  • 7/25/2019 FOXPRO MCQ QUESTION

    3/6

    FOXPRO

    01. %%%%%%%command a##o* yo$ to e(ec$te any -OS command *"tho$t $"tt"n)Fo(Pro. RN

    0'. -ATE 38 ret$rn! %%%%%%%%.. Sy!tem date

    0,. A&&end record "! "n %%%%%%%..men$ Bro*!e

    0/. To de#ete a record "n BROJSE *"ndo* &re!! %%%%%..Key. +tr#=T00. %%%%%.command remo;"n) record! &ermanent#y . PA+K

    05. To re!"e the command *"ndo* &re!!%%%%%%

    09. The defa$#t *"dth of memo f"e#d "! %%%%%% 17

    0>. -EL command "! !ame a! %%%%%%%%.. -ELETE

    04. %%%%%%..+ommand "! $!ed to #"n< m$#t"e dataa!e!. SET RELATION

    57. %%%%%Tran!fer! record from one dataa!e f"#e to another. APPEN- FRO2

    II. TRE OR FALSE

    1. BROJSE can &roh""t de#et"on of record!. Tr$e

    '. Fo(Pro men$ !y!tem ha! no o&t"on to de#et"on of record!. Fa#!e

    ,. BROJSE ha! fac"#"ty to t$rn off the ;ert"ca# )r"d #"ne!. Tr$e

    /. The f"e#d *"dth! "n the ro*!e *"ndo* can e chan)ed. Tr$e

    0. The ro*!e *"ndo* can e d";"ded "n t*o hor"onta# *"ndo*!. Fa#!e

    5. The ed"t *"ndo*! can ere&o!"t"oned any*here on the !creen. Tr$e

    9. RE+ALL $nde#ete! record! de#eted from the dataa!e *"th PA+K. Fa#!e

    >. -ISPLA NEXT , TO PRINTER FOR PIND11777,DFIEL-S NA2E6 PIN "! "n;a#"d.Fa#!e

    4. A dataa!e f"#e can e !orted on a com"nat"on of f"e#d!. The com"nat"on can "nc#$de ama("m$m of three f"e#d!. Fa#!e

    17. One can $!e Fo(Pro f$nct"on *"th SORT and IN-EX. Fa#!e

    11. PROPER 3CNEJ -ELHI "! a n"ce c"tyD8 d"!ay! CNe* -e#h" I! A N"ce +"tyD. Tr$e

    1'. Norma##y6 the !"e of the !ort f"#e "! the !ame a! the or")"na# dataa!e f"#e. Ho*e;er6 "tcan e #e!! "n !ome ca!e!. Tr$e

    1,. One can "nde( a dataa!e f"#e "n the de!cend"n) order "n a## ca!e!. Fa#!e

    1/. If a dataa!e f"#e conta"n! / f"e#d!6 "t! !tr$ct$ra# com&o$nd "nde( f"#e can ha;e $& to /

    ta)!. Fa#!e10. Str$ct$ra# com&o$nd "nde( f"e#d! do not face the &ro#em of corr$&ted "nde(. Tr$e

    15. Jhen yo$ o&en a dataa!e f"#e that ha! a !tr$ct$ra# com&o$nd "nde( f"#e6 the f"r!t "nde(ta)! ecome! the contro##"n) "nde( ta). Fa#!e

    19. +om&act."d( f"#e! cannot e $!ed *"th Fo(Pro ;er!"on 1.7. Tr$e

    1>. The "nde&endent com&o$nd "nde( f"#e of a dataa!e "! o&ened a$tomat"ca##y y Fo(Pro*hene;er re$"red. Fa#!e

    14. One can create an "nde( ta) *h"#e def"n"n) the !tr$ct$re6 $t not *h"#e mod"fy"n) the!tr$ct$re of a dataa!e f"#e. Fa#!e

    '7. The re&ort *"ndo* "! d";"ded "nto three &art!. Tr$e'1. To &re;"e* a re&ort *h"#e de!")n"n) "t6 Pre!! QP. Fa#!e

  • 7/25/2019 FOXPRO MCQ QUESTION

    4/6

    FOXPRO

    ''. REPORT FRO2 SA2PLE S+REEN d"!ay! the re&ort on the !creen. Fa#!e

    ',. The RE+OR- 38 f$nct"on ret$rn! the c$rrent record n$mer. Fa#!e

    '/. A re&ort can "nc#$de $& to a ma("m$m of 9 &a)e header #"ne!. Fa#!e

    '0. The PAGE 38 f$nct"on ret$rn! the c$rrent &a)e n$mer. Fa#!e

    '5. Fo(Pro for -OS cannot !ho* o#d #etter! *h"#e &re;"e*"n) a re&ort. Tr$e

    '9. One can enc#o!e the re&ort t"t#e *"th"n a o(6 $t not a f"e#d "n the deta"# #"ne. Fa#!e

    '>. A f"e#d from the dataa!e cannot e "nc#$ded "n &a)eheader. Fa#!e

    '4. A re&ort can e )ro$&ed $& to ma("m$m of ' #e;e#!. Fa#!e

    ,7. The TOTAL command con!o#"date! the re&ort tota#!. Fa#!e

    ,1. A re&ort cannot $!e more than / deta"# #"ne!. Fa#!e

    ,'. REPORT FRO2 SALES -OBLE d"!ay! the re&ort "n do$#e !&ac"n). Fa#!e

    ,,. A one?d"men!"ona# array cannot e re!"ed. Fa#!e

    ,/. A t*o?d"men!"ona# array cannot e re!"ed. Fa#!e

    ,0. On#y one array ;ar"a#e can e created *"th one -E+LARE command. Fa#!e

    ,5. A one?d"men!"ona# array cannot e con;erted to t*o?d"men!"ona# one. Fa#!e

    ,9. On#y one ty&e of data can e !tored "n one array. Fa#!e

    ,>. -ata !tored "n an e#ement of an array cannot e mod"f"ed. Fa#!e

    ,4. E#ement of a t*o d"men!"ona# array "! referred to y a ro*6 co#$mn !$!cr"&t. Fa#!e

    /7. +ond"t"on and !co&e can e $!ed *"th S+ATTER. Fa#!e

    /1. The 2"n 38 f$nct"on can $!e a ma("m$m of three e(&re!!"on!. Fa#!e

    /'. On#y n$mer"c and character e(&re!!"on can e $!ed *"th 2IN38 Fa#!e

    /,. The S2 command !$m! $& the !&ec"f"ed n$mer"c ;ar"a#e!. Fa#!e

    //. If one enter! +ONT after o&en"n) a dataa!e f"#e6 Fo(Pro d"!ay! the n$mer ofrecord! "n the dataa!e f"#e. Tr$e

    /0. FLOOR31>4.>48 ret$rn! 147. Fa#!e

    /5. +EILING 31>4.>48 ret$rn! 147. Tr$e

    /9. 2O- 31'7761778 ret$rn! 1'. Fa#!e

    />. RON- 3X6 8 "! "n;a#"d "f oth X and are ne)at";e. Fa#!e

    /4. +AL+LATE 2IN 38 "! !"m"#ar to the 2IN 38 f$nct"on. Fa#!e

    07. The $!e of OTHERJISE *"th -O +ASE?EN-+ASE "! o&t"ona#. Tr$e

    01. The $!e of ELSE *"th IF?EN-IF "! o&t"ona#. Tr$e

    0'. ALLTRI2 38 "! not !$&&orted "n Fo(Pro. Fa#!e

    0,. -O JHILE .T. and -O JHILE .NOT. EOF 38 are !"m"#ar. Fa#!e

    0/. A !co&e cannot e $!ed *"th S+AN?EN-S+AN. Fa#!e

    00. The ma("m$m n$mer of +ASE !tatement! "n a -O +ASE?EN-+ASE !tr$ct$re "! ,'.Fa#!e

    05. Jhen a &ro)ram ca##! another &ro)ram f"#e6 the ca##ed &ro)ram m$!t ha;e the RETRNcommand at the end. Fa#!e

  • 7/25/2019 FOXPRO MCQ QUESTION

    5/6

    FOXPRO

    09. A macro ;ar"a#e e)"n! *"th Fa#!e

    0>. The ne!t"n) of &ro)ram f"#e! can e done to a de&th of 15 #e;e#!. Fa#!e

    04. The JAIT command d"!ay! CJa"tD on the !creen. Fa#!e

    57. The . Jhat are the ad;anta)e! of re#at"ona# dataa!e

    14. Jr"te! a &ro)ram to chec< *hether the n$mer "! &a#"ndrome or not

    '7. E(a"n the d"fference et*een the fo##o*"n)

    a8 APPEN- and APPEN- BLANK

    8 -OJ38 and +-OJ38

    '1. E(a"n any f";e BROJSE o&t"on!.

    ''. Jr"te a &ro)ram "n Fo(Pro to &r"nt N f"onacc" n$mer!.

    ',. E(a"n the d"fference et*een A++EPT and INPT.

    '/. E(a"n IF?EN-IF and -O +ASE EN- +ASE.

    '0. Jr"te! a &ro)ram to chec< *hether the data !tart! *"th a#&haet or d")"t

  • 7/25/2019 FOXPRO MCQ QUESTION

    6/6

    FOXPRO

    '5. Jr"te the ad;anta)e! and dra*ac

    '9. Ho* to create Inde( f"#e on m$#t"e f"e#d!.

    '>. Jr"te! a &ro)ram to d"!ay the m$#t""cat"on ta#e of 9.

    '4. Ho* to create com&o$nd "nde( f"#e *"th the "nde( d"a#o)o(.

    ,7. E(a"n ho* to create "t and ho* enter"n) data "n memo f"e#d.

    ,1. Ho* to d"!ay and &r"nt #ae#! "n Fo(Pro.

    ,'. Jr"te! a &ro)ram to chec< *hether the n$mer "! Arm!tron) or not

    ,,. Ho* to create Array 2emory ar"a#e!.

    ,/. E(a"n S+ATTER and GATHER command.

    ,0. E(a"n +OP TO ARRA and APPEN- FRO2 ARRA.

    ,5. E(a"n 2acro

    ,9. Ho* *e record and Ed"t"n) 2acro!.

    ,>. E(a"n -B2S

    ,4. E(a"n *hat "! a &ro)ram f"#e Ho* *e are creat"n) a &ro)ram f"#e

    /7. E(a"n RTRI2 386 LTRI2 38 and ALLTRI2 38 *"th !$"ta#e e(ame

    /1. E(a"n ad;anced feat$re! of %%%%%SA command.

    /'. Ho* to create a chec< o( "n Fo(Pro.

    /,. Ho* to create a &$!h $tton "n Fo(Pro.

    //. E(a"n d"fferent f"#e man"&$#at"on f$nct"on! "n Fo(Pro

    /0. E(a"n the d"fference et*een LO+ATE and SEEK

    /5. Jr"te! a &ro)ram to chec< *hether the n$mer "! Pr"me or not

    /9. E(a"n d"fferent ty&e! of f"e#d! "n Fo(Pro.

    />. Jr"te a &ro)ram to !ort UN name! "n a#&haet"ca# order.

    /4. Jr"te! a &ro)ram to chec< *hether the n$mer "! odd or e;en.

    07. E(a"n ho* to !et a f$nct"on "n a