You are on page 1of 110

Question Topic question opt_a opt_b opt_c opt_d

Number
566 C No commas or blanks are allowed within an True False
integer or a real constant.
567 C 'void' is a datatype. True False
568 C 'emp name' is a valid variable name. True False
569 C 'unsigned' is a valid variable name. True False
570 C Operation between an integer and float True False
always yields a float result.
571 C /* The C language. True False
/* is a procedural language .*/*/
The above statement is valid.

572 C The default initial value of automatic True False


storage class is 0.
573 C = and = = have the same operation. True False
574 C Character data types cannot be declared as True False
unsigned.
575 C && and & operators have the same True False
meaning.
576 C Right shifting an operand 1bit is equivalent True False
to multiplying it by 2.

577 C The same variable names of automatic type True False


can be used in different functions without
any conflict.
578 C printf("%d", sizeof('2')); will print 2. True False
579 C The expression "b = 3 ^ 2;" will evaluate b = True False
9.
580 C The expression "int i = j = k = 0;" is invalid. True False
581 C printf() is not a library function. True False
582 C The expression (i + j)++ is illegal. True False
583 C The expression 'int j = 6 + 3 % -9;' True False
evaluates to -1.
584 C p++ executes faster than p + 1. True False
585 C static variable will not always have assigned True False
value.
586 C Variables declared as register storage type True False
gets stored in CPU registers.
587 C Single operations involving entire arrays are True False
permitted in C.
588 C The main() function can be called from any True False
other function.
589 C The main() function can call itself True False
recursively.
590 C The statement "for (i = 0, j = 2; j <= 10; j++)" True False
is a valid statement in 'C'.
591 C When a user defined function is defined in True False
program, then it has to be called at least
once from the main().
592 C Left shift operator rotates the bits on the left True False
and places them to the right.
593 C A recursive function calls itself again and True False
again.
594 C Only one break can be used in one loop. True False
595 C Every if statement can be converted into an True False
equivalent switch statement.
596 C Nested macros are allowed. True False
597 C Expression 4**3 evaluates to 64. True False
598 C All macro substitutions in a program are True False
done before compilation of the program.
599 C '# define PI = 8;' is the correct declaration of True False
macros.
600 C An array declared as A[100][100] can hold True False
a maximum of 100 elements.
601 C The array 'char name[10] can consist of a True False
maximum of 9 characters.
602 C It is necessary to initialize the array at the True False
time of declaration.
603 C the value *(&i) is same as printing the value True False
of address of i.
604 C A pointer is an indication of the variable to True False
be accessed next.
605 C The contents of a file opened in 'r+' mode True False
cannot be changed.
606 C Union is used to hold different data at True False
different time.
607 C All elements of a structure are allocated True False
contiguous memory locations.
608 C enum helps to create user defined True False
datatype.
609 C The value of an enumerated datatype can True False
be read using scanf() function.
610 C Structures within structures cannot be True False
created.
611 C gets() and puts() are unformatted I/O True False
functions.
612 C The identifier argv[] is a pointer to an array True False
of strings.
613 C fprintf()function can be used to write into True False
console.
614 C fopen() function returns a pointer to the True False
open file.
615 C Which of the following language is A B BCPL
predecessor to C Programming Language? C++
616 C C programming language was developed Dennis Ken Bill Gates Peter
by Ritchie Thompso Norton
n

617 C C is a ___ language High Level Low Level Middle Machine


and and Level and Level and
Procedura OOPS Procedura OOPS
l l

618 C Which escape character can be used to \a \b \m \n


beep from speaker in C?

619 C Which of the following is invalid? '' "" 'a' 'abc'

620 C A declaration float a, b; occupies ___ of 1 byte 4 bytes 8 bytes 16 bytes


memory

621 C The printf() function retunes which value Positive Zero Negative None of
when an error occurs? value value these

622 C Identify the wrong statement putchar(6 putchar('x' putchar("x putchar('\n


5) ) ") ')

623 C Which header file is essential for using string.h strings.h text.h strcmp.h
strcmp() function?

624 C Which among the following is a do-while if-else goto for


unconditional control structure
625 C continue statement is used to go to come out exit and restarts
the next of a loop return to iterations
iteration in the main from
a loop function beginning
of loop

626 C Which of the following is an example of a=5 a += 5 a=b=c a=b


compounded assignment statement?

627 C In the expression - 'x + y + 3z =20' 'x + y' is a 3 and 20 3z is a y is a


keyword are constant variable
constants and z is a
constant

628 C The output of the following code is: 10 0 12 None of


void main() the above
{
int z, a = 5, b = 3;
z = a * 2 + 26 % 3;
printf("%d", z);
}

629 C Which options shows the correct hierarchy **, * or /, + **, *, /, +, - / or *, - or


of arithmetic operators or - **, /, *, +,- +

630 C The output of the following code is: 3.999999 Error 3 3.000000
void main()
{
float a;
int x = 10, y = 3;
a = x / y;
printf("%f", a);
}
631 C The output of the following code is: B b bca bc
void main()
{
char a = 'B';
switch (a)
{
case 'A' : printf("a");
case 'B' : printf("b");
default : printf("c");
}

632 C The output of the following code is: 2121 2021 2120 2020
void main()
{
int a = 20;
printf("%d\t%d\n", ++a, a);
}

633 C How many times the following loop will 3 4 5 infinite


execute?
for (a = 0; a < 4; a++)
printf("hello\n");

634 C The output of the following code is: b=100 b=100a=0 b=0a=100 Error
void main() a=100
{
int a;
int &b = a;
a=100;

printf("b=%d\ta=%d\n", b,a);
}
635 C a = 100 a = 50 compilatio runtime
The output of the following code is: n error error
void main()
{
int a = 0;
while (a<=50)
for(;;)
if(++a % 50==0)
break;
printf("a = %d", a);
}

636 C The output of the following code is: 2 1 Runtime


int f(int a, int b); Compilatio error
void main() n error
{
int a = 12, b=154;
printf("%d", f(a, b));
}

int f(int a, int b)


{
if (a<b) return(f(b, a));
if(b==0) return(a);
return (f(b, a % b));
}

637 C The output of the following code is: 2 1 100 0


void main()
{
int a = 1, b=2;
int *ip;
ip=&a;
b=*ip;
printf("%d", b);
}
638 C The output of the following code is: 23 03 00 20
void main()
{
static int a = 1, b, c;
if (a>=2)
b=2;
c=3;
printf("%d\t%d", b,c);
}

639 C The output of the following code is: 77, 121 225, 121 77, 144
#define sqr(x= x*x) Compilatio
main() n error
{
int a = 10, b = 5;
printf("%d, %d", sqr(a+b),sqr(++a));
}

640 C struct stud 24 2 26 None


{
int roll;
char name[20];
float marks;
} *p;

What will be the byte size of p?

641 C The output of the following code is: Infinite 9 0 None


main() loop
{
unsigned int a = 10;
while (a>=10)
{
int a;
a-- ;
}
printf("%i", a);
}
642 C The output of the following code is: Infinite Hello World
main() loop World Hello Compilatio
{ n error
xyz:
goto abc;
printf("Hello");
abc:
printf("World");
goto xyz;
}

643 C The output of the following code is: 0 Nothing Infinite None of
main() will be loop the above
{ displayed
int a = 0;
for (; i = 0; i++)
printf("%d", a);
}

644 C The output of the following code is: Hello World Hello
void change (char *k) Compilatio World
{ n error
k="Hello";
return;
}
main()
{
char *ch = "World";;
change(ch);
printf("%s", ch);
}

645 C Which of the following is not an infinite int i =1; for( ; ; ); int int y, x =
loop while (1) true=0, 0;
{i++;} false; do
while {y = x;}
(true) while
{false = (x==0);
1;}
646 C do-while loop is useful when we want the Only At least More Any one
statements within the loop must be once once than Once of the
executed above

647 C Which of the following is not a preprocessor #if #elseif #undef #pragma
directive

648 C The output of the following code is: 0 5 Error None of


main() the above
{
int a = 5, b = 6;
(a == b? printf("%d", a));
}

649 C The output of the following code is: 200 500 30


main() Unpredict
{ able
int k, num = 30;
k = (num > 5 ? (num <= 10 ? 100 : 200) :
500);
printf("\n%d", num);
}

650 C The output of the following code is: HELLO Error None of
main() WORLD the above
{
void msg()
{
printf("HELLO WORLD");
}
}
651 C The output of the following code is: 0 to 48 48 49 Compilatio
main() will be n Error
{ displayed
int sub[50];
for(i=0; i<=48;i++)
{
sub[i]=i;
printf("\n%d", sub[i]);
}
}

652 C The output of the following code is: 10 Logical Runtime 1 to 10


main() error error will be
{ displayed
int a[10], i;
for (i = 1; I <= 0; i++)
{
scanf("%d", a[i]);
printf("%d", a[i]);
}
}

653 C Which of the following expressions is float a char ch char ch 3 +a = b;


wrong =123.56; ='T' * 'A'; ='T' *20;

654 C strcat() function ----------------------- two delete concatena compare none of


strings. te the above
655 C A function to be called must be ended with . ? ; none of
a---------------- the above

656 C The function fopen() on failure 0 NULL 1 none of


returns---------------------. the above
657 C The-------------------- statement helps break continue exit All of the
immediate exit from any part of the loop above
658 C The -------------------------- loop executes at for while do-while while &
least once. do-while
659 C char *s[10] defines an array of pointers to string to both
------------------------ strings pointer
660 C A multidimensional array A[10][9] can 91 88 90 89
store-------- number of elements
661 C The size of signed integer is ------ bytes. 4 2 8 10
662 C There are total ------ numbers of operators 35 45 55 40
in 'C'.
663 C ------ is the ternary operator ?,- ?,: ++,-- none of
the above
664 C unsigned char has a range from 0 to 253 254 255 256
------------
665 C If 'str' is a string of 7 characters, the 4 7 6 0
statement printf("%4s", str); will display ------
characters.

666 C++ Which of the following are good reasons to You can Program An OO It's easier
use an object oriented language? define statement program to
your data s are can be conceptua
types simpler taught to lize an OO
than in correct its program.
procedural own
languages errors.
.

667 C++ When a language has the capacity to Reprehen Encapsula Overload Extensible
produce new data type, it is said to be sible ted

668 C++ A normal C++ operator that acts in a Glorified Encapsula Classified Overloade
special way on newly defined data types is ted d
said to be

669 C++ main() returns a value of type real char int null

670 C++ Sharing of common information are Virtual Inheritanc Encapsula None of
achieved by the concept of copying e tion these

671 C++ In a for loop with a multi-statement loop The for The Each The test
body, semicolons should appear following statement closing statement expressio
itself brace in a within the n
multi- loop body.
statement
loop body

672 C++ A variable defined within a block is visible From the From the From the Througho
point of point of point of ut the
definition definition definition function
onwards onwards onwards
in the in the in the
program function block
673 C++ The library function exit() causes an exit The loop The block The The
from in which it in which it function in program
occurs occurs which it in which it
occurs occurs

674 C++ The getch() library function Returns a Returns a Display a Does not
character character character display a
when any when on the character
key is ENTER is screen on the
pressed pressed when a screen
key is
pressed
675 C++ _______ argument(s) are passed in case of Two One No None of
binary overloaded operators. the above

676 C++ _______ argument(s) are passed in case of Two One No None of
unary overloaded operators. the above

677 C++ The && and || operators Compare Combine Compare Combine
two two two two
numeric numeric Boolean Boolean
values values values values

678 C++ The break statement causes an exit Only from Only from From all Only from
the the loops and the
innermost innermost switch innermost
loop switch loops or
switch

679 C++ When accessing a structure member, the Structure Structure Structure The
identifier to the left of the dot operator is the member tag variable keyword
name of struct.

680 C++ cc ___________ option is used only to -a -o -c none of


create object file these
681 C++ :: is known as scope global Both (a) & None of
resolution operator (b) these
operator

682 C++ Which of the following can legitimately be A constant A variable A A header
passed to a function? structure file

683 C++ _____________ operator must have one + new all None of
class object these

684 C++ Overloaded functions Are a All have Make life May fail
group of the same simpler for unexpecte
functions number programm dly due to
with the and types er stress
same of
name arguments

685 C++ In C++, the stream base class is iostream iofstream ios stdio

686 C++ The template function declaration specifies template a generic exception identifier
class class

687 C++ In C++, the exception handler is invoked try block throw catch abort()
with a- exception function

688 C++ The exception is processed using unexpecte perform() catch() try()
d()

689 C++ In the In the In the In the


A member function can always access the object of class of object of public part
data which it is which it is the class of its
a member a member of which it class
is a
member
690 C++ Classes are useful because they Are Permit Bring Can
removed data to be together closely
from hidden all aspects model
memory from other of an objects in
when not classes entity in the real
in use one place world

691 C++ sixth seventh eighth impossible


Element double Array[7] is which element to tell
of the array?

692 C++ You can read input that consists of multiple The The The The
lines of text using normal cin.get() cin.get() cin.get()
cout<< function function function
combinati with one with two with three
on argument argument argument

693 C++ Operator overloading is Making Making Giving Making


C++ C++ new new C++
operators operators meaning operators
work with more then to existing
objects they can c++
handle operators

694 C++ Private data members can be accessed Only from Both from From the None of
the base the base class the above
class itself class and which is a is correct
form its friend of
derived the base
classes class
695 C++ Protected data members can be accessed Only from Both form From the None of
the base the base class the above
class itself class and which is are
from its friend of correct
derived the base
classes class

696 C++ Public data members can be accessed Only from Both form From the None of
the base the base class the above
class itself class and which is are
from its friend of correct
derived the base
classes class
697 C++ When you overload an arithmetic Goes in Goes in Goes in Must be
assignment operator, the result the object the object the object returned
to the right to the left of which
of the of the the
operator operator operator is
a member

698 C++ new operator is used To To To None of


dynamicall statically allocate the above
y allocate allocate storage are
storage storage for a new correct
variable
699 C++ Delete operator is used To To To delete None of
allocate deallocate variable the above
storage storage name are
correct

700 C++ Class members are _______________ by Private protected public None of
default the above
are
correct

701 C++ Friend function have access to the private public private None of
and members members the above
protected only only are
members correct

702 C++ Inline functions_____________ call Increase Reduce None of


overload. the above
are
correct

703 C++ The characteristic that data can be Encapsula Data Inheritanc Instantiati
manipulated only through member tion dependen e on
functions that are part of the class is called cy

704 C++ In a class, only the member function can Data Data Data Data
access data, which is not accessible to security hiding manipulati definition
outside. This feature is called: on

705 C++ The scope resolution operator is - :: ; << ->


706 C++ The signature of a function is The return The The class None of
type number of a the above
and type function
of
arguments

707 C++ Pick out the most appropriate statement All Variables Variables Variables
variables in C++ in C++ can not be
must be need not can be used
declared be declared explicitly
before declared at the end in C++
they are and the of the
used type can program
be (before
assigned the main
dynamicall function
y terminates
)
708 C++ What is the value of Friday in the following - 1 5 0 -3
enum days { Monday, Tuesday,
Wednesday = -1, Thursday, Friday,
Saturday = 6, Sunday}

709 C++ 10 20 55 there is an


What is the output of the following program error in
segment - for(i = 1, j = 0; i < 10; i++) j += i; the
cout <<i<<"\n"; program

710 C++ The string table in C++ holds the string program variables none of
constants statement whose the above
in your s in string type is of
program form string

711 C++ The declaration int **var1; shows that var1 can var1 is a var1 is a this type
not be pointer to protected declaratio
accessed a pointer data type n shows
of type int of integer an error

712 C++ Automatic Automatic To declare It is not a


In C++, the keyword auto can be used for assignme call of a a local keyword
nt of data function variable in C++
to object
during
instantiati
on
713 C++ Call-by- Call-by- Call-by- None of
By default, C++ uses the following method Reference Value Pointer the above
of passing arguments

714 C++ Pick out the most appropriate statement references array of you can all of the
from the following are references not above
pointers can be reference
created a
reference
variable

715 C++ The ?: can be used to replace if-else wild cards no returns
statement meaning the value
in C++

716 C++ Dynamic memory can be allocated by the new volatile static ==
following declaration

717 C++ -> dot :: >>


The member of a structure can be directly operator
accessed by

718 C++ The member of a structure can be -> dot :: >>


accessed through a pointer by operator

719 C++ The members of a class can be made declaring by default by they are
private by them they are declaring always
private private them in public
the
beginning
of the
program
immediate
ly after
main()
720 C++ A function that is called automatically when instantiati function constructo structure
an object is created is known as on prototype r
721 C++ A function that is called automatically when instantiati function constructo destructor
an object is destroyed is known as on prototype r

722 C++ It is possible to allow non member function public friend private not
access to private members of a class by possible
declaring it as

723 C++ When one object initializes another object copy new instantiati none of
the following function is invoked constructo on the above
r

724 C++ A base class is inherited by derived inline constructo none of


class function r the above

725 C++ By using protected, one can create class that can that can that can none of
members that are private to their class but not be still be be public the above
inherited inherited
and and
accessed accessed
by a by a
derived derived
class class
726 C++ A pure virtual function is a virtual function no a a definition
that has definition definition definition in base
in its base in its base in at least class and
class class one at least
derived one
class derived
class
727 C++ A class that contains at least one pure pure class abstract base class derived
virtual function is called as class class
728 C++ The binding that binds a function call at run early run time late linking
time is called binding binding binding

729 C++ One of the major disadvantage with late the source the dynamic static
binding is code program variables variables
should be runs can not be can not be
made slower used in used
available the
at compile program
time

730 C++ One of the important features of an abstract it need not it should it need not none of
class is have any be used have any the above
object only as a members
derived
class

731 C++ Organizing data with methods that operate True False
on the data and creating a new data type is
called encapsulation.
732 C++ Class is similar to a variable. True False
733 C++ By default, members cannot be inherited. True False
734 C++ Protected members cannot be inherited. True False
735 C++ Inline function specifier reduces the True False
overheads associated with a normal
function call.
736 C++ The new operator always returns a void True False
pointer.
737 C++ 'this' pointer has to be used while accessing True False
data members in a member function.

738 C++ In C++, identifiers have to be declared at True False


the beginning of the blocks.
739 C++ In C++, an identifier must be initialized True False
using constant expression.
740 C++ Data objects can be initialized when True False
allocating memory using 'new'.
741 C++ Scope resolution operator has the highest True False
precedence.
742 C++ Reference to an object behaves like a True False
constant pointer.

743 C++ We can make function inline by using the True False
keyword 'inline'.
744 C++ Private members of a structure can be True False
accessed directly from the outside of the
structure.
745 C++ The following syntax is valid. void inline True False
gram_ panchayat :: show_gram_
panchayat_info().
746 C++ "[]" Operator is a unary operator. True False
747 C++ The members of a class by default are True False
private.
748 C++ An object is an allocated space in memory. True False

749 C++ Constructor returns void type value. True False


750 C++ A copy constructor is used to copy an True False
object member wise to another object of the
same class.
751 C++ Member function cannot be called from True False
within a constructor.
752 C++ We cannot have the address of a True False
constructor.
753 C++ A constructor cannot be explicitly called. True False

754 C++ A destructor can have arguments like True False


constructor.
755 C++ A destructor can have a return type. True False
756 C++ Objects get destroyed in the reverse order True False
as they are created.
757 C++ 'this' is an implicit pointer. True False
758 C++ The value of 'this' pointer can be changed. True False

759 C++ In case of nested class, enclosing class can True False
directly access the private data member of
nested class.

760 C++ ios containes a pointer to streambuf. True False

761 C++ iostream is inheried from istream, ostream True False


and ios class.
762 C++ Static member functions have file scope. True False
763 C++ Static data member occurs in only class True False
scope.
764 C++ Static data member can be declared as True False
const too.
765 C++ If a friend function is declared inside a class True False
it can access all data members of the class.

1356 Java (I) Which of the following will produce a value Ceil(x) Round(x) Rint(x) Abs(x)
of 22 if x=22.9:

1357 Java (I) If m and n are int type variables, what will 4 2 -2 -4
be the result of the expression
'm % n' when m = -14 and n = -3?
1358 Java (I) Consider the following statements: 25 15 5 Error can't
int x = 10, y = 15; be
x = ((x < y) ? (y + x) : (y - x); executed.
What will be the value of x after executing
these statements?

1359 Java (I) Which of the following will produce a value floor(x) abs(x) rint(x) round(x)
of 10 if x = 9.7?

1360 Java (I) Which of the following control expressions an integer a Boolean either A or Neither A
are valid for an if statement? expressio expressio B or B
n n

1361 Java (I) Consider the following class definition. Will not Will not Will Will not
Class Student extends String compile compile compile compile
{ because because successful because
} class body class is ly. String is
What happens when we try to compile this is not not abstract
class? defined declared
public

1362 Java (I) What is wrong in the following class Nothing is Wrong Wrong Wrong
definitions? wrong Method Methods Display
abstract class print show() show() is does not
{ should not contain
abstract show(); have a implement any
} return ed in members.
class Display extends print type Display
{
}
1363 Java (I) What is error in the following class class constructo method is no error
definitions? header is r is no not
abstract class xy not define defined defined
{ properly properly
abstract sum(int x, int y) {}
}

1364 Java (I) Consider the following class definitions: an 'is a' a 'has a' both neither
class maths relationshi relationshi
{ p p
student student1;
}
class student
{
String name;
}
This code represents:

1365 Java (I) Which key word can protect a class in private protected final
package from accessibility by the classes don't use
outside the package? any
keyword
at
all(make it
default)

1366 Java (I) We would like to make a member of a class private protected public private
visible in all subclasses regardless of what protected
package they are in. Which one of the
following keywords would achieve this?

1367 Java (I) The use of protected keyword to a member Visibility Visibility Visibility in Visibility
in a class will restrict its visibility as follows: only in the only inside all classes only in the
class and the same in the class
its package. same where it is
subclasse package declared.
s in the and
same subclasse
package. s in other
packages.
1368 Java (I) Which of the following are not keywords? NULL Implement Protected None of
s the above

1369 Java (I) Which of the following are keywords? integer default Boolean Object

1370 Java (I) Which of the following keywords are used default protected interface None of
to control access to a class member? the above

1371 Java (I) The keywords reserved but not used in the Synchroni Boolean union goto
initial version of Java re: zed

1372 Java (I) A package is a collection of classes interface editing classes


tools and
interfaces

1373 Java (I) Which of the following statements are An A final Transient all of the
true? abstract class may variables above
class may not have must be
not have any static.
any final abstracts
methods? methods.

1374 Java (I) The concept of multiple inheritance is extending extending all the
implemented in Java by two or one class above
more and
classes implement
ing one or
more
interfaces
1375 Java (I) Which of the following statements are valid int float double[] counter
array declarations? number(); average[]; marks; int[];
1376 Java (I) Consider the following code After number[5] number[0]
int number[]=new int[5]; execution is is
of this undefined undefined
statement,
which of
the
following
are true?
1377 Java (I) Which of the following classes are available Random Stack String Vector
in the java.lang package? Buffer

1378 Java (I) Which of the following are the wrapper Random Vector Byte all of the
classes? above

1379 Java (I) Which of the following methods belong to length() compareT substring() all of the
the String class? o() them

1380 Java (I) Given the code s.toUpper s.append( s.setChar all of the
String s = new String("abc"); Case() "xyz") At(1,'A') above
Which of the following calls are valid?

1381 Java (I) The methods wait() and noify() are defined java.lang. java.lang. java.lang. java.lang.
in Thread Runnable Object ThreadGr
oup

1382 Java (I) When we invoke repaint () for a draw() update() show() paint()
Component, the AWT invokes the method:

1383 Java (I) What does the following line of code do? Creates Creates Creates The code
TextField text=new TextField(10); text object text object the object is illegal.
that can that can text and
hold 10 hold 10 initializes
rows of columns it with the
text. of text. value 10.
1384 Java (I) Which of the following applet tags is legal to <applet> <applet <applet <applet
embed an applet class named Test into a code=test. code=test. param=te code=test
web page? class class st.class width=200
width=200 width=200 width=200 height=10
height=10 height=10 height=10 0>
0> 0> 0> </applet>
</applet> </applet> </applet>
1385 Java (I) Which of the following methods can be fillRect() drawLine() drawStrin all of the
used to draw the outline of a square? g() above

1386 Java (I) Which of the following methods can be componen dimension setSize() size()
used to change the size of a t ()

size() *
resize()

1387 Java (I) Which of the following methods can be remove() desappear hide() move()
used to remove a component from the ()
display?

1388 Java (I) The setBackground() method is part of the Applet Compone Container Object
class nt

1389 Java (I) When we implement the Runnable start() init() runnable() run()
interface, we must define the method

1390 Java (I) Which of the following string can be used "rw" "wr" "0" ''w''
as mode string for creating a
RandomAccessFile object?

1391 Java (I) DataInput is An A class An An


abstract we can interface interface
class use to that that
defined is read defines defines
java.io. primitive methods methods
data to open to read
types. files. primitive
data
types.
1392 Java (I) Which of the following statements are true? UTF Reader Unicode all of the
characters class has characters above
are all 24 methods are all 16
bits. that can bits.
read
integers
and floats.

1393 Java (I) Which are the valid ways to create new new new new
DataInputStream streams? DataInput DataInput DataInput DataInput
Stream(ne Stream(ne Stream("in Stream("in
w w .dat"); .data","r");
File("in.da FileInputS
t")); tream("in.
dat"));
1394 Java (I) Which exception is thrown by the read() IOExcepti FileNotFo ReadExce None of
method of InputStream class? on undExcept ption the above
ion

1395 Java (I) In the code below, what data types the byte b1 = byte b2 = x = b1 * int short
variable x can have? 5; 10; b2;

1396 Java (I) If you want to assign a value of 99 to the number=g <number= <param <param =
variable year, then which of the following etParamet =99> name=nu radius
lines can be used within an <applet> tags? er(99) mber value
value=99> ==99>

1397 Java (I) What is java -g used for? Using the Executing To Non of the
jdb tool a class provided above
with informatio
optimizati n about
on turned deprecate
off d methods

1398 Java (I) With javadoc, which of the following //# /* /** //**
denotes a javadoc comment?

1399 Java (I) Give file is a file object, which of the file.create( FileOutput FileInputS all of the
following are legal statements to create a ); Stream tream above
new file. fos=new fis=new
FileOutput FileInputS
Stream(fil tream(file)
e); ;
1400 Java (I) Which javadoc tag is used to denote a @method @paramet @argume @param
comment for methods parameters? er nt

1401 Java (I) Which of the following command lines -protected -public -private -encoding
options generates documentation for all
classes and methods?

1402 Java (I) Which of the following represent legal flow break; break(); continue(i all of the
control statements? nner); above

1403 Java (I) Consider the following code snippet: Error. Division Catch Division
try Won't by zero block by zero
{ compile catch
int x=0; block
int y=50/x;
System.out.println("Division by zero");
}
catch(ArithmeticException e)
{
System.out.println("catch block");
}

What will be the output?

1404 Java (I) Which of the following represent legal flow break(); continue(i return; exit();
control statements? nner);

1405 Java (I) The name of a Java program file must True False
match the name of the class with the
extension Java.

1406 Java (I) Two methods cannot have the same name True False
in Java.

1407 Java (I) The modulus operator (%) can be used True False
only with Integer operands.
1408 Java (I) Declarations can appear anywhere in the True False
body of a Java method.

1409 Java (I) All the bitwise operators have the same True False
level of precedence in Java.

1410 Java (I) When X is a positive number the operations True False
x>> 2 and x>>>2 both produce the same
result.

1411 Java (I) If a=10 and b= 15, then the statement x True False
=(a>b)?a:b; assigns the value 15 to x.

1412 Java (I) True False


In evaluating a logical expression of type
'Boolean expression 1&& Boolean
expression 2', both the Boolean
expressions are not always evaluated.

1413 Java (I) In evaluating the expression (x == y&& a<b) True False
the Boolean expression x ==y is evaluated
first and then a<b is evaluated.

1414 Java (I) The default case is always required in the True False
switch selection structure.

1415 Java (I) True False


The break statement is required in the
default case of a switch selection structure.

1416 Java (I) The expression (x == y && a<b) is true If True False
either x == y is true or a<b is true.
1417 Java (I) A variable declared inside the for loop True False
control can not be referenced out side the
loop.

1418 Java (I) Java always provides a default constructor True False
to a class.

1419 Java (I) When present, package must be the first no True False
comment statement in the file.

1420 Java (I) The import statement is always the first no True False
comment statement in a Java program files.

1421 Java (I) Objects are passed to a method by use of True False
call-by-reference.

1422 Java (I) It is perfectly legal to refer to any instance True False
variable inside of a static method.

1423 Java (I) When we implement an interface method, it True False


should be declared as public.

1424 Java (I) We can over load methods with differences True False
only in their return type.

1425 Java (I) It is an error to have a method with the True False
same signature in both the super class and
its subclass.
1426 Java (I) A constructor must always invoke its supper True False
class constructor in its first statement.

1427 Java (I) Any class may be inherited by another True False
class in the same package.

1428 Java (I) Any method in a supper class can be over True False
ridden in its subclass.

1429 Java (I) One the features of is that an array can True False
store many different types of values.

1430 Java (I) An individual array element that is passed True False
to a method and modified in that method
will contain the modified value when the
called method completes execution.

1431 Java (I) Members of a class specified as private are True False
accessible only to the methods of the class.

1432 Java (I) A method declared as static can not access True False
non-static class members.

1433 Java (I) A static class method can be invoked by True False
simply using the name of the method alone.

1434 Java (I) It is an error if a class with one or more True False
abstract methods is not explicitly declared
abstract.
1435 Java (I) It is perfectly legal to assign a subclass True False
object to a supper class reference.

1436 Java (I) Every method of a final in class is implicitly True False
final.

1437 Java (I) All methods in an abstract class must be True False
declared abstract.

1438 Java (I) When the string objects are compared with True False
==, the result is true If the strings contain
the same values.

1439 Java (I) A string object can not be modified after it is True False
created.

1440 Java (I) The length of a string object 's1' can be True False
obtained using the expression s1.length.

1441 Java (I) A catch can have comma-separated True False


multiple arguments.

1442 Java (I) It is an error to catch the same type of True False
exception in two different catch blocks
associated with a particular try block.

1443 Java (I) Throwing an exception always causes True False


program termination.

1444 Java (I) Every call to wait has a corresponding call True False
to notify that will eventually end the wafting.
1445 Java (I) Declaring a method synchronized True False
guarantees that the deadlock cannot occur.

1446 Java (I) The programmer must explicitly create the True False
system .in and system .out objects.

1447 Java (I) To delete a file, we can use an instance of True False
class file.

1448 Java (I) A panel can not be added to another panel. True False

1449 Java (I) Frames and applets cannot be used True False
together in the same program.

1450 Java (I) A final class may not have any abstract True False
method.

1451 Java (I) A class may be both abstract and final. True False

1452 Java (I) A thread can make second thread ineligible True False
for execution by calling the suspend (-)
method on second thread.

1453 Java (I) True False


A Java monitor must either extend thread
class or implement Runnable interface.

1454 Java (I) The check box group class is a subclass of True False
the component class.
1455 Java (I) If a=10 and b= 15, then the statement x True False
=(a>b)?a:b; assigns the value 15 to x.

1456 Java (I) Java is fully object oriented programme. true false
1457 Java (II) For all insert, update, delete, query True. False.
operations on a database, ResultSet object
creation is mandatory.

1458 Java (II) forName() is a static factory method True False

1459 Java (II) DriverManager.getConnection("jdbc:odbc:d True. False.


sn_name") method does not depend on the
class.forName(...) method.

1460 Java (II) Connection, Statement are interfaces and True. False.
ResultSet is a class.

1461 Java (II) JdbcOdbcDriver is an object of Object True False


class

1462 Java (II) class.forName(...) creates an instance of True False


java ODBC driver

1463 Java (II) Submit button always fires doPost(...) True False

1464 Java (II) We can add more than one class(es) at the True. False.
time of compilation Java Beans.

1465 Java (II) In RMI before running the client program True. False.
we must start RMI Registry.
1466 Java (II) An EJB is a server-side component that True False
encapsulates the business logic of an
application

1467 Java (II) Message-Driven beans act as a listener for True False
the Java Message Service API, processing
messages synchronously

1468 Java (II) In RMI we invoke client method from True False
remote server

1469 Java (II) In order to connect to a database through Connectio Connectio Statement Connectio
java program we must create _______- n, n, , n,
Statement ResultSet ResultSet Statement
,
ResultSet

1470 Java (II) executeUpdate(------------) returns Nothing Returns a Returns None of


___________ ResultSet an integer the above.
object value to
show the
no. of
updated
rows
1471 Java (II) executeUpdate automatically updates data auto It Does not None of
because___________ commit is performs commit the above.
on, by a hidden
default commit
statement
as well

1472 Java (II) In a single Servlet class we can doGet(...) doPost(...) doGet(...) Either 'a'
use____________ method method method or 'b'
only only and
doPost(...)
method
both at a
time.
1473 Java (II) putValue(...) method takes Two First one First one None of
_____________________- arguments is of a is of an the above.
of object character object
type type and type and
second second
one is of one is of a
an object character
type type
1474 Java (II) Servlet has ___________ init doGet(----- All of the
method -) method above
methods.

1475 Java (II) Servlet can have ___________ get get Either of
method method or the above
and post post
method method

1476 Java (II) JSP files creates ________________ html files html files java files None of
and java and class the above.
files files

1477 Java (II) A JSP file can be With the With the With the None of
stored_________________ extension extension extension the above.
.jsp in .html in .jsp in
servlets public_ht public_ht
folder of ml folder ml folder
the jws of the jws of the jws

1478 Java (II) The name of the RMI compiler is rmicom rmic jrmi none of
___________ the above

1479 Java (II) EJBs can be of the following type(s) Entity Session Message- All of the
Bean Bean driven above
bean

None of the above

1480 Java (II) Session bean Represent Can not Is not Satisfies
s a single be shared persistent all of the
client above
inside the conditions
applicatio
n server
2080 Visual Time variable is used to store date and time True False
Basic in visual basic

2081 Visual 'Print' statement can be used to print any True False
Basic statement on the screen.
2082 Visual Isnull(), IsEmpty() determines weather any True False
Basic variable has been initialize or not

2083 Visual IsDate() function returns true if its argument True False
Basic is a valid date and time

329 Visual It is possible to declare 'Dynamic Array' in True False


Basic visual basic.

2085 Visual In visual basic 'Break' statement could be True False


Basic used along with "Select Case"

2086 Visual Constants are processed faster than True False


Basic variables :

2087 Visual It is possible in visual basic to specifying True False


Basic array limit like from 1 to 10

2088 Visual It is possible to build an application without True False


Basic using any form:

2089 Visual Function can return array as return value: True False
Basic

2090 Visual When using do loop-while statement then True False


Basic the statements within the loop body will be
executed only once if the condition does
not fulfilled

2091 Visual ABS() function will generate a hole value True False
Basic when used with a number with fraction part
(ex: 125.26598)
2092 Visual Time() function is used to recover date & True False
Basic time.

2093 Visual Now() function will return the current drive True False
Basic and directory you are working on as return
value.

2094 Visual The amount of text any one can place in True False
Basic text box is maximum 64 kb.

2095 Visual In a text box control the default caption for True False
Basic text box is text1.

2096 Visual It is possible to change the password True False


Basic character property of text box control at run
time.

2097 Visual Sorted property of list box control is a True False


Basic design time property and cannot be
changed in runtime.

2098 Visual Sorted property of list box control is a True False


Basic design time property and cannot be
changed in runtime.

2099 Visual List count property returns total number of True False
Basic items in list box control.

2100 Visual When someone uses the code like True False
Basic list1.list(1); then it will return the first item of
the list box control.

2101 Visual It is possible to insert a picture in a option True. False


Basic button control.
2102 Visual It is not possible to change the back color True False
Basic property of option button control at run time.

2103 Visual by default 'Dim myvar' this statement: True False


Basic

2104 Visual Sort is a method by which elements can be True False


Basic sorted in flexgrid control

2105 Visual CommonDialog control is the default control True False


Basic that anyone can find in the toolbar when a
new project is started

2106 Visual The title of the dialog box can be changed. True False
Basic

2107 Visual Dialog title property is used to change the True False
Basic title of any dialog box

2108 Visual Flag property is used to adjust the function True False
Basic of each common dialog box

2109 Visual If the Flag constant for the font common True False
Basic dialog box is cdlCFPrinterFonts then it
causes the dialog box to show only the
fonts supports by the printer specified by
the hdc property

2110 Visual CommonDialogs control is visible at runtime True False


Basic

2111 Visual Activate event is called before load event True False
Basic

2112 Visual Terminate is a valid event in form operation True False


Basic
2113 Visual In runtime it is not possible to change the True False
Basic form size.

2114 Visual The default startup object can not be True False
Basic changed in a project

2115 Visual It is possible to access a menu without True False


Basic using mouse, to access the menu ;pressing
the Ctrl key and the letter assigned to
access the menu

2116 Visual It is possible to change the shortcut key True False


Basic assigned to any menu for accessing within
the menu editor.

2117 Visual The project extension name of a VB project True False


Basic is .vbj

2118 Visual Delete method of the recordset of Data True False


Basic Control or Data Access Object is delete the
record which is pointed out by the record
pointer.

2119 Visual The other Single Document Interface forms True False
Basic are by default child of MDI form when MDI
form is inserted.

2120 Visual It is possible to load a MDI form without any True False
Basic childform.

2121 Visual The arrange property of MDI form is True False


Basic available at design time.
2122 Visual In case of visual basic, IDE means : Internal Integrated Integrated
Basic Database Database Developm
Engineeri Environm ent
ng. ent. Environm
ent.
2123 Visual The full form of IIS is : Indian Internet Industrial
Basic Institute of Informatio Informatio
Science. n Service n
Services.

2124 Visual In visual basic you can draw something in Picture Image Shape
Basic box control. control.
control.

2125 Visual To run an application you have to press : F3 F6 F5 F7


Basic

2126 Visual In visual basic the default unit is : centimeter Inch. Dpi. Twips .
Basic .

2127 Visual Currency variable stores fixed point 2 decimal 3 decimal 4 decimal 6 decimal
Basic numbers with : digits. digits. digits. digits.

2128 Visual The size of 'Boolean' data type is : 1 Byte. 2 Bytes. 4 Bytes. 8 Bytes.
Basic

2129 Visual In database application, any field does not Nothing Null value. Error Empty
Basic contain any values can be recognized by: value. value. value.

2130 Visual Redim statement is used to : Rename a Rename Redimensi


Basic variable. an array. on an
array.
2131 Visual Function Add(Num1 as integer, Num2 as By By value. By
Basic integer) as integer optional reference.
Add=Num1+Num2 argument.
Num1=0
Num2=0
End function

This body is an example of calling up a


function by:
2132 Visual To get the property window in visual basic F6 F3 F4 F5
Basic you have to press

2133 Visual To get the property window in visual basic F3 F6 F4 F6


Basic you have to press :

2134 Visual Visual Basic produce: 3 types of 2 types of 4 types of none of


Basic executabl executabl executabl the above.
e code. e code. e code
2135 Visual In visual basic Bool variable stores 2 bytes 1 bytes 4 bytes none of
Basic the above.

2136 Visual By default 'Dim myvar' this statement: allocates allocates allocates allocates
Basic memory memory memory memory
for integer for variant for Double for
variable variable variable Boolean
variable
2137 Visual Suppose there are two forms; form1 and Two forms Two forms Nothing None of
Basic form2 ; if there are codes like : In will be just will be will be the above.
form1.active event showed. showed displayed
Form2.show and the
control will
And in form2.active event passed
Form1.show continuou
sly to
Then what will be the output ? each
other.

2138 Visual A single function of visual basic takes: Fixed Unlimited All of the None of
Basic number of number of above the above
parameter parameter
s s
2139 Visual In a programme body : The It will It will None of
Basic Private sub form_load() summatio show the show the above
X=inputbox("First No. :") n of two numbers nothing
Y=inputbox("Second No. :") numbers given in
Z=val(X) +val(Y) given in the input
Print Z two input box side
End sub box by side

What will be the output ?

2140 Visual when using 'do until-loop' statement as it will no output 10 11 12 none of
Basic stated below generate will be 13 14 15 the above
I=10 a run time shown
Do until I>5 error
Print I
I=I+1
Loop

This statement will print

2141 Visual which control structure are working under do-while while- do-while do-until
Basic false condition loop & do wend & loop & loop & do
loop-while for loop while loop-until
wend loop
2142 Visual what will be the output of the code below : it will it will it is an 01234
Basic private sub command_click() generate generate endless 56789
dim I as integer compile runtime loop 10
I=0 time error error
Do
Print I
Loop until I>10
End sub

2143 Visual which should be included when an subroutine function main sub-main
Basic application is used without any forms s

2144 Visual It is possible to pass different number To do this paramarra argument none of
Basic parameters to a function when call the one can y keyword should be the above
function on different time. use in the with the passed as
parameter array array
list of that declaratio
function n
2145 Visual To break a loop abnormally when satisfying Break Exit Both i & ii None of
Basic a condition, we can use statement statement could be the above.
used.

2146 Visual What will be the output when the It will It will It will It will
Basic statements below will execute : generate generate generate display
the output a runtime a compiler nothing
Dim a as integer like 0 1 2 error error
a=0 34
while(a<5)
print a
a=a+1
end

2147 Visual You can get the ASCII value of any ASC() ASCII() There is
Basic character or number by using function function no
function to
get the
ascii
value.
2148 Visual Say there is a string "Ramcharan"; when "Ra" "Ch" "Amchara None of
Basic someone using Mid() function like n" the above
MID("Ramcharan",2) then what will be the
output:

2149 Visual What is the default value of MaxLength 255 10 0 Any of the
Basic property of text box control? characters characters characters above

2150 Visual Instr$(text1.text,"visual") will returns : No. of It puts the First None of
Basic times the control occurrenc the above.
string where it e of the
"visual" is finds the text
present in text "visual"
the string "visual" in within the
in the string string
text1.text. given in given in
text1.text. text1.text
2151 Visual What is the default value for multi-select 1 2 0 none
Basic property of list box control.
2152 Visual If you want a list box control with check box Check box Check Style None
Basic option, which property of list box control you property style property
will have to change. property

2153 Visual Which property of list box control reports ListIndex Selected Selcount NewIndex
Basic the number of selected items.

2154 Visual Through which property of option button Back color Font color Fore color None
Basic control one can change the font color of the
caption.

2155 Visual If there is a control array of label for 10 label(5) label(3) label(4) None
Basic elements, then what will be the fifth element
in the array?

2156 Visual The fundamental property of RichTextBox Text TextRTF RTFText All of the
Basic control is property property property above

2157 Visual One can change or read the alignment of Text Alignment SelAlignm None
Basic one or more paragraph of rich text box Alignment Set ent
control through property property property

2158 Visual RichTextBox1.BulletIndent=5 ; what will be It will set It will All of the
Basic the effect of this code if used in any the create a above
program bulleted list of
indentatio bullet of 5
n by the items
specified
value
2159 Visual To add the commondialog control to any File menu- Project Compone None of
Basic project one has to include it from >compone menu- nt menu- the above
nt- >Compon >project->
>Microsoft ent-> Microsoft
Common Microsoft Common
Dialog Common Dialog
Control Dialog Control
6.0 Control 6.0
6.0
2160 Visual CommonDialog1.ShowOpen Set the First location Both are
Basic Filename1=CommonDialog1.Filename filename1 displays and then true.
The above code will by the the open set the
selected dialog box filename1
filename and let the by the
from the user selected
common select any filename.
dialog file from
contol. any
2161 Visual Min and Max property can be used with To The None of
Basic Font common dialog box to determine controlling minimum the above
dialog box and
size maximum
size
displayed
in the size
list
2162 Visual To enable apply button in dialog box ; flag cdlCFAppl cdlcfTTOn cdcclHelp None of
Basic value should be set to y ly Button the above

2163 Visual If the user wants to select the multiple files cdlOFNM cdlOFNAll It is not None
Basic from file open and filesave dialog boxes ultiselsect owMultisel possible
then the flag must be set to Allow ect to select
more than
one file at
a time

2164 Visual To draw a form on the screen which event Draw Load Paint Either i or
Basic is being called up Event Event Event iii
2165 Visual In form load event, if the following code is output will No output, Compiler None
Basic written then guess what will be the output : be 0 1 2 3 blank form error
Dim I as integer, J as integer 4 will be
I=0 shown
J=5
While I<J
Print I
I=I+1
Wend

2166 Visual Data1.Recordset.FindFirst "State=NY" Find the Find the The above None of
Basic The above code will find the record in a first record first record command the above
given database in the in the will find a
given given record
database database very fast
in which where the
the state state is
is NY. NY

2167 Visual Suppose there is a data control named Data1.rec The The It will
Basic data1. What will be the effect if the ordset.mo record pointer will refresh
following code is inserted vefirst pointer will move to the
move to the first recordset
the first record of
record of the
the record original
set table that
contains
the data
2168 Visual MDI form1.Arrange vbTileHorizontal; this If there Tiles all Tiles the None of
Basic code in a MDI form will are more child form MDI form the above.
than one in horizontall
MDI form horizontal y
then manner
arrange
them all in
horizontal
manner
2169 Visual DocumentForm() it is A function An array None of
Basic of MDI of forms the above
forms using as
child into
MDIform
2170 Visual Visual Basic has ____________ number of 3 4 5 6
Basic editions
2171 Visual While running an application you can intermedia current
Basic change the value of any variable and see te Immediate
it's effect through ___________ window.
2172 Visual You can get a dropdown list and as well as listbox command Combo none of
Basic can add some text directly to Box. this
____________ Control.

2173 Visual In _______________ control you can get text box combo List Box
Basic only drop-down list of the content but box Control
cannot add directly anything to that control.

2174 Visual _____________ property of any control color name caption


Basic cannot change at run time.

2175 Visual The maximum length of a variable is 255 254 256 257
Basic _____________ characters.

2176 Visual In visual basic, number of loop control 4 5 6 7


Basic structure is _____________.

2177 Visual In timer control _____________ is the Interval. Front backcolor


Basic most important property.

2178 Visual There are _________________ no. of built 6 7 8 9


Basic in windows dialog boxes provided by
common dialogs control.

2179 Visual The extension name of a Visual Basic form .frm .txt .prj .vbp
Basic is _____________.

1568 Linux Linux is a ---------------Operating System Single Multi User Time None of
(Softwar User Sharing the above
e)

1569 Linux Protocols used by Linux are TCP/IP UDP & PPP & None of
(Softwar &UUCP UUCP UDP the above
e)
1570 Linux ls -o is used for Except Except Except None of
(Softwar Group Owner Size in the above
e) Byte

1571 Linux ls - t is used for Sort by Sort by Sort by Sort by


(Softwar name date time alphabetic
e) stamp order

1572 Linux mkdir - p is used for Making Making Specified None of


(Softwar directory directory the mode the above
e) under non of
parent existing directory.
directory. parent
directory.
1573 Linux Which command is used to see the content more cp cat rmdir
(Softwar of a file
e)

1574 Linux who -h is used to Print Hide Hide user All of the
(Softwar column detail. name. above.
e) headings

1575 Linux Which command is used to see the system Time Date Month None of
(Softwar date? these
e)

1576 Linux What will be the output of the command 'tail Last 10 Last 15 Last 5 First 10
(Softwar sample'? lines of lines of lines of lines of
e) the file. the file the file file.

1577 Linux Which command is used to compare files? cmp diff head All of
(Softwar these
e)
1578 Linux The --------- command sorts lines of all the desc cp sort ls -l
(Softwar named files.
e)

1579 Linux The main function of grep is look for look for look for None of
(Softwar numeric string string them.
e) match a without
regular regular
expressio expressio
n.. n.
1580 Linux What is the relation between grep & egrep egrap is a Egrap is Egrap is a None of
(Softwar mother of totally another these.
e) grep. difference version of
grep.

1581 Linux Which command is used for character td vi tr tail


(Softwar translation?
e)

1582 Linux Output of the command 'wc <filename>' is Show only Show only Show Show only
(Softwar line word. alphabet, file name.
e) line, word.

1583 Linux /dev is used for Executabl Contains Contain Device file
(Softwar e file include file compiler &
e) file. resource
file.

1584 Linux ls j?e - output will be Filenames Filenames Filenames Filenames


(Softwar with 3 with 4 with 5 with 10
e) charcter charcter charcter charcter

1585 Linux The symbol of wildcard(s) is w ` None of


(Softwar ?* the above.
e)
1586 Linux Output of 'sort > shoppinglist' is Sorting file Without Sorting All of the
(Softwar but not sorting but and save above.
e) save in save in in a file.
file. file.

1587 Linux What is the meaning of chmod 444 stuf? Gives all Gives all Gives all All of the
(Softwar user write user user read above.
e) permissio execute permissio
n. permissio n.
n.
1588 Linux The command for changing the permission ls-l head tail chmod
(Softwar relating to files is
e)

1589 Linux Read & Write permission means 1 6 2 0


(Softwar
e)

1590 Linux chmod 632 stuff means Gives Gives Gives


(Softwar read & Gives write read &
e) write& read & permissio write
execute write n for permissio
permissio permissio owner n for
n for n for write & owner
owner owner execute read &
write & write & for group execute
execute execute Write for group
for group for group permissio Write
read Write n for permissio
permissio permissio other. n for
n for n for other.
other. other.
1591 Linux To see the process status which command chmod ps ls-l head
(Softwar you will use?
e)

1592 Linux There can be only ----- job in foreground. 1 2 3 4


(Softwar
e)

201 Access Oracle follows only seven Codd's rule. True False
202 Access Access is a true RDBMS. True False

203 Access True False


In a table records are stored in rows and
fields in columns.

204 Access Text type field stores maximum 256 True False
characters.

205 Access Memo field stores 64,000 characters. True False

206 Access In Yes / No field -1 stands no and 0 stands True False


for yes.

207 Access The lostfocus event occurs when a form or True False
control looses the focus.

208 Access We can not set a background picture in a True False


report.

209 Access We can see the report preview from tools True False
menu à layout preview.

210 Access Report header / footer sections does not True False
come normally.

211 Access We can have subform within a subform. True False

212 Access We can type new values in a list box. True False
213 Access When referential integrity is enforced, you True False
can't enter a value in the foreign key field of
the related table that doesn't exist in the
primary key of the primary table.

214 Access When the cascade delete related records True False
check box is set, deleting a record in the
primary table deletes any related records in
the related table.

215 Access If you want to see the SQL code that is True False
generated by the query select Tools à SQL
view from the menu.

216 Access If you give a format property and an input True False
mask the input mask gets precedence.

217 Access A primary key is a must in a table. True False

218 Access Double data type takes 4 bytes of space. True False

219 Access There is one-to-many relationship between True False


mainform and subform.

220 Access You can not specify default value for a True False
field.

221 Access Foreign key must be primary key of another True False
table.

222 Access If required field property is turned on the True False


user must enter something in this field in
order to save the data.
223 Access In access you can copy the only structure of True False
the table without the records.

224 Access A macro can be run automatically when a True False


database opens.

225 Access A report can only be based on table. True False

226 Access In access page footer comes before report True False
footer in all pages.

227 Access Currency is not a valid data type in access. True False

228 Access In append query the table where the data True False
will be appended should have the same
structure and primary key.

229 Access It is possible to enter a Null value in the True False


foreign key.

230 Access It is not possible to set two fields of a table True False
as primary key.

231 Access In access you can store the information of a True


video files in table. False

232 Access In access, sorting the records in a table True False


changes the order in which the records are
displayed.
233 Access In access after you select all the fields True False
necessary for the query, access builds the
SQL in the background.

234 Access To run a macro automatically, the name of AUTOEX AUTOEX AUTO None of
the macro is EC EC.BAT the above

235 Access In Validation rule <>0 means entry is entry must none of
not null be a the above
nonzero
value

236 Access In input masks (999) 999-9999 means (206) 555- ( ) 555- both of none of
0248 0248 the above the above

237 Access You can copy records from one table to Update Append Maketable
another table in the current database or query query query
another database.

238 Access To delete all orders placed in 1990 we have Update Append Maketable Delete
to use query query query query

239 Access To increase salary by 5% we have to use Update Append Delete


query query query

240 Access In access relationships are one-to- one-to- both of


one many the above
241 Access Access lets you set up following kinds of Only Inner Only outer Only self None of
joins - join join join the above

242 Access Extension of an access database is .dbf .doc .ppt


.mdb

243 Access It allows you to set the message that validation validation default all of the
appears if the validation rule fails. rule text value above

244 Access Primary key field must be not null null and not null
and unique and
unique indexed

245 Access You can store picture in a field of data type picture OLE None of a & b
Object the above

246 Access An example of calculated query is label text both a & b


control control

247 Access Line control is a example of bound unbound calculated


control control control

248 Access There is one-to-many relationship between True False


mainform and subform.

249 Access Access support full RDBMS concept. True False


250 Access Using multiple row , we can not create True False
primary key.
answer

A
B
B
A

B
B

B
B

A
B
A
B

A
A

B
A

B
B

B
B
A

B
A

C
D

D
D

D
A

B
B

A
A

C
B

B
D

B
B
B

C
D

B
A

B
B

AC

B
B

A
D

C
B

AB

C
D

B
C

B
A
B
A

B
B

A
A

B
A

B
A

A
B

A
B

C
A

C
C

C
A

B
B

D
B

D
C

B
D

B
A

B
A

B
B

A
A

A
A

B
A

A
B

A
A

A
C

A
A

A
B

A
B

A
B

B
C

C
C

B
C

B
B

C
C

A
B

C
B

B
C

A
A

A
C

C
C

A
B

B
A

A
A

A
A

C
D

B
B

You might also like