Viva Questions For SQL & Java For STD 12 QUESTIONS
Viva Questions For SQL & Java For STD 12 QUESTIONS
Viva Questions For SQL & Java For STD 12 QUESTIONS
1. What is Database?
Ans:- A Database is a logical, consistent and organized collection of data
that it can easily be accessed, managed and updated. DBMS is used for
extraction of data from the database in the form of the queries.
2. What is DBMS?
Ans:- DBMS is a collection of programs that facilitates users to create and
maintain a database. There is the name of some popular Database
Management System- MySQL, Oracle, SQL Server, Amazon simple DB
(Cloud-based), etc.
3. What is RDBMS? How is it different from DBMS?
RDBMS is the acronym for the Relational Database Management
system. In DBMS, the data is stored as a file, whereas in RDBMS, data is
stored in the form of tables.
o Redundancy control
o Restriction for unauthorized access
o Provides multiple user interfaces
o Provides backup and recovery
o Enforces integrity constraints
o Ensure data consistency
o Easy accessibility
5.What is SQL?
A table has records (rows) and fields (columns). Fields have different
types of data, such as text, numbers, dates, and hyperlinks. A record:
Contains specific data, like information about a particular employee or a
product.
8.What are Constraints in SQL?
SQL constraints are used to specify rules for the data in a table
9.What is a Primary Key?
The primary key in SQL is a single, or a group of fields or columns that
can uniquely identify a row in a table.
The SELECT statement Instructs the Microsoft Access database engine to return
information from the database as a set of records.
17. What are some common clauses used with SELECT query in SQL?
SQL SELECT has different clauses to manage the data output. They are: FROM ,
AS , GROUP BY , HAVING , INTO , ORDER BY .
1. What is Java?
5. What is JDK?
The Java Development Kit (JDK) is a cross-platformed software
development environment that offers a collection of tools and libraries
necessary for developing Java-based software applications and applets.
6. What is JVM?
JVM (Java Virtual Machine) is an abstract machine. It is a specification
that provides runtime environment in which java bytecode can be
executed.
7. What is JRE?
The JRE is the underlying technology that communicates between the
Java program and the operating system.
Packages in Java are used to group related classes, interfaces, and sub-
packages.
15.What is an Array?
An array is a container object that holds a fixed number of values of a single
type. The length of an array is established when the array is created.