Looking for Databases & Interfaces (COMP1044 UNMC) (SPM1 25-26) test answers and solutions? Browse our comprehensive collection of verified answers for Databases & Interfaces (COMP1044 UNMC) (SPM1 25-26) at moodle.nottingham.ac.uk.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
Consider the following JavaScript code:
Javascript
console.log(a);var a = 5;
What will be the output when this code is executed?
Which value of the type attribute on an <input> element causes modern browsers to display a built-in date picker?
Which of the following anomalies can occur in a poorly normalized database?
Consider the following SQL query, which is intended to find students who have marks higher than the student with ID = 10:
SELECT Name FROM Student WHERE Marks > (SELECT Marks FROM Student WHERE ID = 10);<SQL>
What potential issue could occur with this query?
Which attribute on an HTML element is most commonly used to run a JavaScript function when the element is clicked?
Consider the following SQL query, which is intended to return employees who are not managers:
<SQL>
SELECT *FROM EmployeeWHERE ID NOT IN (SELECT ManagerID FROM Employee);
What will happen if the ManagerID column contains NULL values?
Match each HTML tag with the function it performs.
Which of the following is a requirement of First Normal Form (1NF)?
Consider the following SQL query:
<SQL>
SELECT name FROM Student WHERE marks > ALL (SELECT marks FROM Student WHERE dept='CS');
What does the following SQL query return?
A developer wants to apply a blue border to the following input element:
HTML
<input type="text" id="name">
CSS
.name { border: 2px solid blue;}
However, the border is not displayed. What is the most likely reason?