All Questions

Filter by
Sorted by
Tagged with
1
vote
0answers
44 views

Which image rotation libraries use the Paeth algorithm?

I'm teaching linear algebra, and thought I'd show my students Paeth's rotation by shearing algorithm as a nice quick example of matrix manipulations. I'd like to include the information of which ...
8
votes
6answers
163 views

Quizzes after lectures

I put together elaborate, very carefully planned out lectures, complete with highly distilled exemplars, student teach-backs, and mid-lecture activities to check for understanding. I've had feedback ...
12
votes
7answers
5k views

Any simple Python GUI projects for beginner/novice programming students?

I teach programming at a university, at 2 freshmen courses. My students are being introduced to programming for the first time, so we have to teach them about algorithms, variables, control flow, ...
4
votes
1answer
95 views

How to learn to solve trees, graphs questions for competitive programming

I learnt about trees and graphs from my textbooks (undergraduate level) last year. But now I'm doing competitive programming and unable to solve questions involving these concepts. I fail to ...
5
votes
5answers
339 views

What is a good teaching example/application for jagged arrays (2d arrays with irregular row lengths)?

We are teaching an AP CS class and the topic of 2d-arrays is coming up. There are plenty of cool and approachable sample applications for standard rectanglular arrays - matrix math, MIDI music, sudoku,...
2
votes
3answers
136 views

How to learn to program compiled languages efficiently when coming from an interpreted language?

I have experience with Python and now am learning C++, I am finding the lack of an interpreter or a repl to be a serious hinderance when learning the language, as well as the ability to type ...
5
votes
5answers
292 views

How to write a grading rubric for coding assignments?

I'm trying to improve the grading process and I need to write some guidelines for the graders. Students submit Java code for the assignments. Any ideas/suggestion about how to structure the grading?
2
votes
2answers
90 views

How to explain ETH to undergraduate students?

I am a TA for complexity theory course. I want to explain the Exponential Time Hypothesis (ETH) to undergraduate students. They have done algorithm and theory of computation course. They know about ...
6
votes
3answers
107 views

Do you know of a complete textbook for teaching databases?

The textbooks that I know about, teaching databases, are not complete. In the sense that they lack a complete set of assignments, homework, projects, slides and instructor manual. Do you know of any ...
6
votes
1answer
133 views

How can I set up and deliver a Computer Hardware Course for the first time?

I'm in need of major help at my current job. I'm a HS teacher and I teach a private school - I just started in August, two days before school started and five days before the previous teacher left for ...
4
votes
4answers
141 views

Code highlight for classroom use

I am thinking about "dissecting" my code with students, going line by line and commenting (why is this the condition of the while? What does this piece of code do?) A simple example can be found here:...
2
votes
4answers
175 views

How can I improve my understanding in Computer Science?

I am new to Computer Sciences, working as machine learning engineer. I only know the basics of programming. How can I improve my technical comprehension so that I will be able solve different ...
3
votes
5answers
171 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 ...
14
votes
4answers
317 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 ...
3
votes
2answers
132 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 and 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 ...
3
votes
2answers
63 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 ...
2
votes
3answers
131 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 ...
6
votes
5answers
343 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
62 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 ...
6
votes
3answers
128 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 ...
3
votes
9answers
508 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 their cup of tea. How much percent this thing is true ...
-1
votes
1answer
69 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
124 views

Learning disabilities as a barrier - should I stop learning?

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 ...
5
votes
2answers
192 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
75 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
369 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
187 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, ...
37
votes
14answers
12k 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
174 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 ...
4
votes
2answers
256 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 ...
32
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
127 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?
9
votes
6answers
211 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
69 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.
2
votes
2answers
120 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
312 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
205 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
126 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
196 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
420 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
62 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 ...
4
votes
1answer
101 views

Example for Introduction to Generics in Java

What are some 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 ...
8
votes
6answers
210 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
57 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
78 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
124 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
181 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
143 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
71 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 ...

15 30 50 per page