





























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
CNIT 176 Final Exam 310 complete accurate Solutions New 2025!!! CNIT 176 Final Exam 310 complete accurate Solutions New 2025!!! CNIT 176 Final Exam 310 complete accurate Solutions New 2025!!! CNIT 176 Final Exam 310 complete accurate Solutions New 2025!!! CNIT 176 Final Exam 310 complete accurate Solutions New 2025!!! CNIT 176 Final Exam 310 complete accurate Solutions New 2025!!! CNIT 176 Final Exam 310 complete accurate Solutions New 2025!!!
Typology: Exams
1 / 37
This page cannot be seen from the preview
Don't miss anything!
Abstract data type - ANSWER A data type whose properties (data and operations) are specified independently of any particular implementation
LIFO - ANSWER last in first out
Composite data type - ANSWER A data type in which a name is given to a collection of data values
List - ANSWER "container of items", logical operations that can be applied are: Add item, Remove item, Get next item, or More items
Container - ANSWER Object's whole role is to hold and manipulate other objects
Stack - ANSWER An abstract data type in which accesses are made at only one end (LIFO)
Data structure - ANSWER Implementation of composite data fields in an abstract data type
Push - ANSWER insert on a stack
Array- based - ANSWER Objects in the container are kept in an array
Pop - ANSWER delete on a stack
Linked-based - ANSWER Objects in the container are not kept physically together, but each items tells you where to go to get the next one in the structure
Queue - ANSWER An abstract data type in which items are entered at one end and removed from the other end (FIFO)
FIFO - ANSWER first in first out
Multiprogramming - ANSWER the technique of keeping multiple programs in main memory at the same time
Frame - ANSWER a fixed size portion of main memory that holds a process page
Batch processing - ANSWER The first operating system was a human operator who organized various jobs from multiple users into batches of jobs that needed the same resources
Page - ANSWER a fixed size portion of a process that is stored into a memory frame
Time sharing - ANSWER allows multiple users to interact with a computer at the same time
Swap - ANSWER the act of bringing in a page from secondary memory, which often causes another page to be written back to secondary memory
Thrashing - ANSWER inefficient processing caused by constant page swaps
Single Contiguous Memory Management - ANSWER only 2 programs in memory- operating system and application program
Process control block - ANSWER a data structure used by the operating system to manage information about a process
Fixed partitions - ANSWER memory is divided into fixed number of partitions in which programs can be loaded
Worst fit - ANSWER allocate program to the biggest partition able to hold it
BIOS - ANSWER Where hardware meets software, and where all the boot magic begins; BIOS code is baked into the motherboard of your pc, usually stored on what is called an EEPROM and is considerably hardware specific.
Partition table - ANSWER an index of up to four partitions that exist on the same disk, a table of contents
MBR - ANSWER Master Boot Record: Located at the first sector of a hard disk, the MBR identifies how and where the OS is located so that it can be loaded into main RAM.
JMP Instruction - ANSWER assembly equivalent of a goto command
Active partition - ANSWER Partition on a hard drive where the OS boots off of, also called a bootable partition
Boot menu - ANSWER When a computer is booting up the bios will allow the user to access the boot menu if a certain key is pressed (normally F2, F12 or esc.) From the boot menu the user can select a bootable device to load.
Bootloader - ANSWER A program that loads an operating system when a computer is turned on. The bootsector loads and runs the bootloader from its filesystem. When the bootloader is finally executed, it loads its configuration/database from files on the same partition.
OS Kernel - ANSWER Communicates with and controls the hardware
EEPROM - ANSWER where the BIOS code is baked into the motherboard of your PC, considerably hardware-specific.
Dual/ Multibooting - ANSWER Support for loading multiple operating systems
POST - ANSWER Power-On Self Test
NTLDR - ANSWER the default bootloader for Windows NT, 2000, and XP; BOOT.INI on the active partition contains the list of operating systems and their locations; NTDETECT.COM is a helper program that runs to detect hardware and identify devices
BOOTMGR - ANSWER the new Windows and is used on Windows Vista, 7, 8, and 10; list of operating systems is now read from the BCD file in the BOOT directory on the active partition; is self-contained, and does not need any helper programs or routines
GRUB - ANSWER the most popular bootloader for Linux, though it can boot numerous other OSes as well; its boot settings are stored in a file usually called grub.cfg (GRUB2) or menu.lst (GRUB); GRUB is a modular bootloader can load additional modules from disk
Boot device - ANSWER any piece of hardware that can read or contains the files required for a computer to start. For example, Floppy disk, CD, DVD, and USB Flash Drive are considered bootable devices
Startup disk - ANSWER Hard drive where the BIOS loads a very small program and tells the CPU to execute its contents, handing off control of the computer to whatever is on the hard drive and ending, its active role in loading your PC. Also called a "the boot device" or "drive 0"
Drive - ANSWER An electromechanical device that contains and reads and writes magnetic disks, optical discs or magnetic tapes
Filesystem drivers - ANSWER give the bootloader the ability to read, at the very least, the filesystem it is located on
Firmware - ANSWER permanent software programmed into read-only memory
FAT 32 - ANSWER LFN, 2TB volume size limit, 4gb file size limit, share security only
MFT - ANSWER master file table
First 16 records are metadata files that describe the volume - ANSWER
First record stores the MFT value - ANSWER
Each file has an MFT entry - ANSWER
Cluster - ANSWER groups of one or more blocks
Contiguous - ANSWER the blocks that hold a particular file are stored together
Non contiguous - ANSWER the blocks that hold a particular file are scattered all over the device
I-node - ANSWER indexed file allocation. Advantages: fast for small blocks, can accommodate very large files
Random / relative access - ANSWER data files whose records can be retrieved from anywhere in the file random sequence
Indexed access - ANSWER additional means for accessing and viewing records in a file
Logical view - ANSWER reference to a stored value relative to the program making the reference
Physical view - ANSWER actual address in main memory
Abstraction - ANSWER a model of a complex system that includes only the details essential to the viewer
Array length - ANSWER the length of the array (?)
Index of last item - ANSWER The total length of the array -1 (mIndex - 1 if looking for last data entry in an array that may not be full).
Phases of computer problem solving - ANSWER identify the problem > understand the problem > identify alternative solutions > select the best solution > list instruction to solve problem > evaluate the solution
Sequential search - ANSWER search begins at the beginning of the list and continues until the item is found or the entire list has been searched
Algorithm - ANSWER a set of unambiguous instructions for solving a problem or subproblem in a finite amount of time using a finite amount of data
Abstract step - ANSWER an algorithmic step containing unspecified details.
Concrete step - ANSWER an algorithmic step in which all details are specified
Record - ANSWER a named heterogeneous collection of items in which individual items are accessed by name (ex. Bundle name, age and hourly wage items into a record named Employee)
Array - ANSWER a named homogeneous collection of items in which an individual item is accessed by its position (index) within the collection
Control structure ( if then, loops) - ANSWER an instruction that determines the order in which other instructions in a program are executed
A program may often make reference to variables physical address in memory - ANSWER false
In paged memory management, memory is organized into fixed sized frames - ANSWER true
Application software is written to solve problems in the real world - ANSWER true
In partitioned memory management an application program is separated into pieces and loaded into multiple partitions - ANSWER false
In dynamic partition memory management, the partitions are created as needed when jobs arrive - ANSWER true
Distinguish between an array-based visualization and a linked visualization - ANSWER Linked means they are in different locations but linked together whereas array-based are actually next to one another
Distinguish between an array and a list - ANSWER Array contains items all of the same type whereas a list does not.
Distinguish between and an unsorted list and a sorted list - ANSWER Unsorted = not sorted. Sorted = yes.
Distinguish between the behavior of a stack and a queue - ANSWER Stack = LIFO, Queue = FIFO
Describe the two main responsibilities of an operating system - ANSWER manages resources, and these resources are often shared in one way or another among programs that want to use them
Define memory and process management - ANSWER Memory management: the process of keeping track of what programs are in memory and where in memory they reside. Process management: the act of managing the use of the CPU by individual processes
Explain how timesharing creates the virtual machine illusion - ANSWER Seems like they have access to the same computer resources
Explain the relationship between logical and physical addresses - ANSWER Logical is the reference to a stored value relative to the program making the reference. Physical is the actual address in the main memory.
Compare and contrast memory management techniques - ANSWER Single contiguous memory management = only OS and application program in main memory. Partition memory management = memory is cut up into partitions
Distinguish between fixed and dynamic partitions - ANSWER Fixed = memory is divided into "fixed" number of partitions. Dynamic = partitions are created as needed.
Define and apply partition selection algorithms - ANSWER Best fit: find where it fits best. Worst fit: you find the biggest block able to fit the file. First fit: find the first block that will fit the file.
Explain how demand paging creates the virtual memory illusion - ANSWER The illusion that there is no restrictions to size of a program
Explain the processing of various CPU scheduling algorithms - ANSWER First come first serve - whatever is there first, gets processed first. Round Robin - there is a set time, and they all take turns. Shortest job next: does the short processes before the longer ones.
Explain the role of BIOS in the boot sequence - ANSWER Regardless of whether the BIOS was configured to boot from a local hard disk or from a removable USB stick, the handoff sequence is the same. Once the BIOS POST and Add-On ROM procedures have completed, the BIOS loads the first 512 bytes from the hard drive of the selected boot device - these 512 bytes are what is commonly known as the Master Boot Record (MBR)
Explain the steps in the process of bootstrapping that are consistent between systems - ANSWER BIOS > MBR > Active Partition > Bootloader
Give examples of file systems for Windows and *nix (Unix/Linux) - ANSWER Windows = FAT, FAT32, NTFS. Unix = ext3, ext4, xfs, ufs/ufs
Differentiate between hard and symbolic links - ANSWER Symbolic links are like shortcuts to a file, they can be used to reach the file but deleting the symbolic link does not impact the file itself. Hard link is the opposite, deleting it would impact the file, this is like the folder that houses the file.
CISC - ANSWER Complex Instruction Set Computers
RISC - ANSWER Reduced Instruction Set Computers
ARM - ANSWER processor that is one of a family of CPUs based on the RISC (reduced instruction set computer) architecture
ARM makes 32-bit and 64-bit RISC multi-core processors
GHz - ANSWER Gigahertz
billion steps per second
Cache (levels) - ANSWER Level 1
-inside the CPU itself
-fast
-typically 8-128 KB
Level 2
-On the front side bus
-faster access than main memory
-typically 64KB-16MB
DRAM - ANSWER Dynamic RAM
most common, cheap, less electrical power, less heat, smaller space
volatile
ROM - ANSWER Read-only memory
holds software that is not expected to be changed over the life of the system such as firmware for the system BIOS
Firmware - ANSWER software that is embedded in a piece of hardware
Registers (types of special purpose) - ANSWER Program Counter Register (PC) (also known as instruction pointer (IP)
Instruction Register (IR) - stores instruction fetched form memory
Memory Address Register (MAR)
Memory Data Register (MDR)
Status Registers - status of CPU and currently executing program
Volatile / non-volatile - ANSWER volatile
-liable to change
Multiprocessing - ANSWER increase the processing power of a system
parallel processing through threads: independent segments of a program that can be executed concurrently
SRAM - ANSWER faster and more expensive than DRAM
volatile
small amounts are often used in cache memory for high-speed memory access
Flash Memory - ANSWER inexpensive nonvolatile secondary storage
useful for nonvolatile portable computer storage, digital cameras, tablets, smartphones
slower rewrite time compared to RAM
Hyperthreading - ANSWER a technology used by some Intel microprocessor s that allows a single microprocessor to act like two separate processors to the operating system and the application programs that use it
Bus - ANSWER the physical connection that makes it possible to transfer data from one location in the computer system to another
group of electrical or optical conductors for carrying signals from on location to another
Opcode - ANSWER abbreviated from operation code
the portion of a machine language instruction that specifies the operation to be performed
Stack, push, pop - ANSWER Stack
-LIFO method for organizing information
-Items removed in the reverse order form how they are added
Push
-increments pointer then stores data
Pop
-loads data then decrements pointer
Device Driver - ANSWER a program that controls a particular type of device that is attached to your computer.
Polling I/O - ANSWER identifies interrupting device by polling each device
general interrupt is shared by all devices
Vectored I/O - ANSWER address of interrupting device is included in the interrupt
requires additional hardware to implement
Interrupt - ANSWER signal that causes the CPU to alter its normal flow of instruction execution
notify that an external event has occurred
Maskable / non-maskable interrupt - ANSWER maskable interrupt
-a one that can be suppressed by software/code. That is to say, it may be ignored.
-a network that connects local-area networks over a potentially large geographic distance
Metropolitan-area network (MAN)
-the communication infrastructures that have been developed in and around large cities
TCP / IP (IPv4, IPv6) - ANSWER Transmission Control Protocol (TCP)
Internet Protocol
IPv
-the last block was assigned in 2011
IPv
-32 bits organized in 4 groups of 8, they work in parallell
sub protocols (SMTP, FTP ...) - ANSWER Simple Mail Transfer Protocol (SMTP)
-used to specify transfer of electronic mail
File Transfer Protocol (FTP)
-allows a user to transfer files to and form another computer
Telnet
-used to log onto one computer from another
Hyper Text Transfer Protocol (http)
-allows exchange of Web documents
UDP - ANSWER User Datagram Protocol
an alternative to TCP that is faster but less reliable
Topologies (3) - ANSWER Ring topology
star topology
bus topology
Gateway - ANSWER one particular node set up to handle all communication going between that LAN and other networks
Wireless network - ANSWER a network in which devices communicate with other nodes through a wireless access point
Bluetooth - ANSWER a technology used for wireless communication over short distances
Internet Backbone - ANSWER a set of high-speed networks that carry Internet traffic, provided by companies such as AT&T, Verizon, GTE, IBM, etc.
Packet Switching - ANSWER messages are divided into fixed-sized, numbered packets; packets are individually routed to their destination, then reassembled