Huh we’re, we’re is the computer screen shot
Answer:
Conditioned response
Explanation:
In a famous experiment a dog drool at a sound that is made just before meals. This is considered a(n) conditioned response.
The dog has been conditioned to respond to the constant sound before his meal is served by drooling(salivating ) with the expectation of eating almost immediately after the sound had been made .
Explanation:
a table of the chemical elements arranged in order of atomic number, usually in rows, so that elements with similar atomic structure (and hence similar chemical properties) appear in vertical columns.
Answer:
Following are the method to this question:
def __init__(self, _name, _breed):#defining Constructor
""" Constructor """
self.name = _name#assigning value in name variable
self.breed = _breed#assigning value in breed variable
self.tricks = []#defining tricks an empty list
Explanation:
In the above code, a parameterized constructor is defined, that hold two-variable "name and breed" in its parameter, and another object self is created for storing the value.
Inside the constructor two-variable, and one empty list variable "tricks" is defined that hold value in the name and breed variable, and the next step an empty list is defined, that store its value.
Answer:
- import java.util.Scanner;
-
- public class Main {
- public static void main (String [] args) {
-
- int jersey_num [] = new int[5];
- int rating [] = new int[5];
-
- Scanner inStream = new Scanner(System.in);
-
- for(int i=0; i < 5; i++){
- System.out.print("Enter player " + (i+1) + "'s jersey number:");
- jersey_num[i] = inStream.nextInt();
-
- System.out.print("Enter player " + (i+1) + "'s rating:");
- rating[i] = inStream.nextInt();
- }
-
- System.out.println("ROSTER");
-
- for(int j=0; j < 5; j++){
- System.out.println("Player " + (j+1) + "-- Jersey number: " + jersey_num[j] + ", Rating: " + rating[j]);
- }
- }
- }
Explanation:
The solution code is written in Java. Firstly create two array, jersey_num and rating, with int type. This is to hold the five pairs of numbers input by user (Line 6 -7).
Next, create a for loop that run for 5 iterations and in each iteration prompt user to input jersey number and rating (Line 11 -17). The input number and rating will be set to the array, jersey_num and rating, respectively.
Next, print the title "Roster" (Line 19).
Create another for loop to display the five input pair of values (Line 21 - 23).