Quiz Space

Computational Thinking · End Term · 24 Dec 2023 · September 2023 term · Set 9

Question 6: The following pseudocode is executed using the “Shopping …

Question 6

+5 marksOne correct option

The following pseudocode is executed using the “Shopping Bills” dataset. The variable count gives the number of bills which are either from Big Bazaar or have a total bill amount of less than Rs. 500, but not both. Choose the correct code fragment to complete the pseudocode.

The following pseudocode is executed using the “Shopping Bills” dataset. The variable count gives the number of bills which are either from Big Bazaar or have a total bill amount of less than Rs. 500, but not both. Choose the correct code fragment to complete the pseudocode.

The following pseudocode is executed using the “Shopping Bills” dataset. The variable count gives the number of bills wh
  1. A
    Figure from the original question paper
  2. B
    Figure from the original question paper
  3. C
    Figure from the original question paper
  4. D
    Figure from the original question paper
Show answer

Correct answer

  • D
    Figure from the original question paper

Question 6 of 26 in the IIT Madras BS Computational Thinking (Computational Thinking (CT)) End Term paper sat on 24 Dec 2023, in the September 2023 term (IIT M FOUNDATION AN EXAM ADF3 24 Dec 2023). It carries 5 marks.

More questions from this paper

  1. Q1THIS IS QUESTION PAPER FOR THE SUBJECT "FOUNDATION LEVEL : SEMESTER I: COMPUTATIONAL THINKING (COMPUTER BASED EXAM)" AR…
  2. Q2Figure question
  3. Q3Figure question
  4. Q4Figure question
  5. Q5Which of the following pseudocodes when executed using the “Words” dataset, the count will give a number of verbs which…
  6. Q7Figure question
  7. Q8Figure question
  8. Q9Figure question
  9. Q10Figure question
  10. Q11Figure question
  11. Q12The following pseudocode is executed using the "Library" dataset. At the end of the execution, A stores a dictionary wi…
  12. Q13Figure question
  13. Q14The given pseudocode is executed using the “Words” dataset. At the end of execution A captures the frequency count of t…
  14. Q15What will A represent at the end of the execution?
  15. Q16Which of the below numbers that B represent at the end of the execution?
  16. Q17The following pseudocode is executed using the “Shopping Bills” dataset. Assume each customer has a distinct name. The …
  17. Q18The following pseudocode is executed using the “Shopping Bills” dataset. Assume each customer has a distinct name. The …
  18. Q19The following pseudocode constructs a matrix M from the “Shopping Bills” dataset. Two bills are said to be similar if t…
  19. Q20The following pseudocode constructs a matrix M from the “Shopping Bills” dataset. Two bills are said to be similar if t…
  20. Q21What will the values of a and b be at the end of execution of the pseudocode given below? What will the values of a and…
  21. Q22What will the values of a and b be at the end of execution of the pseudocode given below? What will the values of a and…
  22. Q23Based on the above data, answer the given subquestions.
  23. Q24The following pseudocode is executed using the “Shopping Bills” dataset. Assume each customer has a distinct name. The …
  24. Q25The following pseudocode constructs a matrix M from the “Shopping Bills” dataset. Two bills are said to be similar if t…
  25. Q26Based on the above data, answer the given subquestions.