Computer Science and Application UGC-NET 2009 December Paper II - Q.1 - Q.12
1. If she is my friend and you are her friend, then we are friends. Given this, the friend relationship in this context is ________________.
(i) Commutative (ii) transitive (iii) implicative (iv) equivalence
(A) (i) and (ii) (B) (iii)
(C) (i),(ii),(iii) and (iv) (D) None of these
Ans: D
2. Circle has ________
(A) No vertices (B) only 1 vertex
(C) vertices (D) None of these
Ans :- A
8. The highest noise margin is offered by
(A) BICMOS (B) TTL
(C) ECL (D) CMOS
Ans:- B
9. The answer of the operation (10111)2 * (1110)2 in hex equivalence is
(A) 150 (B) 241
(C) 142 (D) 101011110
Ans: C
10. How many ‘1’ are present in the binary representation of
3 X 512 + 7 X 64 + 5 X 8 + 3
(A) 8 (B) 9
(C) 10 (D) 11
Ans: B
11. Recursive functions are executed in a
(A) First in first out order (B) Last in first out order
(C ) Parallel fashion (D) Load Balancing
Ans: B
12. What would be the output of the following program, if run from the commandline as “myprog 1 2 3”?
main(int argc,char *argv[])
{
int i;
i=argv[1]+argv[2]+argv[3];
printf(“%d”,i);
}
(A) 123 (B) 6
(C) Error (D) “123”
Ans:- C
1. If she is my friend and you are her friend, then we are friends. Given this, the friend relationship in this context is ________________.
(i) Commutative (ii) transitive (iii) implicative (iv) equivalence
(A) (i) and (ii) (B) (iii)
(C) (i),(ii),(iii) and (iv) (D) None of these
Ans: D
2. Circle has ________
(A) No vertices (B) only 1 vertex
(C) vertices (D) None of these
Ans :- A
8. The highest noise margin is offered by
(A) BICMOS (B) TTL
(C) ECL (D) CMOS
Ans:- B
9. The answer of the operation (10111)2 * (1110)2 in hex equivalence is
(A) 150 (B) 241
(C) 142 (D) 101011110
Ans: C
10. How many ‘1’ are present in the binary representation of
3 X 512 + 7 X 64 + 5 X 8 + 3
(A) 8 (B) 9
(C) 10 (D) 11
Ans: B
11. Recursive functions are executed in a
(A) First in first out order (B) Last in first out order
(C ) Parallel fashion (D) Load Balancing
Ans: B
12. What would be the output of the following program, if run from the commandline as “myprog 1 2 3”?
main(int argc,char *argv[])
{
int i;
i=argv[1]+argv[2]+argv[3];
printf(“%d”,i);
}
(A) 123 (B) 6
(C) Error (D) “123”
Ans:- C