Programming - Functions and SQL

Programming - Functions and SQL

8th - 10th Grade

30 Qs

quiz-placeholder

Similar activities

Handling Data: Procedures, functions, records, SQL and Files

Handling Data: Procedures, functions, records, SQL and Files

9th Grade

25 Qs

Python Vocab

Python Vocab

9th - 12th Grade

34 Qs

Python Functions Review Quiz

Python Functions Review Quiz

9th - 12th Grade

28 Qs

TechSmart Unit 2 Test

TechSmart Unit 2 Test

6th - 8th Grade

25 Qs

Subroutines

Subroutines

9th - 11th Grade

25 Qs

Python Y10

Python Y10

4th - 12th Grade

29 Qs

PLTW CSE Quiz - Activities 1.1.1 thru 1.1.3

PLTW CSE Quiz - Activities 1.1.1 thru 1.1.3

9th - 12th Grade

25 Qs

Basics of Pbasic

Basics of Pbasic

10th - 12th Grade

26 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?