quiz10-spark-afternoon-solution.pdf - Name USC ID INF 551 Fall 2018(Afternoon section Quiz 10 Spark(15 points 15 minutes Note 5 points extra credit

quiz10-spark-afternoon-solution.pdf - Name USC ID INF 551...

This preview shows page 1 out of 1 page.

Name: ___________________________ USC ID: ______________________ INF 551 – Fall 2018 (Afternoon 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 words that contain no more than 2 characters.
Image of page 1

You've reached the end of your free preview.

Want to read the whole page?

  • Fall '14
  • ouput

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture