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
1
vote
2answers
72 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 ...
12
votes
6answers
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
2answers
86 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
1answer
107 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
1answer
175 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
1answer
48 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
3answers
118 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
0answers
98 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 ...
4
votes
3answers
109 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 ...
5
votes
3answers
221 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
1answer
85 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
1answer
117 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
2answers
61 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
0answers
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
1answer
84 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
2answers
147 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
4answers
137 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
17answers
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 ...
1
vote
0answers
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 ...
0
votes
1answer
44 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
13answers
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 ...
7
votes
2answers
169 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 ...
5
votes
3answers
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 ...
0
votes
1answer
68 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
4answers
163 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
5answers
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 ...
5
votes
7answers
407 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?
0
votes
0answers
48 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.
4
votes
1answer
186 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 ...
3
votes
3answers
135 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 ...
2
votes
1answer
105 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 ...
2
votes
2answers
160 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 ...
5
votes
6answers
191 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 ...
7
votes
2answers
249 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 ...
2
votes
6answers
247 views

What do programming novices need to know when using MatLab?

I am an assistant professor preparing a 5 lecture series 'introduction to programming'. The target audience are first year engineering undergrads - from a mix of mechanical, electrical, electronic, ...
4
votes
5answers
176 views

Debugging a submission that works well on student's computer but not on my computer

I teach a course in C++. Often, students submit a homework assignment that works well in their computer (they send me a screenshot showing that it compiles and runs perfectly), but when I run the ...
2
votes
3answers
187 views

What is the CS Analog To Learning One's Multiplication Tables?

I apologize; I know this question is sort of open-ended and if I could think of a way to make it more specific, I would. What would you consider a piece of CS so fundamental that it would be ...
1
vote
1answer
59 views

How to verify that code you write is not copyrighted anywhere? [closed]

Is there any guidelines how to make sure that code you write won't be copyrighted anywhere? I meet sometimes situations where I write code that does some particular small thing but there is a similar ...
1
vote
0answers
52 views

How to teach linear programming and reductions?

Do you know any textbook with problems+solutions to support teaching of linear programming and reductions? In particular for: standard and slack forms, formulation of problems as linear programs, ...
14
votes
8answers
5k views

What is the point of teaching coding and robotics to kids as young as six years old?

Nowadays, kids as young as six years are being taught coding through various tools such as MIT's Scratch. I wonder what is the point of teaching coding at such a tender age. They will go for a job ...
1
vote
1answer
92 views

JavaFX and console-based interfaces, at the CS1 level

I'm running into some annoying technical problems in trying to incorporate JavaFX into my CS1 class, mainly arising from the constraints of avoiding/minimizing material they haven't yet learned. ...
6
votes
5answers
432 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
2answers
106 views

Is there any formal education for programming? Other than a CS degree?

Are there any universities that give you a Bachelor's in programming? I am aware of Computer Science BSc, but it's a little too broad in scope.
3
votes
3answers
226 views

Any website/textbook with problems+solutions in algorithms?

I'm trying to find an online source or textbook with problems+solutions for problems in dynamic programming, number theory, graph theory, greedy algorithms, etc. Do you know of any?
2
votes
3answers
86 views

A category to classify expressions, statements and blocks

I was teaching an intro to Programming class, full of social scientists. After explaining that the basic building blocks of a program are called tokens, I took them through Keywords, Identifiers, ...
0
votes
2answers
79 views

Is there any series of videos in which all the main algorithms are discussed without going into things like time complexity and space complexity

The course should be discussed in c language. I am presently learning basic computer programming through a book and while doing the questions from the book from a chapter say array, I found out most ...
0
votes
2answers
58 views

Research question thesis

I am now in high school and have to do research. But I am not sure which research question to choose. I would like to talk about programming languages and therefore something within computer science. ...
1
vote
3answers
353 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 that much good at programming as much as I should be, and because I am also interested in game development so of course it will ...
-1
votes
2answers
115 views

what would be a best approach to teach programming to non CS major?

I would like to design or develop program or game to teach non CS-major(engineering students) programming languages.My question is which one will be effective games or designing program? If so any ...
1
vote
0answers
109 views

Hackerrank challenges for a programming course: hide code and show only what is relevant?

I'm trying to create a programming competition with personalized challenges for my class, using Hackerrank. The thing is: I need to show only the minimum relevant code to solve the challenge, and ...