New Update :- Start learning with us

Class-8th Computer (Ch-8)

No Comments

 Class -8th Computer.


Chapter -8 Connecting Web App to Database

 

Note:- You can write this from 13th January to 16th January(इसे आप 13 जनवरी से 16 जनवरी तक लिख सकते हैं)


A. Answer the following questions.

Q.1  How many types DBMS are?

Ans:- There are four type of DBMS:-

1. Hierarchical DBMS

2. Network DBMS

3. Relational DBMS

4. Object - Oriented Relational DBMS.

Q.2 What is stands for DBMS ?

Ans:- Database Management System.

Q.3 Why do we use echo statement in DBMS?

Ans:- The echo statement is used to print the values stored in the variable $row


B. Answer the following questions.


Q.1 What is Database? Give example.

Ans:- A database is a systematic collection of data. The data in a database is organised, which makes data management easy.

For example, your name, age, height, weight, etc., are some attributes related to you.


Q.2 Differentiate between the Network and Relational DBMS.

Ans:- Network DBMS: This type of DBMS supports many-to-many relationships. This usually results in complex database structures. The dm-server is an example of a database management system that implements the network model.

Relational DBMS: This type of DBMS makes use of the database relationships in the form of tables, also known as relations. Relational DBMS usually have predefined data types that they can support. 

Example of RDBMS is MySQL and Oracle.


Q.3.  What is SQL ?  Name any two SQL- based DBMS software. 

Ans:- SQL (Structured Query Language) is a domain-specific programming language used for managing and manipulating relational databases. It provides a standardized way to interact with databases, allowing users to create, retrieve, update, and delete data.

Like :- MySQL and Microsoft SQL Server.


Q.4 What is the difference between mysqli_connect and mysqli_select_db functions?

Ans:- The mysqli_connect:- The mysqli_connect method and its parameters are used to establish a connection with the database.

The mysqli_select_db :- The mysqli_select_db method is used to connect to the database. This method takes two parameters connection name and database name.



Note:-

Write ✍️ it and On 17 January , Chapter -9 will be published.

Please ask any question about gk related

back to top