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
20 questions
LOOKUP

Quiz
•
9th Grade - University
20 questions
Barcode

Quiz
•
1st - 10th Grade
17 questions
Direct Input Devices

Quiz
•
7th - 9th Grade
20 questions
SISTEM KOMPUTER KELAS 7

Quiz
•
7th Grade
15 questions
Java Scanner Quiz

Quiz
•
11th Grade
15 questions
Unit4-รหัสเทียม

Quiz
•
12th Grade
18 questions
Hardver - összefoglalás

Quiz
•
6th Grade
20 questions
Sistem Komputer

Quiz
•
9th 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
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

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

Lesson
•
5th - 9th Grade
20 questions
Input, Output, Processing or Storage

Quiz
•
5th - 6th 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