CIS261: Python Programming I home
>
6.8: LAB: Miles to track laps

Answers

Answer 1

Python Programming Language is known to be a widely used general purpose high level language.

What is Computer Programming?

This is known to be the way or method that is used in writing of a set of instructions that helps to inform the computer on what to do.

Note that in CIS261: Object Oriented Computer Programming, the  computer program is made up of instructions that are said to be executing only one at a time.

Its basic  instruction types is known to composed of input, process, and output.

Learn more about Python Programming from

https://brainly.com/question/26497128

#SPJ1


Related Questions

What are the common operations performed on character strings?

Answers

Answer(:

•concatenation

• scanning

• substringing

• translation

• verification

if you want to remember means csstv;-)

Question # 9
Fill in the Blank
Complete the statement using the correct term.
The aerospace industry uses______________ simulators to train astronauts and design spacecraft.

Answers

Answer:

flight stimulators are used to train astronaut and design simple air craft

In java language I want the code

Answers

Answer:

code was too long to paste here, attached below

A message in your code that explains what is going on in your program (Known by seeing // before the message)

Answers

Answer:

comment

Explanation:

Comments just comment on the code.

Comments could be helpful when someone else has to read your code.

Comments just comment on the code. Comments could be helpful when someone else has to read your code.

What is Comments?

An explanation or annotation in a computer program's source code that can be viewed by programmers is known as a remark.

Compilers and interpreters typically ignore them because they were introduced to make the source code simpler for humans to understand. The syntax of comments differs significantly among programming languages.

Sometimes, comments are also handled in a variety of ways by documentation generators to provide documentation separate from the source code itself, or they are used to integrate with source code management systems and other types of external programming tools.

Therefore, Comments just comment on the code. Comments could be helpful when someone else has to read your code.

To learn more about comments, refer to the link:

https://brainly.com/question/30318947

#SPJ3

when does computer store data permanently?​

Answers

when the device is unpowered.

How to powerwash chromebook

Answers

Answer:

you only need to select restart after you sign out of your account also I would make sure everything you need is backed up because otherwise everything you have will get deleted I accidentally had that happen to me last week or the week before, I didn’t realize it was going to need to be reset so I didn’t save the majority of my answers. So now I have barely anything done and I’m behind.

Explanation:

I hope it helps you though.

What will be printed to the screen when the following program is run?

Answers

Answer:

The answer is 20

Explanation:

Hope this helps!

Answer:

40

Explanation:

Indexes for arrays in Python start at 0, which means the first item of an array is at index 0, the second item is at index 1, the third item is at index 2, and the fourth item is at index 3.

Therefore when my_list[3] is put inside the print function, the fourth item, 40, is printed to the screen.

Hope this helps!


Explain three of the the features of the word processing to document. ​

Answers

Word processing software may be used to create, edit, save, and print documents, among other things. Text within a document may be copied, pasted, moved, and deleted. Text formatting includes font selection, bolding, underlining, and italicizing.

I’m so sorry to say I have a lot to say I don’t

Choose the correct term to complete the sentence.

For most operating systems, the _______ function returns the number of seconds after January 1, 1970, 0:00 UTC.


O localtime()

O time()

O epoch()

Answers

Answer:

time() or time.time()

Explanation:

The time() method from the time module gives the amount of seconds after epoch, or Jan 1, 1970. Running this in the Python shell would return a number like this:

>>> time.time()

1652747529.0429285

For most operating systems, the time() function returns the number of seconds after January 1, 1970, 0:00 UTC. Thus, the correct option is B,

What is the time() function?

In python, the time() function is the function which returns the number of seconds that have been passed since an epoch. It is the point where time actually begins. For the Unix system, the time such as January 1, 1970, 00:00:00 at UTC is an epoch.

The time() method from the time module is used widely to give the amount of seconds which have been passed after the time period of an  epoch, or Jan 1, 1970. Running this in the Python shell would return a number like the one listed in the question.

Therefore, the correct option is B.

Learn more about time() function here:

https://brainly.com/question/12174888

#SPJ2

Which method can be used for making a robot perform a different set of functions?

a. changing a robot's sensors
b. dismantling a robot
c. creating a new robot
d. rewriting software

Answers

Answer:

D. Because rewriting it can make it preform new functions.

Explanation:

Do anyone know how to code like I need someone do a code for me?

Answers

Answer:

yeah i can depends on what exactly it is but probably

Design a flowchart or pseudocode for a program that accepts two numbers from a user and displays one of the following messages: First is larger, Second is larger, Numbers are equal?

Answers

The pseudocode of the program will ask of two numbers form the user, compare the numbers and print out statements depending on the result of the comparison.

What is a pseudocode?

Pseudocode is an informal way of programming description that does not require any strict programming language syntax. The pseudocode describes how the code will be written and structured.

Therefore, the pseudocode follows the structure below

Ask the user for two numbersUse the greater than and equals to operator to check if any number is greater than the other or they are the sameFinally, we print the statements: First is larger, second is larger or numbers are equal depending on your result in comparison of the numbers.

learn more on pseudocode here: https://brainly.com/question/14101532

#SPJ1

Which of the following types of promotion includes a two-way conversation?

Answers

It would be C. Personal selling. Hope it helps!
where are the answer choices?

The name for the instructions you write to a computer in a program

Answers

Answer:

Code

Explanation:

The code is instructions that you can write yourself or download from online

Answer:

Code

Explanation:

Code

The name for the instructions you write to a computer in a program

I need help including my other one I posted

Answers

Answer:

2. I like the form of it, I like the porportion of it.

3. I dont know what a purpose of this maybe it a person wearing a tuexdo stepping out of his house or something.

4. Another thing that would work well is texture.

What will be the output of the following code snippet?

Answers

Answer:

D

Explanation:

Its gonna be of the class integer.

Explain the stages of the evolution of the idea of IDS and its importance of security, military and examine the importance of intrusion detection systems and categories classifications, and where can put IDS to reduce the risk to the network.

Answers

Intrusion detection systems (IDS) is a software type that is used to check for violations of policy or any other malicious activity. IDS detects and prevents unauthorized activities.

What is IDS?

Intrusion detection systems (IDS) is the technological system that is built to check for any suspicious and unauthorized activities. They detect the network system and the system logs.

The unauthorized and suspicious things are scanned and made an alert. It is very crucial in many fields as many documented and private items are needed to be protected.

Therefore, IDS can be of various types like host, network, perimeter, and VM.

Learn more about IDS here:

https://brainly.com/question/20709626

#SPJ1

The groups within a tab are collectively
known as?

Answers

Answer:

the ribbon

Explanation:

Commands are organized in logical groups, which are collected together under tabs. Each tab relates to a type of activity, such as formatting or laying out a page. To reduce clutter, some tabs are shown only when needed.

Allan is a candidate for the position of Mayor in his town. He is worried about using email for the fear that it may be intercepted by the government and used by his opponent. What law protects his email from being intercepted by the government?
The
and its proposed update strengthen the online privacy of users by increasing requirements for governmental access to the stored data.

Answer: Electronic Communications Privacy Act

Answers

Answer:

This is correct.

Explanation:

I took the test and got it right.

what is the input for air cooler computer science​

Answers

Answer:

cooling

Explanation:

Air cooling is a process of lowering air temperature by dissipating heat. It provides increased air flow and reduced temperatures with the use of cooling fins, fans or finned coils that move the heat out of a casing such as a computer …

what are the four main components of programming languages and why is each one needed?

Answers

Answer:

input, output, arithmetic and conditional and looping

Question 2 of 25
How could a video's file size be reduced so that it will take up less space on a
computer's hard drive?
A. By shooting it at a lower resolution
B. By shooting it at a higher resolution
C. By shooting it at a higher frame rate
D. By sampling the sound at the maximum rate

Answers

A, as a lower resolution will store less data per frame, reducing file size.

In this area, you want to focus on which hardware, application, personnel, or department(s) will be impacted by the security policy. For instance, what type of personal devices are allowed on the network and when? Must the personnel receive formal approval before using such devices on the network? What kind of activity is allowed on a personal device? Who is responsible for granting the permission to use a device on the network?

Answers

The type of personal devices that are allowed on the network are:

LaptopsSmartphones tablets

What devices do BYOD have?

BYOD is known to be Personal devices such as smartphones that organizations often gives permission for employees that are working from home so as to be able to have a flexible schedule and others.

Therefore, The type of personal devices that are allowed on the network are:

LaptopsSmartphones tablets

Learn more about personal device from

https://brainly.com/question/4457705

#SPJ1

can i get help with computer language​

Answers

Answer:

yes

Explanation:

because you can choose you own language

I need the answer with c++
The question : Implement the class "Rectangle" with sides parallel to the coordinate axes. 1.Provide for the possibility of moving rectangles on the plane. 2.Provide for the possibility of changing sizes. 3.Provide for the possibility of constructing the smallest rectangle containing two given rectangles. 4.Provide for the possibility of constructing the rectangle that is a common part (intersection) of two rectangles. 5.Provide for the possibility of calculating the length of half the diagonal of a rectangle.

Answers

Using the knowledge of computational language in C++ code we found that this code can be written as:

The code can be found in the attached image.

How to writte the C++ code ?

So from the c++ code you can write the geometric figure as

#include <bits/stdc++.h>

struct Point {

   int x, y;

};

bool doOverlap(Point l1, Point r1, Point l2, Point r2)

{

   if (l1.x > r2.x || l2.x > r1.x)

       return false;

   if (r1.y > l2.y || r2.y > l1.y)

       return false;

    return true;

}

/* Driver program to test above function */

int main()

{

   Point l1 = { 0, 10 }, r1 = { 10, 0 };

   Point l2 = { 5, 5 }, r2 = { 15, 0 };

   if (doOverlap(l1, r1, l2, r2))

       printf("Rectangles Overlap");

   else

       printf("Rectangles Don't Overlap");

   return 0;

}

See more about C++ at brainly.com/question/19705654

#SPJ1

What will be printed to the screen when the following program is run?

Answers

Answer:

false

Explanation:

the parenthesis contains 2 true statements (5 is greater than 4 and 10 is greater than or equal to 10)

outside the parenthesis is the not, so the true parenthesis is negated to false

this means the value of a is false

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

Answers

Answer:

i think its, a. sequence

Explanation:

i could be wrong, if i am, i am sorry


Which type of device would be used on a laptop to verify
the identity of a user

Answers

Answer:

A biometric identification device

Explanation:

As biometric identification devices, laptops commonly use a fingerprint scanner or, for facial recognition, a camera.

Select the correct answer.
What statement best describes fault isolation?

Answers

The statement that best describes fault isolation is that Fault Isolation is known to be the area of knowing the cause of an issue.

What is  fault isolation?

Fault Isolation is also known to be the way or method use in  knowing the cause of an issue.

It is also known as fault diagnosis as it helps to deals with a lot of methods that can help one to be able to isolate the component or the device that is causing or leading to the error.

Learn more about isolation from

https://brainly.com/question/27507161

#SPJ1

In Exercises 1–4 construct the dual graph for the map shown.
Then find the number of colors needed to color the map so
that no two adjacent regions have the same color.

Answers

Answer:

10.8 Graph Coloring

A coloring of a simple graph is the assignment of a color to each vertex of the graph so that no

two adjacent vertices are assigned the same color.

Chromatic number

The chromatic number of a graph is the least number of colors needed for a coloring of this graph.

The Four Color Theorem

The chromatic number of a planar graph is no greater than four.

10.8 pg. 733 # 3

Construct the dual graph for the map shown. Then find the number of colors needed to color the

map so that no two adjacent regions have the same color.

a

b c d e

f

At least three colors are needed to color the

graph because of triangle 4abc exists in the

graph.

10.8 pg. 733 # 7

Find the chromatic number of the given graph.

a

b

c

d

Since this graph forms two triangles, 4abd and

4bcd, we can color this graph with at least 3

colors where a and c are the same colors.

a

b

c

d

10.8 pg. 733 # 9

Find the chromatic number of the given graph.

1

ICS 241: Discrete Mathematics II (Spring 2015)

a

e

b

c

d

This graph can be colored with two colors like

shown.

a

e

b

c

d

10.8 pg. 734 # 19

The mathematics department has six committees, each meeting once a month. How many different

meeting times must be used to ensure that no member is scheduled to attend two meetings at the

same time if the committees are C1 = {Arlinghaus, Brand, Zaslavsky}, C2 = {Brand, Lee, Rosen},

C3 = {Arlinghaus, Rosen, Zaslavsky}, C4 = {Lee, Rosen, Zaslavsky}, C5 = {Arlinghaus, Brand},

and C6 = {Brand, Rosen, Zaslavsky}?

We will first draw the intersection graph of the given sets.

C1 C2

C3

C5 C4

C6

From here, it is easy to see that we need at least 5 colors like so:

C1 C2

C3

C5 C4

C6

Therefore, 5 meeting times are needed. Committees C4 and C5 can meet at the same time.

Explanation:

done-_-

Other Questions
From 1984 to 1995 the winning scores for a golf tournament were 275,279,279,276,278,277,280,282,284and 270 Find the mean of the data is Solve the simultanious equations 2x+3y=13 4x-y=-2 Select all that are true of morality plays They portrayed abstract concepts (like good and evil) The devil was portrayed as a serious character They instructed on Christian virtues Courtly dances occurred to incite interest Find the errors and solve the problem correctly! Thanks 19. A pet shop owner bought 320 leashes. 30% of these leashes were pink leashes and the rest were blue and green leashes. The number of blue leashes is 3 times the number of green leashes. How many blue leashes did she buy? PLEASE HELP WILL GIVE BRAINLEST! What is the amplitude of the function graphed below? A builder is developing a neighborhood of one-bedroom and two-bedroom houses. the builder wants to build 12 houses and can use as many as 88 total windows. the one-bedroom houses need 6 windows and the two-bedroom houses need 9 windows. part a write and solve a system of equations to represent the situation. let 2 represent the number of one-bedroom houses. let y represent the number of two- bedroom houses. round your answers to the nearest hundredth, if necessary. Successful safety and health programs identify, prevent or control, and evaluate hazards and control methods. What does this involve?. Evaluate the integral. (Remember to use absolute values where appropriate. Use C for the constant of integration.) dx x 25x2 1 Why can you get a shock if you touch a metal doorknob after walking across a wool carpet? (1 Point) You have gained electrons; the doorknob has no electrons. You have gained neutrons; the doorknob has fewer electrons. You have lost electrons; the doorknob has many electrons. You have gained electrons; the doorknob has many electrons. Give me the right answer this time pls . Need help on this rn How are computers classified into different types? Explain By looking at the date of the letter, what major event was going on in America. A. French and Indian WarB. Revolutionary WarC. Spanish-American WarD. The Civil War which of the tables represent a function? (sorry for the bad photo) 15 points! The symbol most often used to describe density is? Can you tell me the answers?I Rewrite the following sentences in Passive:1. Somebody finished the report a week ago.2. They have employed a new waiter.3.He might bring some food.III Report the following:1. Ann told me: "I travel a lot in my job."2. John said to us : "I'm afraid won't be there for you."3. Bill said to me: "We play tennis for our school."IV Work out Lisa's actual words:1. Lisa told us she hadn't bought the dress for her party yet.V Use the right quantifier to complete the sentences (a few/ few, a little / little):1. There are________people she can trust. It's a bit sad.2. _________ attention is given to the problem of parking. The problem is so neglected.VocabularyChoose the right word to complete the sentences:Shoplifting, racism, humiliation, robbing, burgler1. In the first half of the twentieth century 2. When the police arrived at the house, the,___________disappeared.3. A suspect was arrested for_________4. There's a man in my store. He's__________5. Racial segregation still existed in the 1950s. Black people were tired of ________a jewellery store. A weather forecast states that there is a 20% probability of rain on each of the next 3 days.Complete the description of a simulation you could perform using random numbers to find the experimental probability that it will not rain on any of the next 3 days.To simulate a 20% probability of rain over 3 days, let of 10 numbers represent a day with rain. So, of the numbers represent a day without rain. Then, perform multiple trials, generating random numbers for each trial. 2. How did Rashad feel when he woke up on Saturday? Why did he feel this way? Useevidence from the text to support any inferences. Can someone please help me with this??What is the literal meaning of this poem?"Into my heart an air that killsFrom yon far country blows:What are those blue remembered hills,What spires, what farms are those?That is the land of lost content,I see it shining plain,The happy highways where I wentAnd cannot come again."