Can someone please help me with 6.8 Code Practice adhesive.

Answers

Answer 1

Answer:

I'm looking for this one too

Answer 2

Answer:

import simplegui

import random

# global constants

WIDTH = 600

HEIGHT = 400

PARTICLE_RADIUS = 5

COLOR_LIST = ["Red", "Green", "Blue", "White"]

DIRECTION_LIST = [[1,0], [0, 1], [-1, 0], [0, -1]]

# definition of Particle class

class Particle:

  # initializer for particles

  def __init__(self, position, color):

      self.position = position

      self.color = color

  # method that updates position of a particle    

  def move(self, offset):

      self.position[0] += offset[0]

      self.position[1] += offset[1]

  # draw method for particles

  def draw(self, canvas):

      canvas.draw_circle(self.position, PARTICLE_RADIUS, 1, self.color, self.color)

  # string method for particles

  def __str__(self):

      return "Particle with position = " + str(self.position) + " and color = " + self.color

# draw handler

def draw(canvas):

  for p in particle_list:

      p.move(random.choice(DIRECTION_LIST))

  for p in particle_list:

      p.draw(canvas)

# create frame and register draw handler

frame = simplegui.create_frame("Particle simulator", WIDTH, HEIGHT)

frame.set_draw_handler(draw)

# create a list of particles

particle_list = []

for i in range(100):

  p = Particle([WIDTH / 2, HEIGHT / 2], random.choice(COLOR_LIST))

  particle_list.append(p)

# start frame

frame.start()

Explanation:

this worked for me, sorry if its to late. let me know if anything is wrong


Related Questions

2. Part of a pie chart that represents one value from the series.
a. axis
b. data
c. slice
d. chart​

Answers

......................

A. Axis

Arrange the tiles in the order of communication in the linear model.


The decoded message is sent to the destination.


A sender sends a message through a transmitter.


The encoded signal then travels through a channel.


At the receiver, the signal is decoded.


The transmitter converts the message into a signal through encoding.

Answers

Answer:

A sender sends a message through a transmitter.The transmitter converts the message into a signal through encoding.The encoded signal then travels through a channel.At the receiver, the signal is decoded.The decoded message is sent to the destination.

Explanation:

The linear model of communication comprises of four (4) main components and these are;

1. Sender (S): this is typically the source of information (message) or the originator of a message that is being sent to a receiver. Thus, they are simply the producer of a message.

2. Channel (C): this is the medium used by the sender for the dissemination or transmission of the message to the recipient. For example, telephone, television, radio, newspapers, billboards etc.

3. Message (M): this is the information or data that is being sent to a recipient by a sender. It could be in the form of a video, audio, text message etc.

4. Receiver (R): this is typically the destination of information (message) or the recipient of a message that is being sent from a sender.

The order of communication in a linear model are;

I. A sender sends a message through a transmitter.

II. The transmitter converts the message into a signal through encoding.

III. The encoded signal then travels through a channel.

IV. At the receiver, the signal is decoded.

V. The decoded message is sent to the destination.

Generally, when a message is encoded by the sender, it requires a recipient to decode it for the communication process to be complete.

Vocational counselors group career and occupation specialties into
career clusters.

Answers

they group them into 16 career clusters

Answer:

16 career clusters

Explanation:

The other guy is right. I got it correct on edmentum

Need help with this program

Answers

You can search a knowledge base of millions of school questions. If that doesn't work, you can always ask our experts yourself.

Asking a question will get you up to two answers from experts and star students.

You can Help others, complete challenges, and earn points to spend asking your own questions.

Hope this helps.

QUESTION 4 Developing practical thinking skills often involves O using common sense o learning from experience and building emotional intelligence mixing collaboration with private time evaluating whether examples support ideas​

Answers

Answer:

The answer is "mixing collaboration with private time".

Explanation:

In this question, the development of practical thinking abilities, training often involves resolved everyday struggles. It also helps students, are already used to develop communication skills, in particular, to resolve mostly based on critical thinking, everyday life issues at different layers of difficulty.

which type of webpages will automatically adjust the size of the content to display appropriately relative to the size of the screen of the device on which it is displayed

Answers

Answer:

Responsive.

Explanation:

HTML is an acronym for hypertext markup language and it is a standard programming language which is used for designing, developing and creating web pages.

Generally, all HTML documents are divided into two (2) main parts; body and head. The head contains information such as version of HTML, title of a page, metadata, link to custom favicons and CSS etc. The body of the HTML document contains the contents or informations of a web page to be displayed.

The responsiveness of a webpage is an ability of the design to respond to the end user's digital device and screen size.

In Computer programming, a responsive web design makes it possible for various websites to change layouts in accordance with the user's digital device and screen size.

This ultimately implies that, a responsive design is a strategic approach which enables websites to display or render properly with respect to the digital device and screen size of the user.

Hence, responsive webpages will automatically adjust the size of the content to display appropriately relative to the size of the screen of the device on which it is displayed.

Write a Python function that takes a positive integer N and returns the factorial of N, i.e., N! The factorial of N, denoted N!, is the product of the integers from 1 to N. (1 Point)

Answers

Answer:

The python function is as follows:

def fact(N):

   factorial = 1

   for i in range(1,N+1):

       factorial = factorial * i

   return(factorial)

Explanation:

This line defines the function

def fact(N):

This line initializes the product of 1 to N to 1

   factorial = 1

This line iterates through 1 to N

   for i in range(1,N+1):

This line calculates the product of 1 to N i.e. factorial

       factorial = factorial * i

This line returns the factorial

   return(factorial)

How is a game designer different from a writer?

Answers

Answer:

Explanation:

when ur a desiner u design things when u are a writter u write thing :) ik this is wrong need points

Answer:

The game designer knows what kind of game they want because when done right, the rules are integral to the setting. ... Game writers will often familiarize themselves with a game's rules and setting in order to successfully contribute to a project; game designers will often do the same thing, but from their perspective

Explanation:

An _____provider is a business that provides individuals and companies access to the internet for free

Answers

Answer:A B

access provider Business that provides individuals and companies access to the Internet free or for a fee.

Explanation:

Answer:

access provider

Explanation:

What princple of animation is used to animate the movements of the arms of the following character while walking?

Answers

Answer:

arc

Explanation:

write a program that asks the user how far they ran and then how long they ran and prints out their speed in miles per hour javascript

Answers

Answer:

var distance = prompt("How far did you run? in miles");

var time = prompt("How long did you run? in hours");

function calSpeed(miles, hours){

   var speed = miles / hours;

   console.log(speed,"m/h")

calSpeed(distance, time);

Explanation:

The javascript uses the prompt function to get user inputs for the distance and time variables. The calSpeed function calculates and prints out the speed of the runner with the arguments, distance and time.

explain mportance of using Microsoft Excel in pharmaceutical science​

Answers

Answer:

research the question and go to setting and press advanced search and it will give answer

how many different textile items would you find at a festival? (please list 5 items)

Answers

Ne demek istoyusun anlamadım

What are the two parts of a cell reference? column intersection and row range column range and row intersection column letter and row number column number and row letter

Answers

Answer:

C - Column letter & row number

Answer: C

Explanation:

Identify the symbol. please help!!

Answers

Explanation:

counter bore

Answer:

Diameter

Explanation:

On technical literature or drawings, it could be a symbol to mean diameter.

Which of the following does Not impact your credit score?

Answers

Answer:your race, gender, marital status, education level, religion, political party or income, those details can't be factored into your credit scores.

Explanation:

Service Mesh is a framework that handles the cross-cutting concerns like logging, service registration, etc. true false

Answers

Answer: False

Explanation:

A service mesh is referred to as a communication layer that is used to foster communication in a micro service setup usually through the use of a sidecar proxy.

It should be noted that in this case, every requests would have to pass through the service mesh.

It should be noted that the statement that Service Mesh is a framework that handles the cross-cutting concerns like logging, service registration, etc is false.

Write a void method named updateRadius which takes a circle and an int and changes the value of the circle's radius to the int. You can call your method in the program's main method so you can test whether it works, but you must remove or comment out the main method before checking your code for a score.

Answers

Answer:

public static void updateRadius(Circle circle, int radius){

   circle.setRadius(radius);

}

Explanation:

Assuming there is a class called Circle which has a method "setRadius", the void function "updateRadius" accepts two arguments namely circle class and the integer radius variable. The setRadius() method of the circle class is used to update the radius of the circle object.

When should you use an array in developing a program? Explain why it is important to apply arrays in a program.

Answers

Answer:

The answer is below

Explanation:

There are various reasons to apply arrays in a program. Some of which includes:

1. Arrays provides users to easily save specified numbers of the element in them.

2. It easily store data of similar types and sizes.

3. It allows users to store data in various dimensional arrays.

4. It eliminates deficit of memories for the location of its elements

Guess the output of this code:print( (3**2)//2 )

Answers

Answer:

Assuming that's in python, the answer would be 4

Explanation:

The ** operator is for raising a number to a power.

The // operator returns the number of times the right number can fit into the left (i.e round division).

So the answer would be three squared over two rounded down, or 4.

Can someone help me with this error? Will give brainliest and i will give more details if you need just please help​

Answers

Answer:

From what I see, you're trying to convert an int to a double&. This is illegal. Do you have any arrays with ints?

Which entry by the user will cause the program to halt with an error statement?

# Get a guess from the user and update the number of guesses.
guess = input("Guess an integer from 1 to 10: ")
guess = int(guess)

Multiple Choice
a. 22
b. 2.5
c. -1
d. 3

Answers

Answer:

2.5

Explanation:

The program expects an integer input from the user. This is evident in the second line where the program attempts to convert the input from the user to an integer value.

Please note that the integer value could be negative or positive.

Options (a), (c) and (d) are integer values while option (b) is a floating point value.

Hence, option (c) will halt the program and raise an error because it is not an integer.

Answer:

2.5 for it is a float not an integer

Explanation:

Explain one way in which programmers may get hired.

Answers

Explanation:

I think you first get interviewed?

Then you get like a test and then have to explain it to the admission people on a whiteboard or something.

how does operating system execute and provide services for application software​

Answers

An OS is a set of programs that lies between application software and the hardware. An OS is software that controls the hardware. It provides the interface between the hardware and the user. The most important program in the OS is the kernel, it manages the OS and most of it remains in memory.
Hope this helps and BRAINLIEST PLEASE! ❤️

How should technology be used?

Answers

Make Sure You Use The Right Technology.

Use Incorporate Automation Tools.

Manage Passwords Effectively.

Only Use Technology Where You Need Help The Most.

Use Chrome Extensions.

Organize Your Time With A Calendar App.

Take Advantage Of Free Applications.

Hope it helps!

Answer:

I think technology should be used for education

Explanation:

Hope this helped have an amazing day!

Why did who made cocomelon name it cocomelon and why are babies so addicted to it

Answers

Jay neon made it. Baby’s like milk

Answer:

Cocomelon

Explanation:

"Young children are drawn to the bright visuals — especially the focus on big eyes and faces — the repetitive music and sounds, and the constant movement and action on the screen." While young kids love the sounds and songs they hear on CoComelon, the animation and the bright colors are really what draws them in.


Some commands listed in a menu cannot be selected.


True or False

Answers

True! Have a nice week

Answer:

Explanation:

it is true

Which feature of a website takes you to a different part of the website or a totally different website when you click on it? A. graphics B. formal text C. hyperlink D. animation

Answers

Answer: C

Explanation:

Answer:

hyperlink

Explanation:

The feature of a website that takes you to a different part of the website or a totally different website when you click on it is called a hyperlink. Hyperlinks are typically underlined and appear in a different color than the surrounding text. They can be used to navigate between pages on the same website or to link to external websites.

List the do's and don'ts of secure online interactions

Answers

Answer:

The answer is below

Explanation:

The "dos" are the safe practice's website users should always do to provide themselves a form of security against potential hackers in online interactions.

Hence, are the "dos" based on the options listed.

1. Use a long password with mixed characters

2. Use antivirus and spyware protection

3. Don't write your password down and leave it where others can find it

4. Go through the terms and conditions, and privacy policies of social networking and other websites that you access.

On the other hand, the "don'ts" are the practices a website user or visitor should avoid doing to provide themselves a form of security against potential hackers in online interactions.

Hence, are the "don'ts" based on the options listed.

1. Keep yourself logged in when you leave your computer

2. Share your password with your friends

3. Retain cookies every time you visit a website.

Classify correctly linear and nonlinear multimedia.
movie at cinema
web page
video game
live video feed
e-book with links
instructional video
slideshow
Linear Multimedia
Nonlinear Multimedia

Answers

Answer:

movie at cinema - Linear Multimedia

web page - Nonlinear Multimedia

video game - Nonlinear Multimedia

live video feed - Nonlinear Multimedia

e-book with links - Nonlinear Multimedia

instructional video - Linear Multimedia

slideshow - Linear Multimedia  

Explanation:

The linear multimedia will go from the start all the way through to the finish without variation.

The Nonlinear Multimedia is the opposite; it doesn't follow that one-way structure and instead allows free movement around all aspects of the multimedia in any order.

movie at cinema - Linear Multimedia

web page - Nonlinear Multimedia

video game - Nonlinear Multimedia

live video feed - Nonlinear Multimedia

e-book with links - Nonlinear Multimedia

instructional video - Linear Multimedia

slideshow - Linear Multimedia

Other Questions
What happens to your hypotheses as new information is gained Tafu is working with subatomic particles in the Physics lab. A positron is traveling in a straight line down the particle accelerator. Tafu models its position with the functionp(t)= t^2/t 1(g) Find a time t>1 when the positron's instantaneous velocity is zero(h) Where is the positron located at the time you found in (g) a 13-gram bullet, moving at 270 m/s, penetrates a 2 kg block of wood and emerges at a speed of 130 m/s. if teh block sits one a fricitonless surface, find its velocity after the bullet emerges. Whats the meaning of low metabolism Can you guys help me please thank you :) What does hola mean in English?;)Have a nice day! In a math game, Bradley was supposed to find the square root of a number. Instead the squared the number and said "81."What number should Bradley have given? Which is the best example of a description paragraph in the essay?A. paragraph 1B. paragraph 2C. paragraph 5D. paragraph 3 The Stock Market Alexander is a stockbroker. He earns 11% commission each week. Last week, he sold $6,400 worth of stocks. How much did he make last week in commission? If he averages that same amount each week, how much did he make in commission in 2011?Last week, he made ____ in commission. Giving brainliest Simplify the expression:5(5 + 3u) = Can you please tell me an explanation of what happens during the prophase stage of mitosis?i will mark brainliestPlease dont copy and paste List at least least five (5) ways that the Nile River was a source of life for the Egyptianpeople HELPPP PLSJames is tossing a counting cube numbered 1 to 6 to see how many times he gets a 3 or a 6. If he tosses the cube 36 times, predict how many times he will roll a 3 ora 6. A. 6 times B. 12 times C. 9 times D. 18 times in a highschool, 2/5 of the boys make up 250 students. how many boys are there in the high school? (need help ASAP!) A moving truck has 10 feet ramp that is used to put furniture in the truck. The ramp touches the ground 8 feet from the back of the truck. How high off the ground is the ramp meet the back of the moving truck? including the phones tablets and cloud, how many total bits of storage does the family have al together HELP ME ASAP PLSSSQuestion 1 (5 points) Which branch of musicology develops methods to analyze the elements of music?music theoryhistorical musicologysystematic musicologyethnomusicologyQuestion 2 (5 points) What does a composer do when orchestrating a piece of music?Composes a piece of music for at least one or more instruments.Adds various musical parameters into a piece of music.Assigns different musical lines to different instruments in a piece of music.Sequences themes and variations into a piece of music.Question 3 (5 points) Which element is not a musical parameter?variationdynamicsarticulationtempoQuestion 4 (5 points) Which clef would generally be used for the high end of the piano or notes that are to the right of middle C?treblealtotenorbassQuestion 5 (5 points) Which time signature has three beats per measure and the quarter note gets the beat?2/33/23/44/3Question 6 (5 points) Which instruments, discovered in China, are considered the oldest playable musical instruments?drumsfluteshornspipasQuestion 7 (5 points) Which traditional music scale is used in most Asian music?pentatonicdiatonicmajorminor Question 8 (5 points) Which type of music would be written for church use?sacredsecularmadrigalmotetQuestion 9 (5 points) Which songs tended to be rustic or humorous and often dealt with love?plainchantschantspsalmsmadrigalsQuestion 10 (5 points) What technique was used in the Baroque period to create contrast by suddenly shifting from loud to soft or soft to loud?terraced dynamicsornamentationmotor rhythmscounterpointQuestion 11 (5 points) What distinguishes chamber music from orchestral music?Chamber music is easier to perform than orchestral music.Chamber music is written for only voices, while orchestral music combines vocal and instrumental parts.Chamber music is written for a small group of instruments, while orchestral music is written for a large group of instruments.Chamber music is written for a large group of instruments, while orchestral music is written for a small group of instruments.Question 12 (5 points) Which phrase best describes an opera?an instrumental composition performed by a symphonya nonmusical theatrical productiona production that integrates music, dance, sets, and costumes to enhance a storyan unstaged musical composition for voices and instruments that tells a sacred storyQuestion 13 (5 points) Which phrase describes opera buffa?an Italian comic opera of the eighteenth centurya serious or tragic opera that had speaking roles instead of recitativesa tragic opera with the text set entirely to musica serious or tragic opera that alternates recitatives and arias in predictable waysQuestion 14 (5 points) Which term names a solo voice piece in an opera with a strong melody line?ariarecitativebel cantolibrettoQuestion 15 (5 points) Which form of music is a large-scale work for orchestra that usually has four movements? sonatasymphonymassstring quartetQuestion 16 (5 points) What are the three main parts of sonata form?sonata minuet scherzoexposition development scherzoexposition development recapitulationexposition minuet recapitulationQuestion 17 (5 points) What are the four main sections of the Romantic orchestra?strings, woodwinds, brass, percussionviolins, flutes, trumpets, drumsviolins, violas, cellos, bassstrings, woodwinds, brass, pianoQuestion 18 (5 points) Which type of music is an instrumental composition associated with a story, poem, idea, or scene?absolute musicGesamtkunstwerkprogram musicoperaQuestion 19 (5 points) What was music during the Romantic period used to express?virtuosity and musicianshipemotion and feelingdesire for social changepolitical discontentQuestion 20 (5 points) Which term names a piece of music that incorporates native folk songs from a composers homeland?absolute musicoperanationalistic musicincidental music What is dependability?Dependability is doing everything that is assigned to me.Dependability is trying to be useful.Dependability is working through difficulty.Dependability is fulfilling commitments even in the face of difficulty. The supply and demand for money is the major influence on the level of interest rates.true or false? distance covered by minute hand in 1 hour is 94. 20 cm find the circumference of the circle whose radius is 12 CM