User contributions for Mr. MacKenty

Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

30 March 2023

28 March 2023

  • 09:3509:35, 28 March 2023 diff hist +1,335 N Date and times with PythonCreated page with "<syntaxhighlight lang="python"> import datetime # to get the current date and time: print(datetime.datetime.now()) # to get the current date: print(datetime.date.today()) # to get the current time: print(datetime.datetime.now().time()) # to get the current year: print(datetime.datetime.now().year) # to get the day of the week: print(datetime.datetime.now().weekday()) # to print the day of the week: print(datetime.datetime.now().strftime("%A")) # to ask the user to..." current
  • 09:3409:34, 28 March 2023 diff hist +33 Python→‎Basic ideas current

23 March 2023

21 March 2023

14 March 2023

13 March 2023

10 March 2023

9 March 2023

8 March 2023

1 March 2023

23 February 2023

9 February 2023

7 February 2023

3 February 2023

  • 13:5813:58, 3 February 2023 diff hist +1,168 N Stack memoryCreated page with "Stack memory is a region of computer memory used for storing da,ta that has a short lifespan such as function call frames, function parameters, and local variables. It operates on a Last-In-First-Out (LIFO) principle, where the most recently added data is the first to be removed. This makes stack memory ideal for storing temporary data and function calls, as the data is automatically cleaned up when the function returns. In a typical computer program, the stack is used..."
  • 13:5713:57, 3 February 2023 diff hist +18 Computer organization→‎Not part of IB curriculum but you should know this
  • 13:5713:57, 3 February 2023 diff hist +1,687 N Heap memoryCreated page with "Heap memory is a region of computer memory used for dynamic allocation of objects at runtime. It is a dynamic area of memory where blocks of memory are allocated and deallocated dynamically as needed, in contrast to the stack memory, where memory is allocated and deallocated in a last-in-first-out (LIFO) manner. Objects stored in the heap have a longer lifetime than objects stored in the stack, as heap-allocated objects persist until they are explicitly deallocated or un..." current
  • 13:5513:55, 3 February 2023 diff hist +80 Computer organizationNo edit summary

2 February 2023

31 January 2023

30 January 2023

26 January 2023

25 January 2023

24 January 2023

23 January 2023

16 January 2023

12 January 2023

11 January 2023

10 January 2023

9 January 2023

8 January 2023

9 December 2022

7 December 2022

29 November 2022

22 November 2022

21 November 2022

17 November 2022

3 November 2022

17 October 2022

12 October 2022

(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)