Rethinking Computer Science Education

35
Rethinking Computer Science Education Bryn Mawr College Deepak Kumar Bryn Mawr College [email protected]

description

Rethinking Computer Science Education. Deepak Kumar Bryn Mawr College [email protected]. Bryn Mawr College. Bryn Mawr College. Founded in 1885 Located in suburbs of Philadelphia (97 driving miles to NJIT) 1200 Undergraduate women and 300 graduate students. New CS program (since 2001). - PowerPoint PPT Presentation

Transcript of Rethinking Computer Science Education

Page 1: Rethinking Computer Science Education

RethinkingComputer Science

Education

Bryn Mawr College

Deepak KumarBryn Mawr College

[email protected]

Page 2: Rethinking Computer Science Education

Bryn Mawr College

• Founded in 1885

• Located in suburbs of Philadelphia (97 driving miles to NJIT)

• 1200 Undergraduate women and 300 graduate students.

• New CS program (since 2001)

Page 3: Rethinking Computer Science Education

Agenda

• Enrollments are down ~50% since 2000-01

• Interest in CS has sharply declined

• Gender gap has grown (fewer women)

• CS Curricula have inherent and explicit biases that deter people from CS

• The context of computing has changed

• Current efforts to redesign curricula

• Focus on CS1 (as an entry ramp into the curriculum)

Bryn Mawr College

Page 4: Rethinking Computer Science Education

Bryn Mawr College

Crisis: Enrollment

From: CRA Taulbee Survey Report 2005-06, March 6, 2007.

Enrollments in Computer Science(PhD-granting Programs)

Page 5: Rethinking Computer Science Education

Bryn Mawr College

Freshman interest in Computer Science has been declining.

Crisis: Interest in CS

From: Low Interest in CS and CE Among Incoming Freshmen, CRA Bulletin, 2/6/2007.

Page 6: Rethinking Computer Science Education

Crisis: Gender

Bryn Mawr College

From: Computer Science Bachelor’s Degrees Granted to Women, CRA Bulletin, April 5, 2006.

Page 7: Rethinking Computer Science Education

Why so few women?

Bryn Mawr College

• Female disinterest is not genetic, nor accidental, nor inherent to computer science.

• Largely due to three factors:

Early childhood gender socialization (home)

A combination of adolescence, peer relationships, computer game design, and secondary school social pressures

Female orientation towards (and concerns about) computing are different from the design of most computer science curricula

From: Unlocking the Clubhouse: Women in Computing, Margolis & Fisher, MIT Press 2002.

Page 8: Rethinking Computer Science Education

Inherent & explicit biases…

Bryn Mawr College

• In CS there is an inherent obsession for finding the most efficient procedures, or creating the fastest computers. This naturally appeals to the male stereotype.

• CS Curricula have been designed to “invite” only those students who can survive the challenge.

Page 9: Rethinking Computer Science Education

An Appeal?

Bryn Mawr College

“Whereas in the past we created obstacles to reduce the number of CS majors, today we must recruit students to have the workforce needed to meet the challenges and opportunities of information technology in this century. We should take advantage of the reduced pressures from the dip in enrollments to revamp our curriculum.”

Prof. David Patterson, President of the Association for Computing Machinery,in Communications of the ACM, March 2006.

Page 10: Rethinking Computer Science Education

Exhibit A

Bryn Mawr College

“Whereas in the past we created obstacles to reduce the number of CS majors, today we must recruit students to have the workforce needed to meet the challenges and opportunities of information technology in this century. We should take advantage of the reduced pressures from the dip in enrollments to revamp our curriculum.”

Prof. David Patterson, President of the Association for Computing Machinery,in Communications of the ACM, March 2006.

Page 11: Rethinking Computer Science Education

Exhibit B

Bryn Mawr College

A CS1 programming assignment.

Page 12: Rethinking Computer Science Education

Exhibit B

Bryn Mawr College

Page 13: Rethinking Computer Science Education

Myths?

• CS has a nerd image

• CS degree leads to high stress and low job prospects

• CS has no positive impact on the world

Bryn Mawr College

Page 14: Rethinking Computer Science Education

But…

• Salary.com/CNN Money Best Jobs in America reported Software Engineer as the #1 job.

• Additionally the job of Computer/IT Analyst appears at #7.

Bryn Mawr College

From: Tara Kalwarski, Daphne Mosher, Janet Paskin and Donna Rosato, 50 Best jobs in America, Money Magazine, May 1, 2006.

Page 15: Rethinking Computer Science Education

Just so you know…

1. Software Engineer2. College Professor3. Financial Advisor4. Human Resources Manager5. Physician’s Assistant6. Market Research Analyst7. Computer/IT Analyst8. Real Estate Appraiser9. Pharmacist10.Psychologist

Bryn Mawr College

!!

From: Tara Kalwarski, Daphne Mosher, Janet Paskin and Donna Rosato, 50 Best jobs in America, Money Magazine, May 1, 2006.

Page 16: Rethinking Computer Science Education

Back to the crisis…

“While it is true that economy has forced the issue, Computer Science curriculum has never been attractive. It is designed for the sole purpose of producing software engineers.”

“We should aim for more outcomes from a Computer Science curriculum. Programming is only part of the story.” —Mark Guzdial

Bryn Mawr College

Page 17: Rethinking Computer Science Education

The context of computing

“I think there is a world market for about fiveComputers.”— Unconfirmed remark attributed to Thomas J. Watson (Chairman of the

Board of International Business Machines), 1943.

“Today, there are more computers than people on your campus.” — Deepak Kumar, 2007.

Bryn Mawr College

Page 18: Rethinking Computer Science Education

Bryn Mawr College

• Attracting and retaining students into computing lies at the heart of the current crisis.

• The issue is multi-faceted and will therefore require multi-faceted approaches and solutions.

Engaging Students into CS

Page 19: Rethinking Computer Science Education

Bryn Mawr College

• Alignment of course content to student interests to increase engagement can have a positive impact on students choosing to enter computing as a major in college.

• Introductory computing courses serve as a gateway into the curriculum.

• Should provide interesting and diverse range of examples and exercises.

• Most tasks should be attainable and provide a basis for supportive and positive feedback to students.

Overcoming Barriers…

Bair and Marcus, 2007: Women’s Interest in IT: The Fun Factor. In Berger et al, Reconfiguring the Firewall: Recruiting Women to IT across Cultures and Continents. AK Peters, 2007.

Akbulut and Looney, 2007. Inspiring Students to Pursue Computing Degrees. CACM, October 2007.

Page 20: Rethinking Computer Science Education

Rethinking CS Curricula

• To attract more students to computing we need to create more on-ramps (entry points) into the curriculum.

• Make the curriculum requirements more flexible.(GeorgiaTech’s Threads model, for example)

• Create several CS1 courses to attract students with diverse interests in computing: web, multi-media, games, freakanomics, robotics…

Bryn Mawr College

Page 21: Rethinking Computer Science Education

Curriculum Design Patterns

Bryn Mawr College

• Participate in freshman seminars• Multiple entry-points• Lost of interdisciplinary electives• Humanizing core courses• Design of everyday lecture artifacts• Breaking rigid boundaries• Less is more in every course• Flexibility in designing a major/minor• Majors in emerging disciplines• Diversify faculty course load distribution

From: Patterns of Curriculum Design, Douglas Blank and Deepak Kumar,

Informatics Curricula and Teaching Methods, Edited by Lillian Cassel and Ricardo Reis, Kluwer Academic Press, 2003.

Page 22: Rethinking Computer Science Education

IPRE

IPRE: Institute for Personal Robots in Education

Goals: To explore the use of personal robots

People: Douglas Blank, Deepak Kumar (BMC), Tucker Balch, Mark Guzdial

(GaTech), Stewart Tansley (MSR)

Website: www.roboteducation.org

Partners:

Bryn Mawr College

Page 23: Rethinking Computer Science Education

IPRE’s CS1 Initiative

• Use a personal robot• Let the needs of the curriculum drive the design

of the robot, software, and text• Use tools that are easy to use, scale with

experience• Create an accessible, engaging environment for

new, diverse population of students• Computer Science ≠ programming• Make computing a social activity• Make computing a medium for creativity• Performances vs. competitions

Bryn Mawr College

Page 24: Rethinking Computer Science Education

A Personal Robot Kit

Bryn Mawr College

• Color camera• 3 Light sensors• 2 IR proximity sensors• 2 Line sensors• Stall sensor• Speaker• 3 LEDs• 2 motors• Bluetooth wireless• Pen port• Myro Python Module

Page 25: Rethinking Computer Science Education

Myro: Background

• Based on our work on Pyro: Python Robotics

• Basic robot features are abstracted and made independent of underlying hardware and drivers.

• Sensing: reports values in user-selected units (e.g., range: mm, cm, inches, robot).

• Motor commands are abstracted independent of robot’s drive mechanism: translate, rotate, etc.

• Easy to program all kinds of behaviors and control paradigms that will run on any robot.

Bryn Mawr College

See: Blank, Kumar, Meeden, Yanco: The Pyro Toolkit for AI and Robotics AI Magazine, Spring 2006.

Page 26: Rethinking Computer Science Education

Myro: Features

• Simple, easy to use API even for non-programmers.

• Seamlessly integrated with standard Python.

• Plans to work with MSRS and .NET (will support multiple languages).

• Design driven by curricular goals.

Bryn Mawr College

See: Kumar et al. Engaging Computing Students with AI and Robotics, Forthcoming in Spring 2008.

Page 27: Rethinking Computer Science Education

Myro: Example

Bryn Mawr College

# Avoiding Obstacles

from myro import *

initialize(ask(“What port?”))

# program settings...

cruiseSpeed = 0.6

turnSpeed = 0.5

def main():

while True:

Left, Right = getObstacles()

if Left:

turnRight(turnSpeed)

elif Right:

turnLeft(turnSpeed)

else:

forward(cruiseSpeed)

Page 28: Rethinking Computer Science Education

CS1:Course Contents

• Chapter 1 The World of Robots • Chapter 2 Robots: Personal or Otherwise • Chapter 3 Building Brains • Chapter 4 Sensing the World • Chapter 5 Making Decisions • Chapter 6 Behaviors • Chapter 7 Control Paradigms • Chapter 8 Making Music • Chapter 9 Communication • Chapter 10 Artificial Intelligence • Chapter 11 Computing & Computation • Chapter 12 Applications of Robots

Bryn Mawr College

Page 29: Rethinking Computer Science Education

Programming as a social activity

Bryn Mawr College

Page 30: Rethinking Computer Science Education

Bryn Mawr College

• Learned CS concepts through robots• Robots made learning experience more

hands-on, tangible, and exciting• Most frustrating parts were dealing with robot

hardware inconsistencies• Viewed CS as a type of logic and problem

solving; requiring patience & thought• Discovered that CS and robots are applicable

to the real world

Some Results…

Page 31: Rethinking Computer Science Education

Bryn Mawr College

A CS1 Assignment: Exploring a Pyramid

Page 32: Rethinking Computer Science Education

Bryn Mawr College

• Ability to draw

• Ability to take pictures

• Ability to make music/tones

• Ability to play sounds and talk

• Ability to express

• Ability for robot interaction

• Ability to have a web presence

Some Directions…

Page 33: Rethinking Computer Science Education

Another CS1 Assignment…

Bryn Mawr College

Corral Exiting/Escape

Imagine a corral (an enclosed area with maze like partitions and an entrance) with a light source at the entrance (as shown in the figure to the right). Given the robot's position, can we design a behavior that will enable the robot to exit the corral?

Page 34: Rethinking Computer Science Education

Comments?

• For more information see www.roboteducation.org

• Or e-mail: [email protected]

Bryn Mawr College

Page 35: Rethinking Computer Science Education

Bryn Mawr College