
CS402 T03a

Quiz
•
Computers
•
Professional Development
•
Medium
Mike Wong
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
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
Similar Resources on Wayground
8 questions
Marathon - Unit 1

Quiz
•
Professional Development
15 questions
Basic Microsoft Word

Quiz
•
1st Grade - Professio...
10 questions
programowanie w php

Quiz
•
Professional Development
12 questions
Flutter Basics

Quiz
•
Professional Development
10 questions
ISC2 - Chapter 1 - Module 5

Quiz
•
Professional Development
11 questions
Segurança de Redes

Quiz
•
11th Grade - Professi...
10 questions
Bertelsmann AI Track Quiz Initiative #2

Quiz
•
University - Professi...
7 questions
Review Class 11

Quiz
•
Professional Development
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
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
15 questions
Fun Random Trivia

Quiz
•
Professional Development
22 questions
Anne Bradstreet 1612-1672

Quiz
•
Professional Development
18 questions
Spanish Speaking Countries and Capitals

Quiz
•
KG - Professional Dev...
14 questions
Fall Trivia

Quiz
•
11th Grade - Professi...
15 questions
Disney Characters Quiz

Quiz
•
Professional Development
15 questions
Quiz to Highlight Q types & other great features in Wayground

Quiz
•
Professional Development