r/AskComputerScience • u/A_rndm_Gentleman98 • Sep 21 '26
Aight lads, newcomer here first year computer science major ,and all, what's one advice you wished you knew in your own first year?
Don't be shy, also ladies since someone pointed it out
r/AskComputerScience • u/A_rndm_Gentleman98 • Sep 21 '26
Don't be shy, also ladies since someone pointed it out
r/AskComputerScience • u/No_Budget_1821 • Sep 18 '26
I’m studying computer science at university, and we’re about to learn Python, which is amazing. However, I’ve always used Lua as my main programming language, and I’ve been teaching myself for about 3–4 years. Should I drop Lua completely and dedicate my time to Python, or should I keep using Lua for side projects while I learn Python at university?
I’ve always wanted to create a game by myself, and with Lua, that feels achievable. However, Python doesn’t seem to offer the same possibilities for the kind of game I want to make. What should I do?
r/AskComputerScience • u/That-Square9797 • Sep 16 '26
From my understanding, an ADT is the logical representation of the object and it's operation without the implementation and a data structure is the implementation of that ADT. So shouldn't it be that stack is an ADT that is implemented by data structures such as linked lists?
r/AskComputerScience • u/Mossack-Fonseca • Sep 16 '26
Hi everyone,
Simple question related to operating systems. I've seen textbook authors discuss "disabling interrupts" as a method of achieving mutual exclusion. Sometimes this is discussed in the context of threads. I think this is a little bit confusing because there are a lot of different models and implementations of threads? I've seen some basic thread implementations where threads voluntarily yield control. I think this is referred to as cooperative multithreading? So the question is: with this kind of implementation, why would disabling interrupts help at all? The thread switch wouldn't occur as a response to an interrupt, so disabling interrupts shouldn't have any effect?
Does my question make sense?
as a secondary question: even in implementations where control can be taken away, is there any requirement for threads to even respond to interrupts? For example Tanenbaum says that one of the advantages of user-level threads is to have a customized scheduling algorithm. Does every thread scheduling implementation have to respond to interrupts?
r/AskComputerScience • u/VirtualGlitch_99 • Sep 14 '26
I'm studying CS subjects and I'm curious which subject gave everyone the most trouble at first but eventually became manageable.
r/AskComputerScience • u/pm-me-anime-figures • Sep 14 '26
I read online that hardware threading is when something where N cores expose themselves as 2N virtual cores to OS for the purpose of process scheduling. When a singular core is exposed as 2 different cores to the OS, is it actually capable of executing two threads at the same time? If not, won't this effectively change nothing, since all cores are going to context switch between processes very rapidly anyways?
Why not consider one of the extremes, like 2N cores without hardware threading or a single core which exposes itself as 2N cores ?
r/AskComputerScience • u/Better-Specific7918 • Sep 14 '26
I started learning from ossu not a while back and I was wondering how people who used it to study cs look at it. I really don't want to be wasting my time but I'm pretty sure ossu is good. Is there anyone here that's using it currently?
r/AskComputerScience • u/fulminare1111 • Sep 14 '26
I am a little confused on what a nfa is. Does it take in one input and output a set of states or does it output one single state but with some probability?
r/AskComputerScience • u/DoublePassRadiator • Sep 14 '26
What happens after the absolute ceiling of Moore's law has finally been reached?
r/AskComputerScience • u/cmdkeyy • Sep 14 '26
Hi, I'm a software engineering student at the University of Technology Sydney (UTS), running a short, anonymous survey as part of my capstone research project. The survey looks at how computing students use AI tools, such as ChatGPT and GitHub Copilot, in software design tasks. It also asks how that use relates to their confidence in their own design skills.
If you are a current or recent student in software engineering, computer science, or a related computing degree, anywhere in the world, I would really appreciate your input. The survey takes about 10 minutes to complete and is fully anonymous. No directly identifying information, such as your name or email, is collected.
https://utsau.au1.qualtrics.com/jfe/form/SV_bOCBqt0nhzQRw4S?Q_CHL=social&Q_SocialSource=reddit
Feel free to share this with anyone else who might be eligible.
This study has been approved by the UTS Human Research Ethics Committee (HREC reference HE-2026-0873). If you have any questions, please contact me at Ta-Seen.Islam@student.uts.edu.au or my supervisor Dr. Flavio Pileggi at SalvatoreFlavio.Pileggi@uts.edu.au
r/AskComputerScience • u/Rude_Possession8870 • Sep 13 '26
hello, this might be off topic but I'm wondering if anyone knows good resources (worksheets, problems to solve) to learn computer science fundamentals such as boolean algebra, recursion trees, conditionals, dry running code efficiently, etc? I'm currently trying to study for the HKOI heat event but there are too little past papers to work on, here's an example paper https://assets.hkoi.org/ref/2022hs.pdf
r/AskComputerScience • u/Employer-Dizzy • Sep 10 '26
Concepts like making more and more precise instruments to make faster machines that require smaller and smaller chips along with pushing the boundaries of the previous innovations in chips really blow my mind. I recently read the chip war recently so I hope technology is not being pushed purely for war purposes, but more so like what would everyday people make out of it. Do everyday people need faster and faster technology ? I say this because the current state of tech is extremely advanced not perfect but like extremely impressive. So why would someone on the street even care if their phone can move 2 seconds quicker.
r/AskComputerScience • u/FlatAssembler • Sep 09 '26
In Croatia, we do some (very) basic sentence diagramming in the middle school. In the USA, they do it in high-school. However, I know that, in most places, students are not taught sentence diagramming. So, once those students start going to university to study, well, computer science or computer engineering, how are the concepts of a parser and an abstract syntax tree explained to them?
r/AskComputerScience • u/Grouchy_Cup_5792 • Sep 09 '26
Has anyone completed Neso Academy's DBMS playlist? Need an honest review
I recently found the DBMS playlist by Neso Academy on YouTube and it looks pretty detailed. Before I start going through the entire playlist, I wanted to ask people who have actually completed it
r/AskComputerScience • u/TalkinHead9s_LeftNut • Sep 08 '26
My professor has us modeling both of the two algorithms for an assignment, which I did. But when doing testing on both I would notice that occasionally the average turnaround time for the Shortest Job First algorithm would actually beat out the algorithm for Shortest Remaining Time, either infrequently or almost always depending on how I change the parameters around (Total CPU Time, # Of Processes, etc). From what I saw, it seems that this should no be happening unless you account for overhead, which my model does not.
So I guess basically my question is, are there ever any scenarios where Shortest Job First would have a smaller average turnaround time compared to Shortest Remaining Time, assuming they run the same set of processes and overhead is negligible? Or do I just have a bug in my code?
r/AskComputerScience • u/Citrusfreind • Sep 08 '26
Is there any sites like W3 schools that can help me learn these two? Im in these two classes and the way im being taught (basically heres a lecture now figure it out) is NOT working for me and ive been supplimenting my coding classes with w3 schools to help me learn and its working pretty well!
r/AskComputerScience • u/Actual__Wizard • Sep 08 '26
Hi, I'm an AI developer and I've been working on optimizing my system for 2 years now. It was never my intention to create a new sorting algo or to do any work in that area at all. As I optimized my system, I realized that what I had effectively done, is create a new sorting algo.
By comparison, at this time, it took my new algo, about 1-2 hours to process the same sized data, that timsort needs about 30 days to sort. I'm sorting a giant 30gb array that contains text tokens.
I understand that there's tons of algos out there and that there likely already is a faster algo, but I'm not an expert sorting algos, so I honestly have no idea what to do to verify this in a legitimate way that is convincing to other experts.
I have never published a paper before, please do not make strange assumptions of my knowledge of that process (I know how to read a paper and that's it.)
r/AskComputerScience • u/Several-Ad5345 • Sep 07 '26
Obviously just an approximation since it will always be different depending on the school and other factors. But does anyone know how many there would be roughly?
r/AskComputerScience • u/narad_007 • Sep 06 '26
Today we had a user facing issue which the entire team was involved in debugging and no one was able to give the reasoning accurately, and the RCA time felt like it is 10X more than usual, all because we were just getting AI to write the code and review cycles shortened as long codes were being pushed, feels like the team as a whole will fall into a blackhole soon.
Has anyone here experienced the same, and how is your org handling this?
r/AskComputerScience • u/scol2n • Sep 02 '26
I'm watching CS50, and about halfway through week 0, doctor malen mentioned how 65 bits of data equals the letter H and i'm curious to that if 65 equal H, how does the company know the difference between H and just the number 65?
r/AskComputerScience • u/TheEyebal • Sep 02 '26
I want to make a program where you are controlling the outcomes. For an example with a coin flipping game, I want exactly 4 Heads and 1 Tail, but I want their positions to be random.
I do not want to use the random algorithms that library I want to build my own.
Right now I am learning probability from Youtube and might look at khan academy and coursera, but how can I implement this into programming I do not want to just take courses or watch videos
How do I go about that?
EDIT: I am doing this because I want to start build gambling algorithms and I am starting with a simple project like coin flips
r/AskComputerScience • u/OkayOpenTheGame • Sep 01 '26
Is there a legitimate reason or is it just because people thought it looked better?
r/AskComputerScience • u/Warm-Discipline7204 • Sep 01 '26
The formula says find maximum s such that 5*10^-s is greater than the relative error. But that gives me 4 as the answer. But it is visually clear that 3.122 is approximating 3.123 correctly only upto the first 3 significant digits. How is it possible? Is the formula wrong?
r/AskComputerScience • u/Ok_Boysenberry2655 • Aug 30 '26
I have an practical assignment where i have to debate with my classmates on a given language basically defend my a coding language, any tips?
topics are alr given by the profs, for my group its C vs Rust ! he'll separate us acc to him in the lecture