Search Header Logo

App Dev Day 1

Authored by 2266_Shivam 2266_Shivam

Computers

University

Used 7+ times

App Dev Day 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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?