All Questions

0
votes
1answer
35 views

JavaScript to teach Theoretical Computer Science

We have been considering moving JavaScript into our core curriculum for vocational-readiness reasons. However, our core CS curriculum focuses on concepts that won't become out of date. There are ...
5
votes
3answers
89 views

Should programming assignments be graded based on results from unit tests or based on the similarity to the correct implementation?

Imagine students in a course on algorithms & data structures, which are given homework assignments to implement things like trees, hash sets, sorting algorithms, etc. Due to the high number of ...
2
votes
2answers
43 views

What is the best way to learn an object oriented programming language with framework, data structure and alogrithms?

At first i will say i known some basics Python, Haskell. For now i decided to follow my programming road with Python. I have chosen a few issues and their learning path, hence I would like to know if ...
1
vote
2answers
37 views

Advise on a class project

Me and my friend are both in high school taking a “PLTW” Engineering class, where our goal is to design a solution to any problem and work on that solution over the course of the year. We’re reaching ...
1
vote
3answers
82 views

Why and how is it efficient to process sorted arrays than unsorted arrays?

It is well accepted that processing sorted arrays is easier and efficient. What would be the pedagogical approach to explain how and why it is more efficient to process sorted collections than ...
-1
votes
1answer
45 views

Which is easier to learn : Perl or Tcl

I work in an EDA company (Electronic Design Automation) and need to learn a scripting language. If I know basic C language, how much of the C language knowledge would be helpful in learning the two ...
5
votes
5answers
151 views

Why do educators not set an upper bound for the amount of times we're allowed to compile code?

First of all I'm sorry if the wording of my question is off so let me be more specific with what I mean; At my University we have some platforms we can code on and hand in assignments. They usually ...
0
votes
1answer
53 views

What makes a good explanation? [closed]

I'm thinking of studying, "What makes a good explanation?" in the context of introductory computer science problems. I'm wondering if there's any pre-existing dataset containing introductory ...
4
votes
3answers
99 views

Making induction meaningful

I've been teaching inductive proofs of code correctness to high school students for three years now, and the instruction has steadily improved. Many of the students come in not having done inductive ...
1
vote
4answers
143 views

Why some students think that programming is difficult and hard to learn, how I convince my students that programming is not difficult as they think?

Some students think that programming courses are tough and hard. I personally know some teachers who say to their students that programming is not a cup of tea. How much percent this thing is true ...
-1
votes
1answer
43 views

Standardization of software [closed]

I am a CSE undergrad 1st yr student. I would like to know how software that companies use change from time to time. Can't they have a single standard software? For example: in my school they ...
4
votes
3answers
58 views

A question to teachers about learning disabilities as a barrier

I am not a teacher. I'm an adult with learning disabilities. I have autism and memory problems. As a child, I was way behind and stuck in SLD, where the teachers had little interest in teaching, so ...
4
votes
2answers
96 views

Java or Kotlin for beginners (procedural programming knowledge is existing)?

We are teaching an "introduction to cs" course (bachelor level) and in the first half of a year students are learning the fundamental principles of procedural languages. We are using python 3 and C as ...
2
votes
3answers
58 views

Should one study programming by doing hard problem?

As one learns programming, how useful it is to spend time to solve hard problems? Like, I saw a problem solving site where one task is for example to find a regular expression for decimal numbers ...
2
votes
4answers
225 views

Is it okay to teach C++ to my 7 year old brother?

I was thinking this for quite long, should i teach my little brother about programming in the age of 7-8? Because it will help him in the future in 12th standard and in university life. I want him to ...
5
votes
3answers
90 views

Best way to install and maintain windows 10 in a computer lab

I’m looking for the best way to maintain a school lab. There are 20 PCs in the lab. All with windows 10. What would be the best way to configure them, so that the student will be able to use them, ...
35
votes
15answers
11k views

What is good age to start learning programming?

I am thinking of offering classes for people, maybe take 5 to 10 at the time. There would be 4 hours every Saturday, twice a month, for three months. So in total 6 such sessions. The language thought ...
0
votes
3answers
142 views

How can I remain a programmer and move into currently “hot” areas? [closed]

I'm a programmer, and I want to continue as such, but I want to explore new areas. I know the future is in the big data, and virtual reality (for example), but I don't know if they have less coding ...
3
votes
2answers
64 views

Improve motivation in the final part of a project based course

Fellow educators, I am teaching a project based course composed of two parts. The first half of the course focuses on basic concepts and activities that serve as preparation for the second half where ...
31
votes
16answers
3k views

Teaching binary encoding - using different symbols

I'm teaching some introduction lessons to a classroom of 6-8 year olds about basic 21st century skills. A fundamental part of this is how computers represent numbers, words and images, which all ...
-1
votes
1answer
88 views

Why does array index not start from -1 why have indexes to be positive? [closed]

Arrays start from 0 then 1,2... But why are indexes positive, why are indexes not negative?
6
votes
5answers
130 views

Exercise or example to reinforce idea of functions?

I have a group of students with a very shaky understanding of functions and their purpose (encapsulation, reuse, modularization). The assignments I give them require them to write simple functions ...
-1
votes
1answer
55 views

What are Macros in programming language am little bit confuse . why we use them for which perpose? [closed]

What are macros in programming language ? And we use these macros and for which perpose.I saw a YouTube video and also read from a link but am cofused about why we use them.
1
vote
2answers
93 views

Beginner Javascript course - recommended books

I was asked to teach Javascript to total beginners. Since it would most likely be free of charge, I would rather not spend time making my own slides and material. I would follow a book or some other ...
4
votes
8answers
248 views

Explaining why arrays are important for statisticians

I am a computer engineer, and I’m teaching computer sciences one hour per week to a student who failed her second-year university degree. She needed some help to have a better understanding of ...
1
vote
2answers
180 views

What is the difference between computer science and computer engineering in brief

For a beginner who wants to walk down the path of programming and developing and etc. What is a brief explanation of the differences of the two? To clarify, Computer science is CS while software or ...
3
votes
2answers
97 views

Project based on game 2048

I'm thinking about an assignment based around the game 2048. This would be towards the end of a first programming course at the university level and assumes the students have been introduced to at ...
4
votes
7answers
139 views

Mental Model of Type Conformance/Subtype Polymorphism

I'm finding that my CS2 students really struggle with the notions of type conformance and subtype polymorphism in Java. Say we have the following: ...
6
votes
2answers
132 views

First project in my second year data structures intro

I am currently teaching the pretty much normal second year Data Structures and Algorithms course. In this course there are four programming projects, with the first project completed the automated ...
4
votes
2answers
56 views

Need a good “streaming” software for coding tutorials/workshops

I'm doing a coding workshop and I can't seem to find a good way to stream a part of my screen (or some windows in my screen) into a projector. I only need the code editor and terminal/command prompt ...
2
votes
1answer
58 views

Example for Introduction to Generics in Java

Any good example classes for introducing generics in Java? I'm introducing this in the context of implementing ArrayList, but I don't want my first example to be <...
7
votes
4answers
170 views

How would you explain what is a race condition to a five years old

TL;DR: How would you explain what is a race condition to a five years old. Which analogy to concepts he is familiar with would you use? Long version: I am not a teacher but a software engineer. ...
1
vote
2answers
47 views

Data and Database modelling books

I need a suggestion for books for my University. I have a subject called "Data and database modeling" but we lack of books. Our professor gave as barely understandable scripts. This is an official ...
3
votes
2answers
62 views

Software to produce an interactive presentation?

I'm tasked with leading a couple information sessions (totaling 4 hours) to teach non-programmers how to get started in Python. The audience is software testers employed in a technology department. I ...
3
votes
4answers
85 views

How to gamify the learning management system

I have been reading up on how to shift more of my teaching resources on to the Learning Management System, to make it easier to access from other locations even though I mostly teach in a classroom. ...
7
votes
4answers
161 views

Python function has access to global variables, and doesn't need passed arguments

When teaching functions in Python I get a little annoyed that the code below actually prints out the greeting. I know the preferred way would be to pass in the name, but, for students, if it works ...
8
votes
2answers
126 views

Methods for engaging students when teaching unpopular or unfashionable topics

The world is full of computing technologies that have been put to productive use but may be unpopular or unfashionable with students today due to their complexity, their lack of support, limited ...
4
votes
2answers
63 views

Lab ideas for set theory

The title of the question actually says almost everything there is to say. I cannot think of any programming labs whatsoever that would naturally flow from set theory. My students will be coding in ...
11
votes
1answer
1k views

What belongs in a low-math undergraduate AI elective besides ML?

The primarily undergraduate institution at which I teach does not have an Artificial Intelligence course. We do have classes on Data Analysis and Machine Learning: DATA 150: Introduction to Data ...
7
votes
3answers
215 views

Will I Regret Using Python As A Teaching Language When I Later Need to Teach Static Typing?

Given the prevalence of Python as a first language at many universities I think using Python as a language to teach new software developers is a good approach. But there's one thing that concerns me. ...
2
votes
0answers
65 views

How to give students practice with streaming computation?

I'm teaching a theory-focused randomized algorithms course at the undergraduate level, and have included a section on streaming algorithms. It would be great to get students to implement these ...
4
votes
0answers
52 views

Small to medium scale exercises about Haskell's higher abstractions

Short version: Where can I find highly varying, small or medium-sized exercises and examples on the use, identification and instance declaration of Haskell's abstractions such as applicatives, monads, ...
12
votes
5answers
176 views

How to convince students that self learning is an important skill?

I am teaching beginner programmers with a variety of backgrounds. Towards the end of the course, we encourage more independent and team based learning rather than lecture based learning. This is ...
3
votes
1answer
59 views

book recommendation: basic, broad and solid overview for advanced learners

I did a PhD in software engineering, now working in financial IT. I had a proper education in algorithms, datastructures, operating systems, networks, software etc. and worked as a tutor for Java, OOP,...
167
votes
27answers
32k views

Why do we count starting from zero?

In computer science, we usually count starting from 0. Is there any effective way to explain why, to new programmers who ask why? I've read a bunch of different sources that list several reasons for ...
5
votes
4answers
292 views

Study Advice for a CS Student

It's my second year in my computer science degree, 2nd semester. I feel like I am still not good enough and not satisfied with myself! I still can't program and when I have a task I can't think. I ...
7
votes
1answer
375 views

How Can I Apply Spaced Repetition To Teaching CS?

Lately I've been seeing quite a bit on the importance of spaced repetition in retention of skills. My job is to level up a group of C# developers and I'm trying to figure out how to apply the idea of ...
5
votes
3answers
184 views

Short foundational lessons for 7-8 year olds

I have an opportunity to run four classes of about half an hour, with 7 to 8 year olds (my sons age). This is part of a program called STEM professionals in schools. All I am there to do really is ...
10
votes
8answers
447 views

Why are pointers a key topic in a CS curriculum and oft cited as something people don't get?

I was reading a Q&A on Meta Software Engineering and saw some people make reference to pointers, as well as this SE. I see several Q&A here relating to pointers as well. I don't understand ...
4
votes
1answer
178 views

What can be the causes of the difference in student performance?

The box-plot represents the number of programming tasks performed correctly in 30 minutes.These tasks are designed to learn basic CS concepts: sequences, loops, conditional ... Each box represents an ...

15 30 50 per page