You are on page 1of 10
se0ns, 12:22PM Kior Result & Analysis Student: HemamaliniS Emallis: 2k21ece043@kiotacin Test: PREP_C_PT_Pointers Course: 2025 ¢ Programming Prep: IP Address: 2409:4072987.4357123cfoa8 Sc040538 ‘Tab switches: 0 (05 used: Android Browser used: Chrome TestDuration: 01:19:11 Test Start Time: Jan 16,202310423 PM Test Submit Time: Jan 19, 202310437 PM Resume Count: 1 Overall score Mca coding EE) rpper score: 71.00, 71 [e \) toppers: 21.00/21 Topper score: 50.00/50 6 J) average score: 3081/7 12 J) nreage sce: 12.7721 ‘Average score: 25.08/80 Leas sore: 0.00/71 Least score: 000/21 Less score: 000/50 Overall Question Status Mca - Question Status Coding -Question Status Total Questions: 25 ‘otal questions: 20 Total Questions: § ‘Questions attempted: 25 ‘Questions Atempted: 20 Questions atemptes: § Questions Comes 17 ‘uestons Correct. 12 Cuestons Correct: § Avestion Wong: 8 ‘veston wrong: 8 ‘Quetion Wrong: & ParalyComect: © Partly Comes: 0 Paral Comes: 0 Question Not Viewed: 9 (ueston Not Viewed: 0 Question Not Viewed: 0 Questions Skipped: 0 ‘uestons Stipped: 9 ‘Quetions Skipped: 0 Topic wise Analysis Coding Y Question No: 1 Mult Choice Type Question Report Bor Wich of the fllowing format identifier can never be used fr the variable var? 3 include 2 int'mainc) 4 char ‘var = "Advanced Training in ¢ by Placenentseason.con"; xe xe as htps:kot791examiyitrosultostlt-U2F sd Vix 186%.28K Ah EE) vav Gn6SKOOSKeJoAd3EPTXJBZSIAaNPRPVYEP ano se0ns, 12:22PM Kior Status: Corect Mark obtained: 1/1 Hints used: 0 ‘Question type: Mca Single Correct Subject: Programming Subject: © Programming Subject: Data Types Show solution Question No: 2 Mult Choice Type Question Comment on the fllowing statement int a) 7 ‘An array“ of pointers ‘Aragged array None ofthe mentioned Recommended Learning Content Status: Correct Mark obtained: 1/1 Hints sea: 0 ‘Question type: MCQ Single Correct Subject: Programming Subject: C Programming Subject: Pointers Question No: 3 Multi choice Type Question ‘Comment on te fllowing pointer declaration? int pty pir and p, both are pointers to integer Piri apointerto integer, p may or may not be Ptr and p both are not pointers to integer Recommended Leaming Content Status: Correct Mark obtained: 1/1 Hints used: 0 ‘Question ype: MCQ Single Correct Subject: Programming Subject: © Programming Subject: Pointers Question No: 4 Mult Choice Type Question What willbe the output of following code? includecstdio.h> ine main() t htpsskot791.examiyiotrosuttest Level: Easy Level: Medium Level: Medium J2FsdGV¥X186%428K4n4 UEE Sd DvavFGnBSKOOSKCJoAdSFPTABZSIAaWPKPVYEP [Reon] [Reon] 20 sears, 12:22PM ° address of a value of address of | Status: Weong Mark obtained: 0/1 ‘Question ype: MCQ Single Correct Subject: Programming Subject. Pointer Basics Question No: 5 ‘comment on the fllowing statement. +38); A pointer“a" to an array. None ofthe mentioned Status: Comect Mark obtained: 1/1 Question type: MOQ Single Correct Subject: MCQ Subject: Multidimensional aray Question No: 6 ‘Comment on the following? const It "pt htpsskot791.examlyitrosuttest Kior correct Hints used: 0 Subject: © Programming Mult Choice Type Question Hints used: 0 Subject: C Programming Aray Mutt Choice Type Question Level: Easy Level: Easy J2FsdGV¥X 1864 28K4n4 UEE Ad DvavFGnBSKOOSKCJoAdSFPTABZSIAaWPKPVYEP apo Err ano se0ns, 12:22PM Kior You cannot change the pointer ptrtselt Both (A) and (8) You can change the pointer as wells the value pointed by it Recommended Learing Content Status: Correct Mark obtained: 1/1 Hints used: 0 Level: Medium Question ype: MCQ Single Correct Subject: Programming Subject: ¢ Programming Subject. Pointers Question No: 7 Mult choice Type Question ‘Carefully read the question and answer accordingly What willbe the output ofthe given code? include Youd maing) ant a int int te = abs prinee(aa ta %a", 2, tb, 0); 1070 garbage value sgatbage.value garbage_value 10, 107010 connect Status: Weong Mark obtained: 0/1 Hints usea: 0 Level: Easy ‘Question type: MCQ Single Correct Subject: Programming Subject: C Programming Subject: Pointer Basics Question No: 8 Mult Choice Type Question How can we rewrite the following function definition using pointer? void print(enar al} void print(char sa) conaecr void print(char a) hitpskot791examiyolraeul?testlé=U2F ed GViX 186% 26K 4h4UEEAjvav Gn6SKOUSKeJoAd3FPTXIBZOIAAVPKPYYEP apo Err ano se0ns, 12:22PM Kior None of these Recommended Leaming Content Status: Wrong Mark obtained: 0/1 Hints used: 0 ‘Question type: MCQ Single Correct Subject: Programming Subject: ¢ Programming Subject: Pointers Question No: 9 Mult Choice Type Question ‘Comment an the fllowing declaration? int pr}0; 17) chars i) Both) and i and cannot exist due to same name 1 is egal i) is egal 1 isilegal i) is legal Recommended Leaming Cortent Status: Correct Mark obtained: 1/1 Hints used: 0 ‘Question type: Moa Single Correct Subject: Programming Subject: ¢ Programming Subject: Pointers Question No: 10 Mutt Choice Type Question ‘The operator can be used 1o access structures elements using a pointer toa structure variable, Recommended Leaming Content Status: Corect Mark obtained: 1/1 Hints usea: 0 Question type: MCQ Single Correct Subject: Programming Subject: C Programming Subject: Stuctures and Unions ‘Question No: 11 Fil inthe blanks Type Question What isthe output? ‘includecstdlo.h> htpsskot791.examiyitrosuttest Level: Easy Level: Medium Level: Medium J2FsdGV¥X186%428K4n4 UEE Sd DvavFGnBSKOOSKCJoAdSFPTABZSIAaWPKPVYEP Repo rer [Revontre] sn0 se0ns, 12:22PM Kior void mang ‘ Intros; Int *p=Bno itfano==p) print(hete ++"); else print(%e4p); Blank Correct Answer: 6 Recommended Leaming Content Status: Wrong Mark obtained: 0/2 Hints used: 0 Level: Medium Question type: Fill ups Subject: Programming Subject: Programming ‘Subject: Pointers Question No: 12 Mult Choice Type Question Report ror ‘comment on the following statement int 07 An array" of pointers Aragged array None ofthe mentioned Recommended Leaming Content Status: Correct Mark obtained: 1/1 Hints used: 0 Level: Medium ‘Question ype: MCQ Single Correct Subject: Programming Subject: © Programming Subject: Pointers Question No: 13, Mult Choice Type Question Report ror (Choose the correct code to get the matrix elements using pointers. hitpsskot791.examlyiotrosuttest J2FsdGV¥X186428K4n4 UEE Sd DvavFGnBSKOOSKCJoAdSFPTABZSIAAWPKPVYEP eno se0ns, 12:22PM Kior 1 Hincludecstato.h> 3 fold maint) 2S ane ofsyisy.t3 4 © ane apsyisytt.re: $pnlneb Cer dace, & Keanna aa" arvee); 5 prince Eenter’the mages o Rerciedsfersies} 3 2% for(jeo3scerse4) i ‘ u g > a) By i scant" (a4) seante" (amt), scant" (a4) Recommended Learing Content Status: Correct Mark obtained: 1/1 Hints used: 0 Level: Easy Question type: Mca Single Correct Subject: Programming Subject: 6 Programming Subject: Pointers Question No: 14 Mult Choice Type Question Report ror Display the content invariable ¢ inta=5; int" = Ba into ab; intr = Be; printf%p\n"; a we Recommended Learning Content Status: Corect Mark obtained: 1/1 Hints used: 0 Level: Easy Question type: MCQ Single Correct Subject: Programming Subject: C Programming Subject. Pointers Question No: 15, Mult Choice Type Question Repon Eror [Advantage ofa muit-cimension array over pointer array, hitpskot791examiyolreeul?testlé=U2FeaGViX 186% 28K 4h4UEEjvav GnéSKOUSKeJoAd3FPTXIBZOIAAVPKPYYEP m0 se0ns, 12:22PM Kior Predefined size, Input can be taken from user, Faster Access, Recommended Leaming Content Status: Correct Mark obtained: 1/1 Hints usee: 0 Level: Easy ‘Question type: McQ Single Correct Subject: Programming Subject: © Programming Subject: Pointers Question No: 16 Mult Choice Type Question ‘Comment onthe 2 arrays regarding P and @ int "ale int a3 P array of pointers Pointertoan aray alisRaaisa alisq.anise atisa.azisa Recommended Learning Content Status: Correct Mark obtained: 1/1 Hints sea: 0 Level: Medium ‘Question type: MCa Single Correct Subject: Programming Subject: C Programming Subject: Pointers Question No: 17 Mult Choice Type Question What willbe the output ofthe gven code? 4 flgeluge astétoam 2 int main a4 4 int a = 365 S$ inte pers & ptr «tas 7 peinte(tkd xa", rapt, ay 2 Return @5 3} 2 hitpskiot791examiyolreeul?testl¢=U2F ea GVAX 186% 28K 4h4UEEA)OvavF GnéSKOUSKcJoAd3FPTXIBZOIAAVPKPYYEP [norte] ano se0ns, 12:22 PM Kior Value Value ‘Address Value ‘Address Address coraect Status: Wrong Mark obtained: 0/1 Hints used: 0 Level: Easy ‘Question type: MCQ Single Correct Subject: Programming Subject: ¢ Programming Subject: Pointer Basics Question No: 18, Mult Choice Type Question (Choose the correct statements to print the value of finchudecstcio > int maint (1) printer, (2) pinta (8); (8) print, (4) print) 1234 w correct Status: Wrong Mark obtained: 0/1 Hits used: 0 Level: Medium ‘Question type: Mca Single Correct Subject: Programming Subject: © Programming Subject: Pointer Basics, Question No: 19 Mult Choice Type Question [Addition of two matrix using pointers. What happens when you run the code 1 Bincludeestaio.h> ola main) 2 3 4 Ane af5)(5),0(5][51,<(5](51,4,d.m03 $ peinte(traterin a al"); & Scant 6" n,n): 5 prince Menten’ timatedxs"); & Fon(loastens ise) 3 we {for(Jo0:Jensse+) a 2 sean "XS", (*(ari)3))5 // To get the A matrix a ue) AS printe(\nenter 2 matrix"); Le Fortleestensiss) pf 8 fortdedasensson) hitpskot791examiyolreeul?testl¢=U2F ea GViX 186% 28K 4h4UEEA)vav GnéSKOUSKeJoAd3FPTXIBZOIAAVPKPYYEP apo Eror ono sre0ns, 12:22PM Gives compile er Gves run tine error None ofthe list options Status: Wrong Mark obtained: 0/1 Question type: Moa Single Correct Subject: MC Subject: Mulidimensionalaray Question No: 20, ‘Comment on the output of this C code? 1 include 2 nt'main() ¢ int ptr = 81; Sper = 29; prin é (a Fetuen 8 ‘Compile time error ‘Compile time warning an¢ print cisplays 20 10 Recommended Learning Content Status: Wrong Mark obtained: 0/1 ‘Question ype: Mca Single Correct Subject: Programming Subject: Pointers Show solution htpsskot791.examiyitrosuttest Kior coraect Hints used: 0 Subject: ¢ Programming - Array Mult Choice Type Question conacer Hints used: 0 Subject: © Programming Level: Hard Level: Medium J2FsdGV¥X186%428K4n4 UEE Sd DvavFGnBSKOOSKCJoAdSFPTABZSIAaWPKPVYEP s010

You might also like