Questions tagged [programming]
For questions about teaching programming (as opposed to e.g. [cs-theory]). Please consider whether a more specific tag is appropriate.
135
questions
2
votes
3
answers
47
views
Using IDEs with built-in AI code assistance for introductory courses
In my University, we heavily lean on Java as our primary language of choice. During the very first programming course (Basics of Programming in Java, 60 hours) for quite some time we have been ...
3
votes
5
answers
202
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
3
answers
249
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 ...
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
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 ...
5
votes
5
answers
174
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'...
1
vote
0
answers
57
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++ ...
2
votes
2
answers
208
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
2
answers
94
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
99
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
1
answer
232
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&...
0
votes
1
answer
82
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 ...
3
votes
2
answers
178
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/...
3
votes
4
answers
151
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
76
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 ...
4
votes
4
answers
1k
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 ...
2
votes
2
answers
250
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 ...
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
145
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
4
answers
142
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
123
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
1
answer
101
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 ...
6
votes
1
answer
188
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 ...
0
votes
1
answer
55
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 ...
3
votes
4
answers
159
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 ...
2
votes
0
answers
65
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 ...
1
vote
1
answer
205
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 ...
0
votes
1
answer
117
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
2
answers
718
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, ...
4
votes
5
answers
451
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 ...
2
votes
3
answers
108
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
150
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
2k
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
163
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
191
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 !
...
44
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 ...
4
votes
5
answers
217
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
2
answers
218
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 ...
3
votes
5
answers
191
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 ...
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 ...
11
votes
9
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 ...
0
votes
4
answers
314
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 ...
2
votes
3
answers
606
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 ...
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. ...
5
votes
1
answer
160
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 ...
19
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 ...
1
vote
1
answer
177
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 .
0
votes
3
answers
300
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 ...