quiz10 solution.pdf - Name USC ID INF 551 \u2013 Fall 2018(Morning section Quiz 10 Spark(15 points 15 minutes Note 5 points extra credit question 1[10

quiz10 solution.pdf - Name USC ID INF 551 u2013 Fall...

This preview shows page 1 out of 1 page.

Name: ___________________________ USC ID: ______________________ INF 551 Fall 2018 (Morning section) Quiz 10: Spark (15 points), 15 minutes Note: 5 points extra credit question! 1.[10 points] Write the Python Spark code for counting the number of occurrences of words in a text file “input.txt”. Requirements: ignore the following words: “and”, “the”, “a”.
Image of page 1

You've reached the end of your free preview.

Want to read the whole page?

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture