Questions LLC
Login
or
Sign Up
Ask a New Question
Object-oriented Programming
Page 4
Questions (207)
What is the output of calling n2.calculate()? class Addition: def __init__(self, f, s): self.first = f self.second = s def
1 answer
asked by
hatemaths
50 views
Q.1.4 Make use of a class named EstateAgent that contains methods to calculate estate agent
sales, estate agent commission, and
1 answer
asked anonymously
48 views
Q.1.4 Make use of a class named EstateAgent that contains methods to calculate estate agent
sales, estate agent commission, and
1 answer
asked anonymously
47 views
Q.1.4 Make use of a class named EstateAgent that contains methods to calculate estate agent
sales, estate agent commission, and
1 answer
asked anonymously
53 views
Q.1.4 Make use of a class named EstateAgent that contains methods to calculate estate agent
sales, estate agent commission, and
1 answer
asked anonymously
53 views
Q.2.4 When the Process Report menu item is clicked, capture the selected agent location,
estate agent name, property price, and
1 answer
asked anonymously
44 views
What is the general thought process behind object-orientated programming?
1 answer
asked anonymously
22 views
This line of code is an example of what?
choice = [item for item in clothes if item.startswith('g')] (1 point) Responses
1 answer
asked by
meowmeowkittysbot
74 views
What is the output of calling n2.calculate ()?
class Addition: def _init_(self, f, s): self.first = f self.second = s def
1 answer
asked anonymously
35 views
An object-oriented language is part of the: (1 point) Responses imperative paradigm. imperative paradigm. declarative paradigm.
1 answer
asked by
kojejcciewhoiel
35 views
class students : def_init_(self,name,grade): self.name =name
self . grade =grade student 34 =students ("maria", 10) student 35 =
1 answer
asked anonymously
43 views
An object-oriented language is part of the:
(1 point) imperative paradigm. declarative paradigm. compiled group. interpreted
1 answer
asked by
Blue
32 views
An object-oriented language is part of the:
Responses imperative paradigm. declarative paradigm. compiled group. interpreted
5 answers
asked anonymously
41 views
Critters move around in a world of finite size, but the word is toroidal (going off the end to the right brings you back to the
1 answer
asked anonymously
31 views
Programming Assignment
This assignment will give you practice with defining classes. You are to write a set of classes that
1 answer
asked anonymously
20 views
Critters move around in a world of finite size, but the word is toroidal (going off the end to the right brings you back to the
1 answer
asked anonymously
31 views
You are allowed to include a constructor for your classes if you want, although it must be a zero-argument constructors (one
1 answer
asked anonymously
19 views
You are to implement five classes. The behavior of each class is described below.
Class getChar getMove Bird B Randomly selects
1 answer
asked anonymously
15 views
You are to implement five classes. The behavior of each class is described below.
Class getChar getMove Bird B Randomly selects
1 answer
asked anonymously
16 views
You are to implement five classes. The behavior of each class is described below.
Class getChar getMove Bird B Randomly selects
1 answer
asked anonymously
27 views
You are to implement five classes. The behavior of each class is described below.
Class getChar getMove Bird B Randomly selects
1 answer
asked anonymously
20 views
You are to implement five classes. The behavior of each class is described below.
Class getChar getMove Bird B Randomly selects
1 answer
asked anonymously
17 views
You are to implement five classes. The behavior of each class is described below.
Class getChar getMove Bird B Randomly selects
1 answer
asked anonymously
20 views
You are to implement five classes. The behavior of each class is described below.
Class getChar getMove Bird B Randomly selects
1 answer
asked anonymously
18 views
Consider this program:
class Students: def __init__(self, name, grade): self.name = name self.grade = grade student34 =
5 answers
asked anonymously
24 views
Consider this program:
class Students: def __init__(self, name, grade): self.name = name self.grade = grade student34 =
1 answer
asked anonymously
20 views
Consider this program:
class Toolkit(): def __init__(self, type): self.hasHammer = False; self.hasWrench = False; self.hasPliers
1 answer
asked anonymously
24 views
Object-oriented programming uses classes to make code better organized.
(1 point) Responses True True False
1 answer
asked anonymously
17 views
A program makes it possible to order a new car online. It contains items called Car and Customer. These items are most likely to
1 answer
asked anonymously
16 views
Consider this program:
class Toolkit(): def __init__(self, type): self.hasHammer = False; self.hasWrench = False; self.hasPliers
1 answer
asked anonymously
10 views
Inheritance means:
(1 point) Responses an object gets attributes and methods from another object. an object gets attributes and
1 answer
asked anonymously
19 views
Objects have:
(1 point) Responses attributes and methods. attributes and methods. classes and blueprints. classes and blueprints.
1 answer
asked anonymously
19 views
What is the process of creating a new object of a class?
(1 point) Responses encapsulation encapsulation proceduralization
1 answer
asked anonymously
20 views
What does this line of code do?
firstPlayer = Player('Omar') (1 point) Responses It creates a class called Player. It creates a
1 answer
asked anonymously
17 views
Which of the following is true about interface in Object-oriented programming?
A. An interface cannot extend another interface.
1 answer
asked anonymously
33 views
Write a program to perform four arithmetic operations using function if statement ,loops.....OOP in c++/java
1 answer
asked anonymously
21 views
WAP to get three nos from keyboard & display the largest number by using object oriented programming.
1 answer
asked anonymously
10 views
code of abstraction in c++
1 answer
asked anonymously
30 views
Modeling the relevant attributes and interactions of entities as classes to define an abstract representation of a system.
1 answer
asked anonymously
19 views
using Abstraction;
namespace Abstraction { // Abstract class abstract class Animal { // Abstract method (does not have a body)
1 answer
asked anonymously
44 views
using System;
namespace IPayable { public interface IPayable { double GetFigure(); } public class Invoice : IPayable { private
1 answer
asked anonymously
43 views
Write a full class definition for a class named Player, and containing the following members:
A data member name of type string.
1 answer
asked anonymously
16 views
3. What is the difference between a superclass and a subclass in hierarchical relationships?
1 answer
asked anonymously
14 views
4. Which object-oriented terms does a generalisation/ specialisation relationship illustrate?
1 answer
asked anonymously
20 views
5. In what ways can aggregation be distinguished from composition for a whole-part relationship?
1 answer
asked anonymously
10 views
Background
Sanele was invited to Lindiwe’s birthday party. He would have attended anyway since she is a good friend of his. But
1 answer
asked by
$ {firstName}
15 views
What’s the difference between abstract class and an interface
1 answer
asked anonymously
8 views
using System;
class Recipe { public string[] Ingredients { get; set; } public string[] Steps { get; set; } public Recipe() {
1 answer
asked anonymously
31 views
Write java code for the following information.Student is super class. The Student Attributes is protected String Name, private
1 answer
asked anonymously
6 views
using System;
namespace RecipeApp { class Recipe { public string[] Ingredients { get; set; } public string[] Steps { get; set; }
1 answer
asked anonymously
10 views
Pages
1
2
3
4
5
Parent Categories (26)
C++
Computer Programming
Computer Science
Computer Science and Programming
Computer Science or Programming
Computer Science/Coding
Computer Science/Programming
Java
Java programming
Paradigm
Paradigms
Procedural programming
Programming
Programming Concepts
Programming Languages
Programming or Computer Science
Programming Paradigms
Programming/Computer Science
Programming/Java
Programming/Python
Programming/Software Development
Python
Python Code
Python Programming
Software Development
Software Engineering