Connection restored!
Notification Center
Loading notifications...
Loading announcements...
INCOMING 1v1 DUEL! 10:00
@friend challenged you!
Topic · Room #HQ-0000
Accept & Join
Mention Scholar ↑↓ Enter / Click
Last time you were studying on Page 2.
STUDY & LEARNING DECK

Computer PYQs

Showing 25 of 4040 total questions (Latest Added First).

Timed Quiz
Newest Classic 25 Qs
No Questions Match Your Filter

Try clearing filters or unchecking "Saved" / "Hide".

Question 1576 NEW
Most Important EASY
Which SQL command is used to remove an existing Index from a table?
किसी टेबल से मौजूदा इंडेक्स को हटाने के लिए किस SQL कमांड का उपयोग किया जाता है?
A
`DROP INDEX`
`DROP INDEX`
Correct
B
`DELETE INDEX`
`DELETE INDEX`
C
`REMOVE INDEX`
`REMOVE INDEX`
D
`CLEAR INDEX`
`CLEAR INDEX`
Solution Breakdown:
-> In MySQL, `DROP INDEX idx_name ON table_name;` removes the specified index. -> Hence, Option (A) is the correct answer.
-> इंडेक्स हटाने के लिए `DROP INDEX` कमांड का उपयोग किया जाता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1577 NEW
Most Important EASY
Which SQL command is used to permanently delete an existing View named `v_top`?
`v_top` नामक किसी मौजूदा व्यू (View) को स्थायी रूप से हटाने के लिए किस SQL कमांड का उपयोग किया जाता है?
A
`DELETE VIEW v_top;`
`DELETE VIEW v_top;`
B
`DROP VIEW v_top;`
`DROP VIEW v_top;`
Correct
C
`REMOVE VIEW v_top;`
`REMOVE VIEW v_top;`
D
`CLEAR VIEW v_top;`
`CLEAR VIEW v_top;`
Solution Breakdown:
-> Just like tables and databases, Views are removed using the DDL command `DROP VIEW view_name;`. -> Hence, Option (B) is the correct answer.
-> किसी व्यू को हटाने के लिए `DROP VIEW` कमांड का उपयोग होता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1578 NEW
Most Important EASY
Which MySQL data type is used to store simple True/False (1 or 0) values?
सरल `True/False` (`1` या `0`) मान स्टोर करने के लिए किस MySQL डेटा टाइप का उपयोग किया जाता है?
A
`BOOLEAN`
`BOOLEAN`
Correct
B
`DATE`
`DATE`
C
`TEXT`
`TEXT`
D
`BLOB`
`BLOB`
Solution Breakdown:
-> In MySQL, `BOOLEAN` (or `BOOL`) is internally stored as `TINYINT(1)`, where `0` is False and `1` is True. -> Hence, Option (A) is the correct answer.
-> `True/False` मानों के लिए `BOOLEAN` डेटा टाइप का उपयोग किया जाता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1579 NEW
Most Important EASY
Which MySQL data type is used to store calendar dates in `'YYYY-MM-DD'` format?
`'YYYY-MM-DD'` फॉर्मेट में कैलेंडर की तारीखें स्टोर करने के लिए किस MySQL डेटा टाइप का उपयोग किया जाता है?
A
`INT`
`INT`
B
`DATE`
`DATE`
Correct
C
`FLOAT`
`FLOAT`
D
`CHAR`
`CHAR`
Solution Breakdown:
-> The `DATE` data type stores valid dates from `'1000-01-01'` to `'9999-12-31'`. -> Hence, Option (B) is the correct answer.
-> तारीख स्टोर करने के लिए `DATE` डेटा टाइप का उपयोग होता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1580 NEW
Most Important EASY
Which MySQL data type is best suited for storing whole numbers like student roll numbers or age?
छात्र के रोल नंबर या आयु जैसी पूर्ण संख्याएँ स्टोर करने के लिए कौन सा MySQL डेटा टाइप सबसे उपयुक्त है?
A
`INT`
`INT`
Correct
B
`VARCHAR`
`VARCHAR`
C
`DATE`
`DATE`
D
`TEXT`
`TEXT`
Solution Breakdown:
-> `INT` (Integer) stores whole numbers efficiently without decimal points. -> Hence, Option (A) is the correct answer.
-> पूर्णांक संख्याओं के लिए `INT` डेटा टाइप का उपयोग किया जाता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1581 NEW
Most Important EASY
Which SQL command adds a new column named `age` to an existing `students` table?
किसी मौजूदा `students` टेबल में `age` नामक नया कॉलम जोड़ने के लिए कौन सा SQL कमांड सही है?
A
`ALTER TABLE students ADD age INT;`
`ALTER TABLE students ADD age INT;`
Correct
B
`UPDATE students ADD age INT;`
`UPDATE students ADD age INT;`
C
`INSERT COLUMN age INTO students;`
`INSERT COLUMN age INTO students;`
D
`CREATE COLUMN age ON students;`
`CREATE COLUMN age ON students;`
Solution Breakdown:
-> `ALTER TABLE ... ADD ...` modifies the table schema by appending a new column. -> Hence, Option (A) is the correct answer.
-> मौजूदा टेबल में नया कॉलम जोड़ने के लिए `ALTER TABLE ... ADD` का उपयोग होता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1582 NEW
Most Important EASY
Which SQL command removes ALL rows from a table very quickly while keeping the empty table structure intact?
खाली टेबल की संरचना को बनाए रखते हुए उसकी सभी पंक्तियों को बहुत तेज़ी से हटाने के लिए किस SQL कमांड का उपयोग किया जाता है?
A
`DROP TABLE`
`DROP TABLE`
B
`TRUNCATE TABLE`
`TRUNCATE TABLE`
Correct
C
`ALTER TABLE`
`ALTER TABLE`
D
`CREATE TABLE`
`CREATE TABLE`
Solution Breakdown:
-> `TRUNCATE TABLE logs;` empties the entire table instantly without deleting the table definition itself. -> Hence, Option (B) is the correct answer.
-> पूरी टेबल को तेज़ी से खाली करने के लिए `TRUNCATE TABLE` का उपयोग होता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1583 NEW
Most Important EASY
Which SQL command removes specific rows from a table based on a `WHERE` condition?
`WHERE` शर्त के आधार पर किसी टेबल से चुनिंदा पंक्तियों को हटाने के लिए किस SQL कमांड का उपयोग किया जाता है?
A
`DROP`
`DROP`
B
`DELETE`
`DELETE`
Correct
C
`TRUNCATE`
`TRUNCATE`
D
`REMOVE`
`REMOVE`
Solution Breakdown:
-> `DELETE FROM students WHERE id = 5;` deletes only the matching row, leaving all other rows and the table intact. -> Hence, Option (B) is the correct answer.
-> चुनिंदा पंक्तियाँ हटाने के लिए `DELETE` कमांड का उपयोग होता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1584 NEW
Most Important EASY
Which SQL command is used to create a brand-new table in a database?
डेटाबेस में एक बिल्कुल नई टेबल बनाने के लिए किस SQL कमांड का उपयोग किया जाता है?
A
`NEW TABLE`
`NEW TABLE`
B
`MAKE TABLE`
`MAKE TABLE`
C
`CREATE TABLE`
`CREATE TABLE`
Correct
D
`ADD TABLE`
`ADD TABLE`
Solution Breakdown:
-> `CREATE TABLE` (a DDL command) defines the table name, its columns, data types, and constraints. -> Hence, Option (C) is the correct answer.
-> नई टेबल बनाने के लिए `CREATE TABLE` कमांड का उपयोग होता है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 1585 NEW
Most Important EASY
In SQL, what does the operator `<>` (or `!=`) mean?
SQL में `<>` (या `!=`) ऑपरेटर का क्या अर्थ होता है?
A
Equal to
बराबर
B
Not equal to
बराबर नहीं
Correct
C
Greater than
से बड़ा
D
Less than
से छोटा
Solution Breakdown:
-> Both `<>` (ANSI SQL standard) and `!=` check whether two values are NOT equal (e.g., `WHERE status <> 'Closed'`). -> Hence, Option (B) is the correct answer.
-> `<>` और `!=` दोनों का अर्थ 'बराबर नहीं' (Not equal to) होता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1586 NEW
Most Important EASY
Which SQL clause is mandatory in a `SELECT` query to specify which table to read data from?
`SELECT` क्वेरी में यह बताने के लिए कि डेटा किस टेबल से पढ़ना है, किस SQL क्लॉज़ का उपयोग होता है?
A
`FROM`
`FROM`
Correct
B
`IN`
`IN`
C
`TABLE`
`TABLE`
D
`AT`
`AT`
Solution Breakdown:
-> Example: `SELECT name FROM students;` tells SQL to read the `name` column from the `students` table. -> Hence, Option (A) is the correct answer.
-> टेबल का नाम बताने के लिए `FROM` क्लॉज़ का उपयोग किया जाता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1587 NEW
Most Important EASY
Which SQL keyword is used inside an `UPDATE` statement to assign new values to columns?
`UPDATE` स्टेटमेंट के अंदर कॉलम को नए मान सौंपने के लिए किस SQL कीवर्ड का उपयोग किया जाता है?
A
`VALUES`
`VALUES`
B
`SET`
`SET`
Correct
C
`PUT`
`PUT`
D
`CHANGE`
`CHANGE`
Solution Breakdown:
-> Syntax: `UPDATE students SET marks = 90 WHERE id = 1;`. -> Hence, Option (B) is the correct answer.
-> `UPDATE` कमांड में नया मान सेट करने के लिए `SET` कीवर्ड का उपयोग होता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1588 NEW
Most Important EASY
Which SQL clause is used inside `INSERT INTO` to supply the actual data for the new row?
नई पंक्ति के लिए वास्तविक डेटा देने हेतु `INSERT INTO` के साथ किस SQL क्लॉज़ का उपयोग किया जाता है?
A
`SET`
`SET`
B
`VALUES`
`VALUES`
Correct
C
`DATA`
`DATA`
D
`PUT`
`PUT`
Solution Breakdown:
-> Syntax: `INSERT INTO students (id, name) VALUES (1, 'Aman');`. -> Hence, Option (B) is the correct answer.
-> नया रिकॉर्ड डालते समय मान देने के लिए `VALUES` कीवर्ड का उपयोग होता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1589 NEW
Most Important EASY
How many Primary Keys can a single database table have?
एक ही डेटाबेस टेबल में अधिकतम कितनी प्राइमरी की (Primary Keys) हो सकती हैं?
A
Only 1
केवल 1
Correct
B
2
2
C
5
5
D
Unlimited
असीमित
Solution Breakdown:
-> Every table can have at most ONE Primary Key (though that single Primary Key can consist of one or multiple columns combined). -> Hence, Option (A) is the correct answer.
-> एक टेबल में केवल एक ही प्राइमरी की हो सकती है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1590 NEW
Most Important EASY
Which SQL operator is used to check if a column DOES contain a value (is not empty)?
यह जांचने के लिए कि किसी कॉलम में मान मौजूद है (अर्थात् खाली नहीं है), किस SQL ऑपरेटर का उपयोग किया जाता है?
A
`!= NULL`
`!= NULL`
B
`IS NOT NULL`
`IS NOT NULL`
Correct
C
`NOT = NULL`
`NOT = NULL`
D
`HAS VALUE`
`HAS VALUE`
Solution Breakdown:
-> `WHERE phone IS NOT NULL` returns only rows where a phone number has actually been entered. -> Hence, Option (B) is the correct answer.
-> गैर-खाली (`NULL` न होने वाले) मानों की जांच के लिए `IS NOT NULL` का उपयोग किया जाता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1591 NEW
Most Important EASY
Which MySQL function returns ONLY the current system time (without date)?
कौन सा MySQL फंक्शन केवल वर्तमान सिस्टम का समय (बिना तारीख के) लौटाता है?
A
`CURDATE()`
`CURDATE()`
B
`CURTIME()`
`CURTIME()`
Correct
C
`NOW()`
`NOW()`
D
`DAY()`
`DAY()`
Solution Breakdown:
-> `CURTIME()` returns the current system time in `'HH:MM:SS'` format. -> Hence, Option (B) is the correct answer.
-> केवल वर्तमान समय देखने के लिए MySQL में `CURTIME()` फंक्शन उपयोग होता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1592 NEW
Most Important EASY
Which MySQL function returns ONLY the current system date (without time)?
कौन सा MySQL फंक्शन केवल वर्तमान सिस्टम की तारीख (बिना समय के) लौटाता है?
A
`NOW()`
`NOW()`
B
`CURDATE()`
`CURDATE()`
Correct
C
`CURTIME()`
`CURTIME()`
D
`YEAR()`
`YEAR()`
Solution Breakdown:
-> `CURDATE()` returns the current date in `'YYYY-MM-DD'` format, whereas `NOW()` returns both date and time. -> Hence, Option (B) is the correct answer.
-> केवल वर्तमान तारीख के लिए `CURDATE()` और केवल समय के लिए `CURTIME()` का उपयोग होता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1593 NEW
Most Important EASY
Which MySQL string function converts all letters of a string into lowercase?
कौन सा MySQL स्ट्रिंग फंक्शन किसी स्ट्रिंग के सभी अक्षरों को छोटे अक्षरों (Lowercase) में बदल देता है?
A
`SMALL()`
`SMALL()`
B
`LOWER()`
`LOWER()`
Correct
C
`DOWN()`
`DOWN()`
D
`MINI()`
`MINI()`
Solution Breakdown:
-> `SELECT LOWER('MYSQL');` returns `'mysql'`. (`LCASE()` also performs the same operation in MySQL). -> Hence, Option (B) is the correct answer.
-> स्ट्रिंग को छोटे अक्षरों में बदलने के लिए `LOWER()` (या `LCASE()`) फंक्शन का उपयोग होता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1594 NEW
Most Important EASY
What does "DQL" stand for in SQL?
SQL में "DQL" का पूर्ण रूप क्या है?
A
Data Query Language
डेटा क्वेरी लैंग्वेज
Correct
B
Data Quick Link
डेटा क्विक लिंक
C
Database Queue Logic
डेटाबेस क्यू लॉजिक
D
Dynamic Query List
डायनामिक क्वेरी लिस्ट
Solution Breakdown:
-> DQL (Data Query Language) consists of the `SELECT` statement used to query and fetch data from database tables. -> Hence, Option (A) is the correct answer.
-> DQL (डेटा क्वेरी लैंग्वेज) का उपयोग `SELECT` कमांड द्वारा डेटाबेस से डेटा प्राप्त करने के लिए होता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1595 NEW
Most Important EASY
Which SQL command is used to give specific access permissions to a database user?
किसी डेटाबेस यूज़र को विशिष्ट एक्सेस अनुमतियाँ देने के लिए किस SQL कमांड का उपयोग किया जाता है?
A
`ALLOW`
`ALLOW`
B
`GIVE`
`GIVE`
C
`GRANT`
`GRANT`
Correct
D
`PERMIT`
`PERMIT`
Solution Breakdown:
-> `GRANT` (a DCL command) gives privileges such as `SELECT`, `INSERT`, or `UPDATE` to a user, while `REVOKE` removes them. -> Hence, Option (C) is the correct answer.
-> यूज़र को अधिकार देने के लिए `GRANT` और वापस लेने के लिए `REVOKE` का उपयोग होता है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 1596 NEW
Most Important EASY
Which MySQL command is used to select a specific database so you can run queries on its tables?
किसी विशेष डेटाबेस को चुनने के लिए ताकि उसकी टेबल्स पर क्वेरी चलाई जा सके, MySQL में किस कमांड का उपयोग होता है?
A
`OPEN`
`OPEN`
B
`USE`
`USE`
Correct
C
`SELECT`
`SELECT`
D
`RUN`
`RUN`
Solution Breakdown:
-> Running `USE school_db;` sets `school_db` as the active database for all subsequent commands. -> Hence, Option (B) is the correct answer.
-> MySQL में किसी डेटाबेस को सक्रिय करने के लिए `USE` कमांड का उपयोग किया जाता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1597 NEW
Most Important EASY
Which symbol is used to terminate (end) a standard SQL statement?
एक मानक SQL स्टेटमेंट को समाप्त करने के लिए किस चिह्न का उपयोग किया जाता है?
A
Semicolon (`;`)
सेमीकोलन (`;`)
Correct
B
Colon (`:`)
कोलन (`:`)
C
Comma (`,`)
कॉमा (`,`)
D
Slash (`/`)
स्लैश (`/`)
Solution Breakdown:
-> The semicolon (`;`) separates and terminates SQL statements so the database server knows where one query ends. -> Hence, Option (A) is the correct answer.
-> SQL स्टेटमेंट के अंत में सेमीकोलन (`;`) लगाया जाता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1598 NEW
Most Important EASY
Which SQL aggregate function calculates the total sum of all values in a numeric column?
कौन सा SQL एग्रीगेट फंक्शन किसी संख्यात्मक कॉलम के सभी मानों का कुल योग निकालता है?
A
`TOTAL()`
`TOTAL()`
B
`ADD()`
`ADD()`
C
`SUM()`
`SUM()`
Correct
D
`PLUS()`
`PLUS()`
Solution Breakdown:
-> `SELECT SUM(amount) FROM orders;` adds up all non-NULL numbers in the `amount` column. -> Hence, Option (C) is the correct answer.
-> कॉलम के सभी मानों को जोड़ने के लिए `SUM()` फंक्शन का उपयोग होता है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 1599 NEW
Most Important EASY
Which SQL aggregate function calculates the average (mean) value of a numeric column?
कौन सा SQL एग्रीगेट फंक्शन किसी संख्यात्मक कॉलम का औसत (Average) मान निकालता है?
A
`MEAN()`
`MEAN()`
B
`AVG()`
`AVG()`
Correct
C
`AVERAGE()`
`AVERAGE()`
D
`MID()`
`MID()`
Solution Breakdown:
-> `SELECT AVG(salary) FROM employees;` computes the arithmetic average of all non-NULL values in the `salary` column. -> Hence, Option (B) is the correct answer.
-> औसत मान निकालने के लिए SQL में `AVG()` फंक्शन का उपयोग होता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1600 NEW
Most Important EASY
Which SQL aggregate function returns the LOWEST value in a numeric column?
कौन सा SQL एग्रीगेट फंक्शन किसी संख्यात्मक कॉलम में सबसे छोटा मान लौटाता है?
A
`LOW()`
`LOW()`
B
`SMALL()`
`SMALL()`
C
`MIN()`
`MIN()`
Correct
D
`BOTTOM()`
`BOTTOM()`
Solution Breakdown:
-> `SELECT MIN(price) FROM products;` finds the smallest value in the `price` column. -> Hence, Option (C) is the correct answer.
-> किसी कॉलम का न्यूनतम मान निकालने के लिए `MIN()` फंक्शन का उपयोग होता है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Prev 62 63 64 65 66 Next
ESSENTIAL STUDY KIT

Master Computer PYQs Faster with Recommended Resources

Pair your daily MCQ practice with these educator-picked books, practice sets, and typing gear tailored for this syllabus.

Visit Exam Store
Dell KB216 Wired Multimedia USB Keyboard (Black)
Typing Keyboards Best for Mangal Typing Amazon
Dell KB216 Wired Multimedia USB Keyboard (Black)

Soft chiclet keys and zero lag — the best keyboard for UPP Computer Operator and DSSSB 40+ WPM Hindi/English typing tests.

₹299 ₹999 70% OFF
Affiliate Disclosure: HappyQuiz may earn a small commission on qualifying purchases at no extra cost to you.
Saved to your dashboard!