Learning Dashboard

Learning actually happens by participating, either through submitting your homework or by reviewing someone else's.

Below is an overview of how the entire site is performing on these two important metrics.

If you see a homework with zero comments and you're familiar with the subject matter, please take some time to look it over and give feedback. It really helps! Even if you're not that familiar with it, there's nothing wrong with just commenting "Good job."

876 Homeworks Submitted So Far...

286 Homework Comments So Far...

Most Recent Homeworks:

Programming in C
Lesson 1, HW 5

#include <stdio.h>
#define IN 1
#define OUT 0
main()
{
	int lc, state, input;
	int data[20] = {0};
	state = OUT;
	lc = 0;
	while ((input = getchar()) != EOF)
	{
		if (input < 0x41 || input < 0x61 && input > 0x5A)
			{
				state = OUT;
				++data[lc];
				lc = 0;	
			}
		else if (lc >= 20)
			{
				printf("This program ...</stdio.h>
wborskey
4 days ago | 0 comments | Leave a comment

MIT OpenCourseWare 6.00 Introduction to Computer Science and Programming
Lesson 1, HW 1

''' Created on Feb 18, 2012

@author: dapakman User input last name and first name, print out first name and last ...

last_name = raw_input('What is your last name?')
first_name = raw_input('What is your first name?')
print('Hello', first_name, ' ', last_name)
dapakman
4 days ago | 0 comments | Leave a comment

MIT OpenCourseWare 6.00 Introduction to Computer Science and Programming
Lesson 3, HW 1

#Rob Carmichael
#Problem Set 2

#Problem 1

##a=6
##b=9
##c=20
##
##for n in range(50,56):
##    for d in range(0,n/a+1):
##        for e in range(0,n/b+1):
##            for f in range(0 ...
carmichael22
1 week ago | 0 comments | Leave a comment

MIT OpenCourseWare 6.00 Introduction to Computer Science and Programming
Lesson 2, HW 1

 # Problem Set 0
 # Name: Pumafied@gmail.com
 # Collaborators: none
 # Time: 0:20
 # 

x = raw_input('What is your last name?');
y = raw_input('What is your first name?');

print (y);
print (x);
raw_input()
Pumafied
2 weeks ago | 1 comment | Link to full homework

Structure and Interpretation of Computer Programs
Lesson 1, HW 1

1.1 10, 12, 8, 3, 6, no output, no output, 19, false, 4, 16, 6, 16

1.4 if ...

1.2  (/ (+ 5 4 (- 2 (- 3 (+ 6 (/ 4 5)))))(* 3 (- 6 2)(- 2 7)))
1.3  
(define (square x) (* x x))
(define (square y) (* y y))
(define (sum-of-squares x y)
  (+ (square x) (square y)))
(define (f a b c)
  (cond ...
neutralluke
2 weeks ago | 0 comments | Leave a comment

MIT OpenCourseWare 6.00 Introduction to Computer Science and Programming
Lesson 17, HW 1

Quiz 2

#1)  Is each of the following True or False 
    1.1. A greedy algorithm can be used to solve the 0-1 knapsack optimization problem. 
	FALSE

    1.2. Dynamic programming can be used to solve optimization problems where the ...
sebrenner
2 weeks ago | 0 comments | Leave a comment

MIT OpenCourseWare 6.00 Introduction to Computer Science and Programming
Lesson 16, HW 1

# 6.00 Problem Set 9
#
# Name:  Scott Brenner
# Collaborators: None
# Time:

from string import *

class Shape(object):
    def area(self):
        raise AttributeException("Subclasses should override this method.")
    

class Square(Shape):
    def __init__(self, h):
        """
        h: length of side of the ...
sebrenner
2 weeks ago | 0 comments | Leave a comment

MIT OpenCourseWare 6.00 Introduction to Computer Science and Programming
Lesson 14, HW 1

# 6.00 Problem Set 8
#
# Intelligent Course Advisor
#
# Name: Scott Brenner
# Collaborators: http://openstudy.com/studypads/Problem-Set-8-4c6bf092e6153a7f05c12e1e
# Time: problem 1: 20 minutes
#

import time
import string
from operator import itemgetter, attrgetter

SUBJECT_FILENAME = "my_subjects.txt"
SUBJECT_FILENAME = "subjects.txt"
VALUE, WORK = 0 ...
sebrenner
2 weeks ago | 0 comments | Leave a comment

MIT OpenCourseWare 6.00 Introduction to Computer Science and Programming
Lesson 12, HW 1

MIT OpenCourseWare 6.00 Problem Set 7

This problem set is designed to help you solidify your understanding of some ...

sebrenner
2 weeks ago | 0 comments | Leave a comment

MIT OpenCourseWare 6.00 Introduction to Computer Science and Programming
Lesson 11, HW 1

# 6.00 Problem Set 6
#
# The 6.00 Word Game
#
# Scott Brenner
# Problem 1: 25 minutes
# Problem 2: 35 minutes
# Problem 3: ~8 hours  Lots of careless problems along the way.  Problems cause by short periods of time to work ...
sebrenner
2 weeks ago | 0 comments | Leave a comment

Most Recent Homework Comments:

MIT OpenCourseWare 6.00 Introduction to Computer Science and Programming
Lesson 2, HW 1

Argh wrong section sorry!

Pumafied
2 weeks ago on Pumafied's homework | Link to full comment

MIT OpenCourseWare 6.00 Introduction to Computer Science and Programming
Lesson 2, HW 1

I tried your code and it works, however most other Prime number testers have a line somewhere that goes something like this while (n <= (number**.5)): It is the half ...

machv5
1 month ago on wolfei's homework | Link to full comment

MIT OpenCourseWare 6.00 Introduction to Computer Science and Programming
Lesson 2, HW 1

For problem set1a, the prime numbers, why do you subtract 1 from the count?

bigsonny
1 month ago on Dino3317OSU's homework | Link to full comment

MIT OpenCourseWare 6.00 Introduction to Computer Science and Programming
Lesson 2, HW 1

Like how your code is written. Easy to follow and comments make it very clear what steps you were taking to test.

spka2000
2 months ago on Jaamoka's homework | Link to full comment

MIT OpenCourseWare 6.00 Introduction to Computer Science and Programming
Lesson 3, HW 1

to break from a loop i think there is a break keyword to do this

wolfei
2 months ago on 4orty4's homework | Link to full comment

MIT OpenCourseWare 6.00 Introduction to Computer Science and Programming
Lesson 1, HW 1

Ty, I just found it. Have a great day

machv5
3 months ago on rohshall's homework | Link to full comment

MIT OpenCourseWare 6.00 Introduction to Computer Science and Programming
Lesson 1, HW 1

Probably not 3 minutes now that I look at it, but I did this quite a while ago so don't remember my time. Also, the Ms. part doesn't really work ...

doodles103
3 months ago on doodles103's homework | Link to full comment

MIT OpenCourseWare 6.00 Introduction to Computer Science and Programming
Lesson 1, HW 1

Hi machv5, "Submit homework" section is at the bottom-most part of the assignment page. This section will appear only if you have not submitted homework for that assignment. HTH.

rohshall
4 months ago on rohshall's homework | Link to full comment

MIT OpenCourseWare 6.00 Introduction to Computer Science and Programming
Lesson 1, HW 1

man I am surprised to see so many variants that do the same thing. just to let you know you missed a quotation mark on line 1, which is why ...

machv5
4 months ago on derrickwhiting's homework | Link to full comment

MIT OpenCourseWare 6.00 Introduction to Computer Science and Programming
Lesson 1, HW 1

Did you run your code? I tried it and because you used input rather than raw_input there is an error because (any name you enter) variable has not been set. ...

machv5
4 months ago on xwb1989's homework | Link to full comment