id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

gaurav1780@gmail.com

First of all, thanks to Nick for creating this site and opening it up to teachers like myself. It is much appreciated!

----

Next, if you feel these questions SIGNIFICANTLY helped you with your learning of programming, please email me with a brief statement of appreciation at my work MQ email address (gaurav.gupta@mq.edu.au) which I may use for teaching grants.

In preferences (https://codingbat.com/pref), under "Teaching Share", put gaurav.gupta@mq.edu.au, so I can use your progress graphs to write further useful questions.

-----

**********************

* IMPORTANT *

**********************

Codingbat (as of now) uses Python 2, so the behaviour, in some cases, will be different from Python 3. For example, division works differently. In Python 2, 12 / 5 = 2, while in Python 3, 12 / 5 = 2.4.

-----

For MQ students, it is imperative that you attend and/or watch the relevant lectures before attempting these problems, otherwise, it's like trying to back a cake without any recipe.

-----

Use the feedback from the tests and trace through your code line-by-line to see the cause.

-----

I suggest splitting one complex statement into several ones to make it easier to debug.

So,

instead of:

alpha = (ch >= 'a' AND ch <= 'z') OR (ch >= 'A' AND ch <= 'Z')

use:

uppercase = (ch >= 'A' AND ch <= 'Z') lowercase = (ch >= 'a' AND ch <= 'z') alpha = uppercase OR lowercase

For any questions about these problems, contact me at my email address.

-----

I advise that you tackle the problem individually, but have a study group that you can go to, if you get stuck.

-----

MQ Computing students can visit the drop-in centre (https://students.mq.edu.au/study/faculties/science-and-engineering/drop-in-centre) to get help with any of these problems since they are not assessed.

Unfortunately, codingbat doesn't, yet, support classes.


Custom Problems

Custom Pages


Authoring docs

Copyright Nick Parlante 2017 - privacy