12th Class IT (802) Very Short Questions Answer in Hindi English | CBSE
12th Class IT (802) Very
Short Questions Answer | CBSE
कक्षा 12वीं की NSQF- IT विषय में “Operating Web”, “DBMS”
(Database Management System) और “Java”
तीन महत्वपूर्ण
अध्याय हैं,
जो वेब
टेक्नोलॉजी,
डेटा प्रबंधन, और प्रोग्रामिंग की मूलभूत अवधारणाओं को
समझने में सहायता करते हैं।
12th Class IT (802) Very
Short Questions Answer | CBSE
कक्षा 12वीं की NSQF- IT विषय में “Operating Web”, “DBMS”
(Database Management System) और “Fundamentals of Java”
तीन महत्वपूर्ण
अध्याय हैं,
जो वेब
टेक्नोलॉजी,
डेटा प्रबंधन, और प्रोग्रामिंग की मूलभूत अवधारणाओं को
समझने में सहायता करते हैं।
Operating Web:-
यह अध्याय इंटरनेट, वेब एप्लिकेशन,
ऑनलाइन सेवाओं, ई-गवर्नेंस, ऑनलाइन शॉपिंग, और वेब ब्राउज़िंग तकनीकों से संबंधित है।
इसमें ऑनलाइन लेन-देन की सुरक्षा और वेब विकास के मूलभूत सिद्धांतों को भी शामिल
किया गया है।
DBMS (Database Management System):-
यह अध्याय डेटा को संगठित करने, प्रबंधित करने और सुरक्षित रूप से संग्रहीत
करने की तकनीकों पर केंद्रित है। इसमें डेटाबेस, टेबल, SQL (Structured Query Language), और डेटा मॉडलिंग की अवधारणाएँ शामिल हैं।
Java Programming:-
जावा एक उच्च स्तरीय, ऑब्जेक्ट-ओरिएंटेड प्रोग्रामिंग भाषा है, जिसका उपयोग सॉफ्टवेयर डेवलपमेंट, मोबाइल ऐप्स, और वेब एप्लिकेशन बनाने में किया जाता है।
इसमें वेरिएबल्स,
डेटा टाइप्स, ऑपरेटर्स, कंट्रोल स्टेटमेंट्स और फंक्शंस जैसे
महत्वपूर्ण टॉपिक्स शामिल हैं।
इस दस्तावेज़ में इन तीनों अध्यायों के अत्यंत महत्वपूर्ण व संक्षिप्त प्रश्न
दिए गए हैं,
जो परीक्षा की
दृष्टि से सहायक होंगे।
Unit-1 Database Concept –
RBDBM
Q1:- What is Data?
ANS:- Data is a collection of raw facts which have not
been processed to reveal useful information.
प्रश्न:- डेटा क्या है?
ANS:-
डेटा कच्चे
तथ्यों का एक संग्रह है जिसे उपयोगी जानकारी प्रकट करने के लिए संसाधित नहीं किया
गया है।
Q2:- What is a Database?
Ans:- A database is an organized collection of structured
information, or data, typically stored electronically in a computer system.
प्रश्न:- डेटाबेस क्या है?
उत्तर:- डेटाबेस संरचित जानकारी या डेटा का एक संगठित संग्रह है, जो आमतौर पर कंप्यूटर सिस्टम में
इलेक्ट्रॉनिक रूप से संग्रहीत होता है।
Q3:- What is DBMS?
ANS:- A database management system is a collection of
programs that enables users to create, maintain and use a database.
प्रश्न:- DBMS क्या है?
ANS:-
डेटाबेस प्रबंधन
प्रणाली प्रोग्रामों का एक संग्रह है जो उपयोगकर्ताओं को डेटाबेस बनाने, बनाए रखने और उपयोग करने में सक्षम बनाता है।
Q4:- What is Metadata?
ANS:- Metadata is the context of the information, such as
table row and column headers in a spreadsheet. In short Data about data is
called Metadata.
प्रश्न:- मेटाडेटा क्या है?
ANS:-
मेटाडेटा सूचना
का संदर्भ है, जैसे स्प्रेडशीट में तालिका पंक्ति और कॉलम
हेडर। संक्षेप में डेटा के बारे में डेटा को मेटाडेटा कहा जाता है।
Q5:- What are the main characteristics of a DBMS?
ANS:- Self-describing nature, insulation between programs
and data, and sharing of data.
प्रश्न:- DBMS की मुख्य विशेषताएँ क्या हैं?
ANS:-
स्व-वर्णन
प्रकृति, प्रोग्राम और डेटा के बीच इन्सुलेशन, और डेटा साझा करना।
Q6:- Who are End Users in DBMS?
ANS:- Users who use the database for querying, modifying,
and generating reports as per their needs.
प्रश्न:- DBMS में अंतिम उपयोगकर्ता कौन हैं?
ANS:-
उपयोगकर्ता जो
अपनी आवश्यकताओं के अनुसार क्वेरी करने, संशोधित करने और रिपोर्ट तैयार करने के लिए डेटाबेस का उपयोग करते हैं।
Q7:- Who is a Database Administrator (DBA)?
ANS:- The DBA administers the database and the DBMS,
providing technical support and managing access.
प्रश्न:- डेटाबेस एडमिनिस्ट्रेटर (डीबीए) कौन है?
उत्तर:- डीबीए डेटाबेस और डीबीएमएस का प्रबंधन करता है, तकनीकी सहायता प्रदान करता है और पहुंच का
प्रबंधन करता है।
Q8:- Who are Application Programmers in DBMS?
ANS:- They write application programs to interact with
the database using high-level languages and SQL.
प्रश्न:- DBMS में एप्लीकेशन प्रोग्रामर कौन होते हैं?
ANS:-
वे उच्च-स्तरीय
भाषाओं और SQL का उपयोग करके डेटाबेस के साथ इंटरैक्ट करने
के लिए एप्लिकेशन प्रोग्राम लिखते हैं।
Q9:- What is a System Analyst in DBMS?
ANS:- A system analyst determines the requirements of end
users and develops specifications to meet these requirements.
प्रश्न:- DBMS में सिस्टम एनालिस्ट क्या है?
ANS:-
एक सिस्टम
विश्लेषक अंतिम उपयोगकर्ताओं की आवश्यकताओं को निर्धारित करता है और इन आवश्यकताओं
को पूरा करने के लिए विशिष्टताओं को विकसित करता है।
Q10:- What is Data Redundancy?
ANS:- It is the storage of the same information in more than
one file, leading to wastage of space.
प्रश्न:- डेटा रिडंडेंसी क्या है?
ANS:-
यह एक ही
जानकारी को एक से अधिक फ़ाइलों में संग्रहीत करना है, जिससे स्थान की बर्बादी होती है।
Q11:- What is Data Inconsistency?
ANS:- It occurs when files containing similar information
are not updated simultaneously, leading to inconsistency of data.
प्रश्न:- डेटा असंगति क्या है?
ANS:-
यह तब होता है
जब समान जानकारी वाली फ़ाइलों को एक साथ अपडेट नहीं किया जाता है, जिससे डेटा में असंगति हो जाती है।
Q12:- What is Lack of Data Integration?
ANS:- It makes accessing information out of multiple
files very difficult due to data files being independent.
प्रश्न:- डेटा एकीकरण की कमी क्या है?
ANS:-
डेटा फ़ाइलों के
स्वतंत्र होने के कारण यह कई फ़ाइलों से जानकारी तक पहुँचना बहुत कठिन बना देता
है।
Q13:- What is a Super Key?
ANS:- A Super key is a single key or a group of multiple
keys that can uniquely identify tuples in a table.
प्रश्न:- सुपर कुंजी क्या है?
ANS:-
सुपर कुंजी एक
एकल कुंजी या एकाधिक कुंजी का एक समूह है जो किसी तालिका में टुपल्स की विशिष्ट
पहचान कर सकती है।
Q14:- What is a Candidate Key?
ANS:- A column or a group of columns that can be used as
the primary key of a relation.
प्रश्न:- कैंडिडेट कुंजी क्या है?
ANS:-
एक स्तंभ या
स्तंभों का समूह जिसे किसी संबंध की प्राथमिक कुंजी के रूप में उपयोग किया जा सकता
है।
Q15:- What is a Primary Key?
ANS:- The group of one or more columns used to uniquely
identify each row of a relation.
प्रश्न:- प्राथमिक कुंजी क्या है?
ANS:-
एक या अधिक
स्तंभों का समूह जिसका उपयोग किसी संबंध की प्रत्येक पंक्ति को विशिष्ट रूप से
पहचानने के लिए किया जाता है।
Q16:- What is a Foreign Key?
ANS:- A primary key of a base table used in some other
table.
प्रश्न:- विदेशी कुंजी क्या है?
ANS:-
किसी बेस टेबल
की प्राथमिक कुंजी जिसका उपयोग किसी अन्य टेबल में किया जाता है।
Q17:- What is an Alternate Key?
ANS:- A candidate key that is not selected as the primary
key, providing an alternative unique identifier.
प्रश्न:- वैकल्पिक कुंजी क्या है?
ANS:-
एक उम्मीदवार
कुंजी जिसे प्राथमिक कुंजी के रूप में नहीं चुना गया है, एक वैकल्पिक विशिष्ट पहचानकर्ता प्रदान करता
है।
Q18:- What is SQL?
ANS:- SQL is a language used to manage data stored in an
RDBMS.
प्रश्न:- SQL क्या है?
ANS:-
SQL एक भाषा है
जिसका उपयोग RDBMS में संग्रहीत डेटा को प्रबंधित करने के लिए
किया जाता है।
Q19:- What is DDL in SQL?
ANS:- Data Definition Language, used to define structure
and constraints of data.
प्रश्न:- SQL में DDL क्या है?
ANS:-
डेटा परिभाषा
भाषा, डेटा की संरचना और बाधाओं को परिभाषित करने
के लिए उपयोग की जाती है।
Q20:- What is DML in SQL?
ANS:- Data Manipulation Language, used to insert, modify,
and delete data in a database.
प्रश्न:- SQL में DML क्या है?
ANS:-
डेटा मैनिपुलेशन
लैंग्वेज, डेटाबेस में डेटा डालने, संशोधित करने और हटाने के लिए उपयोग की जाती
है।
Q21:- What is a CHAR data type in SQL?
ANS:- Fixed length character string.
प्रश्न:- SQL में CHAR डेटा प्रकार क्या है?
ANS:-
निश्चित लंबाई
वर्ण स्ट्रिंग।
Q22:- What is a VARCHAR data type in SQL?
ANS:- Variable length character string.
प्रश्न:- SQL में VARCHAR डेटा प्रकार क्या है?
ANS:-
परिवर्तनीय
लंबाई वर्ण स्ट्रिंग।
Q23:- What is the DATE data type in SQL?
ANS:- Represents a date in the form of YYYY-MM-DD.
प्रश्न:- SQL में DATE डेटा प्रकार क्या है?
उत्तर:- YYYY-MM-DD के रूप में एक तारीख का प्रतिनिधित्व करता
है।
Q24:- What is the INTEGER data type in SQL?
ANS:- Represents an integer number.
प्रश्न:- SQL में INTEGER डेटा प्रकार क्या है?
ANS:-
एक पूर्णांक
संख्या का प्रतिनिधित्व करता है।
Q25:- What is the DECIMAL data type in SQL?
ANS:- Represents a fixed point number.
प्रश्न:- SQL में DECIMAL डेटा प्रकार क्या है?
उत्तर:- एक निश्चित बिंदु संख्या का प्रतिनिधित्व करता है।
Q26:- What is the CREATE DATABASE command in SQL?
ANS:- Used to create a new database.
प्रश्न:- SQL में क्रिएट डेटाबेस कमांड क्या है?
ANS:-
नया डेटाबेस
बनाने के लिए उपयोग किया जाता है।
Q27:- What is the CREATE TABLE command in SQL?
ANS:- Used to create a new table in the database.
प्रश्न:- SQL में CREATE TABLE कमांड क्या है?
ANS:-
डेटाबेस में एक
नई तालिका बनाने के लिए उपयोग किया जाता है।
Q28:- What is the DROP TABLE command in SQL?
ANS:- Used to delete an existing table and its data.
प्रश्न:- SQL में ड्रॉप टेबल कमांड क्या है?
ANS:-
किसी मौजूदा
तालिका और उसके डेटा को हटाने के लिए उपयोग किया जाता है।
Q29:- What is the SHOW TABLES command in SQL?
ANS:- Displays all the tables created in the current
database.
प्रश्न:- SQL में SHOW TABLES कमांड क्या है?
ANS:-
वर्तमान डेटाबेस
में बनाई गई सभी तालिकाओं को प्रदर्शित करता है।
Q30:- What is the DESC command in SQL?
ANS:- Used to describe the structure and description of
tables.
प्रश्न:- SQL में DESC कमांड क्या है?
ANS:-
तालिकाओं की
संरचना और विवरण का वर्णन करने के लिए उपयोग किया जाता है।
Q31:- What is a NOT NULL constraint in SQL?
ANS:- Ensures that a column cannot have NULL values.
प्रश्न:- SQL में NOT NULL बाधा क्या है?
ANS:-
यह सुनिश्चित
करता है कि किसी कॉलम में NULL मान नहीं हो सकते।
Q32:- What is a DEFAULT constraint in SQL?
ANS:- Sets a default value for a column.
प्रश्न:- SQL में डिफ़ॉल्ट बाधा क्या है?
ANS:-
किसी कॉलम के
लिए एक डिफ़ॉल्ट मान सेट करता है।
Q33:- What is a CHECK constraint in SQL?
ANS:- Limits the values that can be placed in a column.
प्रश्न:- SQL में CHECK बाधा क्या है?
ANS:-
उन मानों को
सीमित करता है जिन्हें एक कॉलम में रखा जा सकता है।
Q34:- What is a Primary Key constraint in SQL?
ANS:- Uniquely identifies each row in a table.
प्रश्न:- SQL में प्राथमिक कुंजी बाधा क्या है?
ANS:-
तालिका में
प्रत्येक पंक्ति को विशिष्ट रूप से पहचानता है।
Q35:- What is Referential Integrity in SQL?
ANS:- Ensures that a foreign key value matches a primary
key value in another table.
प्रश्न:- SQL में रेफ़रेंशियल इंटीग्रिटी क्या है?
ANS:-
यह सुनिश्चित
करता है कि एक विदेशी कुंजी मान किसी अन्य तालिका में प्राथमिक कुंजी मान से मेल
खाता है।
Q36:- What is the SET NULL action in referential
integrity?
ANS:- Sets the foreign key values to NULL if the referenced
primary key is deleted.
प्रश्न:- संदर्भात्मक अखंडता में SET NULL क्रिया क्या है?
ANS:-
यदि संदर्भित
प्राथमिक कुंजी हटा दी जाती है तो विदेशी कुंजी मान को NULL पर सेट करता है।
Q37:- What is the CASCADE action in referential
integrity?
ANS:- Deletes or updates the rows in the referencing
table when the referenced row is deleted or updated.
प्रश्न:- संदर्भात्मक अखंडता में कैस्केड क्रिया क्या है?
ANS:-
जब संदर्भित
पंक्ति हटा दी जाती है या अद्यतन कर दी जाती है तो संदर्भ तालिका में पंक्तियों को
हटा दिया जाता है या अद्यतन कर दिया जाता है।
Q38:- What is the RESTRICT action in referential
integrity?
ANS:- Rejects the delete or update operation for the
referenced table if there are related foreign key values.
प्रश्न:- संदर्भात्मक अखंडता में प्रतिबंधित कार्रवाई क्या है?
ANS:-
यदि संबंधित
विदेशी कुंजी मान हैं तो संदर्भित तालिका के लिए डिलीट या अपडेट ऑपरेशन को
अस्वीकार कर देता है।
Q39:- What is a Self-Referencing Table?
ANS:- A table where a foreign key constraint references
columns within the same table.
प्रश्न:- स्व-संदर्भ तालिका क्या है?
ANS:-
एक तालिका जहां
एक विदेशी कुंजी बाधा उसी तालिका के भीतर कॉलम को संदर्भित करती है।
Q40:- What is the INSERT command in SQL?
ANS:- Used to insert a new tuple in a relation.
प्रश्न:- SQL में INSERT कमांड क्या है?
ANS:-
किसी रिलेशन में
नया टुपल डालने के लिए उपयोग किया जाता है।
Q41:- What is the UPDATE command in SQL?
ANS:- Used to update the attribute values of one or more
tuples in a table.
प्रश्न:- SQL में UPDATE कमांड क्या है?
ANS:-
किसी तालिका में
एक या अधिक टुपल्स के विशेषता मानों को अद्यतन करने के लिए उपयोग किया जाता है।
Q42:- What is the DELETE command in SQL?
ANS:- Used to delete one or more tuples from a table.
प्रश्न:- SQL में DELETE कमांड क्या है?
ANS:-
किसी तालिका से
एक या अधिक टुपल्स को हटाने के लिए उपयोग किया जाता है।
Q43:- What is the SELECT command in SQL?
ANS:- Used to retrieve information from a database.
प्रश्न:- SQL
में SELECT कमांड क्या है?
ANS:- डेटाबेस से जानकारी प्राप्त करने के लिए उपयोग किया जाता है।
Q44:- What is a Query in MySQL?
ANS:- Any command used to retrieve data from a table.
प्रश्न:- MySQL में क्वेरी क्या है?
ANS:-
किसी तालिका से
डेटा पुनर्प्राप्त करने के लिए उपयोग किया जाने वाला कोई भी कमांड।
Q45:- What is the COUNT aggregate function in SQL?
ANS:- Counts the number of tuples in the result of a
query.
प्रश्न:- SQL में COUNT एग्रीगेट फ़ंक्शन क्या है?
ANS:-
किसी क्वेरी के
परिणाम में टुपल्स की संख्या की गणना करता है।
Q46:- What is the SUM aggregate function in SQL?
ANS:- Finds the sum of all values for a selected
attribute.
प्रश्न:- SQL में SUM एग्रीगेट फ़ंक्शन क्या है?
ANS:-
किसी चयनित
विशेषता के लिए सभी मानों का योग ज्ञात करता है।
Q47:- What is the MAX aggregate function in SQL?
ANS:- Finds the maximum value for a selected attribute.
प्रश्न:- SQL में MAX एग्रीगेट फ़ंक्शन क्या है?
ANS:-
किसी चयनित
विशेषता के लिए अधिकतम मान ढूँढता है।
Q48:- What is the MIN aggregate function in SQL?
ANS:- Finds the minimum value for a selected attribute.
प्रश्न:- SQL में MIN एग्रीगेट फ़ंक्शन क्या है?
ANS:-
चयनित विशेषता
के लिए न्यूनतम मान ढूँढता है।
Q49:- What is the AVG aggregate function in SQL?
ANS:- Finds the average value for a selected attribute.
प्रश्न:- SQL में AVG एग्रीगेट फ़ंक्शन क्या है?
ANS:-
चयनित विशेषता
के लिए औसत मान ज्ञात करता है।
Q50:- What is a Row in a database?
ANS:- A single group of related data within a table, also
called a Tuple.
प्रश्न:- डेटाबेस में रो क्या है?
ANS:-
किसी तालिका के
भीतर संबंधित डेटा का एक एकल समूह, जिसे टुपल भी कहा जाता है।
Q51:- What is a Column in a database?
ANS:- A set of data values of a particular type, one for
each row, also called an Attribute.
प्रश्न:- डेटाबेस में कॉलम क्या है?
ANS:-
एक विशेष प्रकार
के डेटा मानों का एक सेट,
प्रत्येक पंक्ति
के लिए एक, जिसे विशेषता भी कहा जाता है।
Q52:- What is a Table in a database? ANS:- A collect
प्रश्न:- डेटाबेस में टेबल क्या है? उत्तर:- एक संग्रह |
Multiple
Choice Questions
Q.1 Which specifies that
the value of every attribute in each tuple must be from the domain of that
attribute?
प्रत्येक tuple में प्रत्येक attribute का मान उस attribute के domain से होना चाहिए यह कोन निर्धारित करता है?
(a) Domain Constraint
(b) Key Constraint
(c) DBA Constraint
(d) DBMS Constraint
Ans:- (a) Domain
Constraint
Q.2. Which is a language
that is used to manage data stored in a RDBMS?
RDBMS में store data को manage करने के लिए उपयोग की जाने वाली language कौन सी है?
(a) DDL
(b) DML
(c) SQL
(d) None of these
Ans:- (c) SQL
Q.3. Which language is
used to define structure and constraints of data?
Data के structure और constraints को परिभाषित करने के लिए किस भाषा का उपयोग
किया जाता है?
(a) DDL
(b) DML
(c) SQL
(d) None of these
Ans:- (a) DDL
Q.4 Which language is
used to insert, modify and delete data in a database?
Database में data insert, modify और delete करने के लिए किस भाषा का उपयोग किया जाता है?
(a) DDL
(b) DML
(c) SQL
(d) None of these
Ans:- (b) DML
Q.5. __________________
command is used to modify the value of attribute of one or more tuple in a
table.
__________________
command का प्रयोग किसी table में एक या एक से अधिक tuple के attribute के मान को modify करने के लिए किया जाता है।
(a) Update
(b) Modify
(c) Alter
(d) Create
Ans:- (a) Update
Q.6. Which SQL keyword is
used to display the data based on certain pattern?
किसी पैटर्न के आधार पर data को display करने के लिए किस SQL keyword MJD का उपयोग किया जाता है?
(a) LIKE
(c) BETWEEN
(b) IN
(d) RANGE
Ans:- (a) LIKE
Q.7. Sagun is creating a
table SALESMAN with fields Salesman nümber, Name, Total Sales. She doesn't want
the Total Sales doesn't want the Total
Sales column to be remain unfilled l.e. she wants to make entry in this field
mandatory. Which constraint she should use at the time of creating SALESMAN
table:
सगुन एक table, salesman बना रहा है जिसमें salesman number, name,
total sales के नाम से field हैं। वह नहीं चाहती कि total sales column खाली रहे यानी वह इस field में entry को अनिवार्य बनाना चाहती है। salesman table बनाते समय उसे किस constraints का उपयोग करना चाहिए?
(a) Check
(b) Default
(c) Not null
(d) Primary key
Ans:- (c) Not null
Q.8. Ranjana wants to
delete the records where name starts with A from the table CUSTOMER having
fields Name, Amount, Discount. Identify the correct command?
रंजना उन रिकॉर्ड्स को हटाना चाहती हैं, जहां नाम ए से शुरू होता है, टेबल कस्टमर से जिसमें नाम, राशि, छूट है। सही कमांड की पहचान करें:
(a) Delete CUSTOMER where
name like "A%";
(b) Delete from CUSTOMER
where name like "A%";
(c) Delete CUSTOMER where
name = "A%";
(d) Delete from CUSTOMER
where name = "A%";
Ans:- (b) Delete from
CUSTOMER where name like "A%";
Q.9. The ________________
command is used to modify the structure of the table STUDENT in MySQL?
MySQL में STUDENT table के structure को modify करने के लिए _______________ command का उपयोग किया जाता है?
(a) Modify table STUDENT
(b) Alter table STUDENT
(c) Alter STUDENT
(d) Modify STUDENT
Ans:- (b) Alter table
STUDENT
Q.10. Keyword used to
display the structure of the table?
Table के structure को प्रदर्शित (display) करने के लिए किस keyword का उपयोग किया जाता है?
(a) Describe
(b) Show
(c) Select
(d) Display
Ans:- (a) Describe
Q.11. ____________ method
of a String Class returns true if the length of this string is 0?
String class की ___________
विधि सही होती
है यदि इस string
की लंबाई 0 है?
(a) indexAt()
(b) length()
(c) isEmpty()
(d) indexOf()
Ans:- (c) isEmpty()
Q.12. ____________ is not
an aggregate function?
_____________ एक aggregate function नहीं है?
(a) Sum()
(b) Count()
(c) Round()
(d) Avg()
Ans:- (c) Round()
Q.13.___________ command
which available on the current server?
____________ command जो वर्तमान server पर उपलब्ध database की सूची प्रदर्शित करता है?
(a) Show databases
(b) Show tables
(c) Create tables
(d) Display tables
Ans:- (a) Show databases
Q.14 Which SQL keyword is
used to sort the result?
Result को soft करने के लिए किस SQL keyword का उपयोग किया जाता है?
(a) ORDER BY
(b) SORT
(c) ORDER
(d) SORT BY
Ans:- (a) ORDER BY
Fill
in The Blanks
1) A ______________ allows
multiple users to access the database simultaneously. (एक बहु _____________
एक से अधिक users को एक साथ database को access करने की अनुमति देता है।)
Ans:- multiuser
environment.
2) _________ use the database for querying, modifying and
generating reports as per their needs. ( __________ अपनी आवश्यकताओं के अनुसार query करने, modify करने और report तैयार करने के लिए database का उपयोग करते हैं।)
Ans:- End
Users
3) _____________ is
responsible for authoring access, monitoring its use, providing technical
support, acquiring software and hardware resources. (_______________ पहुंच को अधिकृत करने, इसके उपयोग की निगरानी करने, तकनीकी सहायता प्रदान करने, सॉफ्टवेयर और हार्डवेयर संसाधनों को प्राप्त
करने के लिए जिम्मेदार है।)
Ans:- The
Database Administrator
4) _____________ write
application programs to interact with the database. (_____________database के साथ interact करने के लिए application programmes लिखते हैं।)
Ans:- Application
programmes
5) _____________ determines
the requirements of the end users andthen develops specifications to meet these
requirements. (_____________ अंतिम उपयोगकर्ताओं की आवश्यकताओं को निर्धारित करता है और फिर इन आवश्यकताओं
को पूरा करने के लिए विशिष्टताओं को विकसित करता है।)
Ans:- System
analyst
6) A row is called a__________.
(एक row को ________ कहा जाता है।)
Ans:- Tuple
7) A column is called an
__________. (एक column को _________ कहा जाता है।)
Ans:- Attribute
8) A table is called as a
_________ . (एक table को _________ कहा जाता है।)
Ans:- Relation
9) The data type of
values in each column is called the________. (प्रत्येक column में data type की value को ________ कहा जाता है।)
Ans:- Domain
10) The number of
attributes in a relation is called the ________ of a relation. (किसी relation में attributes की संख्या को relation की ________ कहा जाता है।)
Ans:- Degree
11) The number of rows in
a relation is called the _________ of a relation. (किसी relation में पंक्तियों की संख्या को relation की __________ कहा जाता है।)
Ans:- Cardinality
12) _________ is the set
of tuples in the relation at a point in time. (_________ एक समय में relation में tuples का set है।)
Ans:- Relation
State
13) _____________is used
to create a new table or relation. (_______________ का उपयोग नई table या relation बनाने के लिए किया जाता है।)
Ans:- Create
Table command
14) __________ is used to
delete tables. (__________ को delete
करने के लिए
किया जाता है।)
Ans:- Drop
Table Command
15) _________ is used to
modify the base table definition. (__________ का प्रयोग बेस टेबल की परिभाषा को संशोधित
करने के लिए किया जाता है।)
Ans:- Alter
Table Command
16) __________ is used to
insert a tuple in a relation. ( _________ का प्रयोग रिलेशन में टपल डालने के लिए किया
जाता है।)
Ans:- Insert
Command
17) In order to delete
one or more tuples, __________ is used. (एक या अधिक tuples को delete करने के लिए __________ का उपयोग किया जाता है।)
Ans:- DELETE
command
18) The ______ Command is
used to retrieve information from a database. (Database से जानकारी प्राप्त करने के लिए _______ Command का उपयोग किया जाता है।) Ans:- SELECT
19) _________ Constraint
is used to restrict the values of an attribute within a range. (किसी श्रेणी के भीतर किसी विशेषता के मानों
को प्रतिबंधित करने के लिए ________ attribute का उपयोग किया जाता है।)
Ans:- Check
इस Unit में प्रयोग की गयी कुछ short-terms के full-name निम्नलिखित हैः-
DBMS:- Database
Management Software
DBA:- Database Administrator
RSQL:- Structured Query
Language
DDL:- Data Definition
Language
DML:- Data Manipulation
Language
Unit-2 Operating Web
Q1:- What is a web application?
Ans:- A web application is a program stored on a remote
server and accessed through a web browser over the internet.
प्रश्न:- वेब एप्लिकेशन क्या है?
उत्तर:- वेब एप्लिकेशन एक प्रोग्राम है जो रिमोट सर्वर पर संग्रहीत होता है और
इंटरनेट पर वेब ब्राउज़र के माध्यम से एक्सेस किया जाता है।
Q2:- Give an example of a web application.
Ans:- Examples include online shopping websites, online
banking, and social media platforms.
प्रश्न:- वेब एप्लिकेशन का एक उदाहरण दीजिए।
उत्तर:- उदाहरणों में ऑनलाइन शॉपिंग वेबसाइट, ऑनलाइन बैंकिंग और सोशल मीडिया प्लेटफॉर्म
शामिल हैं।
Q3:- What is an online reservation system?
Ans:- An online reservation system allows users to book
or cancel tickets for travel, movies, hotels, etc., using the internet.
प्रश्न:- ऑनलाइन आरक्षण प्रणाली क्या है?
उत्तर:- एक ऑनलाइन आरक्षण प्रणाली उपयोगकर्ताओं को इंटरनेट का उपयोग करके
यात्रा, फिल्म, होटल आदि के लिए टिकट बुक करने या रद्द करने की अनुमति देती है।
Q4:- Name three types of tickets that can be booked
online.
Ans:- Airline tickets, railway tickets, and movie
tickets.
प्रश्न:- तीन प्रकार के टिकटों के नाम बताइए जिन्हें ऑनलाइन बुक किया जा सकता
है।
उत्तर:- एयरलाइन टिकट,
रेलवे टिकट और
मूवी टिकट।
Q5:- What is one advantage of an online reservation
system for consumers?
Ans:- Convenience: Users can book tickets anytime,
anywhere.
प्रश्न:- उपभोक्ताओं के लिए ऑनलाइन आरक्षण प्रणाली का एक लाभ क्या है?
उत्तर:- सुविधा: उपयोगकर्ता कभी भी, कहीं भी टिकट बुक कर सकते हैं।
Q6:- What is one advantage of an online reservation
system for service providers?
Ans:- Requires less staffing since most processes are
automated.
प्रश्न:- सेवा प्रदाताओं के लिए ऑनलाइन आरक्षण प्रणाली का एक लाभ क्या है?
उत्तर:- चूंकि अधिकांश प्रक्रियाएं स्वचालित हैं इसलिए कम स्टाफ की आवश्यकता
होती है।
Q7:- How can you ensure security while performing online
transactions?
Ans:- Use a strong password with a mix of letters,
numbers, and special characters.
प्रश्न:- आप ऑनलाइन लेनदेन करते समय सुरक्षा कैसे सुनिश्चित कर सकते हैं?
उत्तर:- अक्षरों,
संख्याओं और
विशेष वर्णों के मिश्रण वाला एक मजबूत पासवर्ड का उपयोग करें।
Q8:- What is the first step to booking a train ticket
online?
Ans:- Open the railway reservation website (e.g., IRCTC)
in a web browser.
प्रश्न:- ऑनलाइन ट्रेन टिकट बुक करने का पहला कदम क्या है?
उत्तर:- रेलवे आरक्षण वेबसाइट (जैसे, आईआरसीटीसी) को वेब ब्राउज़र में खोलें।
Q9:- Which website is used for railway ticket booking in
India?
Ans:- The official website is https://www.irctc.co.in.
प्रश्न:- भारत में रेलवे टिकट बुकिंग के लिए किस वेबसाइट का उपयोग किया जाता
है?
उत्तर:- आधिकारिक वेबसाइट https://www.irctc.co.in है।
Q10:- What details are required to book a railway ticket
online?
Ans:- Start station, destination, date of travel, ticket
type, seat category, and passenger details.
प्रश्न:- ऑनलाइन रेलवे टिकट बुक करने के लिए किन विवरणों की आवश्यकता होती है?
उत्तर:- प्रारंभ स्टेशन, गंतव्य, यात्रा की तारीख, टिकट का प्रकार, सीट श्रेणी और यात्री विवरण।
Q11:- How do you create an account on the Indian Railway
website?
Ans:- Click on “Sign Up,” fill in the registration form
with personal details, and submit it.
प्रश्न:- आप भारतीय रेलवे की वेबसाइट पर अकाउंट कैसे बनाते हैं?
उत्तर:- "साइन अप" पर क्लिक करें, व्यक्तिगत विवरण के साथ पंजीकरण फॉर्म भरें
और सबमिट करें।
Q12:- What is e-Governance?
Ans:- The use of information and communication technology
(ICT) to deliver government services efficiently.
प्रश्न:- ई-गवर्नेंस क्या है?
उत्तर:- सरकारी सेवाओं को कुशलतापूर्वक वितरित करने के लिए सूचना और संचार
प्रौद्योगिकी (आईसीटी) का उपयोग।
Q13:- Name one example of an e-Governance service.
Ans:- Online tax filing.
प्रश्न:- ई-गवर्नेंस सेवा का एक उदाहरण बताइए।
उत्तर:- ऑनलाइन टैक्स फाइलिंग।
Q14:- What is the National Portal of India used for?
Ans:- It provides a single platform for citizens,
businesses, and other stakeholders to access government services.
प्रश्न:- भारत का राष्ट्रीय पोर्टल किसके लिए उपयोग किया जाता है?
उत्तर:- यह नागरिकों,
व्यवसायों और
अन्य हितधारकों को सरकारी सेवाओं तक पहुँचने के लिए एक एकल मंच प्रदान करता है।
Q15:- What is the purpose of the India Web Directory
website?
Ans:- It provides access to all websites run by the
Indian government across different sectors.
प्रश्न:- इंडिया वेब डायरेक्ट्री वेबसाइट का उद्देश्य क्या है?
उत्तर:- यह विभिन्न क्षेत्रों में भारत सरकार द्वारा संचालित सभी वेबसाइटों तक
पहुंच प्रदान करता है।
Q16:- Mention one benefit of online shopping.
Ans:- Saves time by avoiding travel to physical stores.
प्रश्न:- ऑनलाइन शॉपिंग का एक लाभ बताएं।
उत्तर:- भौतिक दुकानों की यात्रा से बचकर समय की बचत होती है।
Q17:- What is the first step in online shopping?
Ans:- Open the shopping website where you want to browse
or purchase products.
प्रश्न:- ऑनलाइन शॉपिंग में पहला कदम क्या है?
उत्तर:- वह शॉपिंग वेबसाइट खोलें जहां आप उत्पाद ब्राउज़ करना या खरीदना चाहते
हैं।
Q18:- Name two popular online shopping websites.
Ans:- Amazon and Flipkart.
प्रश्न:- दो लोकप्रिय ऑनलाइन शॉपिंग वेबसाइटों के नाम बताएं।
उत्तर:- अमेज़न और फ्लिपकार्ट।
Q19:- What is the role of a shopping cart in online
shopping?
Ans:- It allows users to collect and review items before
making a purchase.
प्रश्न:- ऑनलाइन शॉपिंग में शॉपिंग कार्ट की क्या भूमिका है?
उत्तर:- यह उपयोगकर्ताओं को खरीदारी करने से पहले वस्तुओं को एकत्र करने और
उनकी समीक्षा करने की अनुमति देता है।
Q20:- Give an example of an online education site.
Ans:- Khan Academy.
प्रश्न:- एक ऑनलाइन शिक्षा साइट का उदाहरण दीजिए।
उत्तर:- खान अकादमी।
Q21:- What does Khan Academy offer?
Ans:- Free online video tutorials on subjects like math,
science, and economics.
प्रश्न:- खान अकादमी क्या पेशकश करती है?
उत्तर:- गणित, विज्ञान और अर्थशास्त्र जैसे विषयों पर मुफ्त
ऑनलाइन वीडियो ट्यूटोरियल।
Q22:- What is W3Schools used for?
Ans:- It provides free tutorials on web development
technologies like HTML, CSS, and JavaScript.
प्रश्न:- W3Schools का उपयोग किस लिए किया जाता है?
उत्तर:- यह HTML, CSS और JavaScript जैसी वेब विकास तकनीकों पर मुफ्त ट्यूटोरियल प्रदान करता है।
Q23:- What is a project?
Ans:- A project is a task undertaken to create a unique
product, service, or result.
प्रश्न:- प्रोजेक्ट क्या है?
उत्तर:- एक परियोजना एक अद्वितीय उत्पाद, सेवा या परिणाम बनाने के लिए किया गया कार्य है।
Q24:- Name one characteristic of a project.
Ans:- A project has a specific start and end date.
प्रश्न:- किसी परियोजना की एक विशेषता का नाम बताइए।
उत्तर:- किसी प्रोजेक्ट की एक विशिष्ट आरंभ और समाप्ति तिथि होती है।
Q25:- What are the four phases of a web application
project?
Ans:- Requirement Definition, Design, Implementation, and
Testing.
प्रश्न:- वेब एप्लिकेशन प्रोजेक्ट के चार चरण क्या हैं?
उत्तर:- आवश्यकता परिभाषा, डिजाइन, कार्यान्वयन और परीक्षण।
Q26:- What is done in the requirement definition phase?
Ans:- The problem statement and project feasibility are
identified.
प्रश्न:- आवश्यकता परिभाषा चरण में क्या किया जाता है?
उत्तर:- समस्या कथन और परियोजना व्यवहार्यता की पहचान की जाती है।
Q27:- What happens in the design phase of a web
application?
Ans:- The structure and user interface of the application
are planned.
प्रश्न:- वेब एप्लिकेशन के डिज़ाइन चरण में क्या होता है?
उत्तर:- एप्लिकेशन की संरचना और यूजर इंटरफेस की योजना बनाई गई है।
Q28:- What is the purpose of the implementation phase?
Ans:- Developers write code to build the web application
based on the design.
प्रश्न:- कार्यान्वयन चरण का उद्देश्य क्या है?
उत्तर:- डेवलपर्स डिज़ाइन के आधार पर वेब एप्लिकेशन बनाने के लिए कोड लिखते
हैं।
Q29:- Why is testing important in web application
development?
Ans:- It ensures the application functions correctly and
fixes any errors (bugs).
प्रश्न:- वेब एप्लिकेशन विकास में परीक्षण क्यों महत्वपूर्ण है?
उत्तर:- यह सुनिश्चित करता है कि एप्लिकेशन सही ढंग से काम करे और किसी भी
त्रुटि (बग) को ठीक कर दे।
Q30:- What is the main function of eBay as an online
platform?
Ans:- It allows users to buy and sell products through
auctions and direct purchases.
प्रश्न:- एक ऑनलाइन प्लेटफॉर्म के रूप में eBay का मुख्य कार्य क्या है?
उत्तर:- यह उपयोगकर्ताओं को नीलामी और प्रत्यक्ष खरीद के माध्यम से उत्पाद
खरीदने और बेचने की अनुमति देता है।
Multiple Choice Questions
Q.1___________ is the use of electronic i.e. information
and communication technology (ICT) tools for governance by the government for
the citizens.
___________ सरकार द्वारा नागरिकों के लिए शासन के लिए इलेक्ट्रॉनिक यानी सूचना और संचार
प्रौद्योगिकी (आईसीटी) उपकरणों का उपयोग है।
a) E Learning
b) e Commerce
c) E-Governance
d) E payment
Ans:- c) E-Governance
Q.2 E business offers advantages and opportunities, there
are also risks and barriers. These include.
E business लाभ और अवसर प्रदान करता है, जहाँ जोखिम और बाधाएं भी हैं। इसमे शामिल है।
a) Violation of customer privacy
b) Spikes causing websites to fail at peak times
c) Internet hackers penetrating company security
d) All of the above
Ans:- d) All of the above
Q.3 Which of the following is not an example of eGovernance?
निम्नलिखित में से कौन eGovernance का उदाहरण नहीं है?
a) To file property tax
b) To apply for renewal of Passport
c) To start an online coding course for 3 months
d) To get Voters ID card issued
Ans:- c) To start an online coding course for 3 months
Q.4 Which segment do Flipkart belong to? Flipkart किस segment से संबंधित है?
a) B2B (Business to Business)
b) C2C (Consumer to Consumer)
c) C2B (Consumer to Business)
d) B2C (Business to Consumer)
Ans:- d) B2C (Business to Consumer)
Q.5 Which of the following is a disadvantage of web-based
applications:
निम्नलिखित में से कौन web-based applications का नुकसान है:
a) They do not need be installed.
b) They are available 24X7.
c) They are slow as as compared to software-based
applications.
d) They offer cross platform compatibility. platform
compatibility.
Ans:- c) They are slow as as compared to software-based
applications.
Q.6 A strong password has: एक मजबूत password है:
a) Special symbols
b) 6-8 Alphanumeric characters
c) Only numbers
d) Both a and b
Ans:- d) Both a and b
Q.7 Which of the following is the website for the
National Portal of India:
भारत के राष्ट्रीय पोर्टल के लिए निम्नलिखित में से कौन सी website है:
a) india.gov.in
b) india.gov.org
c) indian.gov.in
d) indian.gov.org
Ans:- a) india.gov.in
Q.8 Which of the following is not an online shopping
website:
a) snapdeal.com
b) myntra.com
c) coursera.org
d) infibeam.com
Ans:- c) coursera.org
Fill in The Blanks
1. In India, the main thrust for e-Governance was
provided by the launching of _________in 1987.
(भारत में,
e-Governance के लिए मुख्य
जोर 1987 में _______ की शुरूआत द्वारा प्रदान किया गया था।)
Ans:- NICNET (निकनेट) |
2. NICNET was extended via the State capitals to all
district headquarters by __________.
(NICNET को _______
तक राज्यों की
राजधानियों के माध्यम से सभी जिला मुख्यालयों में विस्तारित किया गया था।)
Ans:- 1990
3. The formulation of National e-Governance Plan (NeGP)
by (DEITY) and (DAR&PG) in ________ has boosted the e-Governance process.
(________ में (DEITY)
और (DAR&PG) द्वारा राष्ट्रीय ई-गवर्नेस योजना (NeGP) के निर्माण ने e-Governance प्रक्रिया को बढ़ावा दिया है।)
Ans:-
4. __________is an educational website created in 2006 by
educator.
(खान अकादमी 2006 में शिक्षक द्वारा बनाई गई एक शैक्षिक website है।)
Ans:- Khan Academy
5. _______ a site which offers online courses for
development of technical skills. (_______ एक site है जो तकनीकी कौशल के विकास के लिए online courses प्रदान करती है।)
Ans:- udacity.orgis
6. ___________ provide high quality online courses for
free, in collaboration with various universities across the globe. (______________
दुनिया भर के
विभिन्न विश्वविद्यालयों के सहयोग से मुफ्त में उच्च गुणवत्ता वाले online courses प्रदान करते हैं।)
Ans:- coursera.organdedx.org
7. _________ offers free tutorials in all web development
technologies like HTML, CSS, Javascript, PHP etc.
(__________ सभी web
development technologies जैसे HTML,
CSS, Javascript, PHP आदि में मुफ्त tutorials
प्रदान करता
है।)
Ans:- w3schools.com
8. _________ creates and provides quality, innovative
online learning opportunities to anyone who wants to improve the technology,
literacy and math skills.
(_________ प्रौद्योगिकी,
साक्षरता और
गणित कौशल में सुधार करने के इच्छुक किसी भी व्यक्ति को गुणवत्तापूर्ण, अभिनव ऑनलाइन सीखने के अवसर प्रदान करता है।)
Ans:- GCFLearnFree.org
9. _______________ a NCERT portal that provides online
learning resources in the form of e-books, journals, question papers, children
books, etc. (_______________ एक एनसीईआरटी पोर्टल है जो e-books, journals, question papers,
children books आदि के रूप में online शिक्षण संसाधन प्रदान करता है।)
Ans:- http://www.ncert.nic.in/index.htmls
10. _____________ development involves the process of
developing web applications. (______________ विकास में web applications को विकसित करने की प्रक्रिया शामिल है।)
Ans:- Web based application
11. _____________ is a program that is stored on a remote
server. (___________ एक program
है जो remote server पर store किया जाता है।)
Ans:- Web application
इस Unit
में प्रयोग की
गयी कुछ short
terms के full name निम्नलिखित है:
NICNET:- National
Informatics Centre Network.
DISNIC:- District Information System of the National
Informatics Centre.
NeGP:- National
e-Governance Plan.
DEITY:- Department
of Electronics and Information Technology.
DAR&PG :- Department of Administrative Reforms and
Public Grievances.
LSAC:- Law SchoolAdmission Council.
Unit 3 – Fundamentals of Java Programming
Q1:- What is Java?
Ans:- Java is a high-level, object-oriented programming
language used to develop applications.
प्रश्न:- जावा क्या है?
उत्तर:- जावा एक उच्च स्तरीय, ऑब्जेक्ट-ओरिएंटेड प्रोग्रामिंग भाषा है जिसका उपयोग एप्लिकेशन विकसित करने के
लिए किया जाता है।
Q2:- Name one example of a high-level programming
language.
Ans:- Python.
प्रश्न:- उच्च स्तरीय प्रोग्रामिंग भाषा का एक उदाहरण बताइए।
उत्तर:- पायथन.
Q3:- What is machine language?
Ans:- Machine language is the binary code (0s and 1s)
that a computer can directly execute.
प्रश्न:- मशीनी भाषा क्या है?
उत्तर:- मशीनी भाषा बाइनरी कोड (0s और 1s) है जिसे कंप्यूटर सीधे निष्पादित कर सकता है।
Q4:- What is the role of a compiler?
Ans:- A compiler translates source code into machine code
before execution.
प्रश्न:- कंपाइलर की क्या भूमिका है?
उत्तर:- एक कंपाइलर निष्पादन से पहले सोर्स कोड को मशीन कोड में अनुवादित करता
है।
Q5:- Define an interpreter.
Ans:- An interpreter translates and executes code line by
line.
प्रश्न:- दुभाषिया को परिभाषित करें।
उत्तर:- एक दुभाषिया लाइन दर लाइन कोड का अनुवाद और निष्पादन करता है।
Q6:- What is the Java Virtual Machine (JVM)?
Ans:- JVM is a virtual machine that enables Java programs
to run on different platforms.
प्रश्न:- जावा वर्चुअल मशीन (JVM) क्या है?
उत्तर:- जेवीएम एक वर्चुअल मशीन है जो जावा प्रोग्राम को विभिन्न प्लेटफॉर्म
पर चलने में सक्षम बनाती है।
Q7:- What is a Java IDE?
Ans:- A Java IDE is a software tool that provides an
environment for writing and debugging Java programs.
प्रश्न:- जावा आईडीई क्या है?
उत्तर:- जावा आईडीई एक सॉफ्टवेयर टूल है जो जावा प्रोग्राम लिखने और डीबग करने
के लिए एक वातावरण प्रदान करता है।
Q8:- What shortcut key is used to run a new project in
Java NetBeans?
Ans:- F6.
प्रश्न:- Java NetBeans में किसी नए प्रोजेक्ट को चलाने के लिए किस
शॉर्टकट कुंजी का उपयोग किया जाता है?
उत्तर:- F6.
Q9:- What are comments in Java?
Ans:- Comments are non-executable statements used to
describe code.
प्रश्न:- जावा में टिप्पणियाँ क्या हैं?
उत्तर:- टिप्पणियाँ गैर-निष्पादन योग्य कथन हैं जिनका उपयोग कोड का वर्णन करने
के लिए किया जाता है।
Q10:- Name the two types of comments in Java.
Ans:- Single-line (//) and multi-line (/* */) comments.
प्रश्न:- जावा में दो प्रकार की टिप्पणियों के नाम बताइए।
उत्तर:- एकल-पंक्ति (//) और बहु-पंक्ति (/* */) टिप्पणियाँ।
Q11:- Why do we use comments in Java?
Ans:- To improve code readability and documentation.
प्रश्न:- हम जावा में टिप्पणियों का उपयोग क्यों करते हैं?
उत्तर:- कोड पठनीयता और दस्तावेज़ीकरण में सुधार करना।
Q12:- What is a package in Java?
Ans:- A package is a collection of related Java classes
and interfaces.
प्रश्न:- जावा में पैकेज क्या है?
उत्तर:- एक पैकेज संबंधित जावा कक्षाओं और इंटरफेस का एक संग्रह है।
Q13:- What is the difference between a compiler and an
interpreter?
Ans:- A compiler translates the entire program before
execution, whereas an interpreter translates and executes code line by line.
प्रश्न:- कंपाइलर और इंटरप्रेटर के बीच क्या अंतर है?
उत्तर:- एक कंपाइलर निष्पादन से पहले पूरे प्रोग्राम का अनुवाद करता है, जबकि एक दुभाषिया लाइन दर लाइन कोड का अनुवाद
और निष्पादन करता है।
Q14:- What is the full form of IDE?
Ans:- Integrated Development Environment.
प्रश्न:-आईडीई का पूर्ण रूप क्या है?
उत्तर:- एकीकृत विकास पर्यावरण।
Q15:- Name two popular Java IDEs.
Ans:- Eclipse and NetBeans.
प्रश्न:- दो लोकप्रिय जावा आईडीई के नाम बताएं।
उत्तर:- ग्रहण और नेटबीन्स।
Q16:- What is a class name in Java?
Ans:- The name of a class that follows Java naming
conventions and should start with an uppercase letter.
प्रश्न:- जावा में क्लास का नाम क्या है?
उत्तर:- एक वर्ग का नाम जो जावा नामकरण परंपराओं का पालन करता है और एक बड़े
अक्षर से शुरू होना चाहिए।
Q17:- Define a method in Java.
Ans:- A method is a block of code that performs a
specific task.
प्रश्न:- जावा में एक विधि को परिभाषित करें।
उत्तर:- विधि कोड का एक ब्लॉक है जो एक विशिष्ट कार्य करता है।
Q18:- Which function is used to take output in Java?
Ans:- System.out.println().
प्रश्न:- जावा में आउटपुट लेने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
उत्तर:- System.out.println().
Q19:- What is the purpose of println() in Java?
Ans:- It prints text to the console with a newline.
प्रश्न:- जावा में println()
का उद्देश्य
क्या है?
उत्तर:- यह टेक्स्ट को एक नई लाइन के साथ कंसोल पर प्रिंट करता है।
Q20:- What is a data type in Java?
Ans:- A data type defines the type of data a variable can
hold.
प्रश्न:- जावा में डेटा प्रकार क्या है?
उत्तर:- डेटा प्रकार परिभाषित करता है कि एक वेरिएबल किस प्रकार के डेटा को
धारण कर सकता है।
Q21:- Name two types of data types in Java.
Ans:- Primitive and non-primitive data types.
प्रश्न:- जावा में दो प्रकार के डेटा प्रकारों के नाम बताएं।
उत्तर:- आदिम और गैर-आदिम डेटा प्रकार।
Q22:- What is the difference between primitive and
non-primitive data types in Java?
Ans:- Primitive data types store simple values, whereas
non-primitive data types store complex objects.
प्रश्न:- जावा में आदिम और गैर-आदिम डेटा प्रकारों के बीच क्या अंतर है?
उत्तर:- आदिम डेटा प्रकार सरल मानों को संग्रहीत करते हैं, जबकि गैर-आदिम डेटा प्रकार जटिल वस्तुओं को
संग्रहीत करते हैं।
Q23:- What does the boolean data type store?
Ans:- True or False values.
प्रश्न:- बूलियन डेटा प्रकार क्या संग्रहित करता है?
उत्तर:- सही या गलत मान।
Q24:- What is the size of the int data type in Java?
Ans:- 32 bits.
प्रश्न:- जावा में int
डेटा प्रकार का
आकार क्या है?
उत्तर:- 32 बिट.
Q15:- What is the default value of a string variable in
Java?
Ans:- null.
प्रश्न:- जावा में स्ट्रिंग वेरिएबल का डिफ़ॉल्ट मान क्या है?
उत्तर:- शून्य.
Q26:- What symbol is used to write a single-line comment
in Java?
Ans:- //.
प्रश्न:- जावा में सिंगल-लाइन टिप्पणी लिखने के लिए किस प्रतीक का उपयोग किया
जाता है?
उत्तर:- //.
Q27:- What are variables in Java?
Ans:- Variables store data that can change during program
execution.
प्रश्न:- जावा में वेरिएबल क्या हैं?
उत्तर:- वेरिएबल्स डेटा संग्रहीत करते हैं जो प्रोग्राम निष्पादन के दौरान बदल
सकते हैं।
Q28:- How many bytes does a long data type store in Java?
Ans:- 8 bytes (64 bits).
प्रश्न:- जावा में एक लंबा डेटा टाइप कितने बाइट्स स्टोर करता है?
उत्तर:- 8 बाइट्स (64 बिट्स)।
Q29:- Give an example of an integer data type in Java.
Ans:- int age = 25;
प्रश्न:- जावा में पूर्णांक डेटा प्रकार का एक उदाहरण दीजिए।
उत्तर:- पूर्ण आयु = 25;
Q30:- What is the rule for naming variables in Java?
Ans:- Variable names must start with a letter, underscore
(_), or dollar sign ($) and cannot be Java keywords.
प्रश्न:- जावा में वेरिएबल्स के नामकरण का नियम क्या है?
उत्तर:- परिवर्तनीय नाम एक अक्षर, अंडरस्कोर (_), या डॉलर चिह्न ($) से शुरू होने चाहिए और जावा कीवर्ड नहीं हो
सकते।
Q31:- What is the role of the System.out.print()
function?
Ans:- It prints text to the console without a newline.
प्रश्न:- System.out.print() फ़ंक्शन की क्या भूमिका है?
उत्तर:- यह बिना किसी नई लाइन के कंसोल पर टेक्स्ट प्रिंट करता है।
Q32:- Name two relational operators in Java.
Ans:- == (equal to), != (not equal to).
प्रश्न:- जावा में दो रिलेशनल ऑपरेटर्स के नाम बताएं।
उत्तर:- == (बराबर),
!= (बराबर नहीं)।
Q33:- Name two logical operators in Java.
Ans:- && (AND), || (OR).
प्रश्न:- जावा में दो लॉजिकल ऑपरेटरों के नाम बताएं।
उत्तर:- && (AND), || (या)।
Q34:- Define a string variable.
Ans:- A string variable stores a sequence of characters,
e.g., String name = “John”;.
प्रश्न:- एक स्ट्रिंग वेरिएबल को परिभाषित करें।
उत्तर:- एक स्ट्रिंग वेरिएबल वर्णों के अनुक्रम को संग्रहीत करता है, उदाहरण के लिए, स्ट्रिंग नाम = "जॉन";।
Q35:- What is an operator in Java?
Ans:- An operator is a symbol that performs operations on
variables and values.
प्रश्न:- जावा में ऑपरेटर क्या है?
उत्तर:- ऑपरेटर एक प्रतीक है जो वेरिएबल्स और मानों पर संचालन करता है।
Q36:- Name two types of operators in Java.
Ans:- Arithmetic and relational operators.
प्रश्न:- जावा में दो प्रकार के ऑपरेटरों के नाम बताइए।
उत्तर:- अंकगणित और संबंधपरक संचालक।
Q37:- What are control flow statements in Java?
Ans:- Statements that control the execution flow of a
program.
प्रश्न:- जावा में नियंत्रण प्रवाह विवरण क्या हैं?
उत्तर:- स्टेटमेंट जो किसी प्रोग्राम के निष्पादन प्रवाह को नियंत्रित करते
हैं।
Q38:- How many types of control flow statements are in
Java?
Ans:- Three: decision-making, looping, and jump
statements.
प्रश्न:- जावा में कंट्रोल फ्लो स्टेटमेंट कितने प्रकार के होते हैं?
उत्तर:- तीन: निर्णय लेना, लूपिंग और जंप स्टेटमेंट।
Q39:- What is an if-else statement in Java?
Ans:- A conditional statement that executes different
blocks of code based on a condition.
प्रश्न:- जावा में if-else
स्टेटमेंट क्या
है?
उत्तर:- एक सशर्त कथन जो एक शर्त के आधार पर कोड के विभिन्न ब्लॉकों को
निष्पादित करता है।
Q40:- Write the syntax of an if-else statement.
प्रश्न:- if-else स्टेटमेंट का सिंटैक्स लिखें।
Ans:- java
CopyEdit
if(condition) {
// code if true
} else {
// code if false
}
Q41:- What is a switch statement?
Ans:- A statement that executes one case from multiple
choices based on a value.
प्रश्न:- स्विच स्टेटमेंट क्या है?
उत्तर:- एक कथन जो एक मूल्य के आधार पर एकाधिक विकल्पों में से एक मामले को
निष्पादित करता है।
Q42:- Define a loop in Java.
Ans:- A loop is used to execute a block of code multiple
times.
प्रश्न:- जावा में एक लूप को परिभाषित करें।
उत्तर:- एक लूप का उपयोग कोड के एक ब्लॉक को कई बार निष्पादित करने के लिए
किया जाता है।
Q43:- What does a while loop do?
Ans:- It executes a block of code repeatedly while a
condition is true.
प्रश्न:- थोड़ी देर का लूप क्या करता है?
उत्तर:- यह एक शर्त सत्य होने पर कोड के एक ब्लॉक को बार-बार निष्पादित करता
है।
Q44:- How does a do-while loop work?
Ans:- It executes the block at least once before checking
the condition.
प्रश्न:- डू-व्हाइल लूप कैसे काम करता है?
उत्तर:- यह स्थिति की जांच करने से पहले कम से कम एक बार ब्लॉक को निष्पादित
करता है।
Q45:- How many times does a do-while loop execute at
minimum?
Ans:- At least once.
प्रश्न:- डू-व्हाइल लूप कम से कम कितनी बार निष्पादित होता है?
उत्तर:- कम से कम एक बार।
Q46:- What is the difference between while and do-while
loops?
Ans:- The while loop checks the condition before
execution, whereas the do-while loop executes first and checks the condition
later.
प्रश्न:- while और do-while लूप के बीच क्या अंतर है?
उत्तर:- while लूप निष्पादन से पहले स्थिति की जांच करता है, जबकि do-while लूप पहले निष्पादित करता है और बाद में स्थिति की जांच करता है।
Q47:- What is a for loop?
Ans:- A loop with a fixed number of iterations.
प्रश्न:- फॉर लूप क्या है?
उत्तर:- पुनरावृत्तियों की निश्चित संख्या वाला एक लूप।
Q48:- Name the three parts of a for loop.
Ans:- Initialization, condition, and increment/decrement.
प्रश्न:- फॉर लूप के तीन भागों के नाम बताएं।
उत्तर:- आरंभीकरण,
स्थिति और
वृद्धि/कमी।
Q49:- What is an array in Java?
Ans:- An array is a collection of elements of the same type.
प्रश्न:- जावा में ऐरे क्या है?
उत्तर:- एक सारणी एक ही प्रकार के तत्वों का एक संग्रह है।
Q50:- How do you declare an array in Java?
Ans:- int[] numbers = new int[5];.
प्रश्न:- आप जावा में ऐरे कैसे घोषित करते हैं?
उत्तर:- int[] numbers = new int[5];.
Q51:- Name a package used for array manipulation.
Ans:- java.util.Arrays.
प्रश्न:- सरणी हेरफेर के लिए उपयोग किए जाने वाले पैकेज का नाम बताएं।
उत्तर:- java.util.Arrays.
Q52:- What is the use of \t in Java?
Ans:- It inserts a tab space.
प्रश्न:- जावा में \t
का क्या उपयोग
है?
उत्तर:- यह एक टैब स्पेस सम्मिलित करता है।
Q53:- What is the role of methods in Java?
Ans:- Methods define reusable blocks of code.
प्रश्न:- जावा में विधियों की क्या भूमिका है?
उत्तर:- विधियाँ कोड के पुन: प्रयोज्य ब्लॉकों को परिभाषित करती हैं।
Q54:- What is the use of void in Java?
Ans:- It indicates that a method does not return a value.
प्रश्न:- जावा में void
का क्या उपयोग
है?
उत्तर:- यह इंगित करता है कि एक विधि कोई मान नहीं लौटाती है।
Q55:- What is Object-Oriented Programming (OOP)?
Ans:- A programming paradigm based on objects and
classes.
प्रश्न:- ऑब्जेक्ट-ओरिएंटेड प्रोग्रामिंग (ओओपी) क्या है?
उत्तर:- वस्तुओं और कक्षाओं पर आधारित एक प्रोग्रामिंग प्रतिमान।
Q56:- Define a class in Java.
Ans:- A blueprint for creating objects.
प्रश्न:- जावा में एक क्लास को परिभाषित करें।
उत्तर:- वस्तुएँ बनाने का खाका।
Q57:- Define an object in Java.
Ans:- An instance of a class.
प्रश्न:- जावा में किसी ऑब्जेक्ट को परिभाषित करें।
उत्तर:- एक वर्ग का एक उदाहरण।
Q58:- What are data members and method members in Java?
Ans:- Data members store attributes, and method members
define behaviors.
प्रश्न:- जावा में डेटा सदस्य और विधि सदस्य क्या हैं?
उत्तर:- डेटा सदस्य विशेषताओं को संग्रहीत करते हैं, और विधि सदस्य व्यवहार को परिभाषित करते हैं।
Q59:- What is a constructor in Java?
Ans:- A special method used to initialize an object.
प्रश्न:- जावा में कंस्ट्रक्टर क्या है?
उत्तर:- किसी ऑब्जेक्ट को इनिशियलाइज़ करने के लिए उपयोग की जाने वाली एक
विशेष विधि।
Q60:- What are access modifiers in Java?
Ans:- Keywords that define the visibility of a class,
method, or variable (e.g., public, private).
प्रश्न:- जावा में एक्सेस मॉडिफ़ायर क्या हैं?
उत्तर:- ऐसे कीवर्ड जो किसी वर्ग, विधि या चर (जैसे,
सार्वजनिक, निजी) की दृश्यता को परिभाषित करते हैं।
Q61:- What is exception handling in Java?
Ans:- A mechanism to handle runtime errors using
try-catch blocks.
प्रश्न:- जावा में एक्सेप्शन हैंडलिंग क्या है?
उत्तर:- ट्राई-कैच ब्लॉक का उपयोग करके रनटाइम त्रुटियों को संभालने के लिए एक
तंत्र।
Q62:- What is the difference between = and == in Java?
Ans:- = is an assignment operator, while == is a
comparison operator.
प्रश्न:- जावा में = और == के बीच क्या अंतर है?
उत्तर:- = एक असाइनमेंट ऑपरेटर है, जबकि == एक तुलना ऑपरेटर है।
Q63:- What is a wrapper class in Java?
Ans:- A class that converts primitive data types into
objects.
प्रश्न:- जावा में रैपर क्लास क्या है?
उत्तर:- एक वर्ग जो आदिम डेटा प्रकारों को ऑब्जेक्ट में परिवर्तित करता है।
Q64:- What is the purpose of the finally block in
exception handling?
Ans:- It executes code regardless of whether an exception
occurs.
प्रश्न:- अपवाद प्रबंधन में आख़िरी ब्लॉक का उद्देश्य क्या है?
उत्तर:- चाहे कोई अपवाद हो, यह कोड को निष्पादित करता है।
Q65:- What does the break statement do in Java?
Ans:- It exits a loop or switch statement.
प्रश्न:- जावा में ब्रेक स्टेटमेंट क्या करता है?
उत्तर:- यह एक लूप या स्विच स्टेटमेंट से बाहर निकलता है।
Q66:- What is the continue statement used for in Java?
Ans:- It skips the current iteration and moves to the
next iteration of a loop.
प्रश्न:- जावा में कंटिन्यू स्टेटमेंट का उपयोग किसके लिए किया जाता है?
उत्तर:- यह वर्तमान पुनरावृत्ति को छोड़ देता है और लूप के अगले पुनरावृत्ति
पर चला जाता है।
Multiple Choice Questions
1. ____________ is not an aggregate function. (एक समग्र कार्य नहीं है।)
a) Sum()
b) Count()
c) Round()
d) Avg()
Ans:- c) Round()
2. ____________replaces zero or more number of random character, when used with Like keyword. जब लाइक कीवर्ड के साथ प्रयोग किया जाता है, तो ___________ शून्य या अधिक संख्या में यादृच्छिक वर्णों को प्रतिस्थापित करता है।
a)_ b)
% c) $ d) @ Ans:- b) %
3. ___________ is a special method that every Java
application must have.
( ___________ एक विशेष विधि है जो प्रत्येक जावा एप्लिकेशन
के पास होनी चाहिए।)
a) Getter
b) Setter
c) Main
d) Default
Ans:- c) Main
4. ____________ Phase of Web Application development
problem statement for which the web application is to be developed is
identified.
(____________वेब एप्लिकेशन डेवलपमेंट प्रॉब्लम स्टेटमेंट
का चरण जिसके लिए वेब एप्लिकेशन को विकसित किया जाना है, की पहचान की गई है।)
a) Requirement
b) Design
c) Implementation
d) Test
Ans:- a) Requirement
5. ___________method of a String Class Return the index of the first occurrence of given substring. (स्ट्रिंग क्लास की ___________ विधि दिए गए सबस्ट्रिंग की पहली घटना की अनुक्रमणिका लौटाती है)
a) indexOf()
b) indexAt()
c) length()
d) isEmpty()
Ans:- a) indexOf()
6. __________ command which displays list of databases available on the current server. (___________ कमांड जो वर्तमान सर्वर पर उपलब्ध डेटाबेस की सूची प्रदर्शित करता है।)
a) Show databases
b) Show tables
c) Create tables
d) Display tables
Ans:- a) Show databases
7. Which of the following is an invalid variable
declaration?
(निम्नलिखित में से कौन एक अमान्य परिवर्तनीय
घोषणा है?)
a) my_string_1
b) 1st_string
c) my string 1
d)_mystring1
Ans:- b) 1st_string
8. Finding of Bugs and Fixing them happens in __________.
(वर्गों का पता लगाना और उन्हें ठीक करना _________ में होता है|)
a) Design Phase
b) Testing Phase
c) Implementation Phase
d) Reuirement Definition Phase
Ans:- b) Testing Phase
9. Predict the output of the following expression of the
initial value of x is 5. x=((++x)*2)+7
(x के प्रारंभिक मान के निम्नलिखित व्यंजक के आउटपुट की भविष्यवाणी करें जो 5 है। x=((++x)*2)+7)
a) 19
b) 21
c) 18
d) 20
Ans:- a) 19
Fill in The Blanks
1. A computer only understands its own language called
_____________.
(कंप्यूटर केवल अपनी ही भाषा समझता है जिसे ____________ कहा जाता है।)
Ans:- machine language.
2. The machine code can be executed on the computer, say
__________.
(मशीन कोड को कंप्यूटर पर निष्पादित किया जा सकता है, जैसे __________।)
Ans:- Windows
3. The program is to be executed on another platform, say_________.
(प्रोग्राम को ________ जैसे किसी अन्य
प्लेटफॉर्म पर निष्पादित किया जाना है।)
Ans:- Mac
4. The contents of a class are enclosed within _________.
(एक वर्ग की
सामग्री ________ के भीतर संलग्न है।)
Ans:- curly braces (घुंघराले ब्रेसिज़) |
5. We will use the most common pre-built Java output method __________for write a code. (हम कोड लिखने के लिए सबसे सामान्य पूर्व-निर्मित जावा आउटपुट विधि ________ का उपयोग करेंगे।)
Ans:- System.out.println()
6. All Java statements must end with a________. (सभी Java कथनों का अंत _________से होना चाहिए।)
Ans:- semicolon (अर्धविराम) |
7. All data variables in Java have to be ______________ before
they are used.
(जावा में सभी डेटा वेरिएबल्स को उपयोग करने से पहले _______________किया जाना है।)
Ans:- declared and initialized
(घोषित और
आरंभीकृत) |
8. The ability of a computer to perform the same set of
actions again and again is called________. (एक ही प्रकार की क्रियाओं को बार-बार करने की
कंप्यूटर की क्षमता को ______कहा जाता है।)
Ans:- looping (लूपिंग) |
9. The sequence of statements that is repeated again and
again is called the__________. (कथनों का वह क्रम जो बार-बार दोहराया जाता है, ____________कहलाता है।)
Ans:- body of the loop (लूप का शरीर) |
10. The test conditions that determine whether a loop is
entered or exited is constructed using __________ operators. (परीक्षण की स्थिति जो यह निर्धारित करती है
कि एक लूप दर्ज किया गया है या बाहर निकला है, ____________ऑपरेटरों का उपयोग करके बनाया गया है।)
Ans:- relational and logical (रिलेशनल और लॉजिकल) |
11. A single pass through the loop is called an____________.
(लूप के माध्यम
से एक एकल पास को _________कहा जाता है।)
Ans:- iteration (पुनरावृत्ति) |
12. A __________ that are place holders for a single
value. (एक __________ जो एकल मान के लिए स्थान धारक हैं।)
Ans:- variables (चर ) |
13. __________ are variables that can hold more than one
value. (________ वेरिएबल हैं जो एक से अधिक मान रख सकते
हैं।)
Ans:- Arrays
14. In an__________ , a program is collection of objects
that interact with other objects to solve a problem. (एक _________ में, एक प्रोग्राम उन वस्तुओं का संग्रह है जो
किसी समस्या को हल करने के लिए अन्य वस्तुओं के साथ बातचीत करते हैं।)
Ans:- OOP language (ओओपी भाषा) |
15. A __________ is a
physical or logical entity that has certain attributes. (एक _______ एक भौतिक या तार्किक इकाई है जिसमें कुछ
विशेषताएँ होती हैं।)
Ans:- class (क्लास) |
16. _________ is a useful mechanism for effectively
identifying/detecting and correcting logical errors in a program. (एक प्रोग्राम में तार्किक त्रुटियों को प्रभावी ढंग से पहचानने/पत्ता लगाने और
सुधारने के लिए __________ एक उपयोगी तंत्र है।)
Ans:- An
assertion (एक अभिकथन) |
इस Unit
में प्रयोग की
गयी कुछ Shortcut
Keys निम्नलिखित है:-
File> New Project (Ctrl + Shift + N)
File > Save (Ctrl + S)
File > Save All (Ctrl + Shift + S)
Run > Run Main Project (F6)
Run >Run File (Shift +F6)
File > New File (Ctrl + N)
इस Unit
में प्रयोग की
गयी कुछ short
terms के full name निम्नलिखित है:-
Java Virtual Machine (JVM)
Integrated Development Environments (IDES)
Object Oriented Programming (OOP)
Java Development Kit (JDK)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><
Post a Comment