Quiz: SQL Queries, Dosimetry and Rational Numbers — 13 questions

Detailed questions and answers

1. Which SQL condition identifies users who are missing from the most recent report?

Select users whose UserID is not in the report with the maximum ReportDate
Select users whose UserID is in the report with the minimum ReportDate
Select users whose UserID is in a report from the current year
Select users whose UserID matches every report date

Select users whose UserID is not in the report with the maximum ReportDate

Explanation

The latest report is identified by its maximum ReportDate, and users missing from it have UserIDs not contained in that report. A report with the minimum date represents the oldest report rather than the most recent one.

2. Which SQL query condition finds users who are currently active?

WHERE UserStatus = 'Inactive'
WHERE UserStatus = 'Active'
WHERE JoinDate = CURDATE()
WHERE DepartmentID IS NULL

WHERE UserStatus = 'Active'

Explanation

Filtering UserStatus for the value 'Active' returns users who are currently active. A current join date concerns when users joined, while a null department identifies missing department assignments.

3. Which SQL filter finds users whose role is Administrator, Manager, or Analyst?

WHERE UserStatus IN ('Administrator', 'Manager', 'Analyst')
WHERE UserName IN ('Administrator', 'Manager', 'Analyst')
WHERE UserRole IN ('Administrator', 'Manager', 'Analyst')
WHERE UserRole NOT IN ('Administrator', 'Manager', 'Analyst')

WHERE UserRole IN ('Administrator', 'Manager', 'Analyst')

Explanation

The UserRole column must be checked against the three permitted role values with an IN condition. Filtering UserStatus or UserName tests the wrong attribute, while NOT IN excludes the intended users.

4. What is the mean dose of the whole lesion?

5.556 Gy
11.11 Gy
55.6 Gy
55.56 Gy

55.6 Gy

Explanation

The mean dose of the whole lesion is 55.6 Gy. The value 11.11 Gy is the dose delivered in one session, while 55.56 Gy is the calculated dose by fraction.

5. A session uses the stated calculation 5.556×25.556 \times 2. What dose is delivered during that session?

11.11 Gy
55.6 Gy
5.556 Gy
55.56 Gy

11.11 Gy

Explanation

Multiplying 5.5565.556 by 22 gives approximately 11.1111.11 Gy for one session. The whole-lesion mean dose and the plan-by-fraction dose describe different quantities.

6. Which prime decomposition correctly represents 6060?

23⋅3⋅52^3 \cdot 3 \cdot 5
2⋅32⋅52 \cdot 3^2 \cdot 5
22⋅3⋅72^2 \cdot 3 \cdot 7
22⋅3⋅52^2 \cdot 3 \cdot 5

$$2^2 \cdot 3 \cdot 5$$

Explanation

The prime factors of 6060 are 2,2,3,52,2,3,5, giving 22⋅3⋅52^2 \cdot 3 \cdot 5. The expression containing 77 is the decomposition of 8484, while the other choices change a factor or exponent.

7. How is the GCD determined from the prime decompositions of two numbers?

Use noncommon prime factors with the smallest exponents
Use common prime factors with the largest exponents
Use every prime factor with the largest exponents
Use common prime factors with the smallest exponents

Use common prime factors with the smallest exponents

Explanation

The GCD retains only prime factors shared by both numbers and assigns each the smallest exponent present. Using all factors with the largest exponents describes the LCM instead.

8. What is the GCD of 6060 and 8484?

66
1212
2424
420420

$$12$$

Explanation

The common prime factors are 222^2 and 33, so GCD⁡(60,84)=22⋅3=12\operatorname{GCD}(60,84)=2^2 \cdot 3=12. The value 420420 is the corresponding least common multiple, not the greatest common divisor.

9. What is the value of a−1a^{-1} for a nonzero number aa?

aa
11
a−2a^{-2}
1a\frac{1}{a}

$$\frac{1}{a}$$

Explanation

A power of negative one gives the reciprocal, so a−1=1aa^{-1}=\frac{1}{a}. The rule a1=aa^1=a applies to exponent one, whereas a0=1a^0=1 applies to exponent zero.

10. What procedure reduces a fraction to irreducible form?

Subtract the denominator from the numerator repeatedly
Multiply both terms by their least common multiple
Divide both terms by their greatest common divisor
Divide the larger term by the smaller term

Divide both terms by their greatest common divisor

Explanation

A fraction reaches irreducible form when its numerator and denominator are divided by their greatest common divisor. Dividing the larger term by the smaller term does not generally preserve the fraction or produce its reduced form.

11. Which statement correctly describes the relationship between 2030\frac{20}{30} and 23\frac{2}{3}?

They represent different rational numbers because their terms differ
The first is irreducible, while the second can still be reduced
They are different representations of the same rational number
The second is obtained by adding the same number to both terms

They are different representations of the same rational number

Explanation

Dividing the numerator and denominator of 2030\frac{20}{30} by their greatest common divisor, 10, gives 23\frac{2}{3}, so both fractions have the same value. The first fraction is reducible, not irreducible, which rules out the related misconception.

12. Which calculation skill is included among the objectives for working with relative numbers?

Finding geometric areas from rational dimensions
Ordering numbers without carrying out calculations
Using addition, subtraction, multiplication, and division
Converting every rational number into a decimal

Using addition, subtraction, multiplication, and division

Explanation

The objectives include calculating with relative numbers through addition, subtraction, multiplication, and division. Converting all rational numbers to decimals is not identified as the stated calculation objective.

13. What kind of task is included in the objectives for rational numbers?

Solving problems involving rational numbers
Representing rational numbers on geometric figures
Memorizing decimal expansions of rational numbers
Classifying fractions by the size of their denominators

Solving problems involving rational numbers

Explanation

Solving problems involving rational numbers is explicitly included among the objectives. Classifying fractions by denominator size may be useful in some contexts, but it does not express the stated problem-solving objective.

Review with flashcards

Memorize the answers with 26 flashcards on SQL Queries, Dosimetry and Rational Numbers.

How to find users missing from the latest report in SQL?

Select users whose UserID is not in the report with the maximum ReportDate.

How to find currently active users in SQL?

Select UserID and UserName from Users where UserStatus equals 'Active'.

How to find users with specific roles in SQL?

Select UserID, UserName and UserRole where UserRole is in 'Administrator', 'Manager' or 'Analyst'.

See flashcards →

Read the study sheet

Read the complete study sheet on SQL Queries, Dosimetry and Rational Numbers.

See study sheet →

Similar courses

Create your own quizzes

Import your course and AI generates quizzes with corrections in 30 seconds.

Quiz generator