Game-Based Intro: Module Exam Answers



Game-Based Intro: Module Exam Answers 2026 Ful 100%

The Game-Based Intro: Module Exam Answers provides a comprehensive and engaging guide designed to help learners successfully navigate introductory modules that use game-based learning techniques. This resource offers accurate and verified answers to key questions, enabling students to better understand core concepts while reinforcing their knowledge through interactive scenarios. By combining educational content with gamification, it enhances motivation, improves retention, and prepares learners to achieve full marks in their module exams with confidence.

  1. Which two statements make pandas and matplotlib available to python?

    • import matplotlib.plt as pyplot
    • import matplotlib.pyplot as plt
    • import pandas as pd
    • import pd as pandas
  2. Which code adds an ‘area’ column to the dataframe?

    Game-Based Intro Module Exam Answers 01
    Game-Based Intro Module Exam Answers 01
    • df['width * height'] = df.eval('area')
    • df['area'] = df.query('width * height')
    • df['area'] = df.eval('width * height')
    • area = df.eval('width * height')
  3. Which code finds all screens with area larger than 500cm²?

    Game-Based Intro Module Exam Answers 02
    Game-Based Intro Module Exam Answers 02

    • df.select('area > 500')
    • df.query('area > 500')
    • df.find('area > 500')
    • df.eval('area > 500')
  4. Which plotting method was most likely used?

    Game-Based Intro Module Exam Answers 03
    Game-Based Intro Module Exam Answers 03
    • plt.bar(df['width'], df['height'])
    • plt.plot(df['width'], df['height'])
    • plt.barh(df['device_type'], df['area'])
    • plt.scatter(df['width'], df['height'])
  5. Which code finds the total minutes the robot spent on each activity?

    Game-Based Intro Module Exam Answers 04
    Game-Based Intro Module Exam Answers 04
    • robot.groupby('minutes')['activity'].sum()
    • robot.groupby['minutes'].sum()
    • robot.groupby('activity')['minutes'].max()
    • robot.groupby('activity')['minutes'].sum()
  6. After doing a groupby(), why is it common to do a reset_index()?

    • To make the group keys an index
    • To turn the result into a Series.
    • To sort the result by the index.
    • To convert the index to a column, producing a DataFrame.
  7. Which code makes a horizontal bar chart out of time_spent?

    Game-Based Intro Module Exam Answers 05
    Game-Based Intro Module Exam Answers 05
    • plt.barh(time_spent['activity'], time_spent['minutes'])
    • bar.horiz(time_spent['activity'], time_spent['minutes'])
    • plt.barh('activity', 'minutes')
    • plt.plot(time_spent['activity'], time_spent['minutes'])
  8. Which two statements add the additional text to the bar chart as shown?

    Game-Based Intro Module Exam Answers 06
    Game-Based Intro Module Exam Answers 06
    • plt.ylabel('minutes')
    • plt.label('Total time spent')
    • plt.xlabel('minutes')
    • plt.title('Total time spent')