Unit 2 (Rob) Flashcards
What are Device Drivers?
Device drivers are programs that lets the operating system communicate with specific computer hardware. Computer parts need a driver because they do not use standard commands.
What could Device drivers help when using different equipments?
- Device drivers could improve compatibility
- Enable devices to communicate with the operating system
- Identifies the hardware
- Translate program instructions
What are the benefits of GUI when children are using it?
GUI is generally more intuitive
There is less skill required to use it
Children can understand by looking at the images (icons) for younger kids that can’t read yet.
What are the benefits of using CLI to performance administrative and maintenance tasks?
- When doing tasks on CLI it can be carried out quick using a single or a few commands
- System doesn’t have a graphical interface so will not take much space on the computer’s HDD
- Requires less processing power and that may allow you to run background actions.
- Number of steps is reduced because you only need to set the commands.
Explain what’s an array and where is it stored
- An array is a data structure that has a fixed size, and a series of objects that are all the same type and size, each object inside an array is called an array element and all the elements stored in the array are stored in a contiguously memory (that means that they have no gaps between elements).
- An array is stored in adjacent memory locations and must be accessed sequentially
Explain what’s an stack
A stack is a data structure that can be imagined as a linear structure represented by a real physical stake or pile. Stacks are linear structures that can only be accessed in a FILO (first in last out) meaning that any data lower in the stack cannot be accessed directly and that means is not efficient for accessing records in a large database because it would not be easy to access the data in the lower stack as you would have to change some extra steps so would be hard for it to access specific data.
Explain what’s a queue
A queue is a data structure that is quite like a stack because you add new elements to the rear of the queue and elements leave from the front, queues are used in a variety of applications such as holding jobs waiting for to be run by the computer.
Explain what’s a kernel
Kernel is a computer program that is the core of a computer’s operating system, it controls over everything in the system of a computer, kernel’s primary function is to control and manage program execution, interrupts, modes, memory management, multi-tasking, disk access, file systems and device drivers, the kernel primary functions is to control and manage all these components and their tasks.
What is a user interface? and some examples
A user interface is when the user and the computer system interact with each other and that could be by inputs and software. An interface is a set of commands or menus where the user can communicate with a software. For example, a keyboard or a screen or the mouse on a computer is all part of the user interface
What are the types of HCI
The types of UI are GUI, CLI and Menu-based interface
What is disk defragmentation?
When files are deleted, some “free space” becomes available for reuse, these “free spaces” can end up being distributed across a drive especially if the files were small. If you then try to add a large file that is written to the drive then its data could be spread across different free spaces leading to file fragmentation, now // Defragmentation involves rearranging the information on a disk, so the files appear in a continuous sequence of “free spaces.” This improves file access times, most modern’s OS are already adapting this process, so it runs automatically
What is a file handler?
We handle a file whenever we delete it, or we save or we retrieve/load it and whenever we print a file, we are handling a file.
What is a file compression software? what is it used for?
This software helps us to “package” a file or files to use less space on a disk, this can also be known as “zipping up” the files or folders. It can be used whenever you want to transfer some data on a folder so you can zip it so it uploads faster.
What are hardware drivers?
Each time we install any new peripheral for example a new printer we need to load the print driver software associated with that device, and they are loaded on the hardware drivers, there are some small programs that tell the OS how to control them
Describe the purpose of an OS
The purpose of an operating system is to help the user when doing any tasks, for example any OS manages the computer’s memory and processes and also its software and hardware, it also lets you to have an interaction with its interface and this interaction is between the user and the hardware, without OS all computer systems are useless.
What are the different types of OS?
Single User OS, Multiprocessing OS, Multiuser OS and Real time OS
Explain what’s a single user OS
Is a type of OS that was developed with the intention of only one user using it at any given time and inside the single user OS usually is either single task or multitasking systems, a good example of Single user OS is when you want to have a basic single user OS at home only for yourself you would use that.
Explain what’s a multiprocessing OS
is a type of OS that was developed in order to help you do more things/tasks at once, so for example listening to music and writing an report.
Explain what’s a multiuser OS
Is a type of OS that allows two or more users to run any task/software at the same time from a central computer, some OS allow hundreds to even thousands of simultaneous users, usually multi-user OS are not computers is only 1 computer that is controlled by many different users, a perfect example of a multi-user OS is a supermarket checkout system.
Explain what’s a real time OS
Is a type of OS that was developed in order to help people on doing things in real time (milliseconds) for example gamers when they want to have advantage, they usually have a faster OS so everything they do on their input is done automatically to their PC, some advantages of using Real time OS is that it responds to input instantly.
Device Drivers features
Improves compatibility
Translates program instructions
enable hardware devices to communicate with the OS
it also allows the OS to identify the hardware/device that is communicating with the device driver
Identify kernel’s primary functions
Program execution Interrupts Modes Memory management Disk access Device drivers File systems Multi-tasking
Explain what is kernel’s job
Kernel’s job is to control and manage software, hardware and running tasks on the system
Kernel role in program execution
is that when a program wishes to perform an operation/instruction, this is sent to the kernel which then translates the program code to appropriate system calls, when provide the CPU and related hardware with the appropriate commands at the appropriate time to ensure instructions are carried out as intended by the program