Computer Science Workshop Quiz

Computer Science Workshop Quiz

University

10 Qs

quiz-placeholder

Similar activities

TECH WHIZ

TECH WHIZ

University

15 Qs

engineers day

engineers day

University

10 Qs

Exploring the 8086 Microprocessor

Exploring the 8086 Microprocessor

University

10 Qs

BugBlitz

BugBlitz

University

15 Qs

Applied Digital Logic Design Assessment II

Applied Digital Logic Design Assessment II

University

8 Qs

DCDV_AAT_QUIZ

DCDV_AAT_QUIZ

University

10 Qs

Digital Electronics Quiz -U1-U2

Digital Electronics Quiz -U1-U2

University

15 Qs

Web3 and Blockchain Challenge

Web3 and Blockchain Challenge

University

15 Qs

Computer Science Workshop Quiz

Computer Science Workshop Quiz

Assessment

Quiz

Engineering

University

Practice Problem

Medium

Created by

Sankarsan Sahoo

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a type of polymorphism in Java?

Method overloading

Operator overloading

Operator overriding

Method overriding

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which feature of OOPS described the reusability of code?

Abstraction

Encapsulation

Polymorphism

Inheritance

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which collection does not allow duplicate elements?

List

Set

Map

All of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which collection allows you to retrieve elements in the order they were inserted?

HashSet

TreeMap

LinkedHashMap

PriorityQueue

5.

OPEN ENDED QUESTION

3 mins • 1 pt

What is the Output of following Java Program? import java.util.*; class Demo { public static void main(String[] args) { ArrayList arr = new ArrayList(); arr.add(11); arr.add(2); arr.add(3); arr.add(5); arr.add(7); arr.remove(new Integer(7)); arr.remove(2); for (int i = 0; i < arr.size(); i++) System.out.print(arr.get(i) + " "); } }

Evaluate responses using AI:

OFF

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is an correct way of defining generic method?

name(T1, T2, …, Tn) { /* … */ }

public name { /* … */ }

class name[T1, T2, …, Tn] { /* … */ }

name{T1, T2, …, Tn} { /* … */ }

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following collections is sorted by its natural ordering?

HashMap

TreeMap

LinkedHashMap

Hashtable

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?