The OOP Quiz

The OOP Quiz

University

10 Qs

quiz-placeholder

Similar activities

JAVA - Arrays

JAVA - Arrays

University - Professional Development

15 Qs

Create a Website 1

Create a Website 1

KG - University

10 Qs

Week 4

Week 4

University

15 Qs

Java Displaying Data & Data Types

Java Displaying Data & Data Types

University - Professional Development

12 Qs

Aptitude Assessment 2

Aptitude Assessment 2

University

15 Qs

Hojas de Estilo

Hojas de Estilo

University

10 Qs

Programacion Orientada a Objetos

Programacion Orientada a Objetos

12th Grade - University

10 Qs

Java Quiz 3

Java Quiz 3

University

15 Qs

The OOP Quiz

The OOP Quiz

Assessment

Quiz

Computers

University

Hard

Created by

Karen Ahmed

Used 125+ 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 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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?