
Unit 5: Input in Java
Authored by Rajat Shenoi
Computers
9th - 10th Grade
Used 86+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
แบบทดสอบก่อนเรียน กราฟิกและการออกแบบเว็บไซต์
Quiz
•
9th Grade
10 questions
NETWORK TOPOLOGY
Quiz
•
10th Grade
18 questions
Part of the computer - 7
Quiz
•
7th - 9th Grade
16 questions
Python Basics
Quiz
•
KG - University
17 questions
"switch" Java Statement - 1
Quiz
•
9th - 10th Grade
10 questions
BP TIK 1
Quiz
•
10th Grade
15 questions
Networking Quiz
Quiz
•
8th - 9th Grade
15 questions
Lua Review Corona SDK with Notepad++
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade