Provided by www.YuvaJobs.com - Birlasoft Whole Testpaper BIRLASOFT  PLACEMENT PAPERS 1 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()2 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(in...3 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(in...4 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)5 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)6 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 instanceb) Each base class object has derived objects only from the non-virtual instancec) Each derived...7 Which of the following best explains life cycle of Defect ?a) Defect Found -> Defect Logged -> Defect Debugged -> Defect Closed -> Defect Recheckedb) Defect Found -> Defect Debugged -> Defect Reported -> Defect Rechecked ...8 Which is not the characteristic of a view ?a) Consumes Disk space for datab) Multiple tablesc) Multiple rowsd) Updateable9 Which group does Winrunner, Load Runner, SQA Suite fall under ?a) Databasesb) Automated Test Toolsc) Operating Systemsd) Rapid Application Development Tool10 What relationship is resolved by an “intersecting” or “associative” entity ?a) Recursiveb) Mandatory one to onec) Many to Manyd) One to One11 What is the largest value an integer can hold in a Standard C compiler ?a) 32767b) 65536c) 2147483647d) INT_MAX12 What function will read a specified number of elements from a file ?a) fread()b) readfile()c) fileread()d) gets()13 RDBMS triggers are typically bound to a _____________and one or more _____________a) Table, SQL statement typesb) SQL statement type, userc) Column, rowsd) User, tables14 process id of kernel(a) 1(b) 0(c) 2(d) none15 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 tableb) Automatically replicate data on another serverc) Automatically create new indexes base...16 Make a copy of file “upper” in the directory two levels up .a) jump -2 upperb) cp upper ../..c) cp upper -2/d) None of the above17 kernel executes the first process when system startsans :- init();18 int a=1;int ab=4;int main(){int b=3,a=2;printf("%i*/%i*/%*/i",a,b,ab);}What will be the output?19 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) 0b) 1c) 3d) 920 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) 0b) 1c) 2d) 321 class professor{}class teacher: public virtual professor{};class researcher: public virtual professor {}class myprofessor :public teacher, public researcher {};Ref...a) 0b) 1c) 2d) 322 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 16b) Returns the remainder after dividing one number by anotherc) Returns the first argument raised to the se...23 #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 ...a) using namespace std::iostreamb) using namespace std;c) using namespace iostream ;d) using iostream; Provided by www.YuvaJobs.com - Birlasoft Whole Testpaper