GeekInterview.com

BirlaSoft Interview Questions

 
Showing Questions 1 - 20 of 29 Questions
First | Prev | | Next | Last Page
Sort by: 
 | 

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()

Asked By: Interview Candidate | Asked On: Mar 18th, 2005

Answered by: Md. Asaduzzaman(IDB IT Shcholar R-14 C#) on: Sep 25th, 2012

d) free()

Answered by: lara.harsh on: Dec 15th, 2009

d) free()

9 answers


Kernel executes the first process when system starts

Ans :- init();

Asked By: Interview Candidate | Asked On: Jul 31st, 2004

Answered by: ramkrsingh on: Aug 25th, 2012

In Linux perspective a system start up flow of control is as follows: 1. BIOS :- Performs basic power on test which initializes CPU, RAM, had disk, mouse, keyboard, video display etc. 2. Boot Loader :...

1 answer


Process id of kernel

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

Asked By: Interview Candidate | Asked On: Jul 25th, 2005

Answered by: Raghavendra c on: Jun 30th, 2012

b) 0

Answered by: mangalshrey on: Jan 26th, 2011

zero

5 answers


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

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

Asked By: Interview Candidate | Asked On: May 31st, 2005

Answered by: jklkl on: Jan 3rd, 2012

fread()

Answered by: pushpendragzb on: Nov 30th, 2010

readfile()

3 answers


Waveguide

Why does wave length increase when waves entering a waveguide?

Asked By: chorkat | Asked On: Jul 17th, 2009

Answered by: srikanth kala on: Dec 6th, 2011

Waves in open space propagate in all directions, as spherical waves. In this way they lose their power proportionally to the square of the distance; that is, at a distance R from the source, the power...

1 answer


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

Asked By: Interview Candidate | Asked On: Aug 23rd, 2005

Answered by: jeetendrakumar9015 on: Jan 13th, 2011

0 we use default constructer

Answered by: manishsddiet on: Jul 15th, 2006

answer should be be it will take 1 minimum 1 argument since we have placed a const char pointer in argument in the constructor since there is no othet constructor it will definitely require 1 argument...

8 answers


What is the difference b/w pointer to array& array to pointer?

Asked By: santhosh kumar | Asked On: Dec 15th, 2006

Answered by: navneetgoyal2000 on: Jan 5th, 2011

Ptr2Arr (say of Ints):int *p[10];p is a Pointer to (First) Array of 10 integers.May be there are more Such Arrays, and when p++ is done, it starts pointing to next Array.in that case (p+2)[3] is actua...

Answered by: Arun kumar on: Mar 9th, 2007

pointer to the array is the base address or the location of the first element of the array while the  array to the pointers is the storage for the saving of the pointers in the array.

2 answers


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

Asked By: Interview Candidate | Asked On: Jul 31st, 2004

Answered by: sandhyaselvarajan on: Dec 22nd, 2010

a) Recursive

Answered by: Ragini Rani on: May 13th, 2005

c many to many

2 answers


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, tables

Asked By: Interview Candidate | Asked On: Jun 10th, 2005

Answered by: ramcokumar on: Jul 28th, 2010

Tables and SQl Statement

Answered by: bhavyam on: Jan 20th, 2009

a) Table, SQL statement types

6 answers


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)

Asked By: Interview Candidate | Asked On: Aug 9th, 2005

Answered by: gaurav150190 on: Jul 17th, 2010

Correct answer is:- (c)
In 'C', NULL is defined like this:
#define NULL (void*)0

In C++, NULL is defined like this:
#define NULL 0

Answered by: rajnarayanraju on: Jan 16th, 2006

c) #define NULL((void *)0)

5 answers


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)

Asked By: Interview Candidate | Asked On: Jul 23rd, 2005

Answered by: pavantattala on: Mar 30th, 2010

typedef((void *)0) NULL;

Answered by: Sabik on: Aug 17th, 2007

#define NULL 0 is enough. NULL should be used as pointer. To be on the safer side, so that NULL wont be used as constant 0, we define #define NULL((void *)0). Then if we assign int x =NULL, ...

6 answers


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));

Asked By: Interview Candidate | Asked On: Jul 24th, 2005

Answered by: pavantattala on: Mar 30th, 2010

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

Answered by: santhos kumar on: Dec 23rd, 2006

yes the answer is (a), only calloc is reinitialized to 0; malloc will have garbage value and alloc is the headerfile used to invoke calloc and malloc.

3 answers


3. how many address lines needed to pass 1mb of data

Asked By: shweta | Asked On: Jun 5th, 2006

Answered by: pavantattala on: Mar 30th, 2010

20 address lines

Answered by: Yogesh on: Dec 15th, 2006

20 address lines are needed for 1MByte of Data. Lets calculate other way aroundNo Of address lines 20 ..... so 2 power 20 = 1048576 (can address locations) So one location is 8 bit = 1048576 * 8 = ...

4 answers


Class professor{} class teacher: public virtual professor{}; class researcher: public virtual professor {} class myprofessor :public teacher, public researcher {};referring to the sample code above...

A) 0 b) 1 c) 2 d) 3

Asked By: Interview Candidate | Asked On: Jun 10th, 2005

Answered by: Ayushi Agarwal on: Mar 25th, 2010

Ans:b
Since class teacher and reseacher inherits class professor virtually only 1 copy of class of professor is inherited by class my professor.

Answered by: phanimadhavi1 on: Jun 10th, 2007

It will get one instance of professor so answer is (b)

3 answers


What is the function of the modulus operator in most languages ?

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

Asked By: Interview Candidate | Asked On: Jun 10th, 2005

Answered by: abhinav0210 on: Feb 1st, 2010

Ans is B. Modulus always returns the remainder when a number is divided by another.

Answered by: Thilak on: Oct 1st, 2005

The function of the modulus operator is ,Produce the remainder of the given division operation.Finally we get the remainder only

4 answers


#include <iostraem> referring to the sample code above ,which of the following could you use to make the standards 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;

Asked By: Interview Candidate | Asked On: Jul 28th, 2005

Answered by: lara.harsh on: Dec 15th, 2009

b) using namespace std;

Answered by: yash grotra on: Jul 24th, 2006

its b.

4 answers


What is the largest value an integer can hold in a standard C compiler ?

A) 32767 b) 65536 c) 2147483647 d) int_max

Asked By: Interview Candidate | Asked On: Aug 9th, 2005

Answered by: lara.harsh on: Dec 15th, 2009

d) INT_MAX

Answered by: riyaa3 on: May 6th, 2008

INT_MAX is the maximum value for an object of type int. For processors where an integer is held in 16 bits, INT_MAX is 32767, and for processors where an integer is held in 32 bits, INT_MAX is 21...

8 answers


Which group does winrunner, load runner, sqa suite fall under ?

A) databases b) automated test tools c) operating systems d) rapid application development tool

Asked By: Interview Candidate | Asked On: Jul 24th, 2005

Answered by: lara.harsh on: Dec 15th, 2009

b) Automated Test Tools

Answered by: Kavitha on: Nov 15th, 2006

Answer is b: Automated Test Tools

6 answers


Which of the following best explains life cycle of defect ?

A) defect found -> defect logged -> defect debugged -> defect closed -> defect rechecked b) defect found -> defect debugged -> defect reported -> defect rechecked -> defect closed c) defect debugged -> defect found -> defect closed -> defect reported -> defect...

Asked By: Interview Candidate | Asked On: Jul 24th, 2005

Answered by: lara.harsh on: Dec 15th, 2009

d) Defect Found -> Defect Logged -> Defect Debugged -> Defect Rechecked -> Defect Closed

Answered by: sridharrganesan on: Oct 16th, 2007

Defect Found -> Defect Logged -> Defect Debugged -> Defect Rechecked -> Defect Closed
best suites for the life cyle of the Defect

10 answers


Modern RDBMS 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

Asked By: Interview Candidate | Asked On: Aug 9th, 2005

Answered by: saurabhvishwakarma26 on: May 26th, 2009

Automatically replicate data on another server

Answered by: ronak.tali on: Oct 31st, 2005

a

3 answers


First | Prev | | Next | Last Page

 

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.