Академический Документы
Профессиональный Документы
Культура Документы
Society’s
B.V. Bhoomaraddi College of Engineering & Technology, Hubli – 31
Departmenet of Information Science & Engg.
Aptitude Test
BVBISE Page 1
BVBISE Page 2
BVBISE Page 3
BVBISE Page 4
Technical Question:
1. In a binary tree, certain null entries are replaced by special pointers
which point to nodes higher in the tree for efficiency. These special pointers
are called
A. Leaf
B. branch
C. path
D. thread
BVBISE Page 5
B. -ABCD*^DE
C. -A/B*C^DE
D. -A/BC*^DE
6. Which of the following is not overloading the function int sum(int x,int y) { }
a) float sum(int x,int y) { } c) int sum(int x) {}
b) int sum(int x,int y,int z) {} d) int sum() {}
7. If Student is the name of class then which of the following statement invoke default
constructor of student class
a) Student ob1; c) Student *p; p=new student;
b) Student *p= new student; d) ALL
9. You can read input that consists of multiple lines of text using
(A) the normal cout << combination.
(B) the cin.get( ) function with one argument.
(C) the cin.get( ) function with two arguments.
(D) the cin.get( ) function with three arguments.
11. The number of interchanges required to sort 5, 1, 6, 2 4 in ascending order using Bubble Sort
is
12. For an undirected graph with n vertices and e edges, the sum of the degree of each vertex is
BVBISE Page 6
equal to
13. Which of the following formulas in big-O notation best represent the expression n²+35n+6?
15. Suppose that a bus has 16 data lines and requires 4 cycles of 250 nsecs each to transfer
data. The bandwidth of this bus would be 2 Megabytes/sec. If the cycle time of the bus
was reduced to 125 nsecs and the number of cycles required for transfer stayed the
same what would the bandwidth of the bus?
(A) 1 Megabyte/sec (B) 4 Megabytes/sec
(C) 8 Megabytes/sec (D) 2 Megabytes/sec
16. If a Relation R has a foreign key F, then its referenced attribute in the referenced relation should be
a. Primary Key c. Not null
BVBISE Page 7
19. At run time, the specified starting address of the program to be loaded is not available.
where the changes have to be done in the Object program?
A. In Header record
B. In Text record
C. In Text record and Modification record
D. In Modification record
20. A parser which is a variant of top-down parsing without backtracking is
A. Recursive Descend.
B. Operator Precedence.
C. LL(1) parser.
D. LALR Parser.
21. Relocatable programs
A. cannot be used with fixed partitions
B. can be loaded almost anywhere in memory
C. do not need a linker
D. can be loaded only at one specific location
BVBISE Page 8
B → bS A → aS
B → aBB A → bAA
Consider the following derivation
S ⇒ aB
⇒ aaBB
⇒ aaBb
⇒ aabSb
⇒ aabbAb
⇒ aabbab
This derivation is
a. a leftmost derivation
b. a rightmost derivation
c. both leftmost and rightmost derivation
d. neither leftmost nor rightmost derivation
a. 00111
b. 01010
c. 00110
d. 11010
25. How can someone properly open a second Web browser window with a JavaScript statement?
A. document.openWin("http://www.thedomain.com/")
B. openWindow("http://www.thedomain.com/")
C. window.open("http://www.thedomain.com/")
D. document.open("http://www.thedomain.com/")
BVBISE Page 9
26. what will be the ouput of below code ? Assume that today is 2009-5-19:2:45:32 pm
<?php
?>
a) may 19,09,2:45:32 PM
b) May 19, 2009, 2:45 pm
c) May 19,2009,14:45:32 pm
27. <?php
$qpt = 'Eat to live, but not live to eat';
echo preg_match("/^to/", $qpt);
?>
a) 0
b) 1
c) to
d) Null
28. PHP is a _____ . It means you do not have to tell PHP which data type the variable is.PHP automatically
converts the variable to the correct data type, depending on its value.
a) client side language
b) local language
c) global language
d) loosely typed language
29. Which file contains the details about the added user?
A. /etc/useradd
B. /etc/shadow
C. /etc/passwd
D. /etc/user
BVBISE Page 10