Code Question Option A Option B Option C Option D Answer
CS201 Classes Defined Inside Other Classes Are Called __________ Classes Looped Nested Overloaded None Of The Given Options. B
CS201 In Flow Chart Process Is Represented By Rectangle Arrow Symbol Oval Circle C
CS201 We Can Change A Unary Operator To Binary Operator Through Operator Overloading. True False B
CS201 In Functions That Return Reference Use Global Or Static Variables. True False A
CS201 While Calling Function The Arguments Are Assigned To The Parameters From __________. Left To Right. Right To Left No Specific Order Is Followed None Of The Given Options. C
CS201 If An Array Has 50 Elements What Is Allowable Range Of Subscripts? 0 – 49 1 – 49 0 – 50 1 – 50 A
CS201 Static Variable Which Is Defined In A Function Is Initialized __________. Only Once During Its Life Time Every Time The Function Call Compile Time Of The Program None Of The Above A
CS201 Loader Transfers The Executable Code From Main Memory To Hard Disk. True False B
CS201 The Function Free() Returns Back The Allocated Memory Got Thorough Calloc And Malloc To . Stack Heap Stack And Heap None Of The Given Options B
CS201 C Is Widely Known As Development Language Of Operating System Linux Unix Windows Mac Os B
CS201 The Static Data Members Of A Class Can Be Accessed By __________ Only Class Only Objects Both Class And Objects None Of Given Options A
CS201 The Statement I++; Is Equivalent To I = I + I; I = I + 1; 3) : I = I - 1; I --; B
CS201 To Access The 8Th Element Of An Int Array Named Myarray Of 15 Elements You Would Write Int[8] Int[7] Myarray[7] Myarray[8] C
CS201 Overloaded Member Operator Function Is Always Called By Class Object Compiler Primitive Data Type B
CS201 Which Of The Following Is A Valid Class Declaration? Class A { Int X; }; Class B { } Public Class A { } Object A { Int X; }; A
CS201 The Operator Function Will Be Implemented As If Obj1 Drive The - Operator Whereas Obj2 Is Passed As Arguments To - Operator In The Statement Given Below. Obj3 = Obj1 - Obj2; Member Function Non-Member Function Friend Function None Of The Given Options A
CS201 If We Define An Identifier With The Statement #Define Pi 3.1415926 Then During The Execution Of The Program The Value Of Pi __________. Can Not Be Replaced None Of The Given Options Remain Constant Can Be Changed By Some Operation C
CS201 For Which Array The Size Of The Array Should Be One More Than The Number Of Elements In An Array? Int Double Float Char D
CS201 When Break Statement Is Encountered In Switch Statement It Stops The Entire Program Stops The Execution Of Current Statement Exits From Switch Statement None Of The Given Options C
CS201 Let Suppose Union Intordouble{ Int Ival; Double Charvar; }; Main(){ Intordouble Vaz; Int Size ; Size = Sizeof(Vaz); } What Will Be The Value Of Variable ""Size"" If Int Occupies 4 Bytes And Double Occupies 8 Bytes? 2 4 8 12 C