Software Development Exam  >  Software Development Tests  >  Database Management System (DBMS)  >  Test: Database System Architectures - 2 - Software Development MCQ

Test: Database System Architectures - 2 - Software Development MCQ


Test Description

15 Questions MCQ Test Database Management System (DBMS) - Test: Database System Architectures - 2

Test: Database System Architectures - 2 for Software Development 2024 is part of Database Management System (DBMS) preparation. The Test: Database System Architectures - 2 questions and answers have been prepared according to the Software Development exam syllabus.The Test: Database System Architectures - 2 MCQs are made for Software Development 2024 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Test: Database System Architectures - 2 below.
Solutions of Test: Database System Architectures - 2 questions in English are available as part of our Database Management System (DBMS) for Software Development & Test: Database System Architectures - 2 solutions in Hindi for Database Management System (DBMS) course. Download more important topics, notes, lectures and mock test series for Software Development Exam by signing up for free. Attempt Test: Database System Architectures - 2 | 15 questions in 30 minutes | Mock test for Software Development preparation | Free important questions MCQ to study Database Management System (DBMS) for Software Development Exam | Download free PDF with solutions
Test: Database System Architectures - 2 - Question 1

Which of the following is not a primary goal of a database system architecture?

Detailed Solution for Test: Database System Architectures - 2 - Question 1

Database system architectures aim to reduce data redundancy by maintaining data consistency and integrity.

Test: Database System Architectures - 2 - Question 2

Which of the following database system architectures allows multiple clients to access the same database concurrently?

Detailed Solution for Test: Database System Architectures - 2 - Question 2

In a client-server architecture, multiple clients can access a shared database through a server.

1 Crore+ students have signed up on EduRev. Have you? Download the App
Test: Database System Architectures - 2 - Question 3

In a parallel database system architecture, data is partitioned across multiple nodes. What is the main advantage of this approach?

Detailed Solution for Test: Database System Architectures - 2 - Question 3

Parallel database systems partition data across multiple nodes, allowing queries to be executed in parallel, thereby improving performance.

Test: Database System Architectures - 2 - Question 4

Which of the following is true about distributed database systems?

Detailed Solution for Test: Database System Architectures - 2 - Question 4

In distributed database systems, data is distributed across multiple nodes, with each node storing a subset of the data.

Test: Database System Architectures - 2 - Question 5

Which of the following is a disadvantage of distributed database systems?

Detailed Solution for Test: Database System Architectures - 2 - Question 5

Distributed database systems introduce complexities in managing data across multiple nodes and ensuring consistency.

Test: Database System Architectures - 2 - Question 6

Consider the following SQL query:

SELECT COUNT(*) FROM employees WHERE salary > 50000;
What will be the output of the above query?

Detailed Solution for Test: Database System Architectures - 2 - Question 6

The SQL query counts the number of rows in the "employees" table where the salary is greater than 50000.

Test: Database System Architectures - 2 - Question 7

Consider the following Python code snippet:

my_list = [1, 2, 3, 4, 5]
new_list = [x * 2 for x in my_list if x % 2 == 0]
print(new_list)
What will be the output of the above code?

Detailed Solution for Test: Database System Architectures - 2 - Question 7

The Python code filters the elements from the list "my_list" that are even (x % 2 == 0) and doubles them.

Test: Database System Architectures - 2 - Question 8

Consider the following SQL query:

SELECT AVG(salary) FROM employees WHERE department = 'Sales';
What will be the output of the above query?

Detailed Solution for Test: Database System Architectures - 2 - Question 8

The SQL query calculates the average salary of employees in the 'Sales' department.

Test: Database System Architectures - 2 - Question 9

Consider the following Python code snippet:

def factorial(n):
    if n == 0:
        return 1
    else:
        return n * factorial(n - 1)

result = factorial(5)
print(result)
What will be the output of the above code?

Detailed Solution for Test: Database System Architectures - 2 - Question 9

The Python code recursively calculates the factorial of a number (5 in this case).

Test: Database System Architectures - 2 - Question 10

Consider the following SQL query:

SELECT MAX(salary) FROM employees;
What will be the output of the above query?

Detailed Solution for Test: Database System Architectures - 2 - Question 10

The SQL query retrieves the maximum salary value from the "employees" table.

Test: Database System Architectures - 2 - Question 11

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?

Detailed Solution for Test: Database System Architectures - 2 - Question 11

The SQL query selects employee names and corresponding department names for employees with a salary higher than the average salary.

Test: Database System Architectures - 2 - Question 12

Consider the following Python code snippet:

def fibonacci(n):
    if n <= 1:
        return n
    else:
        return fibonacci(n - 1) + fibonacci(n - 2)

result = fibonacci(6)
print(result)

What will be the output of the above code?

Detailed Solution for Test: Database System Architectures - 2 - Question 12

The Python code calculates the 6th Fibonacci number (starting from 0).

Test: Database System Architectures - 2 - Question 13

Consider the following SQL query:

SELECT DISTINCT department_id FROM employees;
What does the above query return?

Detailed Solution for Test: Database System Architectures - 2 - Question 13

The SQL query retrieves distinct department IDs from the "employees" table.

Test: Database System Architectures - 2 - Question 14

Consider the following Python code snippet:

my_dict = {'a': 1, 'b': 2, 'c': 3}
result = sum(my_dict.values())
print(result)
What will be the output of the above code?

Detailed Solution for Test: Database System Architectures - 2 - Question 14

The Python code sums the values of the dictionary "my_dict" (1 + 2 + 3).

Test: Database System Architectures - 2 - Question 15

Consider the following SQL query:

SELECT COUNT(DISTINCT department_id) FROM employees;
What does the above query return?

Detailed Solution for Test: Database System Architectures - 2 - Question 15

The SQL query counts the number of distinct department IDs in the "employees" table.

75 videos|44 docs
Information about Test: Database System Architectures - 2 Page
In this test you can find the Exam questions for Test: Database System Architectures - 2 solved & explained in the simplest way possible. Besides giving Questions and answers for Test: Database System Architectures - 2, EduRev gives you an ample number of Online tests for practice

Top Courses for Software Development

Download as PDF

Top Courses for Software Development