
C++ and Java Quiz
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Tokir Khan
Used 1+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the default value of a boolean variable in Java?
True
False
0
1
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of these is not a Java access modifier?
Private
Protected
Final
Public
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does a switch statement do?
Creates a loop
Define a class
Allows multiple selection options
Handles memory allocation
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How is an array declared in C++?
int array;
int array[];
int array[10];
array int[10];
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does public static void main(String[] args) represent in Java?
The main method of the program
A comment
An input command
A class defination
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is JVM in Java?
Java virtual memory
Java Variable Method
Java virtual machine
Java Variable Memory
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which loop checks the condition at the end in C++?
For
While
Do while
If
Access all questions and much more by creating a free account
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
15 questions
OS Quiz-1
Quiz
•
University
10 questions
Programación II Parte 5
Quiz
•
University
10 questions
Quiz Ke 8 alprog if-09
Quiz
•
University
15 questions
python basics
Quiz
•
11th Grade - University
10 questions
Què has après sobre el web ?
Quiz
•
University
15 questions
PROBLEM SOLVING USING R UNIT I MCQS
Quiz
•
University
10 questions
Clasificación de Bases de Datos
Quiz
•
10th Grade - University
12 questions
Javascript
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
