Midterm: Quiz 1 OOP

Midterm: Quiz 1 OOP

University

50 Qs

quiz-placeholder

Similar activities

CSS and Form Styling Quiz

CSS and Form Styling Quiz

University

51 Qs

Prog Lang - FA1

Prog Lang - FA1

University

51 Qs

THIẾT KẾ WEB - BÀI 1

THIẾT KẾ WEB - BÀI 1

University

45 Qs

тест

тест

University

50 Qs

Information Management Quiz

Information Management Quiz

University

50 Qs

CSS Specificity Quiz

CSS Specificity Quiz

University

47 Qs

Midterm: Quiz 1 OOP

Midterm: Quiz 1 OOP

Assessment

Quiz

Information Technology (IT)

University

Medium

Created by

Irish Dajero

Used 1+ times

FREE Resource

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Jane is developing software and wants to organize her code into reusable units that group data and methods together. Which programming paradigm is she using?

Procedural

Functional

Object-Oriented

Structural

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  In a program, an object named `Car` has properties like `color` and `model`, and methods like `drive()` and `brake()`. What does this best demonstrate?

Arrays

Objects

Files

Tables

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You are asked to define a method inside a class that calculates area. What OOP concept are you demonstrating?

Encapsulation

Inheritance

Polymorphism

Abstraction

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A developer wants to build a software application that uses data structures such as arrays, trees, and records. What concept do these structures fall under?

Control Flow

Data Fields

Data Structures

Functions

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best defines Object-Oriented Programming (OOP)?

Programming around procedures

Programming around functions and logic

Programming around data or objects

Programming around databases

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A student wrote code where a class Box contains private variables. Only methods inside the class can access them. What OOP feature is this?

Inheritance

Abstraction

Polymorphism

Encapsulation

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You are designing a base class Animal, and subclasses like Dog and Cat inherit from it. What OOP concept is demonstrated?

Polymorphism

Inheritance

Message Passing

Encapsulation

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?