
CS402 T03a
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Medium
Mike Wong
Used 4+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
1. What is the result of 1 > 2 in Java?
1. What is the result of 1 > 2 in Java?
1
2
true
false
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
2. Which data type does a conditional expression return in Java?
int
boolean
char
float
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
3. What will if (radius >= 0) check?
If radius is positive
If radius is negative
If radius is equal to zero
If radius is a whole number
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
4. What symbol is used to represent the AND operator in Java?
||
^
&&
!
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
5. Which operator is used to invert a boolean value?
&&
||
^
!
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
6. Which statement correctly checks if i is equal to j?
i >= j
i = j
i == j
i > j
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be printed by the following code if score is 69.9?
if (score >= 70.0)
System.out.print("C");
else
System.out.print("F");
C
F
runtime error
syntax error
Create a free account and access millions of resources
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
10 questions
GUESS THAT WORD IN CYBER!
Quiz
•
Professional Development
10 questions
Let's Play Together
Quiz
•
University - Professi...
10 questions
Mobile Offline Sync - OutSystems
Quiz
•
Professional Development
15 questions
Unit 1 lesson 1
Quiz
•
University - Professi...
10 questions
CodeMonkey Platform Management & Resources
Quiz
•
Professional Development
10 questions
INTO Artificial Intelligence
Quiz
•
University - Professi...
10 questions
Számítógépes fogalmak
Quiz
•
Professional Development
15 questions
Computer basics for beginners
Quiz
•
Professional Development
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
Disney Characters
Quiz
•
Professional Development
20 questions
Customer Service
Quiz
•
Professional Development
10 questions
Food Idioms
Quiz
•
Professional Development
20 questions
NCCER Power Tools Quiz
Quiz
•
Professional Development
