Unit 5: Input in Java

Unit 5: Input in Java

9th - 10th Grade

14 Qs

quiz-placeholder

Similar activities

Python If Else

Python If Else

9th - 10th Grade

14 Qs

Programing Revision

Programing Revision

7th - 12th Grade

15 Qs

Python Re-Cap

Python Re-Cap

7th - 9th Grade

16 Qs

Python

Python

10th - 11th Grade

10 Qs

Functions in Python

Functions in Python

9th - 12th Grade

16 Qs

SOAL TIK KELAS X

SOAL TIK KELAS X

10th Grade

10 Qs

Coding Python 1.1. Statements & Variables

Coding Python 1.1. Statements & Variables

7th - 9th Grade

14 Qs

Python Basics Quiz

Python Basics Quiz

6th - 10th Grade

15 Qs

Unit 5: Input in Java

Unit 5: Input in Java

Assessment

Quiz

Computers

9th - 10th Grade

Hard

Created by

Rajat Shenoi

Used 86+ times

FREE Resource

14 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

15 mins • 1 pt

Name the package that contains Scanner class.

2.

FILL IN THE BLANK QUESTION

15 mins • 1 pt

Complete the code below to create an object of Scanner class:

Scanner sc = new Scanner(______);

3.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Name the type of error in case given below:

Missing semicolon.

Syntax Error

Logical Error

Run-time error

4.

FILL IN THE BLANK QUESTION

15 mins • 1 pt

Name the method of Scanner class that is used to input an integer data from the standard input stream.

5.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Name the type of error in case given below:

int a;b;c;

Syntax Error

Logical Error

Run-time error

6.

MULTIPLE SELECT QUESTION

15 mins • 1 pt

Which of the following are valid comments?

/* comment */

* comment

// coment

*/ comment */

7.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Name the type of error in case given below:

Math.sqrt(36 – 45)

Syntax Error

Logical Error

Run-time error

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?