Questions tagged [programming]

For questions about teaching programming (as opposed to e.g. [cs-theory]). Please consider whether a more specific tag is appropriate.

Filter by
Sorted by
Tagged with
1 vote
1 answer
237 views

Is Deitel Intro to Python for Computer Science 2020 a resumed version of Deitel How to Program C, C++ and Java?

I am still not finding the right book for my career path. My first book related to programming on my university was Deitel How to Program C for Programming 1 subject, for Programming 2 we use C++ How ...
rubengavidia0x's user avatar
2 votes
1 answer
186 views

Perspective on assignments

Does it matter if when explaining assignments like a = 10 or f = <function> we talk about "assign a value/object to a ...
Quora Feans's user avatar
0 votes
1 answer
145 views

What is a good textbook for teaching Web Programming?

Is there any textbook you would recommend as appropriate for preparing a Web Programming college course? I would prefer a book that comes with sets of exercises, practice, code examples, etc. Students ...
Drimades Boy's user avatar
6 votes
3 answers
170 views

Reduce Grading & Improve Assignments

I'm looking at ways to improve assignments and reduce the amount of grading. Previously, there were two in-person lab classes with 15-20 students each week. Since Covid, there is now one online lab ...
SameOldNick's user avatar
3 votes
0 answers
640 views

Divide and conquer for subset sum problem

I want my students (equivalent first-year college students) to work on algorithmic paradigms during a 2 hours practical programming session in OCaml. I chose the subset sum problem since it can ...
Nathaniel's user avatar
  • 150
4 votes
3 answers
123 views

Resources for flowchart programming for young, new programmers?

I'm working with middle school teachers who are teaching a CS class with middle schoolers. The students have a wide range of programming skills, and for some it would be beneficial to offer them an ...
Randi W's user avatar
  • 111
5 votes
3 answers
266 views

COBOL programmers

It is a well-known fact that we have a shortage of COBOL programmers. Why we do not re-introduce COBOL in our curriculum for the Undergraduate and Graduate Students? I know some schools are teaching ...
Goku - stands with Palestine's user avatar
1 vote
1 answer
298 views

Online Platform for practicing Object Oriented Programming in Python

Is there any recommendation on an online platform that teaches and allows practicing object-oriented programming (OOP) in Python? I am familiar with Hackerrank and HackerEarth, however, they do not ...
Cute Panda's user avatar
1 vote
1 answer
189 views

Learning GoLang

I want to learn Go Language as it is popular these days. I tried some demo programs on https://play.golang.org/. Do we have some good resources to learn Golang? It looks pretty similar to C, C++ in ...
Goku - stands with Palestine's user avatar
2 votes
2 answers
83 views

Do you know online courses with Haskell for Theory of Computation?

I taught Theory of Computation last Fall and I believe it would be more interesting for students to add some coding implementations. Are you aware of any online course or textbooks in which Haskell (...
Drimades Boy's user avatar
1 vote
0 answers
35 views

Forming a foundation in PHP

Does anyone know what topics I should start studying to form a foundation in PHP ? Loops, outputting data, manipulating a database etc. ? Edit: I want to start using PHP to create a social site. ...
user13477176's user avatar
1 vote
1 answer
113 views

What's a good platform for independently teaching computer science and programming?

I've been interested in becoming a computer science/programming educator for a while now, and I have a real passion for it. I've taught a few people to code through sites like Khan Academy by ...
OOPS Studio's user avatar
2 votes
2 answers
222 views

How to learn Java as a beginner?

I want to start learning Java from scratch. But as a beginner, I don't know where to start or what to learn first. I have basic knowledge in C++ but Java is an entirely new area to me. Can anyone give ...
Long le Thanh's user avatar
5 votes
4 answers
155 views

Curriculum for a primary school learner

My niece is 11 this year and has shown a surprisingly deep interest in programming. She will spend hours on Khan Academy, using their javascript/processingjs environment. This is educational, but it's ...
Joshua Frank's user avatar
13 votes
17 answers
4k views

What are some fun projects for non-CS majors?

I'm teaching an undergrad Intro to Programming for Non-majors this semester (in Python) and I'm looking for some fun projects for my students that are engaging but not too difficult for them. This is ...
Levon's user avatar
  • 371
1 vote
0 answers
46 views

Number of preps for networking and programming courses

I am currently teaching in a community college that includes teaching introductory programming course in C++. I also have a colleague who is currently teaching ...
Edper's user avatar
  • 121
0 votes
1 answer
104 views

How many projects(within the same organisation) can one apply for in GSoC (google summer of code)?

Not because one would want to take on two tasks, but so that if one project is already filled/assigned,they could be assigned another one,instead of being turned down from the organization I have ...
coder5051's user avatar
14 votes
13 answers
3k views

Realistic task for teaching bit operations

I'm looking for a function or algorithm that requires extensive bit manipulation, but is not complicated in its nature and purpose, so that students remain focused on bit operations. Now I use Win32 ...
PlushBeaver's user avatar
7 votes
2 answers
484 views

What are some events/contests besides GSOC and ICPC that a first year undergrad Computer Science Engineering student should get involved with?

I am currently in my first year (in Bangalore, India) and I'm eager to get into competitive coding and programs like GSOC. I'm not aware of too many besides the two in my title, though. I'd love to ...
amnk's user avatar
  • 73
5 votes
3 answers
3k views

What and where should I study for competitive programming?

I am currently in the 10th grade. I would like to get started in competitive programming. This are the things I know now: Mathematics - Currently in pre-calculus Well Mathematics in my country is ...
Neelesh V's user avatar
  • 188
0 votes
1 answer
116 views

Cheating detection script [duplicate]

The pandemics has incredibly increased the number of cheating cases. Do you know of any script (bash or other scripting language) for checking a bunch of Java code submissions for similarity? I know I ...
Drimades Boy's user avatar
3 votes
4 answers
175 views

Ways to imagine a computer program for a student without photographic visualisation

People have different modalities in their imaginings. Some imagine things visually, some spatially, some by touch, some by smell, and some other ways. What if a student claims to not have the ability ...
Grzegorz Wierzowiecki's user avatar
9 votes
5 answers
2k views

Grading source code in an online environment

In the past students have submitted hardcopy of the programs and output for grading (electronic version was also supplied if I wanted to run the programs). I always annotated and graded the source ...
Levon's user avatar
  • 371
5 votes
7 answers
549 views

Concept of variable

For a beginner Is it right to use the concept of hotel room and passenger as an analogy to explain the concept of variable?
Milla's user avatar
  • 169
0 votes
0 answers
86 views

Jackson based IDE for programming

Is there any Jackson based IDE for programming? I mean, an IDE in which you can place the sentences in sequence from left to right. I am looking for something similar to PSeInt (spanish), although ...
Milla's user avatar
  • 169
4 votes
1 answer
285 views

Teaching an absolute beginners class Operating Systems with Rust

In our Bachelor curriculum the course Operating Systems and Computer Networks (5 CP) is designated to be taken in the second semester. Currently it uses C, and while I'm personally very fond of C, it ...
ljrk's user avatar
  • 163
3 votes
3 answers
149 views

How useful it is for math student to learn programming to find proofs or counterexamples?

I study mathematics and sometimes I have difficulties to find proofs or counterexamples to some problems. Is it useful to learn programming to find counterexamples or proofs? How useful it is for ...
mathlearner's user avatar
2 votes
1 answer
133 views

Are there any recommended tools for teaching syntax and grammar of programming languages?

I would like to know if there are some tools to teach the following topics in a programming paradigms course: Demonstration of lexical rules Demonstration of grammar rules, such as tree parsers of ...
Lila's user avatar
  • 261
3 votes
4 answers
270 views

How to design a cloze test for a programming language?

I teach a course on C++ for 2nd year undergraduates in computer science. So far, the exams in my course contained mostly code-writing questions, such as "write a class that implements a binary tree ...
Erel Segal-Halevi's user avatar
5 votes
6 answers
207 views

Is it necessary or advisable to teach text-based input and output in a non-CS intro programming course?

I teach an intro programming course in a social science department. My field is geographic information systems. The goal for the course is for the students to understand scripting in an interpreted ...
user avatar
7 votes
2 answers
329 views

What language best prepares a high school student for a STEM undergraduate major?

I intend to lead a nephew through the exercises of sequence, selection, and iteration via Python. I also intend to introduce hardware sensors for data collection. If there is a better choice (I ...
gatorback's user avatar
  • 171
3 votes
6 answers
274 views

What do programming novices need to know when using MatLab?

I am an assistant professor preparing a 5 lecture series 'introduction to programming'. The target audience are first year engineering undergrads - from a mix of mechanical, electrical, electronic, ...
scivix's user avatar
  • 31
6 votes
5 answers
191 views

Debugging a submission that works well on student's computer but not on my computer

I teach a course in C++. Often, students submit a homework assignment that works well in their computer (they send me a screenshot showing that it compiles and runs perfectly), but when I run the ...
Erel Segal-Halevi's user avatar
2 votes
3 answers
204 views

What is the CS Analog To Learning One's Multiplication Tables?

I apologize; I know this question is sort of open-ended and if I could think of a way to make it more specific, I would. What would you consider a piece of CS so fundamental that it would be ...
Onorio Catenacci's user avatar
1 vote
1 answer
71 views

How to verify that code you write is not copyrighted anywhere? [closed]

Is there any guidelines how to make sure that code you write won't be copyrighted anywhere? I meet sometimes situations where I write code that does some particular small thing but there is a similar ...
guest's user avatar
  • 13
1 vote
0 answers
54 views

How to teach linear programming and reductions?

Do you know any textbook with problems+solutions to support teaching of linear programming and reductions? In particular for: standard and slack forms, formulation of problems as linear programs, ...
Drimades Boy's user avatar
15 votes
8 answers
5k views

What is the point of teaching coding and robotics to kids as young as six years old?

Nowadays, kids as young as six years are being taught coding through various tools such as MIT's Scratch. I wonder what is the point of teaching coding at such a tender age. They will go for a job ...
gpuguy's user avatar
  • 269
1 vote
1 answer
131 views

JavaFX and console-based interfaces, at the CS1 level

I'm running into some annoying technical problems in trying to incorporate JavaFX into my CS1 class, mainly arising from the constraints of avoiding/minimizing material they haven't yet learned. ...
JLasseter's user avatar
  • 156
6 votes
5 answers
704 views

Students' confusion over C structure members and structure variables

Before I ask my question, some background may be apposite to provide context. Please indulge me. At the institute I teach, our Intro to Programming. It involves a coverage of C language. We believe C ...
Mallam Awal's user avatar
0 votes
2 answers
113 views

Is there any formal education for programming? Other than a CS degree?

Are there any universities that give you a Bachelor's in programming? I am aware of Computer Science BSc, but it's a little too broad in scope.
kanayt's user avatar
  • 241
3 votes
3 answers
341 views

Any website/textbook with problems+solutions in algorithms?

I'm trying to find an online source or textbook with problems+solutions for problems in dynamic programming, number theory, graph theory, greedy algorithms, etc. Do you know of any?
Drimades Boy's user avatar
2 votes
3 answers
99 views

A category to classify expressions, statements and blocks

I was teaching an intro to Programming class, full of social scientists. After explaining that the basic building blocks of a program are called tokens, I took them through Keywords, Identifiers, ...
Mallam Awal's user avatar
0 votes
2 answers
83 views

Is there any series of videos in which all the main algorithms are discussed without going into things like time complexity and space complexity

The course should be discussed in c language. I am presently learning basic computer programming through a book and while doing the questions from the book from a chapter say array, I found out most ...
Piesquareisg's user avatar
0 votes
2 answers
211 views

Research question thesis

I am now in high school and have to do research. But I am not sure which research question to choose. I would like to talk about programming languages and therefore something within computer science. ...
Jonge Roge's user avatar
1 vote
4 answers
434 views

Want to be good at programming (C++) and then start learning game development, where should I start?

This semester in my university we learned C++ but I feel like I am not as good at programming as I should be, and I am also interested in game development so of course it will be helpful for me in ...
Erad Ali's user avatar
-1 votes
2 answers
145 views

what would be a best approach to teach programming to non CS major?

I would like to design or develop program or game to teach non CS-major(engineering students) programming languages.My question is which one will be effective games or designing program? If so any ...
Jared's user avatar
  • 11
1 vote
0 answers
149 views

Hackerrank challenges for a programming course: hide code and show only what is relevant?

I'm trying to create a programming competition with personalized challenges for my class, using Hackerrank. The thing is: I need to show only the minimum relevant code to solve the challenge, and ...
Floella's user avatar
  • 373
21 votes
10 answers
4k views

What's the benefit of prohibiting the use of techniques/language constructs that have not been taught?

I teach as a private tutor and most of my students are prohibited to use techniques and/or language constructs that they haven't been taught! There's a really broad variety of stuff that is ...
csabinho's user avatar
  • 403
4 votes
6 answers
433 views

Explain to someone that programming isn't just all "if"s and "else"s

I have a friend who, in his mind, has the wrong image about programming. Whenever I mention that programming is fun and that one can enjoy it very much especially if they like solving problems (both ...
Feelsbadman's user avatar
24 votes
7 answers
5k views

Why teach C using scanf without talking about command line arguments?

Most of the books I read give examples using printf and scanf. At some point the students know perfectly how to use these two ...
nowox's user avatar
  • 407