All Questions
1,183
questions
0
votes
2
answers
39
views
Why is it considered undesirable for a function to exceed the dimensions of a single screen?
According to a computer science teacher, it is beneficial to create methods that fit within a single screen. While I understand the importance of crafting concise and straightforward functions that ...
1
vote
0
answers
31
views
Coding exercises that test memory safety
I am looking for a coding exercise that could be assigned to students and will give them practice with writing memory-safe code. In particular, I am looking for some exercise that students would have ...
1
vote
1
answer
39
views
Is there an array-like data type in Java that can cope with generic types better than the built-in array?
TL;DR I'm looking for a replacement for the primitive array data type in Java that works better with generic data types.
Background: I'm teaching A level CS in the UK (age 16-18) and we're using Java ...
2
votes
5
answers
101
views
When teaching Java, should I teach try-catch from the outset?
TL;DR How important is the try ... catch syntax when starting out with learning Java?
Background: I'm teaching A level CS in the UK (age 16-18) and we're using Java ...
1
vote
1
answer
44
views
Courses for understanding complexity analysis of algorithms
How do I learn it? Watching lectures haven't been helping a lot. I want to solve "solved problems" but I'm not finding anything that has solved problems.
Please guide me. Complexity analysis ...
2
votes
4
answers
119
views
Should a student be allowed to try to answer a question only a few times?
In a computer science course, is it a good idea to create automatically graded problems that allow students only a couple of attempts and give fewer points if he or she answers many times? Namely, it ...
1
vote
1
answer
137
views
The answers to "Why Are There So Many Programming Languages?" for high school students, not too pedantic
When my students (high school students) asked me "Why Are There So Many Programming Languages?" I don't want to give them an answer that is too pedantic (so they won't respond "Tl;dr&...
0
votes
0
answers
18
views
Where can I find some artistically drawn tables demonstrating how a string of text can be stored in ASCII encoding?
The following is an example of the type of table we wish to show to students. However, we desire to use larger fonts, more vivid highly-saturated colors (purple, golden yellow, and/or other colors), ...
4
votes
0
answers
44
views
How to teach Godel's incompleteness Theorems?
I'm taking a class on Logic in Computer Science, and we've covered propositional logic, predicate logic and second-order logic. Students are familiar with model theory.
They are also acquainted with ...
2
votes
0
answers
32
views
Simulator or game to teach operating system principles
I am teaching Operating Systems to Computer Science Majors, generally juniors and seniors. In order to better explain it I want to create or have a simulator or game to illustrate memory management: ...
0
votes
0
answers
71
views
Could anyone test and criticize my automaton simulator?
My name is David Buzatto and I am a teacher of several subjects on a Computer Science course. One of these subjects is Theory of Computation and, this semester, I decided to implement a simulator of ...
2
votes
0
answers
34
views
Best books/courses to learn Computer Networks from a backend web developer's perspective?
Please recommend some books/courses.
My problem is this:
This is not the first time I am studying computer networks. I studied in CS degree.
I bought Kurose Ross, Fourouzan books on networking and ...
2
votes
0
answers
48
views
Best books to learn distributed systems/computing?
I work in distributed systems and I need to learn the general architecture of it.
Here's the general level roadmap that I want to follow.
Go via distributed system/computing textbooks.
Read system ...
3
votes
1
answer
68
views
Textbooks for Learning website security as a web developer?
I've realized the value of computer science textbooks. As a web developer, I want to learn about security from an application's perspective. Something like how to prevent site from XSS, CSRF, SQL ...
1
vote
0
answers
24
views
What operating system concepts should I be fluent with to understand LVM in UNIX operating systems?
I'm wondering about this. LVMs are so interesting and useful, but they are very complicated for my brain. I'm pretty sure this is due to lack of my preriquisites of computer science concepts.
So, I ...
1
vote
2
answers
87
views
Learning Assembly and Taocp
I am a cse undergrad currently in my second year
I know C,C++ and Python.
and have basic understanding of datastructures and algos
and I am currently reading concrete maths to better understand Taocp ...
2
votes
1
answer
53
views
Style guide for short comments?
Sometime in the last few months here on SE I saw a link to a major language style guide that walked through the thought process of refining very short comments in code. I think it took an example ...
0
votes
1
answer
51
views
How to learn database management systems?
database
navathe/elmasri
connally begg
date
korth
gehrke/ramakrishnan
Database Design for Mere Mortals: A Hands-On Guide to Relational Database Design 2nd Edition
database systems peter rob, ...
2
votes
1
answer
59
views
Studying electronics and programming in Austria
I'm planning to start university next year. I'd like to study programming and electronics, and one of the countries I'm considering for my education is Austria.
Which university in Austria can you ...
0
votes
1
answer
64
views
Critique my roadmap to learn computer networking?
Purpose:
For Linux System Administrator. I don't need CCNA cert. I don't need to be explicitly a network engineer. I just need to be able to troubleshoot network related issues.
Already Tried
Googling ...
0
votes
1
answer
60
views
How do I solidify my Python skills?
I've just finished reading Eric Matthes' Python Crash Course. A book which I found great to learn Python within a short time. The learning process wasn't really hard for me as I was already familiar ...
0
votes
1
answer
61
views
How do I learn how to write QA test scripts for software products?
Writing Quality Assurance course test scripts for software products is a critical part of ensuring the quality and reliability of the software. Test scripts are sets of instructions that QA testers ...
4
votes
4
answers
105
views
I'm an intermediate level developer trying to level up my skill set what resources could I use to do so?
So to elaborate I am what I consider an intermediate level software developer.
I have worked as a web-developer for 3-4 years. I worked mainly on front end projects before I started my current job as ...
0
votes
0
answers
48
views
Online bootcamps
My son is looking to retrain in data sciences and has been researching online boot camps such as Springboard and Le Wagon. These appear to be genuine companies, but it's hard to sift through the ...
3
votes
2
answers
113
views
How to teach hardware-software integration to new developers?
I'm having trouble succesfully teaching integration to trainee that are not from a computer science background.
Basically they have a training of 3 months around C/C++/Python/Software Testing/...
3
votes
4
answers
139
views
Should a programmer always write code that validator produces no errors?
I took a course on web page development. The lecturer said that one should always write web pages such that validator produces no errors.
I also know a person who has studied economics and business. ...
0
votes
1
answer
63
views
Processing of arithmetic expressions, under both types of associativity [closed]
Request to vet the evaluation for given two grammars, handling
arithmetic expressions, having two precedence classes of operators:
addop= {+,-}, mulop = {*,/},
...
0
votes
3
answers
145
views
Why is LaTeX so popular when writing papers?
Why do many CS students and researchers write their publications with LaTeX although it is much heavier than wkhtmltopdf?
1
vote
1
answer
40
views
Can one prove a part of the program to be correct rather than test it? [closed]
When testing software, does people prove some part of the program to work as they want like mathematicians prove their methods to be correct?
2
votes
0
answers
33
views
A video lecture series which explains the modern linux memory management subsystem in detail with code walk through
Any detailed video lecture series which explains each component of the modern Linux memory management subsystem in great detail, with code walk-through, and good slides?
0
votes
1
answer
39
views
C language tokenizer output for static integer array [closed]
Unable to find out how the C-language lexical analyzer would tokenize the declaration of a static array.
Say, int i[3]= {1,2,3};
The lexical analyzer would need to differentiate between just an ...
3
votes
3
answers
157
views
How does one overcome "Computer Science Learning Plateau"?
I've reached a point of no return in my learning computer science journey. I know little bit of basics, but advanced stuff in computer science I really don't know. By advanced stuff, I mean subjects ...
3
votes
1
answer
97
views
Books and courses to learn Operating Systems Fundamentals?
I've to get FE exam to get licensed as an engineer in Nepal. I want to learn everything properly because I feel I didn't learn to the extent that I could in college. My first hitlist is operating ...
2
votes
2
answers
105
views
Will learning relational algebra and calculus help me to learn SQL subqueries?
I'm finding SQL subqueries tough to understand and write.
When I ask how I can make it easier to write subqueries, the first response people give is "practice". But what do I practice? Where ...
6
votes
3
answers
67
views
Designing of code kata focused on _deleting_ code as a primary goal
I am preparing an educational course on software legacy code and refactoring. Every topic is introduced as a group discussion to establish the vocabulary. It is then followed by a matching practical ...
2
votes
0
answers
34
views
Good example for a live optimisation exercise
I'm trying to teach the basics of benchmarking and optimising .NET code. This is to other established engineers, not university students.
I want to start off with a badly optimised algorithm and then ...
4
votes
4
answers
454
views
Is it common that CS graduates have a hard time programming?
I came across this question, I'm graduating with a Computer Science degree but I don't feel like I know how to program on https://softwareengineering.stackexchange.com/. It has 1050 upvotes and 130 ...
1
vote
0
answers
161
views
Books or resources for GPU architecture
While many good books deal with CPU architecture in detail, for instance, Computer Architecture: A Quantitative Approach by Patterson et al., and also some books deal with the hardware/software ...
2
votes
1
answer
116
views
Use codewars in class
I'm currently doing my teacher preparation in Germany and next year I have to teach programming in python to high school students. The students only have 90 min of computer science every week and the ...
0
votes
1
answer
56
views
How would you define the word "render" in the vocabulary list, or define "render" for a text/exam, for a course on computer science?
In computer programming, the word render means to turn typed written code into a pretty picture for people to look at.
Outside of computer science, the word render means somthing like "boil ...
1
vote
6
answers
166
views
What Informal Description Might Help Beginning Students Understand Python's `str.strip()` method?
When teaching python to new students in middle school (or any age group), the students sometimes find the python documentation to be a bit overwhelming.
What is a short, easy-to-understand description ...
1
vote
0
answers
25
views
Video lecture series which covers CUDA and GPU related concepts from basics to advanced level
I am a master's student. During my bachelor's, our curriculum primarily focussed on CPU architecture. There are excellent textbooks and video lectures which deal with the CPU architecture in depth.
I ...
25
votes
10
answers
7k
views
Non-native English speakers struggle to come up with decent variable names and function names
The students I teach at a middle school in Beijing normally have a limited vocabulary. They struggle to come up with decent variable names and function names. Most of the time they just name variables ...
1
vote
4
answers
110
views
What is a musical application of linked lists?
When teaching computer programming, occasionally students who are interested in music ask instructors for how a double ended queue could be useful in the music industry.
What is a "real-world&...
8
votes
21
answers
7k
views
What is a real-world example of a for-loop?
The example of a for-loop offered in introductory texts is often very contrived.
For example, we might have:
...
1
vote
1
answer
66
views
Big Data Analytics for Policy Making with No Math inside
Good afternoon, colleagues!
We are now preparing to launch a new training program, which will be designed for government managers and policy makers whose competencies will include managing big data. ...
9
votes
4
answers
345
views
Why do (all) professors teach C++ 11?
I have noticed that in many computer science courses, professors tend to focus on teaching C++11 as the primary version of the ...
0
votes
0
answers
33
views
How to learn how files are connected to each other, routing,database connection in software development?
These are the things in backend that confuse me a lot.
https://github.com/Lucifergene/Docker-Mern
Let's take this code for example.
Say I'm in server folder.
I can't understand how config models ...
0
votes
4
answers
103
views
What are some teaching examples for a lesson on off-by-one errors which do not involve a for-loop or array indexing?
A lot of teaching examples of off-by-one errors which educators provide to their students involve for-loops.
For example, we might have the following for-loop:
...
5
votes
2
answers
85
views
Teaching state transition diagrams to visually impaired (blind) students
I am anticipating a blind student in a class I teach in an upcoming semester, and I am preparing for this by asking around if anyone has had this situation for a discrete structures / theory of ...