11. The statement
print f (“ % d”, 10 ? 0 ? 5 : 1 : 12);
will print
(A) 10
(B) 0
(C) 12
(D) 1
Answer: D
12. What will be
the output of the following c-code?
void main ( )
{
char *P = "ayqm" ;
char c;
c = ++*p ;
printf ("%c", c);
}
(A) a
(B) c
(C) b
(D) q
Answer: C
13. Member of a
class specified as …………… are accessible only to method of the class.
(A) private
(B) public
(C) protected
(D) derive
Answer: A
14. Match the
following:
Set-I
(a) Garbage collection in
(b) Nameless object
(c) Template support
(d) A forward reference
(e) Derived class inherits from base class
Set-II
1. Java
2. generic programming
3. defines a class
4. member function
5. within a statement
Codes :
(a) (b) (c) (d) (e)
(A) 1 5 4 2 3
(B) 1 5 2 3 4
(C) 5 1 2 3 4
(D) 5 4 3 1 2
Answer: B
15. The data type
created by the data abstraction process is called
(A) class
(B) structure
(C) abstract data type
(D) user defined data type
Answer: C
16. An entity
instance is a single occurrence of an …………..
(A) entity type
(B) relationship type
(C) entity and relationship type
(D) None of these
Answer: A
17. Generalization
is ………… process.
(A) top-down
(B) bottom up
(C) both (A) & (B)
(D) None of these
Answer: B
18. Match the
following:
Set-I
I. 2 NF
II. 3 NF
III. 4 NF
IV. 5 NF
Set-II
(a) transitive dependencies eliminated
(b) multivalued attribute removed
(c) contain no partial functional dependencies
(d) contains no join dependency
Codes :
I II III IV
(A) (a) (c) (b) (d)
(B) (d) (a) (b) (c)
(C) (c) (d) (a) (b)
(D) (d) (b) (a) (c)
Answer: B
19. Which data
management language component enabled the DBA to define the schema components?
(A) DML
(B) Sub-schema DLL
(C) Schema DLL
(D) All of these
Answer: C
20. The PROJECT
Command will create new table that has
(A) more fields than the original table
(B) more rows than original table
(C) both (A) & (B)
(D) none of these
Answer: D
1 Comments
q.29
ReplyDeleteans B