Search Header Logo

MIDTERM IS2C ONLINE QUIZ

Authored by Mary Columbres

Computers

1st Grade

Used 2+ times

MIDTERM IS2C ONLINE QUIZ
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is usually some form or error, which happens during the normal course of program execution.

Exception

Swing

Input

IO

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What package is needed for JOptionPane

java.io

java.util

javax.swing

javax.data

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This is a method from JOptionPane where you can use for displaying a message.

showDialog()

showOptionPane()

showMessageDialog()

showDisplayDialog()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify what type of exception that shown below:

int x;

x=10/3;

IOException

NumberFormatException

ArithmeticException

ArrayFormatException

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify what type of exception that shown below:

String name[]=new String[5];

name[5]="";

ArrayFormatException

ArrayIndexOutOfBoundsException

NullPointerException

StackOverFlowException

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify what type of exception that shown below:

int x=10, y=0;

int result;

result=x/y;

NumberFormatException

NullPointerException

ArithmeticException

ArrayFormatException

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A method from JOptionPane that used to get input from the user.

showJOptionpaneDialog()

showInputDialog()

showGetDialog()

showSetDalog()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?