Question Bank

3705 approved questions from the community

Java's platform independence means the same compiled bytecode can run on different operating systems without modification.

EASY
TRUE FALSE
25s
Java
by Mohamed

Java's architecture-neutral design allows it to scale across different hardware and software configurations.

MEDIUM
TRUE FALSE
25s
Java
by Mohamed

The finally block in Java's exception handling is always executed regardless of whether an exception occurs.

EASY
TRUE FALSE
25s
Java
by Mohamed

What is polymorphism in Java?

MEDIUM
SINGLE CHOICE
35s
Java
by Mohamed

What is the Java Native Interface (JNI)?

MEDIUM
SINGLE CHOICE
35s
Java
by Mohamed

What does 'WORA' stand for in Java?

EASY
SINGLE CHOICE
25s
Java
by Mohamed

How does Java achieve security in its platform?

MEDIUM
SINGLE CHOICE
35s
Java
by Mohamed

What is the purpose of the 'throws' keyword in Java?

MEDIUM
SINGLE CHOICE
30s
Java
by Mohamed

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

EASY
SINGLE CHOICE
25s
Java
by Mohamed

What is the difference between 'protected' and 'default' (package-private) access in Java?

MEDIUM
SINGLE CHOICE
35s
Java
by Mohamed

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

EASY
TRUE FALSE
25s
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

HTML comments are visible to website visitors in their browser.

EASY
TRUE FALSE
20s
HTML
by Mohamed

Data attributes in HTML5 can only store string values.

MEDIUM
TRUE FALSE
25s
HTML
by Mohamed

The `<i>` tag should be preferred over `<em>` for emphasizing text in modern HTML.

MEDIUM
TRUE FALSE
25s
HTML
by Mohamed

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

EASY
TRUE FALSE
25s
HTML
by Mohamed

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

EASY
TRUE FALSE
20s
HTML
by Mohamed

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

EASY
SINGLE CHOICE
25s
HTML
by Mohamed

What is the correct format for the `lang` attribute to specify British English?

MEDIUM
SINGLE CHOICE
30s
HTML
by Mohamed

What is the primary purpose of data-* attributes in HTML5?

HARD
SINGLE CHOICE
35s
HTML
by Mohamed
PreviousPage 142 of 186Next