
23CSR306_Unit I
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Medium
ARTHI C1514
Used 3+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid main method signature in Java?
public static int main(String[] args)
public static void main(String args[])
public void static main(String args[])
public static void main()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if you declare main as private static void main(String[] args)?
Compilation error
Runtime error
Program executes normally
JVM throws SecurityException
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the expression: 10 + 20 + "30"?
"3030"
"102030"
"30"
Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of:
int a = 5;
System.out.println(a++ + ++a);
11
12
13
14
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a primitive data type in Java?
boolean
int
String
double
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following code?
byte b = 50;
b = b * 2;
System.out.println(b);
100
Compilation error
Runtime error
0
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output?
int x = 5;
int y = ++x * 2;
System.out.println(y);
10
12
11
13
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
Already have an account?
Similar Resources on Wayground
10 questions
Tugas Informatika2
Quiz
•
12th Grade - University
12 questions
Understanding Data Structures
Quiz
•
University
10 questions
Quiz CG - Code V2
Quiz
•
University
14 questions
Teste de SQL: Tabelas e Inserções
Quiz
•
10th Grade - University
12 questions
SOAL IE
Quiz
•
University
15 questions
PPL 223 - (QUIZ 3) Data Types and Structures
Quiz
•
University
10 questions
Repaso Segundo Parcial - AdC 2024 - K1031
Quiz
•
University
10 questions
Fundamentos de Programación en Python
Quiz
•
6th Grade - University
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Information Technology (IT)
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
7 questions
Transition Words and Phrases
Interactive video
•
4th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
34 questions
Unit 5 Review - The Middle Ages in Europe-B
Quiz
•
9th Grade - University
26 questions
Day2 classwork: Permutation and combination
Quiz
•
2nd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
