The OOP Quiz
Quiz
•
Computers
•
University
•
Hard
Karen Ahmed
Used 125+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is not one of the primary principles of object-oriented programming?
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
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
10 questions
Software Testing
Quiz
•
University
13 questions
Bài 16 Định dạng khung
Quiz
•
12th Grade - University
10 questions
Pemrograman Android KD 3.28/4.28
Quiz
•
1st Grade - Professio...
11 questions
Java Quiz 3 - Array
Quiz
•
University
15 questions
Spreadsheet
Quiz
•
4th Grade - University
15 questions
HTML Quiz
Quiz
•
University
15 questions
Computer Science Quiz
Quiz
•
University
10 questions
Java Control Flow statements
Quiz
•
University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
12 questions
Halloween
Quiz
•
3rd Grade - University
5 questions
Using Context Clues
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
14 questions
Eat Healthy,Be Healty
Quiz
•
4th Grade - University
7 questions
History of Halloween: Pagan or Christian?
Interactive video
•
11th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
