Why can a computer take minutes to run a couple lines of code, yet can run complex things like games so quickly? 754 viewsJanuary 3, 2024 Question91.11K August 19, 2019 0 Comments Why can a computer take minutes to run a couple lines of code, yet can run complex things like games so quickly? In: Technology 10 Answers ActiveNewestOldest Anonymous Posted August 19, 2019 0 Comments What do you mean by “a couple lines of code”? Take this code for example: while (true): print(“hi”) These are just two lines of code, but will run endlessly. So it depends on what the program actually does. You are viewing 1 out of 10 answers, click here to view all answers. Register or Login
Latest Answers