Twa kɔ nsɛm atitiriw so
Log in
Sign up for FREE
arrow_back
Laabri

Input Test

star
star
star
star
star
Last updated over 2 years ago
25 Nsɛmmisa
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
Asemmisa {{asɛmmisaAhyɛnsode}}
1.

Which of the following Scanner methods can be used to read in 65535 ?

Asemmisa {{asɛmmisaAhyɛnsode}}
2.

Which of the following Scanner methods can be used to read in a line of words?

Asemmisa {{asɛmmisaAhyɛnsode}}
3.

Which of the following Scanner methods can be used to read in the value “apluscompsciisthebest” ?

Asemmisa {{asɛmmisaAhyɛnsode}}
4.

Given the following statement, var must be defined as which of the following types?

var=keyboard.nextFloat();

Asemmisa {{asɛmmisaAhyɛnsode}}
5.

Given the following statement, var must be defined as which of the following types?

var=keyboard.nextLine();

Asemmisa {{asɛmmisaAhyɛnsode}}
6.

Which of the following Scanner methods can be used to read in a double?

Asemmisa {{asɛmmisaAhyɛnsode}}
7.

Given the following statement, var must be defined as which of the following types?

var=keyboard.nextLong();

Asemmisa {{asɛmmisaAhyɛnsode}}
8.

Which of the following Scanner methods can be used to read in a short?

Asemmisa {{asɛmmisaAhyɛnsode}}
9.

Which of the following is the Java class used for input?

Asemmisa {{asɛmmisaAhyɛnsode}}
10.

Which of the following is used in the Scanner constructor to connect to the keyboard?

Asemmisa {{asɛmmisaAhyɛnsode}}
11.

Which of the following Scanner methods can be used to read in a String?

Asemmisa {{asɛmmisaAhyɛnsode}}
12.

Which of the following Scanner methods can be used to read in an integer?

Asemmisa {{asɛmmisaAhyɛnsode}}
13.

Which of the following Scanner methods can be used to read in a byte?

Asemmisa {{asɛmmisaAhyɛnsode}}
14.

Which of the following Scanner methods can be used to read in the value

”apluscompsci is the best” ?

Asemmisa {{asɛmmisaAhyɛnsode}}
15.

Which of the following would correctly define and instantiate a Scanner?

Asemmisa {{asɛmmisaAhyɛnsode}}
16.

Which of the following Scanner methods can be used to read in a long?

Asemmisa {{asɛmmisaAhyɛnsode}}
17.

Given the following statement, var must be defined as which of the following types?

var=keyboard.next();

Asemmisa {{asɛmmisaAhyɛnsode}}
18.

Which of the following Scanner methods can be used to read in 511.278 ?

Asemmisa {{asɛmmisaAhyɛnsode}}
19.

Given the following statement, var must be defined as which of the following types?

var=keyboard.nextByte();

Asemmisa {{asɛmmisaAhyɛnsode}}
20.

Given the following statement, var must be defined as which of the following types?

var=keyboard.nextDouble();

Asemmisa {{asɛmmisaAhyɛnsode}}
21.

Which of the following Scanner methods can be used to read in 45 ?

Asemmisa {{asɛmmisaAhyɛnsode}}
22.

Given the following statement, var must be defined as which of the following types?

var=keyboard.nextShort();

Asemmisa {{asɛmmisaAhyɛnsode}}
23.

Which of the following Scanner methods can be used to read in 32760 ?

Asemmisa {{asɛmmisaAhyɛnsode}}
24.

Given the following statement, var must be defined as which of the following types?

var=keyboard.nextInt();

Asemmisa {{asɛmmisaAhyɛnsode}}
25.

Which of the following Scanner methods can be used to read in a float?