
Set - 1

Quiz
•
Computers
•
University
•
Hard

Vedadri Harith Nadupalle
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following option leads to the portability and security of Java?
Bytecode is executed by JVM
The applet makes the Java code secure and portable
Use of exception handling
Dynamic binding between objects
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Evaluate the following Java expression, if x=3, y=5, and z=10:
++z + y - y + z + x++
24
23
20
25
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of following Java code?
public class Challenge1 {
public static void main(String[] args) {
int x = 5;
System.out.println(x++ + ++x);
}
}
12
13
11
14
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Who is Mother of Computers?
Lady Love Lace Ada
Margaret Thacher
Kalpana Chawla
Elizabet
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
#include <stdio.h>
int main() {
int x = 10;
printf("%d", x > 5 ? x < 12 ? 5 : 7 : 9);
return 0;
}
7
9
10
5
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct way to declare a two-dimensional array in C?
int arr[5][5];
int arr[][];
int arr[][] = new int[5][5];
int arr[5, 5];
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Find the value of A[1] after execution of the following program.
int[] A = {0,2,4,1,3};
for(int i = 0; i < a.length; i++)
{
a[i] = a[(a[i] + 3) % a.length];
}
2
1
0
3
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Java Programming

Quiz
•
University
17 questions
PPS_Activity_Z2_Kiruthika M

Quiz
•
University
19 questions
Data Types Java Concepts

Quiz
•
University
15 questions
C programming

Quiz
•
University
20 questions
Pointers

Quiz
•
University
15 questions
Milking Minds 2 17-01-24

Quiz
•
University
15 questions
Python introduction

Quiz
•
University
15 questions
ARRAYLIST - JAVA

Quiz
•
University
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
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University