A question bank for every class and subject

Practice questions, with answers and explanations included

794 questions available

Refine

All questions

794 results
261

Which of these tools aims to protect the internal network from malicious traffic from external networks?

MCQ Easy
a. Antivirus
b. Password Manager
c. Firewall
d. Cookie
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Firewall
Explanation: A firewall inspects network traffic and blocks data that violates security constraints, protecting internal networks from malicious external traffic.
262

What is the value of 25 % 7 in Java (the remainder operator)?

MCQ Easy
a. 4
b. 3
c. 175
d. 32
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
4
Explanation: The % operator returns the remainder of division. 25 % 7 = 4.
263

Explain the four phases of web application development along with the key activities performed in each phase.

LONG Hard
Information Technology (802) · Class 12 · Sep 26, 2026
Show answer
Explanation: 1) Requirement Definition Phase: identify the problem statement, check feasibility (technical and economic), and define the scope (application features, goals, limitations). 2) Design Phase: design a map of the web application site (pages and their relationships), design the database (tables, attributes, data types, relationships), and design the page structure (header, main content, sidebar). 3) Implementation Phase: create the backend database with SQL code, develop the frontend as per the page structure/layout (deciding on input controls like radio buttons, checkboxes, lists), and establish data connectivity between frontend and backend. 4) Testing Phase: test the complete application (frontend and backend) with sample data, find and fix bugs, and validate the modified code before final release.
264

Which act was introduced as an amendment to the IT Act 2000 for cyber security?

MCQ Hard
a. Information Technology Amendment Act, 2008
b. Cyber Crime Prevention Act, 2010
c. Digital India Act, 2005
d. Data Protection Act, 2000
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Information Technology Amendment Act, 2008
Explanation: The Information Technology Amendment Act, 2008 was introduced as an amendment to the IT Act 2000 to address cyber security.
265

What is the value of 18 % 6 in Java (the remainder operator)?

MCQ Easy
a. 0
b. 3
c. 108
d. 24
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
0
Explanation: The % operator returns the remainder of division. 18 % 6 = 0.
266

A Java compiler translates Java source code into:

MCQ Easy
a. Machine language directly
b. Java Bytecode
c. Assembly language
d. HTML
Information Technology (802) · Class 12 · Sep 26, 2026
Show answer
Java Bytecode
Explanation: A Java compiler translates Java code into Java Bytecode (a highly optimized instruction set), not directly into machine code.
267

Which of the following is a small piece of information about a client stored by a website's server, later saved on the client's browser?

MCQ Medium
a. Malware
b. Cookie
c. Firewall
d. Patch
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Cookie
Explanation: A cookie is a small piece of client information stored by the server and later kept in the browser's cookie directory.
268

What is the value of 11 % 3 in Java (the remainder operator)?

MCQ Easy
a. 2
b. 3
c. 33
d. 14
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
2
Explanation: The % operator returns the remainder of division. 11 % 3 = 2.
269

What is the name of the Java interpreter that translates bytecode into machine code and executes it?

MCQ Easy
a. Java Development Kit (JDK)
b. Java Virtual Machine (JVM)
c. Java Runtime Compiler (JRC)
d. Java Native Interface (JNI)
Information Technology (802) · Class 12 · Sep 26, 2026
Show answer
Java Virtual Machine (JVM)
Explanation: The Java Virtual Machine (JVM) is the interpreter that translates bytecode into machine code for execution on a given platform.
270

A firewall and an antivirus perform the exact same function in system security.

TRUE FALSE Medium
a. TRUE
b. FALSE
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
FALSE
Explanation: A firewall controls network traffic to protect from external threats, while an antivirus detects and removes malicious programs already present on a system; they serve complementary but different roles.
271

What is the value of 30 % 4 in Java (the remainder operator)?

MCQ Easy
a. 2
b. 7
c. 120
d. 34
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
2
Explanation: The % operator returns the remainder of division. 30 % 4 = 2.
272

Java programs are described as 'platform independent' because:

MCQ Easy
a. They can only run on Windows
b. Compiled bytecode can run on any platform having a JVM
c. They do not need to be compiled
d. They only work with MySQL
Information Technology (802) · Class 12 · Sep 26, 2026
Show answer
Compiled bytecode can run on any platform having a JVM
Explanation: Since bytecode can be run on any platform with a JVM, Java programs are platform independent and highly portable.
273

Cyberstalking involves repeatedly attempting to contact a person despite a clear indication of disinterest.

TRUE FALSE Medium
a. TRUE
b. FALSE
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
TRUE
Explanation: Cyberstalking is the use of electronic communication to follow or repeatedly contact a person despite their disinterest.
274

What is the value of 13 % 5 in Java (the remainder operator)?

MCQ Easy
a. 3
b. 2
c. 65
d. 18
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
3
Explanation: The % operator returns the remainder of division. 13 % 5 = 3.
275

Which of the following is used to write a SINGLE LINE comment in Java?

MCQ Easy
a. /* comment */
b. # comment
c. // comment
d. <!-- comment -->
Information Technology (802) · Class 12 · Sep 26, 2026
Show answer
// comment
Explanation: Single-line comments in Java begin with two consecutive forward slashes (//).
276

HTTPS is a secure version of the protocol used for communication between a client and host on the Internet.

TRUE FALSE Easy
a. TRUE
b. FALSE
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
TRUE
Explanation: HTTPS (Secure HyperText Transfer Protocol) is the secure version of HTTP for client-host communication over the Internet.
277

What is the value of 22 % 9 in Java (the remainder operator)?

MCQ Easy
a. 4
b. 2
c. 198
d. 31
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
4
Explanation: The % operator returns the remainder of division. 22 % 9 = 4.
278

Which of the following is used to write a MULTI-LINE comment in Java?

MCQ Easy
a. // comment
b. /* comment */
c. <!-- comment -->
d. # comment #
Information Technology (802) · Class 12 · Sep 26, 2026
Show answer
/* comment */
Explanation: Multi-line comments in Java are written between the symbols /* and */.
279

What is Ransomware?

SHORT Medium
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
Explanation: Ransomware is a type of malware where the victim's data/device is encrypted, and the victim is asked to pay a ransom to get the device decrypted.
280

Assuming integer division, what is the value of 17 / 5 in Java?

MCQ Medium
a. 3
b. 3.4
c. 2
d. 12
Information Technology (802) · Class 11 · Sep 26, 2026
Show answer
3
Explanation: In Java, dividing two int values performs integer division, discarding the remainder. 17 / 5 = 3.