In systems programming, what is the primary difference between a pass-1 assembler and a pass-2 assembler?
Systems Programming
Question · Medium
Wedding seating, as a LEFT JOIN
Short
Which of the following is a primary function of a linkage editor (linker) in a system compilation environment?
What is the role of a relocation register in a dynamic loading and memory management scheme?
Question · Hard
Tech Exam Prep Podcast
Listen on Spotify
Podcast
During the compilation process, which phase is responsible for checking that the structure of the token sequence conforms to the grammar rules of the programming language?
Which of the following loader schemes leaves the task of address allocation and reference resolution until the program is loaded into memory for execution?
What is a major advantage of using dynamic linking libraries (DLLs / Shared Libraries) over static libraries?
Which of the following assembly language concepts describes a single instruction symbol that is expanded into multiple assembly language instructions during assembling?
Which table is created and maintained by a lexical analyzer to store identifiers and their associated attributes?
Question · Easy
What is the purpose of the 'Relocation Bit' included in the object code format of a relocating assembler?
In compilation, which optimization technique involves replacing a slow, high-level operation with an equivalent faster, lower-level operation?
How does a system call handler transition execution from user space to kernel space?
What is the primary role of an activation record (stack frame) in system runtime environments?
Which memory section in a compiled binary process contains uninitialized global and static variables?
Which of the following intermediate code representations is commonly structured as a directed acyclic graph where nodes represent operators and leaves represent operands?
In Intel x86 assembly language, what is the effect of the directive 'EQU'?
What is the primary function of a bootstrap loader in a computer system?
What is the worst-case time complexity of inserting a node at the beginning of a singly linked list containing $N$ elements?
Data Structures And Algorithms
Which of the following data structures operates on a Last-In, First-Out (LIFO) basis?
What is the worst-case time complexity of searching for an element in a binary search tree (BST) that is not balanced?
Which sorting algorithm uses a divide-and-conquer strategy, has a worst-case time complexity of $O(N^2)$, but has an average-case time complexity of $O(N \log N)$?
Which graph traversal algorithm uses a queue data structure to visit vertices level-by-level starting from a root node?
What is the primary characteristic of an AVL tree that distinguishes it from a standard binary search tree?
Which of the following describes the behavior of a circular queue implemented using an array of size $N$?
What is the time complexity of searching for an element in an array using binary search, assuming the array is already sorted?
Which binary tree traversal visits the nodes in the order: Left Subtree, Right Subtree, Root Node?
In algorithm analysis, what does the Big-Omega ($\Omega$) notation represent?
Which of the following is a key advantage of a doubly linked list over a singly linked list?
What is the worst-case time complexity of sorting an array of $N$ elements using Merge Sort?
Which of the following traversal sequences of a Binary Search Tree (BST) will output the keys in sorted ascending order?
What is the main advantage of using a binary heap instead of an unsorted array to implement a priority queue?
Which graph algorithm finds the shortest path from a single source vertex to all other vertices in a weighted graph with non-negative edge weights?
What is a hash collision in a hash table data structure?
What is the worst-case space complexity of Depth-First Search (DFS) on a graph, where $V$ is the number of vertices?
Which of the following database normal forms is defined by eliminating transitive dependencies on the primary key?
Database Management Systems
What is the purpose of the COMMIT command in transactional SQL database systems?
In the context of the ACID properties of a database transaction, what does the term 'Isolation' guarantee?
What is the primary function of a database index?
Which type of join returns all rows from the left table, and the matched rows from the right table, filling with NULL values if there is no match?
What concurrency control anomaly occurs when a transaction reads data that has been modified by another transaction but not yet committed?
In a relational database schema, what is a foreign key?
What is the key difference between a B-tree index and a B+ tree index in modern database storage engines?
Under what condition is a relation in Boyce-Codd Normal Form (BCNF)?
Which SQL keyword is used in conjunction with aggregate functions to filter groups of rows based on a specified condition?
What is the purpose of a database transaction log (write-ahead log)?
Which level of transaction isolation completely prevents dirty reads, non-repeatable reads, and phantom reads?
What is referential integrity in a relational database?
Loading more…