Search Header Logo

39. OCR A Level (H446) SLR7 – 1.2 Object-oriented languages part

Authored by James Cole

Computers

11th Grade

Used 2+ times

39. OCR A Level (H446) SLR7 – 1.2 Object-oriented languages part
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does polymorphism literally mean?

A type of variable

A type of function

A programming language

Something that occurs in several different forms

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many main types of polymorphism are there in object-oriented programming?

One

Three

Two

Four

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the two main types of polymorphism in object-oriented programming?

Public and Private

Global and Local

Static and Dynamic

Abstract and Concrete

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the plus symbol act as in the context of strings?

String concatenation operator

Multiplication operator

Subtraction operator

Division operator

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the plus symbol act as in the context of integers?

Logical operator

Mathematical addition operator

String concatenation operator

Comparison operator

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is method overloading?

Overriding a method in a subclass

Implementing multiple classes with the same name

Implementing multiple methods of the same name but with different parameters within the same class

Using the same method to perform different tasks in different classes

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is required for method overloading to work?

All methods must be static

Methods must have the same name but different access modifiers

Methods must have the same return type

Parameter sets must differ in number, type, or order

Access all questions and much more by creating a free account

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?