first lecture Flashcards

1
Q

the four basic operations you can perform on a database

A

CRUD

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

When working with databases in Visual Basic,
CRUD operations are typically carried out using…

A

SQL statements embedded in your Visual Basic code

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

Purpose - To add new records to the database.

A

Create (Insert)
SQL Statement - INSERT INTO

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

Purpose - To retrieve records from the database.

A

Read (Select)
SQL Statement - SELECT

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

Purpose - To modify existing records in the database.

A

Update
SQL Statement - UPDATE

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

Purpose - To remove records from the database.

A

Delete
SQL Statement - DELETE

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

The ___ is used to execute a block of code if a specified condition is true.
If the condition is false, another block of code can be executed using the Else statement

A

If-Else statement

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

The ___ is used when you need to evaluate an expression against multiple possible values. It provides a cleaner and more readable alternative to multiple

A

Select Case statement

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

___ when there are many conditions to check.

A

If-ElseIf statements

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

The ___ is used when you know in advance how many times you want to execute a block of code. It iterates over a sequence of values.

A

For loop

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

The ___ executes a block of code as long as a specified condition is True. It’s useful when the number of iterations is not known in advance.

A

While loop

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

The ___ is similar to the While loop, but with a key difference: the condition is evaluated after the loop’s body is executed. This means that the loop will always execute at least once.

A

Do-While loop

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