Question bank

Class 11

1 subject · 443 questions

Refine

All questions

443 results
301

Convert: 2 MB = ______ GB.

SHORT Medium
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: 2 MB = 2 x 1024 GB = 2048 GB.
302

If no WHERE condition is specified with the DELETE statement, all records in the table are removed.

TRUE FALSE Medium
a. TRUE
b. FALSE
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
TRUE
Explanation: DELETE FROM <table>; without a WHERE clause removes all records, leaving the table structure intact but empty.
303

Convert: 3 MB = ______ GB.

SHORT Medium
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: 3 MB = 3 x 1024 GB = 3072 GB.
304

Write a SQL query to display the names of all products from a table named GYM.

SHORT Easy
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: SELECT PrName FROM GYM;
305

Convert: 4 MB = ______ GB.

SHORT Medium
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: 4 MB = 4 x 1024 GB = 4096 GB.
306

Write a SQL query to display names of all products from table GYM with UnitPrice less than 20000.

SHORT Medium
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: SELECT PrName FROM GYM WHERE UnitPrice < 20000;
307

Convert: 5 MB = ______ GB.

SHORT Medium
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: 5 MB = 5 x 1024 GB = 5120 GB.
308

Write SQL statements for the following on table GYM(PrCode, PrName, UnitPrice, Manufacturer): (a) Display details of products with unit price between 20000 and 30000. (b) Display all rows sorted in descending order of unit price. (c) Apply a 10% discount reduction on the Unit Price of all products.

LONG Hard
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: (a) SELECT * FROM GYM WHERE UnitPrice BETWEEN 20000 AND 30000; (b) SELECT * FROM GYM ORDER BY UnitPrice DESC; (c) UPDATE GYM SET UnitPrice = UnitPrice - UnitPrice*0.1;
309

Convert: 2 GB = ______ TB.

SHORT Medium
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: 2 GB = 2 x 1024 TB = 2048 TB.
310

Explain the difference between DELETE and DROP commands in SQL.

LONG Medium
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: DELETE is a DML command that removes rows/records from a table (optionally based on a WHERE condition) while keeping the table structure intact; the deleted data can potentially be rolled back in some systems. DROP is a DDL command that removes the entire table (both structure and data) from the database permanently; once dropped, the table itself no longer exists.
311

Convert: 3 GB = ______ TB.

SHORT Medium
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: 3 GB = 3 x 1024 TB = 3072 TB.
312

Which window in NetBeans IDE is used to change the properties of a currently selected control on the form?

MCQ Easy
a. Inspector Window
b. Properties Window
c. Code Editor Window
d. Palette
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Properties Window
Explanation: The Properties Window allows changes to be made to the properties of the currently selected control on the form.
313

Convert: 4 GB = ______ TB.

SHORT Medium
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: 4 GB = 4 x 1024 TB = 4096 TB.
314

Controls that act as a background for other controls (e.g., Frame) are called:

MCQ Medium
a. Child controls
b. Parent/container controls
c. Static controls
d. Event controls
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Parent/container controls
Explanation: Parent or container controls act as a background for other (child) controls; deleting a parent deletes its children too.
315

Convert: 5 GB = ______ TB.

SHORT Medium
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: 5 GB = 5 x 1024 TB = 5120 TB.
316

Which method is used to retrieve the text typed into a jTextField?

MCQ Easy
a. setText()
b. getText()
c. isEditable()
d. setVisible()
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
getText()
Explanation: getText() is a getter method used to retrieve the text/content of a component like jTextField.
317

Convert: 1 KB = ______ GB (Hint: use the conversion chain).

SHORT Hard
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: 1 KB = 1 x 1024^2 GB = 1048576 GB.
318

Which component allows only a single line of confidential input, hiding characters with an echo character (default '*')?

MCQ Easy
a. jTextArea
b. jPasswordField
c. jTextField
d. jLabel
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
jPasswordField
Explanation: jPasswordField is used for confidential single-line input, replacing each character with an echo character (default asterisk).
319

Convert: 2 KB = ______ GB (Hint: use the conversion chain).

SHORT Hard
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: 2 KB = 2 x 1024^2 GB = 2097152 GB.
320

Which component is preferred over checkboxes when many options are available and space needs to be saved?

MCQ Medium
a. jRadioButton
b. jList
c. jTextArea
d. jLabel
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
jList
Explanation: jList is preferred over checkboxes when multiple options need to be selected from a large set, as it saves space.