A question bank for every class and subject

Practice questions, with answers and explanations included

794 questions available

Refine

All questions

794 results
161

Write an SQL query using GROUP BY and HAVING to find departments having more than one teacher.

SHORT Hard
Information Technology (802) · Class 12 · Sep 26, 2026
Show answer
Explanation: SELECT Dept_No, Dept_Name, COUNT(*) AS No_of_Teachers FROM Teacher, Department WHERE Dept_No = Dept_ID GROUP BY Dept_No HAVING COUNT(*) > 1;
162

ARPANET, developed in 1969, made use of which technology?

MCQ Medium
a. Circuit switching
b. Digital packet switching
c. Frequency hopping
d. Optical switching
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Digital packet switching
Explanation: ARPANET was developed using digital packet switching technology proposed by Paul Baran, Donald Davies, and Len Kleinrock.
163

Write an SQL query to display fname and marks of students where fname starting with the letter 'A'.

SHORT Easy
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: SELECT fname, marks FROM STUDENT WHERE fname LIKE 'A%';
164

Write an SQL query to update the salary of teacher with Teacher_ID = 101 to 55000.

SHORT Easy
Information Technology (802) · Class 12 · Sep 26, 2026
Show answer
Explanation: UPDATE Teacher SET Salary = 55000 WHERE Teacher_ID = 101;
165

Which body coordinates the assignment of unique identifiers like domain names and IP addresses on the Internet?

MCQ Medium
a. IETF
b. ICANN
c. ISP
d. W3C
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
ICANN
Explanation: ICANN (Internet Corporation for Assigned Names and Numbers) coordinates domain names, IP addresses, and other identifiers.
166

Write an SQL query to display fname and marks of students where fname ending with the letter 'H'.

SHORT Medium
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: SELECT fname, marks FROM STUDENT WHERE fname LIKE '%H';
167

Write an SQL query to increase the salary of teacher named 'Shanaya' by 5000.

SHORT Medium
Information Technology (802) · Class 12 · Sep 26, 2026
Show answer
Explanation: UPDATE Teacher SET Salary = Salary + 5000 WHERE Teacher_Name = 'Shanaya';
168

In which mode of communication can data be transferred in only one direction?

MCQ Easy
a. Simplex
b. Half-duplex
c. Full-duplex
d. Duplex
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Simplex
Explanation: In simplex mode, information can be transferred only in one direction (unidirectional).
169

Write an SQL query to display fname and marks of students where fname containing the substring 'AN'.

SHORT Medium
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: SELECT fname, marks FROM STUDENT WHERE fname LIKE '%AN%';
170

Write an SQL query to delete the tuple for teacher with Teacher_ID = 101.

SHORT Easy
Information Technology (802) · Class 12 · Sep 26, 2026
Show answer
Explanation: DELETE FROM Teacher WHERE Teacher_ID = 101;
171

Which network device connects two or more LANs, possibly operating at different speeds?

MCQ Medium
a. Repeater
b. Hub
c. Bridge
d. Switch
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Bridge
Explanation: A bridge is a multiport device used to connect two or more LANs, enabling communication between devices on different LAN segments.
172

Write an SQL query to display fname and marks of students where fname of exactly five characters.

SHORT Easy
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: SELECT fname, marks FROM STUDENT WHERE fname LIKE '_____';
173

Consider the Employee table (Employee_ID [PK], Employee_Name, Job_Title, Salary, Bonus, Age, Manager_ID [FK referencing Employee_ID]): Write SQL commands to (a) create the table (b) delete the employee with Employee_ID 1217 (c) update the salary of 'Amyra' to 40000.

LONG Hard
Information Technology (802) · Class 12 · Sep 26, 2026
Show answer
Explanation: (a) CREATE TABLE Employee (Employee_ID INTEGER PRIMARY KEY, Employee_Name VARCHAR(20), Job_Title VARCHAR(20), Salary DECIMAL(10,2), Bonus DECIMAL(10,2), Age INTEGER, Manager_ID INTEGER, FOREIGN KEY (Manager_ID) REFERENCES Employee(Employee_ID)); (b) DELETE FROM Employee WHERE Employee_ID = 1217; (c) UPDATE Employee SET Salary = 40000 WHERE Employee_Name = 'Amyra';
174

Which network device is used to restore a weakened/distorted signal so it can travel farther?

MCQ Medium
a. Router
b. Repeater
c. Gateway
d. Switch
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Repeater
Explanation: A repeater restores the input signal to its original form; it is also called a digital regenerator.
175

Write an SQL query to display fname and marks of students where marks IS NULL.

SHORT Medium
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: SELECT fname, marks FROM STUDENT WHERE marks IS NULL;
176

For the same Employee table, write SQL queries to: (a) display names and salaries of employees whose salary is greater than 20000 (b) display details of employees who are not getting any bonus (c) display names of employees whose name ends with the letter 'a' (d) display name and job title of employees whose Manager_ID is 1201.

LONG Hard
Information Technology (802) · Class 12 · Sep 26, 2026
Show answer
Explanation: (a) SELECT Employee_Name, Salary FROM Employee WHERE Salary > 20000; (b) SELECT * FROM Employee WHERE Bonus IS NULL; (c) SELECT Employee_Name FROM Employee WHERE Employee_Name LIKE '%a'; (d) SELECT Employee_Name, Job_Title FROM Employee WHERE Manager_ID = 1201;
177

Which topology uses a backbone cable, with nodes connected via a tap connector?

MCQ Easy
a. Star
b. Ring
c. Bus
d. Mesh
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Bus
Explanation: Bus topology uses a long backbone cable to which nodes connect via taps; it requires less cabling but fault detection is difficult.
178

Write an SQL query to display fname and marks of students where marks IS NOT NULL.

SHORT Medium
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: SELECT fname, marks FROM STUDENT WHERE marks IS NOT NULL;
179

For the same Employee table, write SQL queries to: (a) display name and job title of employees whose manager is 'Amyra' (using a self-join/nested query) (b) display name and job title of employees aged between 26 and 30 years (both inclusive).

LONG Hard
Information Technology (802) · Class 12 · Sep 26, 2026
Show answer
Explanation: (a) SELECT Employee_Name, Job_Title FROM Employee WHERE Manager_ID = (SELECT Employee_ID FROM Employee WHERE Employee_Name = 'Amyra'); (b) SELECT Employee_Name, Job_Title FROM Employee WHERE Age BETWEEN 26 AND 30;
180

Which topology requires a dedicated point-to-point link between every pair of nodes?

MCQ Medium
a. Bus
b. Ring
c. Star
d. Mesh
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Mesh
Explanation: In mesh topology, every node is connected to every other node through a dedicated link.