Unit 5: Input in Java

Unit 5: Input in Java

9th - 10th Grade

14 Qs

quiz-placeholder

Similar activities

Identify the Line with Syntax Error

Identify the Line with Syntax Error

10th - 11th Grade

15 Qs

Alat - Alat Fiber Optic dan Fungsinya

Alat - Alat Fiber Optic dan Fungsinya

10th Grade

10 Qs

INTRODUCCION A LA PROGRAMACION

INTRODUCCION A LA PROGRAMACION

6th Grade - University

10 Qs

9 сын-4 тоқсанБЖБ

9 сын-4 тоқсанБЖБ

9th Grade

11 Qs

Greenfoot

Greenfoot

10th - 12th Grade

17 Qs

Python List

Python List

4th Grade - University

15 Qs

Python

Python

8th - 9th Grade

15 Qs

# REVIEW 1 DATA TYPES

# REVIEW 1 DATA TYPES

10th Grade

15 Qs

Unit 5: Input in Java

Unit 5: Input in Java

Assessment

Quiz

Computers

9th - 10th Grade

Practice Problem

Hard

Created by

Rajat Shenoi

Used 86+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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?