Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs
6 votes
Accepted

How to develop skills in computer science that separate normal students from students of reputed institutes?

Please note: I am a serious student who wants to improve himself into a quotes strong and all rounded problem solver and developer Firstly, I don't think "problem solving" is a generic ...
Steve's user avatar
  • 491
5 votes

What are some teaching examples for a lesson on off-by-one errors which do not involve a for-loop or array indexing?

Probably the most common out by one error is the fence-post error. In a linear fence, the number of posts is one more than the number of panels. It is important to know whether you are counting fence-...
ctrl-alt-delor's user avatar
3 votes

Blockchain cipher suitable for preschoolers

You asked, Does there exist a pencil & paper activity involving blockchain ciphers which is suitable for preschoolers? The answer is no. However, you might be able to teach such things to ...
Samuel Muldoon's user avatar
3 votes

What Informal Description Might Help Beginning Students Understand Python's `str.strip()` method?

All of the explanations in the other answers are fine for strip(), and will do very well for students who have a good intuition for what strings and characters are. ...
Ben I.'s user avatar
  • 33.7k
2 votes

What are some teaching examples for a lesson on off-by-one errors which do not involve a for-loop or array indexing?

Basically anything involving intervals, discrete and continuous. What is the distance between 1 and 10? 10 - 1 = 9, but: If these are kilometer posts, it's 9 ...
yeputons's user avatar
  • 121
2 votes

What are some teaching examples for a lesson on off-by-one errors which do not involve a for-loop or array indexing?

I'm unclear if "real world" means a programming or non-programming context, but an infamous real-world example of this was following the introduction of the Julian calendar, by Julius Caesar ...
Steve's user avatar
  • 491
2 votes

How to construct non computer-based, Paper Parsons Problem

You could print the source code on regular 8.5"x11" paper and cut it into strips, optionally with line numbers on the back to represent the correct answer. If cutting papers for all of your ...
ggorlen's user avatar
  • 794
2 votes

What Informal Description Might Help Beginning Students Understand Python's `str.strip()` method?

Start with why: e.g. user input sometimes has leading and trailing space. The user does not see this space. To the user this is equivalent. Therefore it should be equivalent (to there being no leading ...
ctrl-alt-delor's user avatar
2 votes

What Informal Description Might Help Beginning Students Understand Python's `str.strip()` method?

I would introduce this with a problem/relatable example, such as: I'd make a little text-based program that printed out: ...
Green Griffin's user avatar
1 vote

Resources/material for developing a course on assembly programming

Here is a link to a web page history for CS270 - Computer Organization taught at Colorado State University. The course covered three areas over a semester and was typically taken in the second year. ...
Fritz Sieker's user avatar
  • 1,213
1 vote

What Informal Description Might Help Beginning Students Understand Python's `str.strip()` method?

I suggest Strings can contain characters that you can't see such as spaces between words, or marking the end of a line. str.strip will remove these characters if ...
Jack Aidley's user avatar
1 vote

What Informal Description Might Help Beginning Students Understand Python's `str.strip()` method?

strip removes characters from the beginning and end of a string The removed characters can be passed as the first argument to ...
tripleo's user avatar
  • 11
1 vote

What Informal Description Might Help Beginning Students Understand Python's `str.strip()` method?

The phone number "(303) 719 -7210⎵⎵⎵⎵" has some spaces on the right-hand side. Most computers do not like spaces. We ...
Samuel Muldoon's user avatar
1 vote

Blockchain cipher suitable for preschoolers

I am a preschool teacher and a former CS/IT worker. Yes, you can teach CS to preschoolers. It is a part of the Digital Citizen lesson planning that is common across the board. I would say use colors ...
KHailey's user avatar
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible