Book 3 Server Side Flashcards

1
Q

What is PostgreSQL?

A

software system designed to manage databases. open source, relational, database management system ( RDBMS ).

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

RDBMS

A

relational database management system, meaning it follows a relational model. It organizes databases into tables , where each table consists of rows and columns. Tables can have relationships with each other.

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

What is SQL

A

structured query language , a language used to interact with databases.

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

EF Core

A

Entity Framework Core . A framework that helps bridge the gap between our c# .NET API and our database. EF Core translates our linq methods in our endpoints into SQL queries to our database.

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

what is a connection string?

A

the connection string tells our program how to find and interact with the database .. the connection string is a set of instructions that tells your application how to reach the database server, authenticate itself, and establish a connection.

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

what is an Attribute in c#?

A

keywords or annotations that assign metadata to code elements.

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

What is a reference type?

A

Classes would be considered reference types in c# … reference types is a type of data, where the variable holds a reference to where the data is stored in memory, rather than holding the data itself.

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

What is Db Context

A

a class we inherit from EF Core that allows us to update, manage, and interact with our database

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

What is Db Set

A

a property on the Db Context class from EF Core that represents a database table in our code. Represents a collection of entities of a specific type.

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

What is inheritance in c#

A

a fundamental concept in object oriented programming that allows properties, methods, fields, and behavior to be passed down from a parent class to a child class… or in other words from a class to a sub class or derived class

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

what is dotnet user secrets ?

A

tool for managing sensitive configuration data during development .. it allows us to store our connection string

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

what is a constructor?

A

a special method that belongs to a class that is automatically called when an instance of that class is created.

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

what are access modifiers ?

A

keywords to specify the accessibility level of classes, properties, fields, or other members of a program. They control what parts of the program are visible and accessible to other parts.

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

what are overrides?

A

code that replaces other code …keyword to explicitly indicate that you are providing a new implementation for a method or property inherited from a base class.

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

what is a base class?

A

also known as a parent class or super class, is a class in which subclasses or derived class inherit properties, methods, and behavior from

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

what is encapsulation?

A

This means keeping code that is only safe or useful to use inside a particular context inaccessible to other parts of the program

17
Q

object initializer

A

syntax feature that allows you to initialize the properties or fields of an object directly at the point of its creation