Which of these is not one of the primary principles of object-oriented programming?
The OOP Quiz

Quiz
•
Computers
•
University
•
Hard
Strawberry Bytes
Used 124+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Encapsulation
Polymorphism
Generalisation
Inheritance
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why are encapsulation and abstraction important?
They allow you to reuse code
Change implementation details without affecting other code that uses the class
Create other classes that use the same properties and methods
Reduce problems into more manageable parts
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do properties enable a class to meet the goals of encapsulation?
They provide a public way to access a private field
They make all data private
They make all data public
They represent data associated with a class
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of inheritance does C# support?
Single and Multiple Inheritance
Multiple Inheritance
Single Inheritance only
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is polymorphism?
Where information is hidden
Where information is shared with other classes
The capability of one type to be used like another type
A new class that inherits properties and methods from its parent.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the types of control flow statements available in C#?
Sequence, Selection & Iteration
Iteration, Sequence & Jump
Jump, Selection & Sequence
Selection, Iteration & Jump
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between the while and do statements?
While is bottom-tested do is top-tested
While is top-tested, do is bottom-tested
Do loops may never be executed
While statements will always be executed at least once
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Talent Next Java MCQ-1

Quiz
•
University
10 questions
JAVA FOR ANDROID-JAVA

Quiz
•
University
10 questions
FOP - CHAPTER 8

Quiz
•
University
9 questions
Classes

Quiz
•
University
10 questions
ISPFL1 Midterm Quiz #3

Quiz
•
University
10 questions
AITT LAB QUIZ 4

Quiz
•
University
10 questions
Java Questions & Answers

Quiz
•
University
10 questions
java quiz on Encapsulation and Abstraction

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade