C++ interview preparation Quiz 4 Welcome to your Fresher Interview Preparation - C++ Skills - 4 Name Email Phone Number 1. A ____________ is the feature that allows your computer to run two or more programsconcurrently.dataaddressMultitaskingnone2. If a class member is protected then it is accessible in the __________ class.externaloutsideinheritednone3. A ________ variable is an alias name for the existing variable.referencenonememorydata4. ___________ operator can be used in C++ to allocate dynamic memory.none.oldnewancient5. Static memory variable share a common ______ across all the objects created for therespective class.nonedataunionmemory6. The maximum length of the identifier is32 charactersnone16 characters8 characters7. A _______ is either a keyword, an identifier, a constant , a string literal or a symbol.tokennoneuniondata8. By default the members of the class are _________.dataprivatenonepublic9. The starting address of the array is called as the ________ address of the array.functionnonememorybase10. An automatic variable is stored in _________.stack memorydatanoneunion11. Both the variable name and reference variable point to the ___________ memory location.samedifferentunionnone12. Function calling itself is called as __________recursionnonedatarevision13. By default apache web server is configured to run CGI programs in _____________.none/var/log/messages/var/www/cgi-bin/var/data14. By default the members of struct are _________.PrivatePublicdatanone15. C++ signal handling library provides function signal to trap ____________noneexpected eventsunexpected eventsdata16. Full form of STLstandard template librarystandard temple librarystandard temp librarynone17. _________ is the first string in the argument vector w.r.t command line argumentsaddressprogram namedata namenone18. We can generate signals by function __________ which takes an integer signal number as anargument.nonefollow()data()raise()19. ____________ are the interrupts delivered to a process by the operating system which canterminate a program prematurelydataaddressnonesignals20. If a variable is used most frequently then it should be declared using _____________ storagespecifier.datanoneregistercall21. By default the function are called by _______noneaddressmemoryvalue22. ___________ is used to release the dynamic memory which was created using new operator.noneunion operatordata operatordelete operator23. A function prefixed with the keyword inline before the function definition is called as ____noneinline functionorder functionoutline function24. There are _________ routines which we can use to join or detach threads.noneonetwothree25. All preprocessor directives begin with __________none$#@26. ___________ are the operators used to access the class members.nonedot and arrowdata and unionunion and address27. The conditional preprocessor construct is much like the __________ selection structure.ifwhilenonefor28. There are ___ defaults standard streams in C++.fournonetwothree29. There are ________ types of inheritance supported in C++.triplesingledoublefive30. The ____________ operator is used to resolve the scope of global variables.addressnonescope resolutiondata31. The extension of CGI files are :.vgi.bdg.cginone32. ___________ access specifiers can help to achieve data hiding in C++addressprivate & protectedfunctionsnone33. _______________ does memory dumping bit by bit from one object to another..nonedata copynarrow copyshallow copy34. The __________________ is a set of standards that define how information is exchangedbetween the web server and a custom script.DGIPGInoneCGI35. A program can be compiled without _______ functionmain()nonevoid()data()36. ______________ creates a new thread and makes it executable.pthread_createdatapthreadnone37. _____________ is used to explicitly exit a thread.datanonepthread_exitexit38. Full form of OOPSObject oriented programming systemObject oriented programming supernoneObject oriented programming syslog39. ____________ is the data type which can be used to store wide characters in C++.wchar_tdatacharnone40. ________________ is achieved using copy constructor and overloading assignment operator.deep copycopynonedata copy41. A __________ variable whose scope is applicable only within a block is said so.data scopeblock scopeaddress.none42. The purpose of ____________ storage specifier is used to resolve the scope of global symbolnonedataexternaddress43. Declaring a variable volatile directs the compiler that the variable can be changed ___noneexternallymagicallyinternally44. The #define preprocessor directive creates _____________ constants.dynamicdatasymbolicnone45. We can apply ___________ operator if the local and the global variable names are same.scope resolutionunionnoneData46. ___________function is used to move the stream pointer for the purpose of reading datafrom stream.noneseekw()seekg()seekd()47. A class _______ atleast one member variable of another class type in itfountainnonedatacontainer48. ____________function is used to move the stream pointer for the purpose of writing datafrom stream.seekd()noneseekq()seekp()49. A ____________ program contains two or more parts that can run concurrentlymultithreadedaddressnonedata50. There are __________ permitted operations on pointersnoneonetwothreePlease fill in the comment box below. Time is Up!