Unit 5: Input in Java

Quiz
•
Computers
•
9th - 10th Grade
•
Hard
Rajat Shenoi
Used 84+ 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
NHTW Programming

Quiz
•
9th Grade
16 questions
Variables, Inputs and Concatenation

Quiz
•
9th Grade
15 questions
GCSE - 2.3 Producing Robust Programs

Quiz
•
9th - 11th Grade
15 questions
Python Casting and Input

Quiz
•
8th - 11th Grade
18 questions
Foundations of Programming

Quiz
•
9th - 10th Grade
16 questions
algorithms and programming

Quiz
•
8th - 10th Grade
15 questions
Python - Chpt 1 - Review

Quiz
•
9th - 12th Grade
10 questions
Python Input/Output

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
19 questions
Mental Health Vocabulary Pre-test

Quiz
•
9th Grade
14 questions
Points, Lines, Planes

Quiz
•
9th Grade