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
0 votes
0 answers
28 views

Teaching a coding language in an interactive way for a school club

I am currently a senior in high school who runs a club centered around teaching C++ to interested people. However, my fellow board members and I have recognized that our style of teaching the ...
1 vote
0 answers
34 views

Coding exercises that test memory safety

I am looking for a coding exercise that could be assigned to students and will give them practice with writing memory-safe code. In particular, I am looking for some exercise that students would have ...
1 vote
2 answers
52 views

Why is it considered undesirable for a function to exceed the dimensions of a single screen?

According to a computer science teacher, it is beneficial to create methods that fit within a single screen. While I understand the importance of crafting concise and straightforward functions that ...
2 votes
1 answer
120 views

Use codewars in class

I'm currently doing my teacher preparation in Germany and next year I have to teach programming in python to high school students. The students only have 90 min of computer science every week and the ...
1 vote
1 answer
109 views

How to know what topics to study while learning to build website?

We're having a project work where university won't guide us at all. I've decided to use MERN stack to build a website. But I'm confused on what topics should I learn in html, css, javascript etc. What ...
1 vote
1 answer
138 views

The answers to "Why Are There So Many Programming Languages?" for high school students, not too pedantic

When my students (high school students) asked me "Why Are There So Many Programming Languages?" I don't want to give them an answer that is too pedantic (so they won't respond "Tl;dr&...
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 ...
0 votes
1 answer
100 views

What's the difference between a Hacker and a Cracker as an Ethics Discussion?

The term hacker didn't originate at MIT rail road club, it's as ancient as press, or mass publications, and the same argument still exists. How do we tie the common definition and word use by ...
3 votes
2 answers
113 views

How to teach hardware-software integration to new developers?

I'm having trouble succesfully teaching integration to trainee that are not from a computer science background. Basically they have a training of 3 months around C/C++/Python/Software Testing/...
0 votes
1 answer
61 views

How do I solidify my Python skills?

I've just finished reading Eric Matthes' Python Crash Course. A book which I found great to learn Python within a short time. The learning process wasn't really hard for me as I was already familiar ...
4 votes
4 answers
466 views

Is it common that CS graduates have a hard time programming?

I came across this question, I'm graduating with a Computer Science degree but I don't feel like I know how to program on https://softwareengineering.stackexchange.com/. It has 1050 upvotes and 130 ...
3 votes
4 answers
140 views

Should a programmer always write code that validator produces no errors?

I took a course on web page development. The lecturer said that one should always write web pages such that validator produces no errors. I also know a person who has studied economics and business. ...
6 votes
3 answers
67 views

Designing of code kata focused on _deleting_ code as a primary goal

I am preparing an educational course on software legacy code and refactoring. Every topic is introduced as a group discussion to establish the vocabulary. It is then followed by a matching practical ...
0 votes
3 answers
108 views

Is it useful to search code from the Internet?

Which one is better way in programmig: If you have a problem for programming, try to search solution from the Internet. Learn useful parts of the programming language by heart and learn how to apply ...
0 votes
0 answers
33 views

How to learn how files are connected to each other, routing,database connection in software development?

These are the things in backend that confuse me a lot. https://github.com/Lucifergene/Docker-Mern Let's take this code for example. Say I'm in server folder. I can't understand how config models ...
0 votes
1 answer
93 views

what is a good way to learn new framework / language?

I have been learning rust since 2021. I followed different courses from YouTube and others. Then I shifted towards books to learn rust and right now after two years I am doing same thing and learning ...
2 votes
4 answers
134 views

How can I teach socket programming?

I am teacher in high school, and I would like to teach socket programming. How can I teach socket programming?
0 votes
1 answer
55 views

What unity skills and other technologies I need for high paying Unity jobs? [closed]

I got a low paid unity job with my beginner-intermediate knowledge of unity. Now what unity skills and other technologies I should be learning to get a high paying job that requires experience and a ...
0 votes
3 answers
244 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 ...
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 ...
6 votes
1 answer
180 views

How to design an assignment on applications of Formal Verification?

I'm teaching a course on Intro to Theoretical CS, which is a compulsory course for CS majors. A pre-requisite is Math for CS and a co-requisite is Design of Algorithms. In this course we also cover ...
4 votes
5 answers
361 views

Book recommendation for high school students who will major in CS?

I have some students who will major in CS next year. I have taught them some basic algorithms (sorting & searching), e.g. check here How to teach algorithms in an interactive way & Teaching ...
0 votes
1 answer
48 views

Suggestions and resources for the conception of a pedagogic machine (computer) and its emulator?

It's demanded to design a simplified machine (computer) and its emulator. First I need to do the design of this machine and here is some ideas I've thought about: Components: main memory, ALU, RI, ...
9 votes
8 answers
3k views

How does the ability to solve a new problem come to a person?

How do you learn problem solving. Programming is all about problem solving. Whenever I try any new problems, I can't solve them. How does this ability to tackle a new problem by yourself come? How do ...
2 votes
4 answers
142 views

Why visual program design?

I've just been prompted to think about this by reading this dated question: Jackson based IDE for programming But the issue had already been on my mind recently. Why do attempts at "visual ...
45 votes
22 answers
11k 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 ...
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 ...
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 ...
33 votes
11 answers
11k views

Problems with students stuck in web-browser and what to do about it

My students have been trained to use tools in the web-browser: cloud word-processors, web-sites, etc. When I try to teach programming on the computer: using programs that are on the local computer. ...
2 votes
0 answers
59 views

What are some resources to practice javascript while learning it?

I’m looking for solved and unsolved assignments of JavaScript to practice. My goals are both, practice javascript to learn to program as well as practice javascript to be able to design MERN ...
5 votes
2 answers
568 views

Excel macro recorder exercises

On advanced Excel courses I teach attendees how to use the macro recorder. I also start VBA beginner trainings with the recorder and analysing the recorded code. I find the macro recorder a good entry ...
5 votes
12 answers
1k views

Teaching the tradeoffs of the foreach loop

Edit: It's been quite a while since I posted this question, and in the intervening time, I have come to love the foreach loop. However, in order to avoid invalidating answers, I leave the text ...
2 votes
2 answers
376 views

How to actually learn while building dummy applications that have already been built?

I'm a CS graduate from poor and underdeveloped country so my education might not be upto the standard so pardon me for that. I'm planning to learn full stack web development for job. Be it MEAN, MERN, ...
43 votes
16 answers
14k views

What is good age to start learning programming?

I am thinking of offering classes for people, maybe take 5 to 10 at the time. There would be 4 hours every Saturday, twice a month, for three months. So in total 6 such sessions. The language thought ...
0 votes
1 answer
107 views

An automatic grader won't accept my solution. What should I do?

I study computer science. In my course problems are in a web page and there are described what the program should do and what the screen should be seen after an example run. The solutions are checked ...
2 votes
3 answers
93 views

Searching for algorithms using array, stack, queue, List or no data structure solving interesting problems

rI am a teacher in germany (high school) and I am searching for algorithms, that solve interesting problems using no data structure or linear data structures only. The goal is to motivate the students ...
2 votes
2 answers
133 views

First Time teaching 6th & 7th grade computer science

I will be teaching 2 AP CS courses, along with 6th and 7th grade intro to computer science. I'm debating on whether teaching JavaScript (using CodeHS) to 7th graders would be an appropriate ...
3 votes
1 answer
861 views

Which is the best book for algorithms before I dive into Leetcode?

I am really interested in diving into leetcode. However, I want a solid foundation on data structures and algorithms being used to solve the problems in Leetcode. Please recommend to me some books/...
5 votes
1 answer
159 views

What is the technology (or combination of technologies) one would use to create slides, animations and live coding for lectures?

I teach Computer Science courses. Ideally, I would like to have all teaching materials in a website: slides, animation of data structures operations, live coding to illustrate the basic data ...
0 votes
3 answers
177 views

Is blogging , affiliate marketing , E-commerce etc are the fields of Computer Science

Question Background: I am CS students . Now a day lot of peoples are learning and earning through -> blogging , affiliate marketing , E-commerce etc . And also provides these type of services ! ...
4 votes
5 answers
187 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 ...
3 votes
5 answers
170 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 ...
3 votes
2 answers
190 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 ...
12 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 ...
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 ...
2 votes
3 answers
583 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 ...
6 votes
1 answer
591 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 ...
17 votes
9 answers
8k 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 ...
0 votes
3 answers
1k 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?
5 votes
1 answer
153 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 ...