Question bank

Class 11

1 subject · 443 questions

Refine

All questions

443 results
361

Write the SQL statement to remove the column 'Games' from the table 'Student'.

SHORT Medium
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: ALTER TABLE Student DROP Games;
362

What is a Class in Object Oriented Programming?

SHORT Easy
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: A class is used to encapsulate data (data members) and methods together in a single unit, with data members typically kept private/protected and methods kept public.
363

Write the SQL statement to modify the column 'games' in table 'Student' to be of type INTEGER.

SHORT Medium
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: ALTER TABLE Student MODIFY games INTEGER;
364

What is an Object in Object Oriented Programming?

SHORT Easy
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: An object is an instance of a class that is capable of holding actual data in memory locations.
365

Which network device is used to connect individual nodes together such that all nodes connected through it form a single LAN?

MCQ Medium
a. Hub
b. Bridge
c. Switch
d. Gateway
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Switch
Explanation: A switch connects individual nodes, each to a unique port, and forwards data only to the intended destination node; all nodes through a switch form one LAN.
366

Explain the four numeric integer data types available in Java along with their storage sizes and ranges.

LONG Medium
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: byte: 1 byte (8 bits), range -128 to 127. short: 2 bytes (16 bits), range -32768 to 32767. int: 4 bytes (32 bits), range -2^31 to +(2^31-1). long: 8 bytes (64 bits), range -2^63 to +(2^63-1). The choice of data type should be based on the range of values the variable is expected to hold.
367

Which of these best describes a 'node' in a computer network?

MCQ Easy
a. Only a personal computer
b. Any electronic device such as a computer, printer, or fax machine that communicates on the network
c. Only the central server
d. The cable connecting two devices
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Any electronic device such as a computer, printer, or fax machine that communicates on the network
Explanation: Nodes or stations are electronic devices such as computers, printers, fax machines, and telephones that communicate by sending/receiving data.
368

Write Java code (assume text fields jTextField1 for Principal, jTextField2 for Rate, jTextField3 for Time, and jTextField4 for the result) to calculate and display Simple Interest on the click of a button.

LONG Hard
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: double Principal, Rate, SInterest; byte Time; Principal = Double.parseDouble(jTextField1.getText()); Rate = Double.parseDouble(jTextField2.getText()); Time = Byte.parseByte(jTextField3.getText()); SInterest = (Principal*Rate*Time)/100; jTextField4.setText(Double.toString(SInterest));
369

Which network category is used for communication among devices within about 10 meters of one person?

MCQ Easy
a. LAN
b. MAN
c. WAN
d. PAN
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
PAN
Explanation: A Personal Area Network (PAN) is used for communication among devices close to one person, typically within about 10 meters.
370

Explain the syntax and working of the if-else statement in Java with an example (Vote Eligibility Checker).

LONG Hard
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: Syntax: if (conditionalExpression) { statementBlock1; } else { statementBlock2; } — if the condition evaluates to true, statementBlock1 executes; otherwise statementBlock2 (the else part) executes. Example: if (Integer.parseInt(jTextField1.getText()) >= 18) JOptionPane.showMessageDialog(null,"You are eligible to VOTE"); else JOptionPane.showMessageDialog(null,"You are NOT eligible to VOTE"); — this checks the age entered by the user and displays the appropriate eligibility message.
371

Half-duplex communication mode allows:

MCQ Medium
a. Data transfer in only one direction, always
b. Bidirectional communication, but only one node can transmit at a time
c. Both nodes to send and receive simultaneously
d. No data transfer at all
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Bidirectional communication, but only one node can transmit at a time
Explanation: In half-duplex mode, communication is bidirectional, but only one node can transmit data at any given time.
372

Which command is typed in the Command Prompt to check a system's IP address and connection details?

MCQ Medium
a. PING
b. IPCONFIG
c. NETSTAT
d. TRACERT
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
IPCONFIG
Explanation: Typing IPCONFIG in the Command Prompt shows the Connection-specific DNS Suffix, IP Address, etc.
373

The reach of a PAN typically extends up to 10 meters.

TRUE FALSE Easy
a. TRUE
b. FALSE
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
TRUE
Explanation: A Personal Area Network (PAN) typically has a reach of about 10 meters.
374

Which command is used at the command prompt to check whether the network card is working, using the loopback address 127.0.0.1?

MCQ Medium
a. IPCONFIG
b. PING 127.0.0.1
c. NETSTAT 127.0.0.1
d. TELNET 127.0.0.1
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
PING 127.0.0.1
Explanation: Typing 'ping 127.0.0.1' at the command prompt tests whether the network card is working; a reply confirms it is functioning.
375

NIC (Network Interface Card) generally supports full-duplex mode for networking.

TRUE FALSE Medium
a. TRUE
b. FALSE
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
TRUE
Explanation: The NIC on systems for networking supports full-duplex mode, allowing simultaneous sending and receiving of data.
376

The cable that connects the network card in a computer to a network point on the wall is called the:

MCQ Medium
a. Patch panel
b. Fly lead
c. NIC bridge
d. Backbone cable
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Fly lead
Explanation: The fly lead is the cable connecting the network card to a network point, usually on the wall.
377

If a system shows 'Media State: Media disconnected' after running IPCONFIG, it means the system is connected to the Internet.

TRUE FALSE Medium
a. TRUE
b. FALSE
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
FALSE
Explanation: 'Media State: Media disconnected' indicates the system is NOT connected to a network.
378

Turning off unused program services from Startup can help speed up a slow computer.

TRUE FALSE Easy
a. TRUE
b. FALSE
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
TRUE
Explanation: Disabling unused program services that run at startup can prevent unnecessary background load and speed up the system.
379

What is Disk Defragmentation and why is it needed?

SHORT Medium
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: Disk Defragmentation is a process that reclaims gaps/spaces created in files stored on the hard disk over time, which otherwise makes files take more space and can slow down the computer. It is run via Local Disk Properties > Tools tab > Defragment now.
380

What should you do if the computer becomes completely frozen/unresponsive?

SHORT Easy
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: Press and hold the Power button for 5-10 seconds to force a system shutdown, then switch the computer on again.