logo

Crowdly

Browser

Add to Chrome

Databases & Interfaces (COMP1044 UNMC) (SPM1 25-26)

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!

Students can enroll in multiple courses, and each course can have multiple students. When converting this relationship into a relational schema, how should it be represented?

17%
0%
0%
83%
View this question

Consider the following Orders table:

Table: A

id

1

2

Table: B

id

2

3

And the SQL query:

<SQL>

SELECT A.id 

FROM A

INNER JOIN B

ON A.id = B.id;

What is the output of this query?

83%
0%
0%
17%
View this question

A developer wants to run code when the user clicks a button with id="go". Which line does this correctly?

0%
0%
17%
83%
View this question

Which of the following is the correct way to write a single-line comment in JavaScript?

0%
0%
0%
100%
View this question

Consider the following SQL query:

<SQL>

SELECT dept, COUNT(*)

FROM Employee

GROUP BY dept

HAVING COUNT(*) > 5;

What does the following SQL query return?

100%
0%
0%
0%
View this question

The following PHP call fails to establish a database connection. Which of the listed options is the most common cause of this failure?

PHP

$conn = mysqli_connect("localhost", "root", "", "db");

17%
83%
0%
0%
View this question

A company wants to increase the salary by 10% only for employees earning less than 3000. Consider the following SQL query:

<SQL>

UPDATE Employee

SET Salary = Salary * 1.1;

What is the issue with this query?

0%
0%
100%
0%
View this question

In the element below, what is the primary purpose of the alt attribute?

<img src="image.jpg" alt="">

100%
0%
0%
0%
View this question

How do you write an "if" statement in JavaScript to run code when x is greater than 10?

0%
0%
100%
0%
View this question

Consider the following SQL query:

<SQL>

SELECT name

FROM Student

WHERE name LIKE 'A%_';

What does the following SQL query return?

0%
0%
0%
100%
View this question

Want instant access to all verified answers on moodle.nottingham.ac.uk?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome