Online Exam Quiz

questionQuestion  1 to 30

What is a transaction?

  • Sequence of operations treated as a single unit
  • One query
  • One stored procedure
  • Test suite
Mark for review

What is denormalization?

  • Adding primary keys
  • Adding indexes
  • Introducing redundancy for performance
  • Removing keys
Mark for review

What is a cursor in database?

  • Table name
  • A pointer to the result of a query
  • Function
  • Constraint
Mark for review

What is a view in database?

  • Stored data
  • Virtual table based on a query
  • Schema info
  • SQL user
Mark for review

What is a synonym in database terms?

  • Alias for table or view
  • Copy of schema
  • Index
  • Stored query
Mark for review

What happens if referential integrity is broken?

  • Page crashes
  • System slows down
  • Orphan records occur
  • No effect
Mark for review

What is a stored procedure?

  • Static report
  • Predefined SQL logic stored in DB
  • Data type
  • View
Mark for review

Which statement is used to add new rows?

  • DELETE
  • UPDATE
  • INSERT INTO
  • ALTER
Mark for review

What does DML stand for?

  • Data Memory Load
  • Database Management Language
  • Data Manipulation Language
  • Data Module Layer
Mark for review

Which SQL statement is used to retrieve data?

  • UPDATE
  • INSERT
  • SELECT
  • DELETE
Mark for review

Which constraint ensures that a column cannot have NULL values?

  • FOREIGN KEY
  • NOT NULL
  • CHECK
  • UNIQUE
Mark for review

Which type of testing verifies that NULL values are handled correctly?

  • Null constraint testing
  • Usability testing
  • Regression testing
  • Smoke testing
Mark for review

What type of testing verifies the correctness of stored procedures?

  • Regression testing
  • Stored procedure testing
  • Usability testing
  • Volume testing
Mark for review

When should database testing be done?

  • After deployment only
  • Only during coding
  • Throughout development cycle
  • Not required
Mark for review

Which clause is used to limit the number of rows returned?

  • COUNT
  • HAVING
  • LIMIT
  • SUM
Mark for review

Which data type is used to store large text?

  • INT
  • VARCHAR
  • CHAR
  • TEXT
Mark for review

What is used to validate data accuracy?

  • UI test case
  • SELECT queries
  • Regression script
  • Page source check
Mark for review

What is the impact of missing indexes?

  • Faster queries
  • More memory usage
  • Slower query performance
  • Duplicate records
Mark for review

What does the HAVING clause do?

  • Filters groups created by GROUP BY
  • Sorts results
  • Limits rows
  • Deletes duplicates
Mark for review

Which testing ensures historical data is retained correctly?

  • Migration testing
  • Retention testing
  • Backup testing
  • Consistency testing
Mark for review

What is a surrogate key used for?

  • Replacing composite keys with a unique auto-generated key
  • Backup creation
  • Data migration
  • Foreign reference
Mark for review

What is the main reason to use transactions in database?

  • Improve UI
  • Handle schema changes
  • Ensure data integrity and atomicity
  • Backup data
Mark for review

What is a NULL value in a database?

  • A zero
  • An empty string
  • A missing or undefined value
  • A negative number
Mark for review

What is the role of a data dictionary?

  • Stores table rows
  • Stores database schema metadata
  • Encrypts columns
  • Defines user roles
Mark for review

What is the use of CHECK constraint?

  • Auto-increment field
  • Enforces a condition on a column
  • Creates index
  • Sets primary key
Mark for review

What does the ROLLBACK command do?

  • Commits changes
  • Deletes database
  • Undoes changes
  • Closes session
Mark for review

Which SQL function returns number of records?

  • SUM()
  • AVG()
  • COUNT()
  • MIN()
Mark for review

What is the role of test cases in DB testing?

  • Automate UI
  • Ensure backend logic is sound
  • Validate CSS
  • Perform navigation
Mark for review

What is latency in database performance?

  • Query length
  • Delay in data access
  • Total rows
  • Index position
Mark for review

What is a common challenge in database testing?

  • UI alignment
  • Inconsistent test data
  • Color mismatch
  • Element IDs
Mark for review

blinkerOnline

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • Answered
  • Not Answered
  • Marked for Review