9 Replies - 408 Views - Last Post: 04 January 2018 - 12:52 AM

#1 alexstrinda  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 33
  • Joined: 14-August 15

Science-based programming tasks

Posted 31 December 2017 - 11:04 AM

Hello, recently I have found a number of tasks which are on the border between real science application and coding. One example is finding a specific sequence in a DNA line.
The DNA line is given, and the students were expected to write a code that should find out how many times an exact passage can be met in the code. We have many biology students that enjoyed completing this task very much.

I thought there might be a book or a resource (web, book, ... ) where more such tasks can be found (physics, biology, chemistry, history (?)). Please write if you k ow anything about it.

Is This A Good Question/Topic? 0
  • +

Replies To: Science-based programming tasks

#2 macosxnerd101  Icon User is offline

  • Games, Graphs, and Auctions
  • member icon




Reputation: 12267
  • View blog
  • Posts: 45,362
  • Joined: 27-December 08

Re: Science-based programming tasks

Posted 31 December 2017 - 11:37 AM

Rosalind.info and Project Euler are good places to check out!
Was This Post Helpful? 1
  • +
  • -

#3 Skydiver  Icon User is online

  • Code herder
  • member icon

Reputation: 6108
  • View blog
  • Posts: 21,021
  • Joined: 05-May 12

Re: Science-based programming tasks

Posted 31 December 2017 - 12:07 PM

In my opinion, Rosalind will be a better fit for bio majors and those interested in algorithms and data structures. Project Euler will be a lot of fun for math majors, but frustrate those interested in algorithms, but not interested in learning "math" tricks.
Was This Post Helpful? 1
  • +
  • -

#4 jon.kiparsky  Icon User is online

  • Beginner
  • member icon


Reputation: 11018
  • View blog
  • Posts: 18,803
  • Joined: 19-March 11

Re: Science-based programming tasks

Posted 31 December 2017 - 12:08 PM

You definitely want to spend a little while at rosalind.info. They have a well-curated problem set focusing on bioinformatics, so they're right in the use case you mention. Also, stepik.org has some courses that might be useful to you, for example Bioinformatics Algorithms
Was This Post Helpful? 1
  • +
  • -

#5 alexstrinda  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 33
  • Joined: 14-August 15

Re: Science-based programming tasks

Posted 31 December 2017 - 12:15 PM

Physics is also on the list. Any ideas where to look for physics tasks?
Was This Post Helpful? 0
  • +
  • -

#6 Skydiver  Icon User is online

  • Code herder
  • member icon

Reputation: 6108
  • View blog
  • Posts: 21,021
  • Joined: 05-May 12

Re: Science-based programming tasks

Posted 31 December 2017 - 12:36 PM

For physics, I don't know of any specific sites, but a lot of game programming problems involve simulation of world physics like acceleration, kinematics, etc.
Was This Post Helpful? 0
  • +
  • -

#7 jon.kiparsky  Icon User is online

  • Beginner
  • member icon


Reputation: 11018
  • View blog
  • Posts: 18,803
  • Joined: 19-March 11

Re: Science-based programming tasks

Posted 31 December 2017 - 01:07 PM

I don't know of any standing sites analogous to rosalind.info for physics, but you might look into some courses on coursera. For example, this one might be interesting to you.

Probably less interesting to you, but worth mentioning, is Sussman and Wisdom's book on "The Structure and Interpretation of Classical Mechanics" which is about modeling classical mechanics comptationally, using scheme.
Was This Post Helpful? 1
  • +
  • -

#8 jon.kiparsky  Icon User is online

  • Beginner
  • member icon


Reputation: 11018
  • View blog
  • Posts: 18,803
  • Joined: 19-March 11

Re: Science-based programming tasks

Posted 31 December 2017 - 01:20 PM

For most sciences, a grasp of probability is pretty handy. For that I might suggest you take a look at Allen Downey's books Think Stats and Think Bayes, both of which are available to read online or as pdf for free (at the links given) and can also be purchased in dead-tree flavor if you prefer.
Was This Post Helpful? 1
  • +
  • -

#9 ndc85430  Icon User is online

  • I think you'll find it's "Dr"
  • member icon

Reputation: 775
  • View blog
  • Posts: 3,172
  • Joined: 13-June 14

Re: Science-based programming tasks

Posted 03 January 2018 - 11:40 PM

View Postjon.kiparsky, on 31 December 2017 - 08:07 PM, said:

Probably less interesting to you, but worth mentioning, is Sussman and Wisdom's book on "The Structure and Interpretation of Classical Mechanics" which is about modeling classical mechanics comptationally, using scheme.


I suppose it's also worth mentioning that that book focuses on the Lagrangian formulation of classical mechanics, rather than the Newtonian one :).
Was This Post Helpful? 2
  • +
  • -

#10 jon.kiparsky  Icon User is online

  • Beginner
  • member icon


Reputation: 11018
  • View blog
  • Posts: 18,803
  • Joined: 19-March 11

Re: Science-based programming tasks

Posted 04 January 2018 - 12:52 AM

Good heavens. I do believe I've been out-pedanted. Well done, sir.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1