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

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

11th Grade

15 Qs

quiz-placeholder

Similar activities

Programming Concept

Programming Concept

11th Grade

18 Qs

PBL Test

PBL Test

KG - University

20 Qs

Pemodelan Perangkat Lunak xi

Pemodelan Perangkat Lunak xi

11th Grade

20 Qs

OOP

OOP

9th - 12th Grade

10 Qs

object oriented programming

object oriented programming

11th Grade - University

10 Qs

Pemodelan Perangkat Lunak

Pemodelan Perangkat Lunak

11th Grade

10 Qs

Kuis Pilihan Ganda PBO

Kuis Pilihan Ganda PBO

11th Grade

20 Qs

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

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

Assessment

Quiz

Computers

11th Grade

Hard

Created by

James Cole

Used 1+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?