II_III Years-Java, Python, and C Quiz

Quiz
•
Other
•
Professional Development
•
Hard
SHANMUGAPRIYA.P MCE-LECT/IT
Used 6+ times
FREE Resource
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is NOT a primitive data type in Java?
int
float
String
boolean
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which keyword is used to define a constant in Java?
const
final
static
constant
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of Java code System.out.println(5 + "5");?
10
55
5 + 5
Error
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the purpose of the static keyword in Java?
To create a constant
To allow a method or variable to be accessed without creating an instance of the class
To prevent inheritance
To define a global variable
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is true about method overloading?
Methods must have the same name and return type
Methods must have different names
Methods must have the same name but different parameters
Methods must have the same name and parameters
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the default value of an int variable in Java?
0
1
null
undefined
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is NOT a valid access modifier in Java?
public
private
protected
global
Create a free account and access millions of resources
Similar Resources on Wayground
49 questions
MCA SET-3

Quiz
•
Professional Development
51 questions
YANTRIK------ 2.4--- QUIZ BUZZ

Quiz
•
Professional Development
50 questions
Shopify Class test

Quiz
•
Professional Development
52 questions
HDFS and MapReduce Quiz

Quiz
•
Professional Development
55 questions
аяу10

Quiz
•
Professional Development
46 questions
C# Тест Сұрақтары

Quiz
•
Professional Development
46 questions
DataDevs Game KNB? - Final

Quiz
•
Professional Development
48 questions
7510 Comms

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 Other
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