Case Study - Quiz 2
Sign in to Google to save your progress. Learn more
Email *
Case Study 1
In which mode, Arun should open the file in Statement 1? *
1 point
Identify the suitable code to be used at blank space in line marked as Statement 2 *
1 point
Identify the function (with argument), to be used at blank space in line marked as Statement 3. *
1 point
What will be the suitable code for blank space in line marked as Statement 4. *
1 point
Which statement Arun should use at blank space in line marked as Statement 5 to close the file? *
1 point
Case Study 2
Choose the most appropriate data type to store the above information in the given sequence. *
1 point
Now the data of each customer needs to be organised such that the customer can be identified by name followed by the age, item list and bill amount. Choose the appropriate data type that will help Priyank accomplish this task. *
1 point
Which of the following is the correct way of storing information of customers named ‘Paritosh’ and ‘Bhavesh’ with respect to the option chosen above? *
1 point
In order to calculate the total bill amount for 15 customers, Priyank                                                  Statement 1 must use a variable of the type float to store the sum.                                                                  Statement 2 may use a loop to iterate over the values. *
1 point
Case Study 3
Write mode of opening the file in Statement 1? *
1 point
Fill in the blank in Statement 2 to read the data from the file *
1 point
Fill in the blank in Statement 3 to read data word by word. *
1 point
Fill in the blank in Statement 4, which display the word having lesser than 4 characters. *
1 point
Fill in the blank in Statement 5 to close the file. *
1 point
Submit
Clear form
This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Privacy Policy