
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
Cuestionario Seguridad Dispositivos Capa 2
Quiz
•
University
10 questions
DAW Introducción a las aplicaciones Web - 5
Quiz
•
University
9 questions
c language quiz
Quiz
•
University
10 questions
SIG - SQL - Limbajul de interogare a bazelor de date Oracle
Quiz
•
University
9 questions
Organization structure Part I
Quiz
•
University - Professi...
10 questions
IS121 - Quiz in Knowledge Management
Quiz
•
University
10 questions
Quiz 1 4GL
Quiz
•
University
10 questions
Pop Quiz for Topic 2.1 Show Security Policy & 2.2 Show Security
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd 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
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
Slopes and Slope-Intercept Form
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
20 questions
Winter/Holiday Trivia
Quiz
•
KG - University
10 questions
WINTER WIN Time - ELA - 12/9/2025
Quiz
•
KG - University
7 questions
Human Impact on Resources
Interactive video
•
4th Grade - University
