Saturday, 10 January 2015

MCQ'S:

1.which of the foll can b overloaded??
1.sizeof
2.conditional
3.dot
4.address
Address
2.public static void main(String as[])
{
statements;
System.out.println("finally");
}
opt:
1. Runtime exception
2. compiletime error
3.dispalys o/p acc to prog(here "finally")
compile time error
3. which is not set operator??
Union
Intersect
Minus
Join
Join
4. in V model of testing component desgin coresponds to
1)unit
2)alpa
3)integration
4)user acceptance
Unit
5. whic one s approp for controlling while spac btw table cells ?
a.<table border=1 cell spacing="10">
b.< table border=1 cell padding=10">
c.<td border=1 cell spacing>
d.<td border=1 cell padding>
A
6. class q21{
psvm(strng arg[]
{
const int a=30;
sop("a);
}
a.compil error
b.runtime err
c.30
d.none f these
Compile time error
7. <script type="text/js">
func add(a,b)
{
return(a+b);
}
doc.write(add(1,2)+"br/>'
doc.writ(add"1",2);
</script>
a.error
b.3
c.3 3
d.3 12
3 12
8. Not a part of validation
Unit testing
System
Acceptance
Static
Static
9. A review process is defined as a ________
Of an object?
1. Smooth evaluation
2.typical eval
3. Non critical
4.critical
Smooth
10. unix command will display the user id primary group and all the secondary groups
a)who
B)who am i
c)whoami
d)id
Whoami
11. The term system programming refers to both
Programming operating system
Programming code that makes system call
Programming the micro code of Computer processor
2
12. another important advantage is that 0/p from the __________phase can be tested or reviewed by testing team to validate the testability
1.testing
2.development
3.design
4.maintenance
Development
13. which jdbc object cannot call the close() method?
a) driver manager
b)statement
c) resultset
d)connection
Resultset
14. Column for long datatype in table
1,32,255,undefined
1
15. which return method return the largest integer that is less or equal to argument?
1.abs()
2.floor()
3.ceil()
4.all()
Floor()
16. which of the following is not a member in code walkthrough
1.author
2.walkthrough leader
3.recorder
4.reader
Reader
17. n a test plan ,feature to be tested are part of ?
1 Objective
2 type of testing
3 approach
4 scope
Scope
18. which is true in set operators in sql?
a) datatype of each type of the sec query must match the datatype of its corresponding column in the frst query
b) the column names in the sec query must match with the frst query
a
19. A portion of an input or output domain for which the behavious of a component or system is assumes to be the same based on the specification ??
Error guessing
Error seeding
Evaluation
Equivalent partitioning
A
20. verification is also called _________ testing
1. system
2. unit
3, static
4. dynamic
Static


21.document  used for verification is
Review log
22. oracle sql>> truncate is discussed under?1.dml,ddl,dcl,tcl?
Ddl
23. mv command will change
Inode number
Only directory entry
Directory entry and the inode
None
Inode
24. which statement is true about set statement..? in java
intersect does not ignore full
reversing the order of intersect does not alter the tabl
Both
25. n "bash", "if" construct end with
1 Fi
2 endif
3 end
4 none
1
26. more preparation time required for
1 inspection
2audit
3walk through
4technical review
Audit
27. Data dictionary will be accessed from
Database
Backup files
External fines
All above
A

28. Method used to provide data about a program that is not part of the program itself
Dellotation
Annotation
Cellortation
Programation
2
29. which is true?
a.class lock would be req for synchronization
b.obj level lock req ""
c.no synch methd
d.no lock would b req
A
30. WICH IS NOT A SET OPERATOR
1 union
2 join
3 minus
4 intersect
Join
31. the default value of unmask commands in file permissions is
1 242
2 700
3 666
6 o22
666
32. reference types include
a.integers
b.classes
c.decimal
d.boolean
Classes



33. Preprocessor is used for
Taking advantage of macros
Invoking compiler specific features
Which statement is correct
1
2
1 n 2
Either 1 r 2
1 n 2
34. The permission -rwxr--r-- represents on octal expression is ??
777
666
744
711
744
35. Command used to make a new directory in Unix
Make
Cat
Touch
Mkdir
Mkdir
36. the tag that is used for creating a hyperlink is
a.<a>
b. <hyperlink>
c. <link>
d. <h>
A
37. who controls the inspection meeting
1 author
2 reader
3 moderator
4 inspector
3
38. Chmod 711 my file
39. 0 0 34 34
40. Unit testing is done
Before analysis , during coding , after coding , during analysis
After coding
41. purpose of the folling syntx?
public final CLASS getclass()
1.returns the run time value of the object
2. .returns the run time argument of the object
3.class
4.none
1
42. Preprocessor is used for
1. Taking advantage of macros
2. Invoking comiler specific features
Which is correct???
1
2
Both
Either one of these..
Both
43. o/p of the following code?
<script type="text/java script">
alert(isNAN("hello));
</script>
1.true
2.false
3.displace NANon screen
4.error
True
44. In Unix process refers to
Compiled source code
Uncompiled source code
Executing instance of a program
An executable file
C

45.10
46. following one option u can use to set all form inputs to default or blank value?
1.<i/p type=summit value=summit>
2.<type=reset value=reset>
3.button
4.hidden
2
47. in java script wat does is NaN function indicate?
1.using tp determine if the passed value is string or not
2.bollean or not
3.object or not
4.number or not
4
48. Truncate is discussed under
DML
DDL
DCL
TCL
Ddl
49. which symbol is used to specify a group of characters in SQL server database?
1.#
2.%
3.@
4.^
2
50. database design with key elements is done ___ phase of sdlc
a)coding
b) analysis
c) high level design
d) low level design
D


51. which datatyp is a 64 bit signed 2's comp integer
1 int
2 long
3 float
4 byte
Long
52. which of the following command is used to change the name of the table with code in SQL server database?
1.sp:rename
2.db_rename
3.tab_rename
4.all the above
1
53. the right default value of boolean type is
1.0.0
2.1.0
3.true
4.false
5.-1.0
False
54. Which of the following could be a state of a thread
Runnable
Waiting
Dead
Sleeping
Waiting
Runnable
55. wich of the foll. is the correct signature of hashcode() method
1 public int hashcode()
2 pub. string hashcode()
3 pub. object hashcode
4 pub. void hashcode
1
56. which of the following unix command is valid?
ls-l-a/etc. /dev
ls-sla?etc/dev/
ls-l-a/etc./dev
ls-la/etc/dev
4
57. write method s associated wit wich java script object
1 window
2 frame
3 form
4 document
4
58. which method names follow java beans standard?
1.addsize
2.getCust
3.deleteRep
4.putDimensions
2
59. arrays n java script are treated as
1 variables
2 objects
3 constants
4 macros
Objects
60. which of the foll not a polymorphis
A)fn overload
b)ope over
c)abstrac
d)virtual
e)none
Virtual
61. error detection schemes check errors in the data package by reading which field frame IDs??

MTU
PDU
FCS
MAC

No comments:

Post a Comment