Scanner & If Statements

Quiz
•
Computers
•
5th - 12th Grade
•
Hard
Khushi H
Used 38+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
14 >= 14
15 > 15
16 != 16
18 >= 19
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
2 + 2 == 4
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Math.pow(2, 3) >= 9;
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
True/False: The body of an "if" statement will only be executed if the condition is true.
True
False
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What happens to the code in the body of an "if" statement if the condition is false?
The computer determines if it is essential to the program and if it is, then the code is executed anyway.
The code moves to a coastal city, attempting to find love and start a family. However, low waged and crushing mortgage rates lead to it moving back home where it sits, hoping that one day it will be executed.
The code is skipped.
The code stages a revolution and attempts to take over the program, ultimately unsuccessfully, which leads to it not being executed.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of these can be paired with an "if" statement to represent other outcomes of a scenario?
or
else
but
sheboygan
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which symbol means "not equal to"?
==
<=
>=
!=
Create a free account and access millions of resources
Similar Resources on Wayground
23 questions
Java conditional/loop/method/user input

Quiz
•
9th - 12th Grade
21 questions
Input and Output devices

Quiz
•
5th Grade
20 questions
Computer Hardware

Quiz
•
6th - 8th Grade
15 questions
JavaScript and Graphics

Quiz
•
9th - 12th Grade
17 questions
CMU Unit 2 Practice Test

Quiz
•
10th - 12th Grade
20 questions
Python Basic 1

Quiz
•
12th Grade
18 questions
Підсумкове оцінювання № 1. Мова програмування Java

Quiz
•
7th Grade
22 questions
IST CodeHS Unit 8 JavaScript Review

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
12 questions
3-5 Digital Citizenship: Appropriate Use

Quiz
•
3rd - 5th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade