Professional Documents
Culture Documents
ipynb - Colaboratory
keyboard_arrow_down Exercises
Exercise 1: What is the function of the secondary memory in a computer?
3. Store information for the long term, even beyond a power cycle
2. The keyboard
3. Python source file
4. A word processing document
https://colab.research.google.com/drive/1NfPw9amZjFkLxuPCqvEfsr-5zUZ2dSXH#printMode=true 1/3
19/2/24, 20:05 Copia de Trabajo Autónomo Introducción python.ipynb - Colaboratory
2. Inside the Preferences window, choose IPython console from the left-hand list of options.
3. Next, click the Advanced Settings tab, and scroll down to the section labeled Prompts.
>>>
5. Restart Spyder
Exercise 6: Where in the computer is a variable such as “x” stored after the following Python
line finishes?
x = 123
2. Main Memory
3. Secondary Memory
4. Input Devices
5. Output Devices
x = 43
x = x + 1
print(x)
1. 43
2. 44
3. x + 1
https://colab.research.google.com/drive/1NfPw9amZjFkLxuPCqvEfsr-5zUZ2dSXH#printMode=true 2/3
19/2/24, 20:05 Copia de Trabajo Autónomo Introducción python.ipynb - Colaboratory
https://colab.research.google.com/drive/1NfPw9amZjFkLxuPCqvEfsr-5zUZ2dSXH#printMode=true 3/3