-
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()
-
process id of kernel
(a) 1 (b) 0 (c) 2 (d) none
-
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 Rechecked d) Defect Found -> Defect Logged -> Defect Debugged -> Defect Rechecked ->...
-
What function will read a specified number of elements from a file ?
a) fread() b) readfile() c) fileread() d) gets()
-
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)); Answered by Ragini rani on 2005-05-13 09:01:56: a is the correct ans Calloc allocates space and initialized them to 0
-
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)
-
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
-
-
-
Which group does Winrunner, Load Runner, SQA Suite fall under ?
a) Databases b) Automated Test Tools c) Operating Systems d) Rapid Application Development Tool
-
Which is not the characteristic of a view ?
a) Consumes Disk space for data b) Multiple tables c) Multiple rows d) UpdateableAnswered by Ragini Rani on 2005-05-13 08:59:28: a view does not consume disk space for data
-
-
-
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
-
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)
-
-
#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;
-
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.
-
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));
-