Class 12

Information Technology (802)

351 questions available

Refine

All questions

351 results
101

Creating the backend database, developing the frontend, and establishing data connectivity between them is part of which phase?

MCQ Medium
a. Requirement Definition Phase
b. Design Phase
c. Implementation Phase
d. Testing Phase
Information Technology (802) · Class 12 · Sep 26, 2026
Show answer
Implementation Phase
Explanation: The Implementation Phase involves creating the backend database, frontend, and the connectivity between them.
102

Testing each page and feature of an application, finding and fixing bugs, is part of which phase?

MCQ Easy
a. Design Phase
b. Implementation Phase
c. Testing Phase
d. Planning Phase
Information Technology (802) · Class 12 · Sep 26, 2026
Show answer
Testing Phase
Explanation: The Testing Phase involves testing the complete application, finding bugs, fixing them, and validating the modified code.
103

Project Management is the process of achieving project objectives through activities defined within a time frame using knowledge, skills, tools and techniques.

TRUE FALSE Medium
a. TRUE
b. FALSE
Information Technology (802) · Class 12 · Sep 26, 2026
Show answer
TRUE
Explanation: Project Management is the application of knowledge, skills, tools, and techniques to project activities to meet requirements within a defined time frame.
104

Name the four main phases in the development of a web-based application.

SHORT Easy
Information Technology (802) · Class 12 · Sep 26, 2026
Show answer
Explanation: Requirement Definition Phase, Design Phase, Implementation Phase, and Testing Phase (with a Planning and Monitoring phase running across all of them).
105

What two aspects of feasibility should be checked in the Requirement Definition Phase?

SHORT Medium
Information Technology (802) · Class 12 · Sep 26, 2026
Show answer
Explanation: Technical feasibility (is it possible to do?) and economic feasibility (is it profitable?).
106

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.
107

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.
108

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.
109

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.
110

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 (//).
111

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 */.
112

In Java, a group of related classes is called a:

MCQ Medium
a. Method
b. Object
c. Package
d. Constructor
Information Technology (802) · Class 12 · Sep 26, 2026
Show answer
Package
Explanation: A package in Java is a group of related classes; classes in the same package can share data and code.
113

Which special method must every Java application have, as the first point of execution?

MCQ Easy
a. start()
b. main()
c. run()
d. execute()
Information Technology (802) · Class 12 · Sep 26, 2026
Show answer
main()
Explanation: The main() method is a special method that every Java application must have; its statements are executed first when the program runs.
114

Which pre-built Java method is commonly used to print a line of output followed by a newline?

MCQ Easy
a. System.out.write()
b. System.out.println()
c. System.print()
d. Console.log()
Information Technology (802) · Class 12 · Sep 26, 2026
Show answer
System.out.println()
Explanation: System.out.println() is used to print output followed by a newline character.
115

What is the key difference between System.out.println() and System.out.print()?

MCQ Easy
a. print() adds a newline after output, println() does not
b. println() adds a newline after output, print() does not
c. There is no difference
d. print() only works with numbers
Information Technology (802) · Class 12 · Sep 26, 2026
Show answer
println() adds a newline after output, print() does not
Explanation: System.out.println() prints the output followed by a newline, causing subsequent output to appear on a new line; System.out.print() does not add a newline.
116

What is a variable in Java?

MCQ Easy
a. A fixed constant value
b. A placeholder for data that can change its value during program execution
c. A type of loop
d. A comment in the code
Information Technology (802) · Class 12 · Sep 26, 2026
Show answer
A placeholder for data that can change its value during program execution
Explanation: A variable is a placeholder for data that can change its value during program execution — technically, a name for a storage location in memory.
117

Which data type would be appropriate for storing a variable that can have fractional (floating point) values, e.g., percentage?

MCQ Easy
a. int
b. double
c. boolean
d. char
Information Technology (802) · Class 12 · Sep 26, 2026
Show answer
double
Explanation: double is a floating-point data type suitable for storing fractional values like percentage.
118

How many primitive data types does Java support?

MCQ Medium
a. Four
b. Six
c. Eight
d. Ten
Information Technology (802) · Class 12 · Sep 26, 2026
Show answer
Eight
Explanation: Java supports eight primitive data types: byte, short, int, long, float, double, char, and boolean.
119

Which primitive data type in Java occupies 64 bits and stores integer values (largest of the integer types)?

MCQ Medium
a. byte
b. short
c. int
d. long
Information Technology (802) · Class 12 · Sep 26, 2026
Show answer
long
Explanation: The long data type occupies 64 bits and stores the largest range of integer values among Java's integer types.
120

Which primitive data type stores True or False values and occupies 1 bit?

MCQ Easy
a. char
b. boolean
c. byte
d. int
Information Technology (802) · Class 12 · Sep 26, 2026
Show answer
boolean
Explanation: The boolean data type stores True or False values and occupies 1 bit.