Programming - Functions and SQL

Programming - Functions and SQL

8th - 10th Grade

30 Qs

quiz-placeholder

Similar activities

AP Computer Science Final Review

AP Computer Science Final Review

9th - 12th Grade

28 Qs

APCSA Unit 7

APCSA Unit 7

9th - 12th Grade

26 Qs

Artificial Intelligence Quiz1

Artificial Intelligence Quiz1

4th - 8th Grade

26 Qs

Java Quiz - Frankenberger 2022

Java Quiz - Frankenberger 2022

9th - 12th Grade

25 Qs

CS: Fall Semester Exam (2019)

CS: Fall Semester Exam (2019)

9th - 12th Grade

25 Qs

Javascript Functions

Javascript Functions

10th Grade

25 Qs

AP CSP Exam Review

AP CSP Exam Review

9th - 12th Grade

25 Qs

CSE 3.1 Key Terms Review

CSE 3.1 Key Terms Review

9th Grade

33 Qs

Programming - Functions and SQL

Programming - Functions and SQL

Assessment

Quiz

Computers

8th - 10th Grade

Hard

Created by

Sean Johnson

Used 7+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of  *?
Selects ALL fields from the table
Selects only the first field in the table
Selects the last field in the table
Shows only the first row in the table

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

With SQL, how do you select all the columns from a table named "Persons"?
 SELECT [all] FROM Persons
 SELECT *.Persons
 SELECT * FROM Persons
 SELECT Persons

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which query would return the fields Name and Form?

SELECT Name, Set FROM Pupils

SELECT Name, Group FROM Pupils

SELECT Name, Form FROM Pupils

SELECT Name, Gender FROM Pupils

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Return only the customers who have ER anywhere in their last name. 
last_name LIKE "%er%"
last_name = "%er"
last_name = "%er%"
last_name LIKE "%er"

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a function?

A section of code that will return a value

A section of code that will return nothing

A section of code that will return a command

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a subroutine?

Function

Procedure

Parameter

Functions and Procedures

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image
What will print?
nothing
5
6
an error message

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?