Questions tagged [programming]
For questions about teaching programming (as opposed to e.g. [cs-theory]). Please consider whether a more specific tag is appropriate.
61
questions
0
votes
1answer
13 views
How many projects(within the same organisation) can one apply for in GSoC?
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 ...
-1
votes
0answers
22 views
What is wrong in the following programme for logarithm function in c programming [closed]
enter image description here
Can u please help me solve this problem
tack.imgur.com/i9zJ9.jpg
11
votes
12answers
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
1answer
61 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 ...
6
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 ...
1
vote
1answer
55 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 ...
2
votes
4answers
140 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 ...
8
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
365 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
41 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.
3
votes
1answer
126 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
98 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
97 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
86 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
178 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
182 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
236 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
166 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
172 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
50 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
44 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
81 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
289 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
96 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
177 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
72 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
73 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
55 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. ...
0
votes
3answers
265 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 ...
-2
votes
2answers
104 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
80 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 ...
5
votes
6answers
250 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 ...
22
votes
5answers
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 ...
0
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 ...
5
votes
7answers
324 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
36 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 ...
1
vote
5answers
270 views
Through what basic programming language can beginners easily get the concept of programming? [duplicate]
I have some students that are from medical background and have no concept of programming. So, which language I should teach to them to make their basic concept of programming perfect?
3
votes
7answers
3k views
Why Computer Science students learn Digital Logic Design?
Is there any relationship between a computer science student and DLD course? I am studying BSE and we are studying DLD in my second semester. We've learned so many things about DLD but nothing is ...
1
vote
4answers
118 views
How can I improve other programming languages while having command on one language
As in computer science field we have to learn several programming languages like C++, Java, C#, python, php etc to complete our tasks and home assignments. However you are good in only one language. ...
6
votes
4answers
341 views
How to teach C++ language to beginners of (BSCS) students who have no any idea about it?
Some students come to CS field but they have no idea about any programming language. Either they will have the background of engineering or medical. But still they want to make CS their field. What ...
8
votes
4answers
242 views
How can programming skills be improved?
I often take help from online videos to improve my programming skills, but I am not successful. Videos help me in debugging my code, but I am not improving my programming. Is there any other way ...
1
vote
1answer
93 views
How to make project in java language, for students who doesn't know java?
In CS I have been taught other programming languages than java. Now in final year project they are demanding project in java. So is there an easy technique to learn java fast?
3
votes
3answers
87 views
how to motivate student that programming will give bright future to them?
some students in my class are leaving CS because programming is difficult and think that it will not give them bright future. how to motivate that students, that their interest is develop in ...
4
votes
1answer
62 views
What teaching techniques can be used, in teaching students from a medical background, to improve their programming?
Students from premedical background feel difficulty in programming. They have no basic concepts of programming, so they are unable to do good programming. I have searched but didn't get any solution ...
3
votes
1answer
115 views
Online Code Review Scripts Like Udacity
Please, can anyone recommend a simple online code review scripts/website similar to udacity. Instructor upload students code to the scripts, they add inline comments and can send the URL to the ...
5
votes
1answer
328 views
Angular vs React vs Vue
For a software course about rich client Javascript applications we want students to be able to choose what framework they will use. Now to give us a little bit of control we want them to be able to ...
11
votes
5answers
584 views
Students seem to be unable to use code to express their ideas. Is the teaching methodology improvable?
In my beginner experience as a teacher, the thing that's strucking me most is a sensation of my students' inability to express their (valid!) thoughts in code. Let me deepen it a bit.
I inherited a ...