Name the package that contains Scanner class.
Unit 5: Input in Java

Quiz
•
Computers
•
9th - 10th Grade
•
Hard
Rajat Shenoi
Used 83+ times
FREE Resource
14 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
15 mins • 1 pt
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
Similar Resources on Quizizz
14 questions
year 8 lesson 2 quiz - python

Quiz
•
8th - 10th Grade
10 questions
Python Basics

Quiz
•
8th - 10th Grade
17 questions
Python - Quiz

Quiz
•
9th - 11th Grade
15 questions
Selection in Python

Quiz
•
1st - 9th Grade
14 questions
S3 SDD Unit 2 - 5. Testing

Quiz
•
9th Grade
19 questions
AP Computer Science A Unit 1

Quiz
•
9th - 12th Grade
18 questions
Lesson 1.1 Statement terms Python

Quiz
•
7th - 9th Grade
10 questions
Errors in Programming

Quiz
•
9th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University