Basics in Java

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Leelavathy J
Used 107+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of literal is "null"?
null Literal
Character Literal
String Literal
It is not a Literal
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Function of the Scanner class to accept a float literal from the user is
nextInt( )
hasNext( )
next( )
nextFloat( )
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the value of c after int c = 'B'+3; is executed?
101
69
Code is incorrect
B3
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Select the types of programming constructs in Java.
Selective
Sequential
Random
Iterative
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
r and l in r-value and l-value are
read and location
real and location
reference and location
right and left
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Absence of _________ in switch..case leads to fallthrough
switch
case
default
break
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The compiler of Java works on_______ to give _________.
Byte Code, Source Code
Source Code, Object Code
Source Code, Byte Code
Byte Code, Object Code
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Unit 1 Post Test: Basic Python

Quiz
•
9th - 12th Grade
10 questions
Introduction to C++ 2024/25

Quiz
•
12th Grade
15 questions
Edublock -course assessment

Quiz
•
12th Grade
16 questions
Python Beginner

Quiz
•
9th - 10th Grade
10 questions
Functions in C++

Quiz
•
9th - 12th Grade
11 questions
Python Quiz

Quiz
•
12th Grade
18 questions
Computer Science (Python)

Quiz
•
9th Grade
20 questions
C# Intro

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
10 questions
Proper Keyboarding Techniques

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

Lesson
•
5th - 9th 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