PRG1 - Day 10 Starter (PY)

PRG1 - Day 10 Starter (PY)

University

5 Qs

quiz-placeholder

Similar activities

Dart

Dart

University

10 Qs

SQE Unit 1

SQE Unit 1

University

10 Qs

FIVIZZ: WEEK 11 - PROGRAMMING 2

FIVIZZ: WEEK 11 - PROGRAMMING 2

University

10 Qs

Kuis PBO-1

Kuis PBO-1

University

10 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

Java Programming-1

Java Programming-1

University

10 Qs

Kuis OOAD Pertemuan 4

Kuis OOAD Pertemuan 4

University

10 Qs

Hack4Bengal Closing Ceremony Giveaway

Hack4Bengal Closing Ceremony Giveaway

University

10 Qs

PRG1 - Day 10 Starter (PY)

PRG1 - Day 10 Starter (PY)

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Steve Rich

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

A blueprint for creating objects

Polymorphism

Mechanism to create a new class based on an existing class

Encapsulation

Ability to present the same interface for different underlying forms

Class

Bundling of data and methods that operate on that data

Abstraction

Hiding complex implementation details and showing only the essential features

Inheritance

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

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?