
JPE Quiz 1
Quiz
•
Computers
•
1st - 7th Grade
•
Hard
Trung Dang
Used 5+ times
FREE Resource
Enhance your content
20 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What are the values of x and y?
x = 5;
y = ++x;
x = 5, y = 5
x = 5, y = 6
x = 6; y = 5
x = 6; y = 6
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which is valid declaration of a float variable?
float f = 1F;
float f = 1.0;
float f = "1";
float f = 1.0d;
3.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which of the following declarations is/are valid:
1.bool b = null;
2.boolean b = 1;
3.boolean b = true|false;
4.bool b = (10<11);
5.boolean b = true||false;
1 and 4
2, 3, and 5
2 and 3
3 and 5
4.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
What will it print when compiled and run?
5
6
7
8
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Types of Java Comments include:
Single Line Comment
Multi Line Comment
Documentation Comment
A and B are TRUE
A, B and C are TRUE
6.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
What will the following code print?
1 2
2 3
12 2
12 1
It will not compile
7.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
What will be the output of the following code snippet?
0
1
2
TRUE
FALSE
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
17 questions
BSD-QuizMaker-JavaScript Quiz
Quiz
•
6th - 8th Grade
15 questions
AV1/R1 1TEC_IP_Introdução à Programação - Aula 01 a 06
Quiz
•
1st Grade - University
20 questions
Programming Knowledge Quiz (Easy)
Quiz
•
5th Grade - Professio...
19 questions
JavaScript Fundamentals
Quiz
•
1st - 3rd Grade
18 questions
Python basics
Quiz
•
7th - 10th Grade
15 questions
Programming quiz for all
Quiz
•
1st - 3rd Grade
20 questions
ULANGAN HARIAN PBO
Quiz
•
1st - 3rd Grade
20 questions
HTML / CSS
Quiz
•
5th - 7th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd 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
25 questions
Exploring POV and Unreliable Narrators
Quiz
•
7th Grade
18 questions
Company Logos
Quiz
•
6th - 8th Grade
20 questions
Typing Practice
Quiz
•
7th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro
Lesson
•
5th - 9th Grade
16 questions
4.2 Private & Personal Information
Lesson
•
4th Grade
20 questions
Input, Output, Processing or Storage
Quiz
•
5th - 6th Grade