Unit 5: Input in Java

Quiz
•
Computers
•
9th - 10th Grade
•
Hard
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
Similar Resources on Wayground
10 questions
Perangkat Input Output

Quiz
•
10th - 12th Grade
15 questions
CICS Test 2 Review

Quiz
•
9th - 12th Grade
10 questions
KD-1 Dasar pemrograman python

Quiz
•
10th Grade
13 questions
Entry Level - Programming Techniques

Quiz
•
8th - 9th Grade
12 questions
Syntax and Logic Errors

Quiz
•
9th - 11th Grade
18 questions
Python 11

Quiz
•
9th Grade
10 questions
Python Input/Output

Quiz
•
9th - 12th Grade
17 questions
Project Stem Python Unit 1 Test Review

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade