Self-assessment quiz
Presentation & objectives
The following quizzes are here to help you check that you understood the articles you had to study. They are provided for self-assessment and will not be graded or stored.
Don’t hesitate to reach out on the Discord server for any precision/explanation!
Quizzes
---
secondary_color: lightgray
---
# What is a computer?
What is a computer?
- [ ] A device that performs only arithmetic operations.
- [x] An electronic device that can be programmed to carry out sequences of arithmetic or logical operations.
- [x] A machine that follows a set of instructions (program) stored in its memory.
- [ ] A mechanical device that was used in the 19th century.
# What is a computer?
What are the main components of a CPU?
- [x] Control Unit (CU).
- [x] Arithmetic Logic Unit (ALU).
- [ ] Random Access Memory (RAM).
- [x] Registers.
# What is a computer?
Which of the following are characteristics of RAM?
- [x] Volatile memory.
- [x] Fast access speed.
- [x] Temporary storage for data and instructions.
- [ ] Persistent storage like HDD/SSD.
# What is a computer?
Which of the following architectures store instructions and data in the same memory?
- [x] von Neumann architecture.
- [ ] Harvard architecture.
- [ ] Modified Harvard architecture.
# What is a computer?
What are the benefits of multi-core processors?
- [x] Improved performance through parallel processing.
- [x] Enhanced multitasking capabilities.
- [ ] Simplified programming and software development.
- [x] Increased energy efficiency.
---
secondary_color: lightgray
---
# The operating system
What was one of the main innovations in early operating systems during the 1960s?
- [ ] Batch processing.
- [x] Time-sharing systems.
- [ ] Multithreading.
- [x] Multi-user environments.
# The operating system
Which of the following are key features of the Unix operating system developed in the 1970s?
- [x] Portability.
- [x] Multiuser and Multitasking.
- [ ] Graphical User Interface (GUI).
- [ ] Integrated Web Browser.
# The operating system
What is the role of the kernel in an operating system?
- [x] Managing system resources like CPU and memory.
- [ ] Providing a graphical user interface.
- [x] Handling process management and inter-process communication.
- [ ] Facilitating user interaction through command-line or GUI.
# The operating system
Which components are commonly found in modern operating systems?
- [x] Kernel.
- [x] Shells (command-line or graphical).
- [ ] Integrated Development Environment (IDE).
- [x] Daemons or Services.
# The operating system
Which of the following accurately describe the function of a bootloader in the operating system's boot sequence?
- [ ] Checks the system's hardware components for errors.
- [x] Loads the operating system kernel into memory.
- [x] May provide a menu for selecting different operating systems.
- [ ] Manages user authentication.
---
secondary_color: lightgray
---
# The terminal
What is the primary function of a terminal?
- [x] To interact with the operating system using commands.
- [ ] To display graphical user interfaces.
- [x] To execute command-line instructions.
- [ ] To run graphical applications directly.
# The terminal
Which of the following commands are used to navigate directories in a terminal?
- [x] `cd`.
- [ ] `ls`.
- [ ] `pwd`.
- [ ] `mkdir`.
# The terminal
What is the role of the `ls` or `dir` command in a terminal?
- [x] To list the contents of a directory.
- [ ] To change the current directory.
- [ ] To remove a directory.
- [x] To view files in the current directory.
# The terminal
Which of the following are correct uses of pipes (`|`) in a terminal?
- [x] To send the output of one command as input to another command.
- [ ] To copy files between directories.
- [x] To chain multiple commands together.
- [ ] To navigate between directories.
# The terminal
Which commands are commonly used to manage files and directories in a terminal?
- [x] `cp`.
- [x] `mv`.
- [ ] `echo`.
- [x] `rm`.