Practice IT DBMS Questions and Answers
- Which debugging tool allows a developer to pause program execution at specific lines, inspect variable values, and execute code step-by-step?Β
- When debugging a recursive function that processes a `Tree` data structure, what is a common strategy to identify infinite recursion or incorrect base case...
- A software defect that causes a program to produce incorrect output without crashing or displaying an error message is typically classified as a:Β
- Consider the following pseudo-code:Β Β ``` Β Β function calculate(arr): Β Β Β Β sum = 0 Β Β Β Β for i from 0 to length(arr) - 1: Β Β Β Β Β ...
- Given the following Python-like code snippet:Β Β Β ```python Β Β class Counter: Β Β Β Β def __init__(self): Β Β Β Β Β Β self.count = 0 Β Β ...
- What will be the value of `x` after the following pseudo-code execution?Β ``` Β Β x = 0 Β Β data = [10, 20, 30] Β Β for item in data: Β Β Β Β if...
- Consider a `Stack` data structure implemented with `push` and `pop` operations. What is the final state of the stack after the following sequence of operat...
- Examine the following Java-like code:Β Β Β ```java Β Β class Parent { Β Β Β Β String name = "Parent"; Β Β Β Β public void display() { Β Β Β ...
- What is the output of the following pseudo-code?Β Β ``` Β Β count = 0 Β Β for i from 1 to 3: Β Β Β Β for j from 1 to i: Β Β Β Β Β Β count = ...
- Given a `Queue` data structure with `enqueue` and `dequeue` operations. What is the element returned by the last `dequeue` operation in the following seque...
- In an Object-Oriented program, which control flow construct is primarily used to handle unexpected events or errors that occur during program execution, su...
- Which of the following best describes the control flow when a method in a subclass overrides a method in its superclass, and an object of the subclass is r...
- Consider a `LinkedList` data structure. Which control flow statement is most appropriate for iterating through all elements of the list from head to tail?οΏ½...
- In a program that manages a collection of `Employee` objects, each with a `salary` attribute, which control flow mechanism would be most efficient to find ...
- When implementing a `Graph` traversal algorithm like Depth-First Search (DFS) recursively, what is the primary control flow mechanism that manages the orde...
- Which OOP concept directly influences control flow by allowing different implementations of a method to be called based on the type of the object at runtim...
- A program needs to process elements from a `Queue` until it becomes empty. Which control flow structure is most suitable for this task?Β
- What will be the output of the following Python code: a=[1,2,3,4,5,6] print(a[-1],a[-1:],a[:-1])
- A company needs to schedule a maximum number of meetings in a single conference room. Each meeting `i` has a start time `s_i` and an finish time `f_i`. Onc...
- Consider the following C++-like pseudo-code for a binary tree traversal: Β Β ```cpp Β Β struct Node { Β Β Β Β int data; Β Β Β Β Node left; Β οΏ½...
- Consider the following Java-like pseudo-code for inserting a node into a Binary Search Tree (BST): Β Β ```java Β Β class Node { Β Β Β Β int data; οΏ½...
- Given a binary tree, a "zigzag" level order traversal prints the nodes level by level, but alternating the order of nodes from left-to-right and right-to-l...
- Which database model represents data in a tree-like structure, where each child record has only one parent?
- In the Relational Database Model, data is organized into:
- Which of the following is a significant disadvantage of using a traditional file system compared to an RDBMS?
- An RDBMS provides mechanisms for data integrity, such as primary keys and foreign keys, which are generally lacking in:
- A relation is in 1NF (First Normal Form) if:
- Which normal form eliminates transitive dependencies?
- A table is in 2NF (Second Normal Form) if it is in 1NF and:
- A column or set of columns that uniquely identifies each row in a table is called a:
- Which constraint ensures that a column contains only unique values, but allows NULL values?
- A `FOREIGN KEY` constraint is used to:
- Which property of a transaction ensures that either all operations within the transaction are completed successfully, or none of them are?
- The "Dirty Read" problem occurs when:
- Which of the following is a common technique for concurrency control in databases?
- In an E-R Diagram, entities are typically represented by:
- A "diamond" shape in an E-R Diagram typically represents a:
- In the context of computer networks, what is the primary function of a router?
- An SQL `VIEW` is a:
- A PL/SQL `TRIGGER` is a stored program that automatically executes in response to:
More Topics
- Algorithms Questions
- Analog and Digital Communication Questions
- Artificial Intelligence & Machine Language Questions
- Basics of Computers Questions
- Big Data Analytics Questions
- C Programming Questions
- C++ Questions
- Cloud Computing Questions
- Compiler Design Questions
- Computer Architecture and Design Questions
- Cyber Security Questions
- Data Analytics Languages Questions
- Data Structure Questions
- Data Warehousing Questions
- Digital Logic Questions
- Emerging Technologies Questions
- IOT and mobile Computing Questions
- IT Networking Questions
- IT Operating System Questions
- Java Language Questions
- Machine Learning Questions
- Memory Management Questions
- Microsoft Office Questions
- Miscellaneous Questions Questions
- Network Layer and IP Protocol Questions
- Numerical and Statistical Computing Questions
- Object Oriented Programming Questions
- OOPS Concepts Questions
- Previous Year Questions Questions
- Programming Concept Questions
- Python Questions
- Shell Scripting Questions
- Software Engineering and Web Technology Questions
- SQL Questions
- String Manipulation Questions
- TCP IP and OSI Questions