1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
jolli1 [7]
3 years ago
13

Which of the following does not make a good analysis class? (Points : 6) its name reflects its intent

Computers and Technology
1 answer:
satela [25.4K]3 years ago
6 0

Answer:it has high coupling

Explanation: Coupling is the property in the field of computer program that is defined as the functions ,data and  codes of the program are dependent on each other and cannot be changed independently if requires. Thus,high amount of coupling is not considered as good factor due to high interdependence. Loose coupling can be still permitted.

Other options are correct because name of the class should reflect the purpose and well defined responsibilities should be present, modeling of certain component and high cohesion means keeping similar functions togather is also required. So, the only bad factor is high coupling

You might be interested in
Rectangular box formed when each column meet​
Over [174]

Answer:

If this is a true or false I guess my answer is true?

Explanation:

3 0
3 years ago
Extend the class linkedListType by adding the following operations: Write a function that returns the info of the kth element of
WINSTONCH [101]

Answer:

Explanation:

The following code is written in Java. Both functions traverse the linkedlist, until it reaches the desired index and either returns that value or deletes it. If no value is found the function terminates.

public int GetNth(int index)

       {

       Node current = head;

       int count = 0;

       while (current != null)

       {

       if (count == index)

       return current.data;

       count++;

       current = current.next;

       }

       assert (false);

       return 0;

       }

public int removeNth(int index)

       {

       Node current = head;

       int count = 0;

       while (current != null)

       {

       if (count == index)

       return current.remove;

       count++;

       current = current.next;

       }

       assert (false);

       return 0;

       }

6 0
3 years ago
Does anyone know how to execute this assignment on Scratch?
lapo4ka [179]

Execute this assignment from Scratch in the following way

Explanation:

1.For each thread, first Scratch sets the 'active thread' to that thread. Then, it executes each block one by one in the stack for the active thread. It will execute the entire stack all in one go if it can.

2.The Hide block is a Looks block and a Stack block. If the block's sprite is shown, it will hide the sprite — if the sprite is already hidden, nothing happens. This block is one of the simplest and most commonly used Looks blocks.

3.Scratch is used in many different settings: schools, museums, libraries, community centers, and homes.

4.Mitch Resnik, the creator of the super-simple Scratch programming language and head of the Lifelong Kindergarten group at the MIT Media Lab, gave a TEDx talk about the value of coding and computer literacy in early education.

5.

5 0
3 years ago
You will complete 3 tasks. Task 1: Determine if the input number is prime or not You will ask the user for an integer You will d
GuDViN [60]

Answer:

Program is written in C++

#include<iostream>

using namespace std;

int main()

{

//1. Prime Number

int num;

cout<<"Input Number: ";

cin>>num;

int chk = 0;

for(int i =2; i <num;i++)

{

 if(num%i==0)

 {

  chk = 1;

  break;

 }

}

if(chk == 0)

{

 cout<<num<<" is prime"<<endl;

}

else

{

 cout<<num<<" is not prime"<<endl;

}

//2. Greatest Common Factor

int num1, num2, x, y, temp, gcf;  

cout<<"Enter two numbers: ";

cin>>num1;

cin>>num2;

x = num1;

y = num2;

while (y != 0) {

   temp = y;

   y = x % y;

   x = temp;

 }

 gcf = x;

 cout<<"Greatest Common Factor: "<<gcf<<endl;

 

// 3. LCM  

cout<<"Enter two numbers: ";

cin>>num1;

cin>>num2;

x = num1;

y = num2;

while (y != 0) {

   temp = y;

   y = x % y;

   x = temp;

 }

 gcf = x;

 int lcm =(num1 * num2)/gcf;

cout<<"Least Common Multiple: "<<lcm<<endl;

return 0;

}

Explanation:

<em>I've added the full source code as an attachment where I make use of comments to explain some lines</em>

Download cpp
6 0
3 years ago
Write a program that meets the following requirements.
Zigmanuir [339]

Answer:

import javafx.application.Application;

import javafx.scene.Scene;

import javafx.scene.layout.FlowPane;

import javafx.stage.Stage;

import javafx.scene.control.Button;

public class FlowPaneDemo extends Application {

  public void start(Stage primaryStage) {

      // TODO Auto-generated method stub

      //Creates a FlowPane for each stage.

      FlowPane paneOne = new FlowPane();

      FlowPane paneTwo = new FlowPane();

     

      //Creates six Buttons, three for each Flow Pane.

      Button buttonOne = new Button("Button One");

      Button buttonTwo = new Button("Button Two");

      Button buttonThree = new Button("Button Three");

      Button buttonFour = new Button("Button Four");

      Button buttonFive = new Button("Button Five");

      Button buttonSix = new Button("Button Six");

     

      //Adds the Buttons to the two FlowPanes.

      paneOne.getChildren().add(buttonOne);

      paneOne.getChildren().add(buttonTwo);

      paneOne.getChildren().add(buttonThree);

     

      paneTwo.getChildren().add(buttonFour);

      paneTwo.getChildren().add(buttonFive);

      paneTwo.getChildren().add(buttonSix);

     

      //Creates two Scenes, using each of the FlowPanes.

      Scene sceneOne = new Scene(paneOne, 250, 600);

      Scene sceneTwo = new Scene(paneTwo, 320, 400);

     

      //Makes a second Stage.

      Stage secondaryStage = new Stage();

     

      //Set the title and Scenes for the two Stages.

      primaryStage.setTitle("First Stage");

      primaryStage.setScene(sceneOne);

     

      secondaryStage.setTitle("Second Stage");

      secondaryStage.setScene(sceneTwo);

     

      //Runs the show methods for the two Stages.

      primaryStage.show();

      secondaryStage.show();

  }

  public static void main(String[] args){

      //Runs the launch method to start a stand-alone JavaFX application; only needed

      //as I am running this in Eclipse.

      Application.launch(args);

  }

}

8 0
3 years ago
Other questions:
  • Write a static method named textcount that takes a scanner representing a file as a parameter and that reports various statistic
    11·1 answer
  • As part of the interview process should you compose a thank-you note for the prospective employer and/or interview committee. In
    6·1 answer
  • How to write an shortened if statement?
    6·1 answer
  • What item on a business card is generally the most prominent?
    10·2 answers
  • What is the binary number system? ​
    15·1 answer
  • A(n) _____ uses spatial and nonspatial data and specialized techniques for storing coordinates of networks of lines (roads, rive
    8·1 answer
  • Dots (or periods) in a Java statement are used to separate the names of the components that make up the statement.
    8·1 answer
  • Any part of the computer that you plug into the CPU like a phone, tablet, headphones etc. are called
    5·1 answer
  • What is the difference between a Yahoo! and Yippy!?\
    12·1 answer
  • Decribe the advantages of using emails compared with physical faxing ?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!