Unit 5: Input in Java

Unit 5: Input in Java

9th - 10th Grade

14 Qs

quiz-placeholder

Similar activities

input, output & storage devices

input, output & storage devices

10th Grade

15 Qs

Java Basics (Data Types and Variables)

Java Basics (Data Types and Variables)

6th - 10th Grade

16 Qs

KS3 Google Quiz L4

KS3 Google Quiz L4

5th - 9th Grade

15 Qs

Python Basics Review

Python Basics Review

10th Grade

18 Qs

Intro to JavaScript

Intro to JavaScript

9th - 12th Grade

16 Qs

JAVA Math Operations

JAVA Math Operations

9th - 10th Grade

15 Qs

Lesson 1.1 Statement terms Python

Lesson 1.1 Statement terms Python

7th - 9th Grade

18 Qs

X Comp Quiz

X Comp Quiz

10th Grade

17 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?