
Revision (Input+if)
Authored by Ruchita Dave
Computers
9th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is right way of defining String variable?
String name = "John";
String name = "John"
String name = John;
String name "John";
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Name the data type: 1.0
double
int
char
boolean
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you declare a variable that tells you that someone passed a class?
boolean passed = 'true';
boolean passed = true;
passed = true;
String passed = "true";
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
int sum1 = 100 + 50;
int sum2 = sum1 + 250;
int sum3 = sum2 + sum2;
System.out.println(sum3);
What will be the final output?
950
800
sum2sum2
sum1250
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
int x = 4;
System.out.println(x < 5 && x < 10);
What will be the output?
false
true
4
x < 5 && x < 10
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output?
more than 7
more than 23
spam
7
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This operator means that one value is the same as the other value
==
!=
>
<
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
14 questions
Python Basics - Year 8
Quiz
•
7th - 9th Grade
12 questions
N5 SDD - Python input and output
Quiz
•
7th - 11th Grade
9 questions
ПИТОН
Quiz
•
9th Grade
14 questions
Bài 29. Nhận biết lỗi chương trình
Quiz
•
9th - 12th Grade
15 questions
Java Math
Quiz
•
9th - 12th Grade
10 questions
Java Quiz 1: Introduction
Quiz
•
6th - 12th Grade
10 questions
PF Unit 10
Quiz
•
9th Grade - University
16 questions
Lesson Plan 2.2
Quiz
•
9th - 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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