App Dev Day 1

App Dev Day 1

University

10 Qs

quiz-placeholder

Similar activities

TỔNG QUAN VỀ HƯỚNG ĐỐI TƯỢNG

TỔNG QUAN VỀ HƯỚNG ĐỐI TƯỢNG

University

15 Qs

Quick Revision H466 #1

Quick Revision H466 #1

12th Grade - University

15 Qs

Stored Procedure, Function & Packages

Stored Procedure, Function & Packages

University

15 Qs

Frontend Web Development with React Session 1

Frontend Web Development with React Session 1

University

5 Qs

perencanaan testing

perencanaan testing

University

12 Qs

Kuis Flutter Pemula

Kuis Flutter Pemula

10th Grade - University

10 Qs

1MU_OOP_Basic_Unit1

1MU_OOP_Basic_Unit1

University

10 Qs

Programming in Procedural Languages and Object Oriented Programming

Programming in Procedural Languages and Object Oriented Programming

University

10 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?