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
44 votes
20 answers
9k views

If a program does not compile, should it get a mark of zero?

Following a discussion on the Academia SE, I would like to seek views here among Computer Science Educators on whether a mark of zero should be awarded if a student submits a program that does not ...
user avatar
4 votes
5 answers
122 views

Suggestions to improve my algorithm coding skills

I have a PhD in computer science (A fresh graduate). My bachelor's major is similar to CS but without algorithms (It's a discipline between business and CS). I am quite good at AI research but my ...
user avatar
  • 141
3 votes
2 answers
141 views

How can i explain the concept of decoration from the computer science perspective

As a python interested guy i have seen the syntactic sugar of a decorator like this: @decorator def decorated_method(self): return "Hello" So, it's a ...
user avatar
3 votes
5 answers
132 views

In programming courses, should homework grading be the job of the TA or the professor?

In most courses, the professor's job is to give the lectures, while the TAs' job is to grade the homework. But in some courses, giving the lectures is often a routine and repetitive task: the material ...
user avatar
11 votes
5 answers
2k views

What effect will AI tools like Codex and CoPilot have on teaching programming (and admissions)

New Artificial Intelligence (AI) programming tools like Codex and CoPilot can (to some extent) generate code in different programming languages from natural language descriptions. Obviously at the ...
user avatar
10 votes
8 answers
6k views

Why do we practice printing patterns while coding?

Why do we practice printing patterns while coding? Patterns like: 1 1 2 1 2 3 1 2 1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15, etc. Are these kinds of pattern questions ...
user avatar
0 votes
0 answers
64 views

Best books for solid foundation build up for python and java

Fellow programmers. I am currently learning java and python in my Master's degree (introduction) and I did those languages 2 years ago. And when I revisited for the units I feel like I have basic ...
user avatar
2 votes
3 answers
478 views

Which resource is best for learning something new in computer science?

Videos tutorials When I start learning C++ form video tutorials I grasp lot of concepts. But after some time I realize in this course that too many topics like (operator overloading, nested classes ...
user avatar
  • 87
5 votes
1 answer
148 views

Data science tutoring without just doing my student's homework

Someone I follow on social media is a freshman at university in a non-technical major, but she has a required data science course using Python, pandas and Jupyter Lab. She requested help from her ...
user avatar
17 votes
9 answers
7k views

What to tell students that plagiarised their programming assignment?

I am a TA for an undergraduate CS module at university in the UK and was in charge of marking coursework. The assignment contains three parts: report, code and video presentation. I found that 10 ...
user avatar
  • 273
1 vote
1 answer
90 views

What comes after learning object oriented programming in C++? [closed]

What comes after learning basic and object oriented programming in C++ , I also cover file handling .
user avatar
  • 87
0 votes
3 answers
239 views

Is C++ much better than other languages?

I am learning C++. I learned basics concepts and OOP. The main things peoples are working on are GUI and API development with the help of C++. My question is, as a C++ learner is it a must for me to ...
user avatar
  • 87
0 votes
3 answers
952 views

What is the best programming language to learn right now? [closed]

A CS student here. My school is teaching only Java, and I figured I should pick up another language on my own. What would you say is the best programming language to learn right now in this market?
user avatar
  • 25
7 votes
16 answers
9k views

Why isn't there one language to use instead of different programming languages?

One language is better. It is just better to learn one language rather than learn C++, Python, C#, etc. Just build one language that makes you build apps, websites, games, AIs, etc.
user avatar
2 votes
3 answers
133 views

How to teach programming to underprivilege kids who are not having access to laptop?

Many developing countries are having a large population that does not have access to computers/laptops. In such cases, what are the innovative ideas to teach and select students who like to study ...
user avatar
6 votes
1 answer
184 views

Graph / Tree Visualization Software

I am planning to begin teaching Computer Science topics in video/slide form. I would like to be able to easily create visualizations of trees and graphs (and other data structures would be great as ...
user avatar
  • 63
1 vote
2 answers
80 views

Help identifying a '90s CYOA-style book with BASIC code listings

Way back in the '90s, I read a choose-your-own-adventure style book, where most sections ended in a choice of 2 or 3 different pages to turn to (as is typical). However, this particular book was ...
user avatar
  • 111
11 votes
6 answers
8k views

I am a CS student, but I don't know how to code projects. How do I learn this?

It is a really worrying situation. I do well with CS subjects, but at the end of day it is all useless as I don't know how to code. How do I learn to code to make projects? I can make small programs ...
user avatar
1 vote
2 answers
95 views

Getting started on contributing to open source and making software

I’m just graduated high school. I learnt java in high school, but the java I learnt was taught on bluej and we weren’t taught to create any software or anything. I want to start contributing to open ...
user avatar
1 vote
1 answer
153 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 ...
user avatar
2 votes
1 answer
180 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 ...
user avatar
0 votes
1 answer
71 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 ...
user avatar
6 votes
3 answers
130 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 ...
user avatar
  • 163
3 votes
0 answers
212 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 ...
user avatar
  • 150
4 votes
3 answers
114 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 ...
user avatar
  • 111
5 votes
3 answers
243 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 ...
user avatar
0 votes
1 answer
169 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 ...
user avatar
1 vote
1 answer
122 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 ...
user avatar
2 votes
2 answers
69 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 (...
user avatar
1 vote
0 answers
33 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. ...
user avatar
1 vote
1 answer
105 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 ...
user avatar
2 votes
2 answers
170 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 ...
user avatar
6 votes
4 answers
146 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 ...
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 ...
user avatar
  • 371
1 vote
0 answers
45 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 ...
user avatar
  • 121
0 votes
1 answer
62 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 ...
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 ...
user avatar
8 votes
2 answers
253 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 ...
user avatar
  • 83
5 votes
3 answers
2k 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 ...
user avatar
  • 198
0 votes
1 answer
75 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 ...
user avatar
3 votes
4 answers
166 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 ...
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 ...
user avatar
  • 371
5 votes
7 answers
428 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?
user avatar
  • 179
0 votes
0 answers
49 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.
user avatar
  • 179
4 votes
1 answer
254 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 ...
user avatar
  • 163
3 votes
3 answers
143 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 ...
user avatar
2 votes
1 answer
111 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 ...
user avatar
  • 261
3 votes
4 answers
223 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 ...
user avatar
5 votes
6 answers
203 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
298 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 ...
user avatar
  • 171