29:28:25:26: 1 Explanation e) 40 2 Definition 1 f) Example 1 Definition 1 2 a) Example 1 Function1- Constructor() Function2- ~Destructor() 1 b) Function1- when object is created 1 Function2- when the scope of object is over Class definition 1 Store () 1 c) Calculate() 1 Accept(); 1 ShowBill() d) 1 mark for each corrected answer 4X1 Declaration of function 1 3a) Logic & body 2 Correct 2 b) A[20][10]=8720 2 A[2][5]=9328 insert() 2 c) del() 2 d) Correct Answer=54 2 Function Declaration e) ½ Logic & Body 1½
29:28:25:26: Explanation 1 e) 40 2 f) Definition Example 1 1 2 a) Definition Example 1 1 b) Function1- Constructor() Function2- ~Destructor() Function1- when object is created Function2- when the scope of object is over 1 1 c) Class definition Store () Calculate() Accept(); ShowBill() 1 1 1 1 d) 1 mark for each corrected answer 4X1 3a) Declaration of function Logic & body 1 2 b) Correct A[20][10]=8720 A[2][5]=9328 2 2 c) insert() del() 2 2 d) Correct Answer=54 2 e) Function Declaration Logic & Body ½ 1½
513150762sample_paper_cpp_class_xii.docx