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
2 votes
2 answers
41 views

Best beginner language for a basic course

first I want to apologize for my bad English. I am a teacher at a secondary school in Germany. Some of these students specialize in computer science. Maybe I am the teacher of one of these courses ...
5 votes
4 answers
2k views

What is the best way to learn practical programming when school doesn't help?

At my university, my fellow students and I cannot apply practical subjects well... For example, when we are asked to do a software project, we cannot analyze its requirements to know the steps that ...
2 votes
1 answer
182 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 ...
5 votes
2 answers
217 views

Are jUnit or TestNG simple enough for undergraduates to apply in a matter of weeks? What alternative?

I was hoping that in this year's Software Engineering class, our capstone for Computer Science, could implement a disciplined automated test strategy for their Java project. Now, with only seven weeks ...
5 votes
5 answers
165 views

Seeking Effective Examples to Teach OOP Concepts Beyond Common Analogies

As a computer science educator, I have extensively researched various books for relevant examples to teach programming concepts, particularly Object-Oriented Programming (OOP). A recurring challenge I'...
11 votes
8 answers
8k views

Why is "programming" so much prioritized in a computer science degree?

Why is stuff like database administration Linux administration network administration etc. not prioritized? I used to think programming is the end of the road, but I realized there is much more to ...
5 votes
7 answers
8k views

Why Computer Science students learn Digital Logic Design?

Is there any relationship between a computer science student and DLD course? I am studying for a Bachelors of Science and Engineering degree, and we are studying DLD (Digital Logic Design) in my ...
8 votes
6 answers
838 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 ...
0 votes
1 answer
120 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 ...
2 votes
1 answer
143 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 ...
2 votes
2 answers
203 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
1 answer
173 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 ...
2 votes
1 answer
69 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
0 answers
44 views

Beginner project in c++

I am a cse undergrad and I have recently finished basics of c++ language to further improve my command on it I was looking forward to making a project. I am thinking of a simple ray tracer .I know c++ ...
1 vote
2 answers
89 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 ...
1 vote
1 answer
215 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 ...
3 votes
2 answers
151 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
71 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
850 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
147 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
74 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
115 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
35 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
97 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
139 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
56 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
276 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
309 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
185 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
392 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
53 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
150 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
90 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
443 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
60 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
573 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
554 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, ...
42 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
111 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
95 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
140 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
1k 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
161 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
183 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
199 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 ...