C++ interview preparation Quiz 4 Welcome to your Fresher Interview Preparation - C++ Skills - 4 Name Email Phone Number 1. ___________ is used to release the dynamic memory which was created using new operator.union operatordelete operatordata operatornone2. The purpose of ____________ storage specifier is used to resolve the scope of global symboladdressexterndatanone3. C++ signal handling library provides function signal to trap ____________unexpected eventsdataexpected eventsnone4. ___________function is used to move the stream pointer for the purpose of reading datafrom stream.noneseekw()seekg()seekd()5. Full form of OOPSObject oriented programming syslognoneObject oriented programming superObject oriented programming system6. By default apache web server is configured to run CGI programs in _____________.none/var/data/var/log/messages/var/www/cgi-bin7. Both the variable name and reference variable point to the ___________ memory location.unionsamedifferentnone8. There are ___ defaults standard streams in C++.threenonetwofour9. Full form of STLstandard temp librarystandard temple librarystandard template librarynone10. A ____________ program contains two or more parts that can run concurrentlyaddressdatanonemultithreaded11. We can generate signals by function __________ which takes an integer signal number as anargument.raise()nonefollow()data()12. Static memory variable share a common ______ across all the objects created for therespective class.datanoneunionmemory13. A function prefixed with the keyword inline before the function definition is called as ____order functioninline functionnoneoutline function14. ___________ access specifiers can help to achieve data hiding in C++noneprivate & protectedaddressfunctions15. A ________ variable is an alias name for the existing variable.memoryreferencedatanone16. ___________ operator can be used in C++ to allocate dynamic memory..oldnoneancientnew17. The ____________ operator is used to resolve the scope of global variables.noneaddressscope resolutiondata18. We can apply ___________ operator if the local and the global variable names are same.scope resolutionunionnoneData19. The #define preprocessor directive creates _____________ constants.symbolicnonedynamicdata20. The conditional preprocessor construct is much like the __________ selection structure.noneifwhilefor21. A _______ is either a keyword, an identifier, a constant , a string literal or a symbol.datatokenunionnone22. ___________ are the operators used to access the class members.nonedot and arrowunion and addressdata and union23. The __________________ is a set of standards that define how information is exchangedbetween the web server and a custom script.noneCGIPGIDGI24. By default the function are called by _______addressvaluememorynone25. All preprocessor directives begin with __________#$none@26. _______________ does memory dumping bit by bit from one object to another..nonenarrow copydata copyshallow copy27. A program can be compiled without _______ functionnonemain()void()data()28. ____________ is the data type which can be used to store wide characters in C++.nonedatacharwchar_t29. Function calling itself is called as __________nonerecursiondatarevision30. Declaring a variable volatile directs the compiler that the variable can be changed ___magicallynoneexternallyinternally31. By default the members of the class are _________.privatenonedatapublic32. A __________ variable whose scope is applicable only within a block is said so.data scopenoneblock scopeaddress.33. _____________ is used to explicitly exit a thread.nonepthread_exitdataexit34. The starting address of the array is called as the ________ address of the array.memoryfunctionbasenone35. An automatic variable is stored in _________.uniondatanonestack memory36. ____________function is used to move the stream pointer for the purpose of writing datafrom stream.seekq()seekd()seekp()none37. If a variable is used most frequently then it should be declared using _____________ storagespecifier.nonedatacallregister38. There are __________ permitted operations on pointersnonethreetwoone39. If a class member is protected then it is accessible in the __________ class.inheritednoneexternaloutside40. There are ________ types of inheritance supported in C++.doublesingletriplefive41. A ____________ is the feature that allows your computer to run two or more programsconcurrently.datanoneaddressMultitasking42. The maximum length of the identifier is16 characters32 charactersnone8 characters43. ____________ are the interrupts delivered to a process by the operating system which canterminate a program prematurelydatanoneaddresssignals44. ______________ creates a new thread and makes it executable.nonepthreadpthread_createdata45. ________________ is achieved using copy constructor and overloading assignment operator.nonecopydeep copydata copy46. By default the members of struct are _________.dataPrivatenonePublic47. A class _______ atleast one member variable of another class type in itfountaincontainernonedata48. There are _________ routines which we can use to join or detach threads.nonethreetwoone49. _________ is the first string in the argument vector w.r.t command line argumentsprogram namedata nameaddressnone50. The extension of CGI files are :.bdgnone.cgi.vgiPlease fill in the comment box below. Time is Up!