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
1 answer
57 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
1 answer
161 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
62 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 ...
  • 21
2 votes
2 answers
92 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 ...
  • 21
3 votes
1 answer
177 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/...
4 votes
1 answer
151 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
159 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 ! ...
  • 97
44 votes
21 answers
10k 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
144 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 ...
  • 141
3 votes
2 answers
173 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
148 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 ...
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 ...
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 ...
0 votes
1 answer
129 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
523 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 ...
  • 97
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
151 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 ...
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 ...
  • 273
1 vote
1 answer
103 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 .
  • 97
0 votes
3 answers
258 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 ...
  • 97
0 votes
3 answers
984 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?
  • 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.
2 votes
3 answers
135 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 ...
6 votes
1 answer
222 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 ...
  • 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 ...
  • 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 ...
1 vote
2 answers
98 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 ...
1 vote
1 answer
164 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 ...
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 ...
0 votes
1 answer
88 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 ...
6 votes
3 answers
137 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 ...
3 votes
0 answers
256 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 ...
  • 150
4 votes
3 answers
116 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 ...
  • 111
5 votes
3 answers
250 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 ...
0 votes
1 answer
188 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 ...
1 vote
1 answer
142 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 ...
2 votes
2 answers
74 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 (...
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. ...
1 vote
1 answer
106 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
177 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 ...
6 votes
4 answers
147 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 ...
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 ...
  • 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 ...
  • 121
0 votes
1 answer
64 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 ...
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 ...
8 votes
2 answers
286 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 ...
  • 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 ...
  • 198
0 votes
1 answer
80 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 ...
3 votes
4 answers
168 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 ...
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 ...
  • 371