Page 22 - IP
P. 22
CBSE AISSCE 2018 Marking Scheme for Informatics Practices
(Sub Code: 065 Paper Code 90)
Ans i) 10
ii) 17
(1 mark for each part)
(e) What will be the values of i and z after the following code is executed: 2
int i = 0;
int z = 10;
do
{
i=i+2;
z--;
}
while (i<10);
Ans i= 10
z = 5
(1 mark for each correct value)
(f) Ms. Priya works as a programmer in “Avon Education” where she has designed a software
to compute fee charges to be paid by the students. A screenshot of the same is shown
below:
● Name of the student is entered by the user.
● Any one Course out of Pharmacy, Architecture and Arts & Design is chosen by the user.
● If the student is eligible for Concession, the required checkbox is selected by the
user.
● Based on the course selected, Fee Per Quarter is displayed in the appropriate textfield
according to the following criterion:
Course Fee Per Quarter
Pharmacy 2000.00
Architecture 2500.00
Arts & Design 2300.00
Page 7 of 13