All Exams  >   Software Development  >   Database Management System (DBMS)  >   All Questions

All questions of Database System Architectures for Software Development Exam

Consider the following SQL query:
SELECT e.employee_name, d.department_name
FROM employees e
JOIN departments d ON e.department_id = d.department_id
WHERE e.salary > (SELECT AVG(salary) FROM employees)
ORDER BY e.employee_name;
What does the above query return?
  • a)
    Names of employees in the departments with the highest average salary
  • b)
    Names of employees with a salary higher than the average salary
  • c)
    Names of employees and their corresponding department names
  • d)
    Names of employees in the departments with the lowest average salary
Correct answer is option 'B'. Can you explain this answer?

Aditi Sen answered
The SQL query is incomplete as the condition for the salary is missing.

To complete the query, we need to specify a condition for the salary in the WHERE clause. For example, if we want to select employees with a salary greater than 50000, the query would be:

SELECT e.employee_name, d.department_name
FROM employees e
JOIN departments d ON e.department_id = d.department_id
WHERE e.salary > 50000

In a three-tier architecture, which tier is responsible for data storage and retrieval?
  • a)
    Presentation tier
  • b)
    Application tier
  • c)
    Database tier
  • d)
    Integration tier
Correct answer is option 'C'. Can you explain this answer?

In a three-tier architecture, the database tier is responsible for data storage and retrieval. It manages the physical storage of data and provides mechanisms for querying, updating, and managing the database.

Which database system architecture allows for the use of stored procedures and triggers?
  • a)
    Client-server architecture
  • b)
    Centralized architecture
  • c)
    Peer-to-peer architecture
  • d)
    Distributed architecture
Correct answer is option 'A'. Can you explain this answer?

CodeNation answered
The client-server architecture allows for the use of stored procedures and triggers. In this architecture, the database server executes the stored procedures and triggers requested by the client application, providing additional processing capabilities on the server side.

Which of the following is an advantage of a distributed database system architecture?
  • a)
    Improved data integrity and security
  • b)
    Reduced network traffic and latency
  • c)
    Simplified backup and recovery processes
  • d)
    Higher scalability and availability
Correct answer is option 'D'. Can you explain this answer?

One of the advantages of a distributed database system architecture is higher scalability and availability. By distributing data across multiple nodes, it enables parallel processing and improves fault tolerance, allowing for better scalability and availability.

Chapter doubts & questions for Database System Architectures - Database Management System (DBMS) 2025 is part of Software Development exam preparation. The chapters have been prepared according to the Software Development exam syllabus. The Chapter doubts & questions, notes, tests & MCQs are made for Software Development 2025 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests here.

Chapter doubts & questions of Database System Architectures - Database Management System (DBMS) in English & Hindi are available as part of Software Development exam. Download more important topics, notes, lectures and mock test series for Software Development Exam by signing up for free.

Top Courses Software Development