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
3
votes
0answers
58 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 ...
3
votes
2answers
81 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
200 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
51 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 ...
0
votes
0answers
71 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
53 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
29 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
79 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
109 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
122 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
40 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
38 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 ...
13
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 ...
6
votes
2answers
116 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
64 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
152 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
393 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
47 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
142 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
107 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
101 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 ...
1
vote
2answers
146 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
183 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 ...
3
votes
2answers
191 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
241 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
170 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
181 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
56 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
49 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
83 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
312 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
102 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
190 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
78 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
77 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
57 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
311 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
110 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
98 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 ...
20
votes
8answers
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 ...
4
votes
6answers
256 views

Explain to someone that programming isn't just all “if”s and “else”s

I have a friend who, in his mind, has the wrong image about programming. Whenever I mention that programming is fun and that one can enjoy it very much especially if they like solving problems (both ...
24
votes
7answers
5k views

Why teach C using scanf without talking about command line arguments?

Most of the books I read give examples using printf and scanf. At some point the students know perfectly how to use these two ...
-1
votes
2answers
98 views

How To develop One's Interest in Programming [closed]

My younger brother is having a hard time learning programming. This seems strange because he's very good at other computer related subjects. He isn't choosing any other field, so how can he develop ...
4
votes
7answers
370 views

How to teach so that your student doesn't feel stupid?

I'll start by admitting I'm not a teacher. But I am a professional computer programmer with over 20 years of experience and a BS in computer science. I'm also a dad. My daughter is 9 years old and is ...
0
votes
0answers
43 views

Why do computer science students learn electronics and electric circuit analysis? [duplicate]

I am a student of BS(CS), There are two courses that I don't understand why they are in our scheme? As we know that in CS we learn programming courses. Our concern is with programming languages like ...
12
votes
13answers
11k views

On studying Computer Science vs. Software Engineering to become a proficient coder

I’m mostly interested in the coding aspect of the CS and SE majors curricula. And I’m trying to decide between the two. Each major has its pros and cons, and they prepare you in very different ways ...