Saturday, 10 January 2015

MCQ

1.       MCQ'S                                                                                                                                                                                                                                                                                                                            Illegal symbol for table name $,#,!,-   ans !
2.       Which is not a file stream opened automatically –stdinput,stdoutput,stderr,stdterminal   ans stdterminal
3.       Which is not a filter command –sort,grep,cal,cut   ans-cal
4.       Expanded source generated by the preprocessor becomes input to-compiler,interpreter,loader,linker   ans-compiler
5.       Which is not a variety of html-html 4.01 frameset,html4.01form,html4.01strict,html4.01 transition  ans-html4.01 form
6.       Garbage collection:-garbage collection can be enforced by System.gc, garbage collection cannot enforced but we can request the jvm using System.gc,the time when garbage collection is done by jvm cannot be predicated  ans-optn b
7.       Only the matched data will be taken from more than one table is possible only in;-inner join,outer join,both,neither  ans-inner
8.       It is synatatically valid to define a function in to another function-true,false           ans-false
9.       Test coverage is measured as %d of-no of test cases,coverage items,requirement,module complexity   ans-coverage items(not sure)
10.   The combination of adhoc and structure based testing-experience,exploratory,random ,sandwich  ans-exploratory
11.   Which method name follows the javabeans standard- addsize, getcust, deleterep, putdimension  ans - getcust
12.   You cannot close() method for-drivermanagerobj,statement,resultset,connection ans-drivermanager obj
13.   Command used to display name of path in prompt –rs,ls,vs,c s  ans-ls
14.   At which stage of inspection process  each inspector examines the work product to find defect-planning,overview,preparation,inspection  ans-inspection
15.   Not a javascript window object   function-alert, prompt,confirm,all   ans-all(not sure)
16.   Sytem  specification LHS of the V life cycle ans—System testing
17.   Boundary value analysis is the method of –whitebox,blackbox,compatability,security ans-blacbox
18.   Garbage collector daemon chooses which of the objects to preform its functions-reachable obj,unreachable obj,phantom obj,all of the above  ans-unreachable
19.   Not valid format String -%ld,%lf,%lu,%lc   ans-%lc
20.   We cannot define constraints on char,lob,varchar,int   ans-lob
21.   Static method pertaining to a state of thread-suspened,resume,yieldand sleep,all ans-yield and sleep
22.   Field value can be found at the intersection of-two tables,two column,a row and column  ans-optn c
23.   Work products that undergoes revivews are-perpare test beds,system builds,system design,identify bottleneck   ans-optn d(not sure)
24.   Which dir contain  the directory and blocks special files in unix-etc,bin,dev,temp  ans-dev
25.   Used to indicate mark element depreceted and are largely used-depreceted,$depreceted,@depreceted,#depreceted  ans-@deprected
26.   Defects can be also tracked by-text file, excel sheet, used files, none of these            ans-excel sheet
27.   Mv command will change -i-node no.,only dir entry,dir entry andinode,none of these ans-dir entry
28.   Default permission bits of a file when it is created it is created for the first time is controlled by-chmod,unmask,fmask,none   ans-none(since optn is given unmask not umask.yet now  I haven’t come through unmask command)
29.   Which of following metacharacters  hold their special staus wihin double quotes-?,*,$,&  ans-$
30.   Which statement is correct –intersect doesnot ignore null values,reversing intersected tables doesnot alter result    ans- both a b
31.   Effective document used for verification-revivewlog,systemlog,checklist                  ans-reviewlog
32.   Int bar=1;{int bar=2;S.O.P(bar);} –compile error,bar=1,bar=2,run time error           ans-compile error
33.   When an object on page loses focus which event occurs-onfocus,onblur,onload,onchange    ans-onblur
34.   Lock required for synchronized static method-class level,object level,no lock
ans-class level
35.   -----values are not ignored during duplicate checking in union-null,0,string,date
  ans-null
36.   What does one need to type to launch and execute the IDE  launcher script by navigating to the IDE’s  bin dir  /netbeans,./netbeans,netbeans/,none of these 
ans-./netbeans
37.   Content of ur webpage is contained within which object-window,browser,document,frameset  ans-document
38.   Which is true about local inner class-it must be final,it can beabstract,it can be public,it can be static  ans-opt b
39.   Which of these is a valid pointer declaration-int *ptr(int*),char ptr*(),int(*ptr)(int a),char(*)(ptr)    ans-optn a
40.   Which of the following is not a system call-getc,chmod,open,lseek    ans-getc(not sure)
41.   In c language  a class introduces a-a new scope,a new data type ,a new data typebut not a new scope,a new data type and new scope  ans-optn d(not sure )(concept of class in c is achieved through  structure)
42.   String data type is a extension of –character,double,letter,long,text  ans-character
43.   Main() interprets- int,char,float,null   ans-int
44.   Runnable interface consists of which method –run(),start()   ans-run()
45.   V model of testing component design corresponds to-unit,alpha,integration, user acceptance  ans-unit(not sure)
46.   In oracle default display length of DATE data type-7,8,9,11 ans-7
47.   Variables name should be –descriptive,lowercase,uppercase ,a&c  ans-lowercase
48.   Suitable programming lang used to substitute char in script-grep,sed,awk,char,getit ans-awk
49.   In test plan feature to be tested is a part of-objective,approach,type of testing,scope ans-scope
50.   Which of the following are valid-return(10),return(10,15),return  1,2,1&2,12&3
ans-12&3
51.   There should be blance between-----test cases-normal ,abnormal,environmental,all of the above  ans-all of the above
52.   Which of not a revivew type-inprocess,milestone,postmortem,outbound
ans-outbound
53.   Which of the following is not a part of validation-unit testing,system,acceptance,static   ans-static
54.   Which of the following sdlc phases databases design with keyelements is done(no optn was available )
55.   More effective on larger defects –blacbox,whitebox,glassbox,none   
ans-blackbox(not sure)
56.   Selecting particular column returned by query is called-selection,projection,join,union  ans-projection
57.   Default value of unmask command in the file permissionis-242,700,666,022 ans-022
58.   After retesting if the defect is satisfactory then it is marked is-satisfactory,working,close,as it is ans-closed
59.   Which is not  a use of void data type-
Specify the return type of function when it is returning any value,indicate an empty argument list to function,to declare a generic pointer,to create empty varables with zero size,none of the above ans-to declare a generic pointer
60.   cd will return the exit status as-1 for success,1 for failure,0 for failure,none
ans-1 for failure
61.   which of the following doesn’t throw exception if allocation fails-buf=new(nothrow)char[LARGEBUF];,buf=new(throw)char[LARGEBUF];,buf=new nothrow char[LARGEBUF];,buf=new char[LARGEBUF];(no idea its ans)
62.   experienced based testingtechnique is type of-path coverage,error guessing,adhoc,reactive   ans-error guessing
63.   test is to –select non condition,identify developlers, identifying resourrces,all
ans-all(not sure)
64.   ----is process of evaluating system or structure or documentation-static,dynamic,simple,sross browser ans-dynamic
65.   Recursive listing of all- ls-r,ls-R,ls-a,ls-F   ans-ls-R
66.   Form of functional testing-boundary value,usabalitilty,performance,security
 ans-boundary value
67.   Incorrect comparision of variable is indicated by-integeration,system,UAT,none
ans-none(not sure)
68.   Which of the following unix command will not take the user student 5 to his personal home directory-cd,cd/~,cd~,cd~student 5     ans-cd/~
69.   Command to find all process running in along kernel-ps-kf,ps-f,ps-ef,ps-A ans-ps-A
70.   What is garbage collector-low priority, high priority ans-low priority
71.   When new classes of objects are developed by this process resulting collections of classes is called a class-collection,group,hierarchay of troublemakers family
ans-collection
72.   -----is synonym for USER_TABLES  ans-TABS
73.   In main(int args ,char argv[]) the argument args reperents- array index of argv,count of total no arguments,last index value of argv,all of above  ans-opt b
74.   If the elements of array are not specified then it will it take garbage value.true ,false ans-true
75.   If no arguments are passed to a command then args will have value-1,0,2,total size of argv[]   ans-1
76.   Which data type is a 64 bit signed two’s complement integer-int,long,float,byte
ans-long
77.   To effectively measure coverage you should use-test cases,test coverage,test tools,test data  ans-test tools
78.   How can be cloning of object is achived-random acess,garbagecollection,serialization,none of the above  ans-none of the above
79.   In jdbc which of following method can we use for DDL –executeupdate,executequery  ans-executeupdate
80.   TRUNCATE is discussed under -DML,DDL,DCL,TCL  ans-DDL
81.   Which of following is not a member in code walkthrough-author,recoder,reader,walktrough leader ans-recoder(not sure)
82.   Which operator compares an object to specified type in java-includeof,instanceof  ans-instanceOf
83.   The open mode of a file can two or more parameters by using-bitwise OR operator,bitwise AND operator ,open mode cant combine 2 or more operators ,none of these  ans-none
84.   Arrays that do not have their dimension specified explicity are called –unsized array,undimensional array,initailised array,all of the above ans-unsized array
85.   ----is a collection of objects under user?table,schema,column,transction ans-table
86.   Pipes are example of what inter-process communication paradigm-message passing,file sharing,shared memory, smoke signal   ans-message passing
87.   Test cases are ----- and------ specification plus a statement of function under test?i/p&o/p,action &reaction,effect&schedule,none   ans-opt a
88.   Big bang testing  approach is commonly used in ------organization?large,small,non-profit,non-process oriented    ans-non-process oriented
89.   2-D arrays are sorted in-row major,column major,both, random ans-row(not sure)
90.   In which of the statement continue statement allow control to go directly to  the test condition and then continue looping process-while&for,while&if-else,do-while&if-else,while &do while   ans-optn a
91.   Which converter is used to date and time conversion to show full month name-tB,tD,tT,all   ans-tB
92.   Combination of adhoc and structure based testing is –experinced,exploratory,random,sandwich   ans-exploratory
93.   Name the obj u will havt to use to obtain a reference to statement obj through create statement method-drivermanager,driver,execute,connection ans-connection
94.   Using select statement u can do only –selection,selection &projection,selection and join,selection projection join ans-(no clue)
95.   Post implementation review is also called -----.ans-post-mortem review
96.   Printf(3+”andy”)-andy,and,y,d   ans-y
97.   Default storage class of array-register,auto,static,global   ans-auto
98.   What generally prefer to write code other than do any form of testing?author,moderator,developer,inspector  ans-develpoer
99.   | indicate which type of file? Ans-FIFo
100.                        Max  and min cant be used with-varchar2,date,char,lob ans-lob
101.                        U prefer exploratory testing when-specification is missing,time is limited,specification is insufficient,all  ans-all
102.                        Who controls the inspection meeting-author,reader,moderator,inspector ans-moderator
103.                        Which of the following is lisited for topdown testing-inerface,drivers,batch program,stubs     ans-stubs
104.                        Shell variable cannot tart with –alphabet,number,underscore   ans-number
105.                        Which major flaws occur towards the bottom of program-top-down,bottom-up,big bang,critical path    ans-bottom-up
106.                        Sql does not support which data type-char,Boolean,varchar ,date
107.                        Ascii standard query lang for operating retional database ?                               ans-structural query lang
108.                        String class is---- ans-immutable
109.                        Which one is not valid-#if,#else,#endif,#elseif,    ans-#elseif
110.                        What should be unique in defect –summary,status,phase,defect id
ans-defect id
111.                        Correct signature of hashcode()?   Ans-public int hasCode()
112.                        What are components of statements-atoms,expression,conditions,none
 ans-expressions
113.                        Defect with grammatical mistake can be classified as  -ans-low severity
114.                        The code finally block will always excute   ans-true
115.                        In java object stores its statein –directory,path,field    ans-field
116.                        Which of the following are reference types-delegates,obj,string,all    ans-all
Apart from these qstns I have atleast 100 more MCQ  which I shall be typing and will be posting it soon.
GUYS I have a humble request  to all those who are reading it plz mail me niketkumar58@gmail.com the correct answer(which I havn’t stated or which may have been stated  wrong(if any)).Your answers are most welcome.Mistake and faults are deeply regretted.




No comments:

Post a Comment