Birlasoft Placement Paper - 5


1. Largest integer can be written from 8 bits is
a. 256
b. 255
c. 8
d. 10
2. Change a hexadecimal no to octal
3. How many address lines needed to pass 1mb of data.
4. What is the function of the modulus operator in most language?
a) sets a system environmental value to either base 10, base 8 or base 16
b) returns the remainder after dividing one number by another
c) returns the first argument raised to the second argument power
d) prints out the actual code written to standard output rather than executing the code
5. Class professor{}
class teacher: public virtual professor{};
class researcher: public virtual professor {}
class myprofessor :public teacher,public researcher {};
referring to the sample code above, if an object of class "myprofessor" were created, how many instances of professor will it contain?
a) 0
b) 1
c) 2
d) 3
6. Modern rdbms's perform the following the following function except ______________.
a) force column values in one table to match any of the values in a column of another table
b) automatically replicate data on another server
c) automatically create new indexes based on query history
d) prevent unauthorized users from accessing data at the first level
7. Which are not the characteristics of a view?
a) consumes disk space for data
b) multiple tables
c) multiple rows
d) updateable

8. Rdbms triggers are typically bound to a _____________and one or more _____________
a) table, sql statement types
b) sql statement type, user
c) column, rows
d) user, table
9. What relationship is resolved by an "intersecting" or "associative" entity?
a) recursive
b) mandatory one to one
c) many to many
d) one to one
10. Make a copy of file "upper" in the directory two levels up.
a) jump -2 upper
b) cp upper. /. (Answer)
c) cp upper -2/
d) none of the above
11.
I = 0;
j = 0;
for(j=1;j<10;j++)
i=i+1;
in the (generic) code segment above what will be the value of the variable i at completion?
a) 0
b) 1
c) 3
d) 9
e) 10
12. Which of the following statements is true when a derivation inherits both a virtual and non-virtual instance of a base class?
a) each derived class object has base objects only from the non-virtual instance
b) each base class object has derived objects only from the non-virtual instance
c) each derived class object has base objects only from the virtual instance
d) each derived class object has a base object from the virtual instance and a base object from non-virtual instance.
13. Class word
{
public: word(const char*,int = 0);
};
referring to the sample code above what is the minimum number of arguments required to call the constructor ?
a) 0
b) 1
c) 2
d) 3
Aptitude section
1. A Question like a is engg. B is doctor c is artist etc then few condition related to them you have give Answer to 4 or 5 qs on these conditions.
2. Same as above with different data and conditions. I suggest you must go for these Questions coz in 3 or 4 mins you can Answer 7 or 8 qs
3. About 4 to 5 Questions on arranging 4 sentences to form a paragraph.
4. 3 qs on finding error in english sentences (two or three sentences given any one is incorrect which is underlined) you have to choose correct sentence from 4 options.
5. If father is three times as old as son. 5 years ago he was 4 times age of his son what is son age.
6. Same as above but now daughter and mother joined in and age in Question is that of daughter.
7.a figure is given find no of triangles in this figure
8. Same as above but figure is different and find no of squares and triangles.
9. Sum of a series of n numbers is n+8. Find second (or second last) no.