2.2 Programming Fundamentals Flashcards

1
Q

Whats casting

A

Changing the data type of a variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is SQL

A

Used to search database tables for specific data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Whats the overall purpose of SQL?

A

SCRUD:
to
Search,
Create,
Read,
Update,
Delete data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does the SQL statement SELECT do

A

For searching and reading

SELECT (field names) from (table name)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does the SQL command WHERE do

A

For filtering so that only some records are returned

SELECT * FROM results WHERE name=”Bob”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Whats a procedure

A

Set of instructions stored under one name (a sub program)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Whats a function

A

A sub program like a procedure but it always returns a value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly