App Dev Day 1

App Dev Day 1

University

10 Qs

quiz-placeholder

Similar activities

Quiz1_PBO_B_C

Quiz1_PBO_B_C

University

13 Qs

UTSSKDP1

UTSSKDP1

University

13 Qs

H466 - Paradigms and High-Level Programming Languages

H466 - Paradigms and High-Level Programming Languages

12th Grade - University

15 Qs

Array Quiz 2

Array Quiz 2

University

10 Qs

Java Basic Quizz

Java Basic Quizz

University

15 Qs

Principles of Object Oriented Programming

Principles of Object Oriented Programming

University

15 Qs

1st session

1st session

University

15 Qs

Revision C class

Revision C class

University

11 Qs

App Dev Day 1

App Dev Day 1

Assessment

Quiz

Computers

University

Medium

Created by

2266_Shivam 2266_Shivam

Used 7+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a principle of Object-Oriented Programming?

 Encapsulation

Inheritance

Compilation

Polymorphism

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main purpose of encapsulation in OOP?

To allow multiple classes to inherit from one base class

To define multiple functions with the same name

To restrict access to certain details of an object

To reuse the code of other classes

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following allows a subclass to provide a specific implementation of a method already defined in its superclass?

 Abstraction

Inheritance

Method Overloading

Method Overriding

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the term "polymorphism" mean in OOP?

Using many functions to do one task

One object behaving differently based on the context

Writing code that is specific to one class

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best defines abstraction in OOP?

Hiding internal implementation details and showing only functionality

 Creating multiple classes with similar features

Making all class members public

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a reserved keyword in Dart?

value

final

define

object

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code?

var name = "Alex";

name = "Sam";

print(name);

Alex

Sam

Error

null

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?