DOT NET CORE INTERVIEW Question and Answer.pdf
773.3 KB
DOT NET CORE INTERVIEW
QUESTIONS AND ANSWERS
QUESTIONS AND ANSWERS
New Postπ« please follow me and help me reach 1Kπ
https://www.instagram.com/p/Cq-r5IEBvj9/?utm_source=ig_web_copy_link
https://www.instagram.com/p/Cq-r5IEBvj9/?utm_source=ig_web_copy_link
Online Real Estate Website Project in asp.net C# with source code
https://coderbaba.gumroad.com/l/anjxe
https://coderbaba.gumroad.com/l/anjxe
Gumroad
Online Real Estate Website Project with source code
Online Real Estate Website Project in asp .net C#,SQL Server with source code
Hey Guys
Please subscribe new channel
πππ
https://www.youtube.com/@thekrkv
for more tech and career oriented videos
please support
thanks
Please subscribe new channel
πππ
https://www.youtube.com/@thekrkv
for more tech and career oriented videos
please support
thanks
Hi everyone please Subscribe
https://youtu.be/1r7aWBmvHB0
https://youtu.be/1r7aWBmvHB0
YouTube
laravel pennant feature flag package Part 1
#laravel #Pennant #ubuntu #package #laravelproject #laravelpackage #pennant #laravelpennant #library #tutorial #programming #coding #php #learnlaravel #tutorial #laraveltutorial
laravel, Pennant, ubuntu, package, laravelproject, laravelpackage, pennantβ¦
laravel, Pennant, ubuntu, package, laravelproject, laravelpackage, pennantβ¦
What is a Database?
We will not get into more detailed explanation about the database but just a breif for undertsanding.
Database is a collection of data stored in a computer disc space or server space. In simple words it is a space where your data is been stored.
In a single database we can create any number of data tables. It's like a school with many classrooms and each classroom will have different school students.
In a single data table we create any number of columns For eg. studentID, studentName, studentAddress and in a single data table we can store data for specific topic.
Like to store student's records you can have students data table, For school accounts you can have accounts data table, For school results you can have results data table.
There are commonly used databases in our IT Zone
SQL - Microsoft SQL Server
Oracle - Oracle RDBMS or simply as Oracle
MYSQL - Open Source Freeware
MSACESS - Microsoft Access
PostgreSQL - ORDBMS
SAP - To manage customer relationship and other business operations
FoxPro - Database
IBM DB2 - IBM Database by IBM
Now in further we will try to understand about data manipulation statements i.e. (Insert, Select, Update and Delete).
About Data Manipulation Statements
Select Statement
Select statement let you to retrieve the data from the database table.
For ex : In simple words if you want to pick up single student record, multiple student records or all students records from the table database you just need to use "Select" statement.
Example
Select * from 'students'
"*" - Means All
We will not get into more detailed explanation about the database but just a breif for undertsanding.
Database is a collection of data stored in a computer disc space or server space. In simple words it is a space where your data is been stored.
In a single database we can create any number of data tables. It's like a school with many classrooms and each classroom will have different school students.
In a single data table we create any number of columns For eg. studentID, studentName, studentAddress and in a single data table we can store data for specific topic.
Like to store student's records you can have students data table, For school accounts you can have accounts data table, For school results you can have results data table.
There are commonly used databases in our IT Zone
SQL - Microsoft SQL Server
Oracle - Oracle RDBMS or simply as Oracle
MYSQL - Open Source Freeware
MSACESS - Microsoft Access
PostgreSQL - ORDBMS
SAP - To manage customer relationship and other business operations
FoxPro - Database
IBM DB2 - IBM Database by IBM
Now in further we will try to understand about data manipulation statements i.e. (Insert, Select, Update and Delete).
About Data Manipulation Statements
Select Statement
Select statement let you to retrieve the data from the database table.
For ex : In simple words if you want to pick up single student record, multiple student records or all students records from the table database you just need to use "Select" statement.
Example
Select * from 'students'
"*" - Means All
New jobs πͺ
ππLast days ππ Jobs by geeks for geeks ππ LINK - http://bit.ly/3mvLILW http://bit.ly/3mvLILW ππ π―βοΈDon't miss opportunity
ππLast days ππ Jobs by geeks for geeks ππ LINK - http://bit.ly/3mvLILW http://bit.ly/3mvLILW ππ π―βοΈDon't miss opportunity
practice.geeksforgeeks.org
Contest | Job-A-Thon 19 - Hiring Challenge
With over 1500+ candidates placed in 200+ companies in the last 1 year, Job-A-Thon brings you yet another chance to get placed in top companies. Times may get tough, but for you, Job-A-Thon will be enough!
Do not miss out the Post Contest Analysis- Live:β¦
Do not miss out the Post Contest Analysis- Live:β¦
Roll Name Class Address
1 Rahul Kumar Tiwari Class9 Varanasi UP India
2 Babita class7 Delhi
4 Master Jojo Class7 Kanpur India
Select * from tbl_Student;
create procedure sp_InsertStudent
@Name nvarchar(50),
@Class nvarchar(50),
@Address nvarchar(50)
as
begin
insert into tbl_Student(Name,Class,Address) values(@Name,@Class,@Address)
end
go
-----------
create procedure sp_UpdateStudent
@Roll int,
@Name nvarchar(50),
@Class nvarchar(50),
@Address nvarchar(50)
as
begin
update tbl_Student set Name=@Name,Class=@Class,Address=@Address where Roll=@Roll
end
go
--------
create procedure sp_DeleteStudent
@Roll int
as
begin
Delete from tbl_Student where Roll=@Roll
end
go
1 Rahul Kumar Tiwari Class9 Varanasi UP India
2 Babita class7 Delhi
4 Master Jojo Class7 Kanpur India
Select * from tbl_Student;
create procedure sp_InsertStudent
@Name nvarchar(50),
@Class nvarchar(50),
@Address nvarchar(50)
as
begin
insert into tbl_Student(Name,Class,Address) values(@Name,@Class,@Address)
end
go
-----------
create procedure sp_UpdateStudent
@Roll int,
@Name nvarchar(50),
@Class nvarchar(50),
@Address nvarchar(50)
as
begin
update tbl_Student set Name=@Name,Class=@Class,Address=@Address where Roll=@Roll
end
go
--------
create procedure sp_DeleteStudent
@Roll int
as
begin
Delete from tbl_Student where Roll=@Roll
end
go
ππ»What is RDBMS And Normalization?
Relational Data Base Management Systems (RDBMS) are
database management systems that maintain data records
and indices in tables. Relationships may be created and
maintained across and among the data and tables. In a
relational database, relationships between data items are
expressed by means of tables. Interdependencies among
these tables are expressed by data values rather than by
pointers. This allows a high degree of data independence. An
RDBMS has the capability to recombine the data items from
different files, providing powerful tools for data usage.
What are the properties of the relational tables?
Relational tables have the following five properties:
πΒ· Values are atomic.
πΒ· Column values are of the same kind.
πΒ· The sequence of columns is insignificant.
πΒ· The sequence of rows is insignificant.
πΒ· Each column must have a unique name.
Relational Data Base Management Systems (RDBMS) are
database management systems that maintain data records
and indices in tables. Relationships may be created and
maintained across and among the data and tables. In a
relational database, relationships between data items are
expressed by means of tables. Interdependencies among
these tables are expressed by data values rather than by
pointers. This allows a high degree of data independence. An
RDBMS has the capability to recombine the data items from
different files, providing powerful tools for data usage.
What are the properties of the relational tables?
Relational tables have the following five properties:
πΒ· Values are atomic.
πΒ· Column values are of the same kind.
πΒ· The sequence of columns is insignificant.
πΒ· The sequence of rows is insignificant.
πΒ· Each column must have a unique name.
ππ»What is normalization?
Database normalization is a data design and organizational
process applied to data structures based on rules that help
build relational databases. In relational database design, the
process of organizing data to minimize redundancy is called
normalization. Normalization usually involves dividing
database data into different tables and defining relationships
between the tables. The objective is to isolate data so that
additions, deletions, and modifications of a field can be made
in just one table and then retrieved through the rest of the
database via the defined relationships.
The key traits for Normalization are eliminating redundant data and
ensuring data dependencies.
follow @coder_baba
Database normalization is a data design and organizational
process applied to data structures based on rules that help
build relational databases. In relational database design, the
process of organizing data to minimize redundancy is called
normalization. Normalization usually involves dividing
database data into different tables and defining relationships
between the tables. The objective is to isolate data so that
additions, deletions, and modifications of a field can be made
in just one table and then retrieved through the rest of the
database via the defined relationships.
The key traits for Normalization are eliminating redundant data and
ensuring data dependencies.
follow @coder_baba
ππ»What is de-normalization?
De-normalization is the process of attempting to optimize the
performance of a database by adding redundant data. It is
sometimes necessary because current DBMSs implement the
relational model poorly. A true relational DBMS would allow
for a fully normalized database at the logical level, while
providing physical storage of data that is tuned for high
performance. De-normalization is a technique to move from
higher to lower normal forms of database modeling in order
to speed up database access.
De-normalizing the database design allows for fewer joins with
tables and foreign key requirements. This method is commonly used
for Reporting and OLAP workloads.
De-normalization is the process of attempting to optimize the
performance of a database by adding redundant data. It is
sometimes necessary because current DBMSs implement the
relational model poorly. A true relational DBMS would allow
for a fully normalized database at the logical level, while
providing physical storage of data that is tuned for high
performance. De-normalization is a technique to move from
higher to lower normal forms of database modeling in order
to speed up database access.
De-normalizing the database design allows for fewer joins with
tables and foreign key requirements. This method is commonly used
for Reporting and OLAP workloads.
ππ»How is the ACID property related to databases?
ACID (an acronym for Atomicity Consistency Isolation
Durability) is a concept that database professionals generally
look for while evaluating relational databases and application
architectures. For a reliable database, all four of these
attributes should be achieved:
π±Atomicity is an all-or-none rule for database modifications.
π±Consistency guarantees that a transaction never leaves your
database in a half-finished state.
π±Isolation keeps transactions separated from each other until
they are finished.
π±Durability guarantees that the database will keep track of
pending changes in such a way that the server can recover
from an abnormal termination and committed transactions
will not be lost.
follow @coder_baba
ACID (an acronym for Atomicity Consistency Isolation
Durability) is a concept that database professionals generally
look for while evaluating relational databases and application
architectures. For a reliable database, all four of these
attributes should be achieved:
π±Atomicity is an all-or-none rule for database modifications.
π±Consistency guarantees that a transaction never leaves your
database in a half-finished state.
π±Isolation keeps transactions separated from each other until
they are finished.
π±Durability guarantees that the database will keep track of
pending changes in such a way that the server can recover
from an abnormal termination and committed transactions
will not be lost.
follow @coder_baba