Home Company Questions Birlasoft Interview Questions Birlasoft Interview Questions - 4

Login Form




Birlasoft Interview Questions - 4 Print E-mail

 

1. Modern RDBMS s perfom the following the following functionc 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 firls level

 

2. Largest integer can be written from 8 bits is

a. 256                 b. 255                   c. 8                   d. 10

 

3. Make a copy of file upper in the directory two levels up.

a) jump -2 upper                   b) cp upper ../..                     c) cp upper -2/                  d) None of the above

 

4. 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

 

5. Change a hexadecimal number to octal number

 

6. 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                 

 

6. 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

 

7. If father is three times as old as son . 5 years ago he was 4 times age of his son what is son age.

 

8. 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.

 

9. What function will read a specified number of elements from a file ?

a) fread()                      b) readfile()                      c) fileread()                      d) gets()

 

10. Which one of the following statements allocates enough space to hold an array of 10 integers that are initialized to 0 ?

  a) int *ptr = (int *) calloc(10,sizeof(int));

  b) int *ptr = (int *) alloc( 10*sizeof(int));

  c) int *ptr = (int *) malloc( 10*sizeof(int));

  d) int *ptr = (int *)calloc(10*sizeof(int));

 

11. Which group does Winrunner ,Load Runner ,SQA Suite fall under ?

a) Databases               b) Automated Test Tools                c) Operating Systems                 d) Rapid Application Development Tool

 

12. Which one of the following represents a correct and safe declaration of NULL ?

a) typedef((void *)0) NULL;           b) typedef NULL(char *)0;               c) #define NULL((void *)0)               d) #define NULL((char*)0)

 

13. Process id of kernal

(a) 1               (b) 0                   (c) 2                 (d) none

 

14. #include <iostraem>

Referring to the sample code above ,which of the following could you use to make the standars I/O Stream classes accessible without requiring the scope resolution operator ?

a) using namespace std::iostream            b) using namespace std;             c) using namespace iostream ;            d) using iostream;

 

15. With every use of memory allocation function should be used to release allocated memory which is no longer needed ?

a) dropmem()                 b) dealloc()                  c) release()                  d) free()