PRG1 - Day 9 Starter (PY)

PRG1 - Day 9 Starter (PY)

University

5 Qs

quiz-placeholder

Similar activities

Java Static

Java Static

University

10 Qs

Object/Abstract/Final in JAVA

Object/Abstract/Final in JAVA

University

10 Qs

Java Programming Structures

Java Programming Structures

University

9 Qs

Quiz on methods

Quiz on methods

University

6 Qs

OOP in PHP - Object Oriented Programming - deel 1

OOP in PHP - Object Oriented Programming - deel 1

6th Grade - University

10 Qs

Python quiz

Python quiz

10th Grade - Professional Development

10 Qs

Java Control Flow and Collections

Java Control Flow and Collections

University

10 Qs

Java Programming Pt. 1

Java Programming Pt. 1

University

10 Qs

PRG1 - Day 9 Starter (PY)

PRG1 - Day 9 Starter (PY)

Assessment

Quiz

Computers

University

Hard

Created by

Steve Rich

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a class (in relation to OOP)?

A class is a method used to manipulate data.
A class is a function that executes code.
A class is a blueprint for creating objects that defines attributes and methods.
A class is a type of variable that stores data.

2.

MATCH QUESTION

1 min • 1 pt

Match the following OOP concepts with their definition

Hiding complex implementation details and showing only the essential features

Class

Mechanism to create a new class based on an existing class

Inheritance

A blueprint for creating objects

Polymorphism

Ability to present the same interface for different underlying forms

Encapsulation

Bundling of data and methods that operate on that data

Abstraction

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output from the code snippet?

Generic animal sound

Woof!

Runtime Error

Syntax Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output from this code snippet?

1000

500

1500

Runtime Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is Bob's age?

18

30

Null

None