Summary 5.1-5.4

Summary 5.1-5.4

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

GDevelop Concepts

GDevelop Concepts

9th - 12th Grade

9 Qs

C# Contextual keywords

C# Contextual keywords

10th Grade - University

12 Qs

java

java

10th Grade

15 Qs

QUIZ-I-OBJECT ORIENTED PROGRAMMING WITH C++

QUIZ-I-OBJECT ORIENTED PROGRAMMING WITH C++

10th Grade - University

10 Qs

Python Skills

Python Skills

1st Grade - Professional Development

15 Qs

Object Orientation 2

Object Orientation 2

11th Grade

15 Qs

Scope 1 (Class)

Scope 1 (Class)

9th - 12th Grade

10 Qs

CS IGCSE Unit 3. Databases

CS IGCSE Unit 3. Databases

10th Grade

15 Qs

Summary 5.1-5.4

Summary 5.1-5.4

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

LaShawne Long Myles

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following class members that should be public?

instance varibles

constructors

methods used within the class

methods used in the main

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the scope of private methods and private instance variables?

the declaring class

the main class

any class

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Classes’ access specifier is generally set to...

accessor

mutator

private

public

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following would be the state of the Object tree?

int height

int girth

boolean deciduous

private boolean deciduous

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

We can set the initial state of an object through...

methods

constructors

variables

instance varibles

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Objects cannot have objects as attributes.

True
False

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

When we use a class as an attribute in another class the class we are using as an attribute will be the ______ _____ of the class that is using it as an attibute.

data type

instance variable

parameter

method

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?