Question Bank

1085 approved questions from the community

What does the 'public' access modifier mean in Java?

EASY
SINGLE CHOICE
25s
Java
by Mohamed

The Bootstrap ClassLoader in Java is written in Java code.

EASY
TRUE FALSE
20s
Java
by Mohamed

Java bytecode consists of instructions that are specific to the underlying hardware architecture.

EASY
TRUE FALSE
20s
Java
by Mohamed

What is the purpose of exception handling in Java?

EASY
SINGLE CHOICE
30s
Java
by Mohamed

The JVM can execute Java source code (.java files) directly without compilation.

EASY
TRUE FALSE
20s
Java
by Mohamed

What is the purpose of auto-boxing in Java?

EASY
SINGLE CHOICE
30s
Java
by Mohamed

What is unboxing in Java?

EASY
SINGLE CHOICE
25s
Java
by Mohamed

Primitive types in Java can be assigned a null value.

EASY
TRUE FALSE
20s
Java
by Mohamed

Which tag is used to create a paragraph in HTML?

EASY
SINGLE CHOICE
20s
HTML
by Mohamed

What is the purpose of the `<small>` tag in HTML5?

EASY
SINGLE CHOICE
25s
HTML
by Mohamed

What is the correct DOCTYPE declaration for an HTML5 document?

EASY
SINGLE CHOICE
25s
HTML
by Mohamed

The HTML5 specification requires a closing tag for the `<script>` element.

EASY
TRUE FALSE
25s
HTML
by Mohamed

HTML5 introduced new semantic elements like `<header>`, `<footer>`, and `<nav>` to improve code structure and accessibility.

EASY
TRUE FALSE
25s
HTML
by Mohamed

Which HTML tag is used to define the root element of an HTML page?

EASY
SINGLE CHOICE
25s
HTML
by Mohamed

The `<br>` tag requires a closing tag like `</br>`.

EASY
TRUE FALSE
20s
HTML
by Mohamed

Semantic HTML tags affect both the meaning and the default visual presentation of content.

EASY
TRUE FALSE
25s
HTML
by Mohamed

What is the correct syntax for adding a comment in HTML?

EASY
SINGLE CHOICE
25s
HTML
by Mohamed

HTML comments are visible to website visitors in their browser.

EASY
TRUE FALSE
20s
HTML
by Mohamed

The `<body>` section contains all the visible content that users see and interact with on a web page.

EASY
TRUE FALSE
20s
HTML
by Mohamed

The DOCTYPE declaration is an HTML tag that defines the document structure.

EASY
TRUE FALSE
25s
HTML
by Mohamed
PreviousPage 42 of 55Next