cs2001_2025T2_Q1_AN.pdf
Programming, Data Structures and Algorithms using Python(PDSA) · Quiz 1 · May 2025
← Course papers · Start practice / exam
Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.
Question 30 MCQ · 3.0 marks
In the given code, if we change the condition to if element % 2 == 0 at line 7, then what is the value
of output after executing it?
[4, 8, 12]
[4, 8, 10]
[9, 10]
[6, 8, 12]
**DBMS**
**Section Id :** 64065392554
**Section Number :** 3
**Section type :** Online
**Mandatory or Optional :** Mandatory
**Number of Questions :** 15
**Number of Questions to be attempted :** 15
**Section Marks :** 50
**Display Number Panel :** Yes
**Section Negative Marks :** 0
**Group All Questions :** No
**Enable Mark as Answered Mark for Review and**
No
**Clear Response :**
**Section Maximum Duration :** 0
**Section Minimum Duration :** 0
**Section Time In :** Minutes
**Maximum Instruction Time :** 0
A published solution is not available for this question yet.
Question 32 MCQ · 4.0 marks
[[IMAGE:6cdeec2bf6e8482d_3_0]]

[[IMAGE:6cdeec2bf6e8482d_3_1]]

[[IMAGE:6cdeec2bf6e8482d_3_2]]

[[IMAGE:6cdeec2bf6e8482d_3_3]]

[[IMAGE:6cdeec2bf6e8482d_3_4]]

A published solution is not available for this question yet.
Question 33 MCQ · 4.0 marks
[[IMAGE:6cdeec2bf6e8482d_4_5]]

[[IMAGE:6cdeec2bf6e8482d_4_6]]

[[IMAGE:6cdeec2bf6e8482d_4_7]]

[[IMAGE:6cdeec2bf6e8482d_4_8]]

roll_no | name | marks
1 Amit 80
2 Neha 90
3 Ravi 70
A published solution is not available for this question yet.
Question 34 MCQ · 4.0 marks
[[IMAGE:6cdeec2bf6e8482d_6_10]]

1-e, 2-d, 3-f, 4-c
1-e, 2-a, 3-f, 4-b
1-g, 2-a, 3-h, 4-b
1-g, 2-d, 3-h, 4-c
A published solution is not available for this question yet.
Question 35 MCQ · 4.0 marks
[[IMAGE:6cdeec2bf6e8482d_7_11]]

Names of employees who earn less than the most experienced person in their
department.
Names of employees who earn more than the most experienced person in
their department.
Names of employees who earn more than all less experienced colleagues in
their department.
Names of employees who earn less than all less experienced colleagues in
their department.
A published solution is not available for this question yet.
Question 36 MCQ · 4.0 marks
[[IMAGE:6cdeec2bf6e8482d_8_12]]

Names of students who have enrolled in at least one course
Names of students who have enrolled in exactly one course
Names of students who have enrolled in all available courses
Names of students who have not enrolled in any course
A published solution is not available for this question yet.
Question 37 MCQ · 4.0 marks
[[IMAGE:6cdeec2bf6e8482d_9_13]]

[[IMAGE:6cdeec2bf6e8482d_9_14]]

[[IMAGE:6cdeec2bf6e8482d_9_15]]

[[IMAGE:6cdeec2bf6e8482d_9_16]]

[[IMAGE:6cdeec2bf6e8482d_9_17]]

A published solution is not available for this question yet.
Question 38 MCQ · 3.0 marks
[[IMAGE:6cdeec2bf6e8482d_10_18]]

[[IMAGE:6cdeec2bf6e8482d_10_19]]

[[IMAGE:6cdeec2bf6e8482d_10_20]]

[[IMAGE:6cdeec2bf6e8482d_10_21]]

[[IMAGE:6cdeec2bf6e8482d_10_22]]

A published solution is not available for this question yet.
Question 39 MCQ · 3.0 marks
[[IMAGE:6cdeec2bf6e8482d_11_23]]

30.00
35.00
40.00
42.00
A published solution is not available for this question yet.
Question 40 MCQ · 3.0 marks
[[IMAGE:6cdeec2bf6e8482d_12_24]]

[[IMAGE:6cdeec2bf6e8482d_12_25]]

[[IMAGE:6cdeec2bf6e8482d_12_26]]

[[IMAGE:6cdeec2bf6e8482d_12_27]]

[[IMAGE:6cdeec2bf6e8482d_12_28]]

A published solution is not available for this question yet.
Question 41 MCQ · 3.0 marks
[[IMAGE:6cdeec2bf6e8482d_13_29]]

[[IMAGE:6cdeec2bf6e8482d_13_30]]

[[IMAGE:6cdeec2bf6e8482d_13_31]]

[[IMAGE:6cdeec2bf6e8482d_13_32]]

[[IMAGE:6cdeec2bf6e8482d_13_33]]

A published solution is not available for this question yet.
Question 42 MCQ · 2.0 marks
Which of the following is the main role of the query parser in query processing?
Optimize the query by reordering joins
Translate high-level queries into relational algebra
Execute the query on the database
Maintain transaction logs
A published solution is not available for this question yet.
Question 43 MSQ · 4.0 marks
[[IMAGE:6cdeec2bf6e8482d_14_34]]

The instructor can work in various courses and courses can have more than
one instructors working in them.
We will not store the information about a health record once the instructor
leaves the organization.
The instructor can manage more than one courses.
Total 5 tables are required to represent the given ERD into a relational
schema.
A published solution is not available for this question yet.
Question 44 NAT · 4.0 marks
[[IMAGE:6cdeec2bf6e8482d_15_35]]

A published solution is not available for this question yet.
Question 45 NAT · 4.0 marks
[[IMAGE:6cdeec2bf6e8482d_16_36]]

A published solution is not available for this question yet.