11 DBMS & SQL (Computer Science) questions asked in BEL PE previous year papers, each with the correct answer and explanation. Read them free on UTpaper, or attempt the full papers as timed online tests.
In context of Relational Algebra of Database Management System, SELECT operation is used to select a subset of the tuples from a relation that satisfy a __________.
In context of Database, which of the following is the CORRECT order for creating a database?
A → Defining its structure (scheme)
B → Entering data into the database
C → Designing forms (custom screens) for displaying and entering data
Consider a hash table with 10 slots. What is the sequence of the following elements in a hash table if hash function is k mod 10 and the collision is resolved using linear probing?
44, 26, 12, 93, 80, 57, 56, 23, 46, 36
A ______ defines an action the database should take when some database-related event occurs that causes a change in the content of a table in a database.
Which of the following statement is CORRECT regarding Referential Integrity Constraints in Relational Database Management System?
I. Referential Integrity Constraint is a rule that maintains consistency among the rows of two tables (relations).
II. Referential Integrity rule states that if there is a foreign key in one relation, either each foreign key value must match a primary key value in the other table or else the foreign key value must be null.
Database designers use _________ to define the structure of a database (database scheme) which typically includes definition of all data elements of the database and organization of data elements into records, tables etc.
Match the phases of compiler with its function.
Phases: I. Intermediate code generator; II. Code generation; III. Table management
Function: 1. Keeps track of the names used by the program; 2. Create a stream of simple instructions; 3. Produces the object code
In context to Database management system which of the following is CORRECT regarding query by example?
I. A Query by example form collects all information from a user for composing query language statements for search criterion.
II. Query by example relieves users from remembering query language keywords and using them with correct syntax to form queries.
ABoth I and II
BOnly I
CNeither I nor II
DOnly II
Show answerHide answer
Correct answer: (A) Both I and II
How to use these BEL PE Computer Science questions
Every question here was asked in a real BEL PE paper; the paper and shift are shown on the card, and the number opens the question on its own page. Try each one before tapping Show answer, then attempt the full BEL PE papers as timed tests to check your speed under exam conditions.