pls help me pass my finals!!​

Pls Help Me Pass My Finals!!

Answers

Answer 1

Answer:

(a): power(2&-2)

The code is as follows:

power = 2**-2

print(power)

(b): Largest and smallest in a list

The code is as follows:

num = [33,6,11,100,456,109,-4,366]

smallest= min(num)

largest= max(num)

print(smallest)

print(largest)

(c): Loop in Python

(i) Loop are instructions that are repeated until a certain condition is met;

(ii) For loop, in python are used to iterate over a sequence or through a certain range;

The syntax is:

for loop_element in range(iterating_range):

The following is an illustration of for loop that iterates 5 times

for i in range(5):

Explanation:

(a): power(2&-2)

The ** is used to calculate power.

So, 2**-2 represents 2 raise to power -2

power = 2**-2

This prints the calculated power

print(power)

(b): Largest and smallest in a list

This initializes the list

num = [33,6,11,100,456,109,-4,366]

This calculates the smallest using min() function

smallest= min(num)

This calculates the largest using max() function

largest= max(num)

This prints the smallest and the largest

print(smallest)

print(largest)

(c): See answer section


Related Questions

What do you call a collection of pre-programmed commands and functions used in programs?
Choices
1.Widget
2.Function
3.Libary
4.Variable

Answers

The answer is number 3.libary

What do you use the Pygame library for?

Answers

Answer:

Pygame is a cross-platform set of Python modules designed for writing video games. It includes computer graphics and sound libraries designed to be used with the Python programming language.

What is the definition of WLAN​

Answers

Explanation:

A wireless LAN is a wireless computer network that links two or more devices using wireless communication to form a local area network within a limited area such as a home, school, computer laboratory, campus, or office building.

WLAN stands for wireless local area network. It is a wireless connection that connects two or more devices in LAN. WLAN uses access points and routers to make a connection between devices. Wi-Fi is an example of WLAN where devices are connected wirelessly within a limited range.

stay safe healthy and happy.

which of the following has the highest storage capacity?
a.digital versatile disc
b.computer disc
c.floppy disk
d.hard disk

Answers

Answer:

d. Hard disk

Explanation:

The storage capacity of the given options are presented as follows;

[tex]\begin{array}{lr}Device& Storage \ Capacity\\ Digital \ versatile \ disc\ (DVD)& 4.7 \ GB\\ \begin {flushleft} Computer \ disc \ (CD)&703 \ MB\\Floppy \ disk & 2.8 \ MB\\Hard \ disk & 1,000 \ GB\end{array}\right][/tex]

Therefore, the device with the highest storage capacity from among the options is the hard disk with a storage capacity of 1,000 gigabytes of data

What is the error in the following line: (1)

age=int(input("Enter your age:")

Answers

Answer:

14

Explanation:

You are an administrator with 550 devices to enroll into Intune. You choose to bulk enroll them. Which other software will you need to build the package necessary to bulk enroll the devices via USB or network location

Answers

Answer: Windows Configuration Designer (WCD)

Explanation:

The other software that will be needed to build the package which is vital in bulk enroll the devices through USB or network location is Windows Configuration Designer (WCD).

Windows Configuration Designer typically allows the configuration of several aspects of Windows devices such as Active Directory, Connect to WiFi, Device name, and install applications.

When browsing using certain browsers, if a page is known to be malicious or using phishing techniques in the past a browser may display a _________ before allowing you to move forward. Select one: Red Flashing Lights Red X Warning Bell Warning Page

Answers

Answer:

the last option

warning page

Which term describes the part of a file name after the period that indicates which application can create or open it?
O CSV
O path
O extension
O delimiter

Answers

Extension because blah blah blah Im just jk but since I think its extension so I thought I’d let you know :)

who invented the Bluetooth device​

Answers

Answer:

The Bluetooth standard was originally conceived by Dr. Jaap Haartsen at Ericsson back in 1994.

Explanation:

according to this website www.androidauthority.com/history-bluetooth-explained-846345/

Answer:

alexander - edg 2022

Explanation:

Sabiendo que z1 = 10, z2 = 20, z3 =10 , z4 = 20, n1 = 1200 rpm.

a) Realiza un esquema en planta del mecanismo.

b) Calcula n2 n3, n4. y la relación de transmisión.

c) Sabiendo que z1 = 10, z2 = 20, z3 =10 , z4 = 20, n1 = 1200 rpm.

Answers

Answer:

a. engranaje 1 → engranaje 2 → engranaje 3 → engranaje 4

     z1 = 10            z2 = 20              z3 =10            z4 = 20

b. n2 = 600 rpm, n3 = 1200 rpm, n4 = 600 rpm

   la relacion de transmision = 2

Explanation:

where z1 = 10, z2 = 20, z3 = 10, z4 = 20

and n1 = 1200 rpm

n2 = n1 * z1/z2 = (1200 * 10)/ 20 = 600 rpm

n3 = n2 * z2/z3 = (600 * 20)/ 10 = 1200 rpm

n4 = n3 * z3/z4 = (1200 * 10)/ 20 = 600 rpm

la relacion de transmision = z2/z1 * z3/z2 * z4/z3

= 20/10 * 10/20 * 20/10 = 2 * 0.5 * 2 = 2

What is the difference btween a microcontroller a mini computer?

Answers

Answer:Microcomputers and minicomputers may sound similar, but they are very different types of computers. Microcomputers usually refer to laptop or desktop PCs that you use in a typical household, whereas minicomputers, which were primarily used from 1960 to 1980, are generally larger, but have limited functionality and slower processors.

Minicomputers can be quite bulky. Just the CPU itself can weigh up to 90 pounds.

Minicomputers can be quite bulky. Just the CPU itself can weigh up to 90 pounds.Minis were designed to be less complex than mainframes but still provide multiple terminals for multiple users. However, many of these systems were still slower, had less memory and were unable to integrate into larger networks.

Minicomputers were primarily used for process control and performing financial and administrative tasks, such as word processing and accounting. Some machines were designed for medical laboratory and teaching aids.

Microcomputers are primarily used for word processing, managing databases or spreadsheets, graphics and general office applications.

Explanation:

hope it helps

when can one say that certain product has value​

Answers

Answer:

We can say that a certain product has a value when it is sold on Market and if many people demands on it. Products are produced to satisfy our needs and wants.

Explanation:

thank me later

plz help
In response to a line of code reading name = input(“What is your name?”), the user enters the word Joshi. What will be the variable name assigned to the data Joshi?
a.
input

b.
name

c.
one

d.
What is your name?

Answers

Answer:

name

Explanation:

name =

is an assignment to the variable called 'name'.

Answer:

b. name

Explanation:

Not sure what language this is, but it looks like input( ) is a function that displays whatever you pass in, and then gets the responding user input.

Therefore, when you assign the function to a variable named "name", whatever the user input is will be assigned to it.

var name;

name = input("What is your name?");

print(name); //This would print the user's input.

Q5: Which two sensors would be used in an outdoor intruder safety light system?
Pressure sensor. Or motion sensor best answer shakl get brainliest

Answers

Answer:

Motion sensor.

Explanation:

I think it is easy to track the intruder with a motion sensor rather than with a pressure sensor

Your cousin, a senior in high school, asks you to play a Jeopardy-style game with her to help prepare for her computer science exam next week. She gives you these two clues about a type of relational database key: No column values may be NULL, and columns may be combined to create a unique primary key. Which type of key is she referring to

Answers

Answer:

She is referring to composite primary key

Explanation:

Composite primary key comprises of several columns with each having column having its own individual uniqueness.  

In a composite primary, all columns need to have some value as none of them can be null. Also, these individual columns are grouped to get a unique value.  

what is the correct way to write h1 tag

Answers

Answer:

[tex]\huge\boxed{\texttt{<h1> </h1>}}[/tex]

Explanation:

The h1 tag in HTML is used to create title-like text.

HTML stands for Hyper Text Markup Language, and is the most common programming language used for website creation with content that can be read.

Additionally, CSS (Cascading Style Sheets) is used for the design of a document, such as colors or designs that are on the website. JavaScript is used for scripting websites such as interactive features that can be used via JavaScript.

h1 is the most common use for a big title on a screen. For example, if you're writing an article, you might put the name of your article title in h1 to give it that title emphasis.

Any tags in HTML will open with <> and end with </>, replacing whatever is inside of those tags with the type of style you want. So, an h1 tag would work like this.

<h1> Hello there! </h1>

The <h1> starts the next string into the h1 format, and the </h1> tells it to stop parsing what's after into the h1 tag.

Hope this helped!

Write a program to accept radius and find area of circle

Answers

Answer:

Change it however you'd like

Explanation:

from math import pi

def findArea(rad):

   return (rad**2) * pi

#test

print(f"Area of the circle: {findArea(5)}")

Answer:

the answer above me is correct

Explanation:

Sami needs to decide how the fonts, colors, and images will look on her new web site. Which will help her pian her design?
O Mockup
Rough draft
O Sketchbook
Storyboard

Answers

maybe a sketchbook:))))

Answer:

Your answer is D Storyboard

Explanation:

Storyboarding is a process where you plan how things will look on your website just as described.

explain the verbal method of communication​

Answers

Answer:

verbal method of communication means using kaomji, emojis gifs and stickers although you know how to use the keyboard.

Answer:

The Verbal Communication is a type of oral communication wherein the message is transmitted through the spoken words. Explanation: Here the sender gives words to his feelings, thoughts, ideas and opinions and expresses them in the form of speeches, discussions, presentations, and conversations.

Select all the correct answers.
Which THREE of the following are spreadsheets typically used for?

budgeting
scientific analysis
creating presentations
number formatting
computer programming

Answers

Answer:

number formatting,

scientific analysis computer programming

Answer number formatting,

scientific analysis computer programming

Explanation: its right

PLEASE HELP DUE IN 30 MINUTES NO LINKS PLEASE ​

Answers

Answer:

3

Explanation:

Answer:

Correct answer is C: Format Check

which memory can be removed from motherboard? RAM OR ROM?​

Answers

Answer:

RAM is random-access memory and it can be removed from the motherboard.

Feel free to mark as brainliest :D

Alvin has created a non-extensive site map of all the commonly visited pages of his website. What is such a site map called?

А. XML site map

B. simple site map

C. standard site map

D. HTML site map

E. advanced site map

Answers

Answer:

А. XML site map

Explanation:

Indeed, the XML site map is the modern term used to describe a non-extensive site map containing details such as the commonly visited pages of a website.

Alvin's XML site map would allow search engines to have a  record of commonly visited pages of his website.

639820- 2852478

425867- 369514​

Answers

Answer:

639,820 - 2,852,478 = -2,212,658

425,867 - 369,514 = 56,353

Have a nice day!

Express 42 as a product  of its prime factor​

Answers

The only way to write 42 as the product
of primes.

Except to change the order of the factors is
2 × 3 × 7. We call 2 × 3 × 7 the prime factorization of 42.
The only way to write 42 as the product of primes (except to change the order of the factors) is 2 × 3 × 7. We call 2 × 3 × 7 the prime factorization of 42.

You have a team member on a remote project who is not fluent in English and
sometimes struggles with conversation. What is the best way to
communicate with him or her in a project setting?
O A. Through email
B. Through instant messaging
C. Over the phone
D. Over a video calling application

Answers

Answer:

Through email

The best way to communicate with him or her in a project setting is Through email.

Why through email?

In communication, the parties involved needs to understand each other and as such comprehension is vital.

Note that The best way to communicate with him or her in a project setting is Through email as the other person can sit down and quieting digest the information.

Learn more about email from

https://brainly.com/question/24688558

#SPJ2

Select the correct answer.
Walden is looking at his company’s regional sales numbers. He needs a quick estimate of the total sales across regions. The numbers are confusing to read because of the trailing decimals. What function can Walden use to round the numbers to the nearest whole number?

A.
=ROUND(number)
B.
=ROUND(0)
C.
=ROUND(number, 0)
D.
=ROUND(1)
E.
=ROUND(number, 1)

Answers

Answer:

C. =ROUND(number, 0)

Explanation:

The ROUND function in MS Excel is used in rounding off numbers input in the function to a specified number of decimal places

The cell address containing the original number to be rounded off, or the original number is entered as the first argument of the function, while the second argument is the number of digits the original number is to be rounded to

In order to round to the nearest whole number, the second argument would be 0 which result in the removal of the numbers after the decimal place and rounding the last integer on the bases of the value of the number after the decimal point

Therefore, to round the original number to the nearest whole number, the function Walden should use is =ROUND(number, 0).

Complete the code.
import CSV
inFile = open('pets.txt', 'r')
myReader =
reader(inFile)
for item in myReader
print(item)

Answers

The complete Phyton code is given below:

Complete the code.

import CSV

inFile = open('pets.txt', 'r')

myReader =

reader(inFile)

for item in myReader

print(item)
exit()

What is a Phyton Code?

Phyton is a high-level, object-oriented programming language. It is easy to learn its syntax and reduces the cost of program maintenance.

In the code above, the last line exit() was included to complete the code and to signal to the computer that that is the end of the instruction.

Please see the link below for more about Python Program:

https://brainly.com/question/12684788

Answer:

cvs.reader(inFile)

Explanation:

In the table below, identify the data type that would be most suitable for the second field.

Name Age Gender
Mary 22 female
Joe 24 male
Kate 21 female
Frank 20 male
A.
binary
B.
Boolean
C.
autonumber
D.
text
E.
number

Answers

Answer:

e num

Explanation:

Answer:

A

Explanation:

pls pls pls helppp!! I NEED SOMEONE WHO IS A PRO AT COMPUTER SCIENCE CODING LIKE PYTHON AND STUFF TO CREATE A ZOOM AND HELP ME WITH SOMETHING!! :))) PLEASEEE

Answers

Answer:

?

Explanation:

Other Questions
5 moles of oxygen gas is equal to how many grams? A food company puts exactly 10 sliced carrots in each bag of frozen vegetables. Let b represent the number of bags of frozen vegetables and c represent the total number of sliced carrots. The table shows the relationship between b and c. Which equation below represents the relationship between b and c? The diagram to the right represents a pair of homologous chromosomes in a diploid cell, and the resulting chromosome in a haploid cell. The letters represent alleles of genes. Why does the chromosome in the haploid cell have alleles from both of the chromosomes in the diploid cell? What is the value of u ? 1. The main characteristic of a full-service advertising agency is that it A. does not limit its services to promotion. B. does not provide services to individuals. C. specializes in providing creative services. D. specializes in buying media time and space. write the application of gravitational force What is the best summary of the section titled "How is cereal made?" The number that you will be rounding is: 5764.357894Round this number in these 4 ways to the nearest:1)ten2)tenths3)hundred4)hundredths can keep you alert and sharpen your concentration which part of the u.s favored strong state rightsA: the industrialized northB: the agrarian southC: the west coast D: the western frontier The Bill of Rights was added to the Constitution to protect the rights ofthe Supreme CourtBAmerican citizenspeople visiting America from other countriesDthe national bank the belief that people's greatest loyalty should not be to a kingor an empire but to a group of people An escaped slave who joined the union Melting Ice absorbed heat when heated. The particles obtain ???and vibrate???. The heat os use to overcome the ???? between the particles.FreezingWater released heat when cooled. Particles ???energy.and move slower. During the Tokugawa shogunate, Japan becameA.an increasingly Catholic nationB.the ruler of territory in mainland AsiaC.more important to the global economyD.more isolated from the rest of the world Which is true of Europe after the fall of Rome?O A. It was peaceful and stable, except for problems with the Huns.B. Only the Franks established a lasting kingdom.C. It was turbulent everywhere, except in Italy.D. It was turbulent everywhere, except in Spain. The equivalent resistance of a complex circuit is usually determined by a dividing the sum of the individual resistances by the number of resistances. b adding and subtracting individual resistances. c inspection. d simplifying the circuit into groups of series and parallel circuits. Select the correct texts in the passage.Which two details, one from each excerpt, show how the two speakers treat the concept of a strong and growing U.S. military power similarly?Passage 1excerpt from Franklin D. Roosevelt's Four Freedoms SpeechOn January 6, 1941, President Franklin D. Roosevelt spoke to Congress about the potential effect that World War II might have on the United States and its policies. His address has since become popularly known as the Four Freedoms Speech.. . . It is true that prior to 1914 the United States often had been disturbed by events in other Continents. We had even engaged in two wars with European nations and in a number of undeclared wars in the West Indies, in the Mediterranean and in the Pacific for the maintenance of American rights and for the principles of peaceful commerce. But in no case had a serious threat been raised against our national safety or our continued independence.What I seek to convey is the historic truth that the United States as a nation has at all times maintained clear, definite opposition, to any attempt to lock us in behind an ancient . . . wall while the procession of civilization went past. Today, thinking of our children and of their children, we oppose enforced isolation for ourselves or for any other part of the Americas. . . .The need of the moment is that our actions and our policy should be devoted primarily--almost exclusively--to meeting this foreign peril. For all our domestic problems are now a part of the great emergency.Just as our national policy in internal affairs has been based upon a decent respect for the rights and the dignity of all our fellow men within our gates, so our national policy in foreign affairs has been based on a decent respect for the rights and dignity of all nations, large and small. And the justice of morality must and will win in the end. Our national policy is this:First, by an impressive expression of the public will and without regard to partisanship, we are committed to all-inclusive national defense.Second, by an impressive expression of the public will and without regard to partisanship, we are committed to full support of all those resolute peoples, everywhere, who are resisting aggression and are thereby keeping war away from our Hemisphere. By this support, we express our determination that the democratic cause shall prevail; and we strengthen the defense and the security of our own nation.Third, by an impressive expression of the public will and without regard to partisanship, we are committed to the proposition that principles of morality and considerations for our own security will never permit us to acquiesce in a peace dictated by aggressors and sponsored by appeasers. We know that enduring peace cannot be bought at the cost of other people's freedom. . . .Let us say to the democracies: "We Americans are vitally concerned in your defense of freedom. We are putting forth our energies, our resources and our organizing powers to give you the strength to regain and maintain a free world. We shall send you, in ever-increasing numbers, ships, planes, tanks, guns. This is our purpose and our pledge. . . ."In the future days, which we seek to make secure, we look forward to a world founded upon four essential human freedoms.The first is freedom of speech and expression--everywhere in the world.The second is freedom of every person to worship God in his own way--everywhere in the world.The third is freedom from want--which, translated into world terms, means economic understandings which will secure to every nation a healthy peacetime life for its inhabitants everywhere in the world.The fourth is freedom from fear--which, translated into world terms, means a world-wide reduction of armaments to such a point and in such a thorough fashion that no nation will be in a position to commit an act of physical aggression against any neighbor--anywhere in the world. How is the location (scene) of the church different in the novel compared to the location (scene) in the movie? Which document is a primary source concerning Colonization? a. a videotape showing a reenactment of a battleb. a journal/diary of the events of the time period written by a colonial explorerc. a social studies textbookd. a published article written by a history teacher