Quiz on OOPs- Day 1 (30-01-2025)
Quiz
•
Computers
•
University
•
Medium
Ragini Kumari
Used 3+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which one of the following are essential features of an object-oriented programming language?
Abstraction and encapsulation
Strictly-typedness
Polymorphism in the presence of inheritance
Type-safe property coupled with sub-type rule
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following languages supports polymorphism but not the classes?
Ada
C++
C#
Java
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following program fragment?
Class P { void f(int i) { print(i); } } Class Q subclass of P { void f(int i) { print(2*i); } }
P x = new Q(); Q y = new Q(); P z = new Q(); x.f(1); ((P)y).f(1); z.f(1);
1 2 2
1 1 1
2 2 2
1 2 1
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which feature of OOP indicates code reusability?
Polymorphism
Inheritance
Encapsulation
Abstraction
5.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which one of the following are essential features of object-oriented language?
Polymorphism in the presence of inheritance
Type-safe property coupled with sub-type rule
Strictly-typed
Abstraction and encapsulation
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is associated with objects?
Identity
Behaviour
State
All of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What can you say about the following two statements regarding abstraction and encapsulation?
I. Abstraction allows us to focus on what something does without considering the complexities of how it works. II. Encapsulation allows us to consider complex ideas while ignoring irrelevant detail that would confuse us.
Only I is correct.
Only II is correct.
Both I and II are correct.
Neither I nor II is correct.
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
2.GRADE STORY 5
Quiz
•
2nd Grade - University
10 questions
TOOLS FOR AD & TECHNOLOGY DEVELOPMENT (W4-W6)
Quiz
•
University
10 questions
Understanding Email, Contacts and Calendaring
Quiz
•
University
15 questions
ICT 0513 - Chapter 4 : System Unit
Quiz
•
University
12 questions
Python Quiz 1.4
Quiz
•
University
10 questions
Tree and Planar Graph
Quiz
•
University
10 questions
CodeMonkey for B.Ed IT
Quiz
•
University
10 questions
Android
Quiz
•
University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
Discover more resources for Computers
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
25 questions
Waves-8th Grade Physical Science
Quiz
•
KG - University
41 questions
Unit 8 Key Terms
Quiz
•
11th Grade - University
10 questions
Product & Quotient Derivative Rules
Quiz
•
University
5 questions
How to Calculate Force - Newton's 2nd Law of Motion
Interactive video
•
10th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
