
COS326 L7 2025
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Sheunesu Makura
Used 1+ times
FREE Resource
Enhance your content in a minute
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid array declaration in PostgreSQL?
text[] schedule[][]
schedule text[][]
ARRAY(text[][])
schedule = text[][]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which PostgreSQL function returns the dimensions of an array?
array_length()
array_dims()
array_size()
array_dimensions()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following query return?
SELECT name FROM sal_Emp WHERE payByQuarter[1] <> payByQuarter[2];
Names of employees with equal first two quarterly payments
Names of employees with different first two quarterly payments
Names of employees with missing payments
Names of employees with NULL values
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid way to insert a 2D array in PostgreSQL?
ARRAY[ ['a', 'b'], ['c', 'd'] ]
ARRAY( ('a', 'b'), ('c', 'd') )
ARRAY{ {'a', 'b'}, {'c', 'd'} }
ARRAY['a', 'b', 'c', 'd']
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
The query
SELECT array_dims(schedule) FROM sal_Emp WHERE name = 'Thando';
returns the _______ of the schedule array.
Similar Resources on Wayground
10 questions
Prueba de Algoritmo y Programación
Quiz
•
University
10 questions
SOAL : Pengenalan Basis Data
Quiz
•
University
10 questions
Quiz Network Cabling Structure - SSK20353 - Network Technology
Quiz
•
University
10 questions
Modelos de Bases de Datos
Quiz
•
University
10 questions
H466 - Arrays, Records, Tuples and Lists
Quiz
•
11th Grade - University
10 questions
Lesson 2 - Passing Data to Subsystems
Quiz
•
University
10 questions
Industry 4.0 Unit 1
Quiz
•
University
10 questions
Analysis of Algorithms
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University
