1)write a python program to check wheter the given number is even or odd
2) write a python program to add any 5 subjects makrs, find sum and average (average=sum/5)
3)write a python program to print numbers from 1 to 100 using loops

Answers

Answer 1

Answer:

n = 16

if n%2:

 print('{} is odd'.format(n))

else:

 print('{} is even'.format(n))

m1 = 5

m2 = 4

m3 = 6

m4 = 8

m5 = 9

sum = m1+m2+m3+m4+m5

average = sum/5

print("The sum is {}, the average is {}". format(sum, average))

for i in range(1, 101): print(i, end=",")

Explanation:

Above program does all three tasks.

Answer 2

Answer:

1) num1 = int(input("Enter the number to be checked: "))

if num1%2==0:

   print("Your number is an even number!")

else:

   print("Your number is not even!")

2) maths = int(input("Enter your maths mark: "))

english = int(input("Enter your english mark: "))

social = int(input("Enter your social mark: "))

science = int(input("Enter your science mark: "))

computer = int(input("Enter your computer mark: "))

Sum =  maths + english + social + science + computer

average = Sum / 5

print("Sum of your marks are:",Sum)

print("average of your marks are:",average)

3) num = 0

while num <= 99:

   num+=1

   print(num)

Explanation:

Welcome.


Related Questions

which statement most accurately describes the mechanisms by which blockchain ensures information integrity and availability?

Answers

The statement that most accurately describes the mechanisms by which blockchain ensures information integrity and availability is: "Blockchain utilizes a decentralized, distributed ledger with cryptographic hashing.

And consensus algorithms to maintain data integrity and ensure its availability across multiple nodes."

Blockchain ensures information integrity and availability and most accurately describes the mechanisms by which blockchain ensures information integrity and availability. The decentralized nature of blockchain technology allows for multiple copies of the same data to be stored across the network, making it extremely difficult for any one party to tamper with the information without being detected. Additionally, the use of cryptographic hashing and digital signatures further ensures the authenticity and integrity of the data stored on the blockchain. Finally, the availability of the data is ensured through the continuous validation and synchronization of the network nodes, making it accessible to anyone with an internet connection.

To learn more about Blockchain Here:

https://brainly.com/question/31080398

#SPJ11

The complete question is:

Which statement most accurately describes the mechanisms by which blockchain ensures information integrity and availability?

A. Blockchain ensures availability by cryptographically linking blocks of information, and integrity through decentralization.

B. Blockchain ensures availability through decentralization, and integrity through cryptographic hashing and timestamping.

C. Blockchain ensures availability through cryptographic hashing and timestamping, and integrity through decentralization.

D. Blockchain ensures both availability and integrity through decentralization and peer-to-peer (P2P) networking.

what does rm -r do differently than rm?

Answers

So the solution is straightforward. While the rmdir command only deletes empty directories, the rm command can also be used to remove non-empty directories.

Using the rmdir command, non-empty directories cannot be deleted at all. A directory and all of its contents are recursively deleted using the command rm -r (normally rm will not delete directories, while rmdir will only delete empty directories). The git rm command deletes the file from the local file system as well as the git repository. However, the rm command just purges the file from the file system. Simply list all of the file names following the "rm" command to delete many files at once. A space should be used to separate file names. Using the "rm" command.

Learn more about system here-

https://brainly.com/question/30146762

#SPJ4

Aaron is planning to purchase a laptop. He is assessing laptop features such as hard disk drive capacity, processor speed, weight, and screen size, as well as the benefits associated with these features. The features and benefits that Aaron is considering to assess whether a particular laptop will satisfy his requirements are referred to as _____.

Answers

People often have different preference. Aaron is considering to assess whether a particular laptop will satisfy his requirements are referred to as Evaluative criteria.

Evaluative criteria is simply known to be when a customer chooses a different product, than the one they intentionally wanted to buy or that they had in mind.

This choosing based on criteria is mostly influenced by quality, price, and features. Customers often takes the above factors into consideration.

Conclusively, A  lot of customers often take their time thinking, researching and comparing different products before buying them as in the case of Aaron.

Learn more about Evaluative criteria from

https://brainly.com/question/13702714

What is the next line? >>> myTuple = [10, 20, 50, 20, 20, 60] >>> myTuple.index(50) 3 1 4 2

Answers

Answer:

3

Explanation:

You see 3 since there are 3 occurrences of 20 in the tuple. (the 2 from the other answer is wrong on edge, I just finished taking this assignment and it told me the correct answer is 3)

Answer:

It's not 3, It's 2.

Explanation:

Remember that the index of the first element is zero. Since 50 is the third element, Python returns 2.

what is the benefit of troubleshooting grid issues in firefox compared to other browsers?

Answers

Firefox dev tools can assist you in identifying the root cause of problems and testing potential solutions in a safe, sandboxed environment.

When working with grid layouts, you may encounter a variety of issues, such as misaligned or overlapping items, unsightly gutters or padding, or elements that don't match their intended size.

Firefox's grid inspector displays an interactive layout grid and overlays that can assist you in visualizing grid lines and gaps. Firefox's dev tools make it easy to experiment with alternative values for grid layout properties, allowing you to test out potential solutions and find the ideal settings for your design.

Learn more about Grid Layout at:

https://brainly.com/question/31427097

#SPJ11

14.19 what is the 4b/5b encoding for the binary sequence 1101000011001101

Answers

The 4b/5b encoding scheme is a useful Technique for encoding binary data in digital communication systems, and it ensures the transmission of a balanced number of zeros and ones, thus preventing synchronization errors.

The 4b/5b encoding scheme is a widely used method for encoding binary data in digital communication systems. It is based on the concept of encoding four binary bits into a five-bit code that ensures the transmission of a balanced number of zeros and ones, thus preventing long sequences of zeros or ones from causing synchronization errors.
To encode the binary sequence 1101000011001101 using 4b/5b encoding, we first divide the sequence into groups of four bits, which are then mapped to their corresponding five-bit code according to the 4b/5b lookup table. For example, the first group of four bits, 1101, corresponds to the five-bit code 10011. Similarly, the second group of four bits, 0001, corresponds to the five-bit code 01100.After encoding all the groups of four bits, we concatenate the resulting five-bit codes to form the final encoded sequence. In the case of the binary sequence 1101000011001101, the encoded sequence would be 10011001100110110100.the 4b/5b encoding scheme is a useful technique for encoding binary data in digital communication systems, and it ensures the transmission of a balanced number of zeros and ones, thus preventing synchronization errors.

To know more about Technique .

https://brainly.com/question/13044551

#SPJ11

The 4b/5b encoded sequence for 1101000011001101 is:

10011 00011 10100 10101

The 4b/5b encoding scheme converts groups of 4 bits into groups of 5 bits in order to ensure sufficient signal transitions for reliable data transmission.

To encode the binary sequence 1101000011001101 using 4b/5b encoding, we break it into groups of four bits:

1101 0001 1001 101

Then we look up the corresponding 5-bit code for each group using the 4b/5b encoding table:

1101 -> 10011

0001 -> 00011

1001 -> 10100

1010 -> 10101

Therefore, the 4b/5b encoded sequence for 1101000011001101 is:

10011 00011 10100 10101

Note that each 5-bit code has at least two 1s and two 0s, which ensures that there are sufficient signal transitions for reliable transmission.

Learn more about encoded here:

https://brainly.com/question/13052550

#SPJ11

hlo plss help.
.....,, ​

hlo plss help......,,

Answers

Answer:

please sulto garera kichnu hola

Answer:

a) Analog computer

b) Laptop

c) super computer

d) Microcomputer

e) Hybrid computer

f) Digital computer

g) Laptop computer

Please mark me as brainlist

a parameter is a special purpose variable that is declared inside the parentheses of a function definition.
T/F

Answers

The given statement "a parameter is a special purpose variable that is declared inside the parentheses of a function definition." is TRUE because it is a variable that is used to pass data into a function when it is called.

It is declared inside the parentheses of a function definition and specifies what type of data the function expects to receive.

The value of the parameter can then be used within the function to perform specific actions or calculations.

Parameters are an important aspect of function design as they allow for flexibility and customization in how the function operates.

They also help to make code more efficient by reducing the amount of repetitive code that would be required if the function had to be rewritten for each unique data input.

Learn more about parameters at

https://brainly.com/question/14101538

#SPJ11

the it manager has tasked you with installing the new wireless lan controller (wlc). where should you install the controller?

Answers

In order for a WLC to be able to communicate with and manage the wireless access points, it needs be installed in the networking closet and linked to a switch.

What is WLC?

WLC stands for wireless LAN controller. It is defined as a part of the network that controls wireless network access points and enables wireless devices to connect to it. The network administrator uses a wireless LAN controller, or WLC, together with other devices to monitor and manage access points in bulk.

The data center, to which all of the network's wireless APs are directly or indirectly connected, typically houses the wireless LAN controller as a centralized device.

Thus, in order for a WLC to be able to communicate with and manage the wireless access points, it needs be installed in the networking closet and linked to a switch.

To learn more about WLC, refer to the link below;

https://brainly.com/question/13406128

#SPJ1

Which of the following is NOT an algorithm?

Following a recipe to bake a cake

Following an instruction booklet for a game

SHA-256

Rolling a pair of dice in monopoly

Answers

Answer:

d) rolling a pair of dice in monopoly

Explanation:

an algorithm is a process or set of rules followed in a particular order to perform a certain task. all of the other answers are a set of instructions that lead to something except for rolling a pair of dice. rolling a pair of dice can be a part of instruction but its not a process in itself.

hope this makes sense!

what tool is used to find and organize files on a mac

Answers

The tool used to find and organize files on a Mac is called Finder. Finder is a built-in file manager for macOS. Finder makes it easy to browse and manage files and folders on a Mac computer. It is the default application used to find and organize files, and it is typically found in the Dock at the bottom of the screen.

Finder allows users to create, delete, and organize files and folders. It also provides a search feature that makes it easy to find specific files by name or other criteria. Finder is also integrated with other Mac applications, such as iCloud and Time Machine, to provide users with easy access to their files and backups.Finder allows users to view files in a variety of ways, including icons, list, columns, and Cover Flow.

It also provides a variety of customization options, including the ability to change the look and feel of the application and the ability to add or remove shortcuts to folders and files.Overall, Finder is an essential tool for anyone using a Mac computer. Its intuitive interface and powerful features make it easy to manage files and stay organized.

To know more about organize visit:

https://brainly.com/question/12825206

#SPJ11

Which tab on the Ribbon contains the command to show the slide show from the current slide?

A.Home

B.Slide Show

C.File

D.View

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The correct answer to this question is B: Slide Show.

You can use the Slide Show tab on the ribbon that contains commands to show the slide show from the current slide. As you click on the Slide Show tab on the ribbon, you see a group of commands name "Start Slide Show", in these group of command, there is an option to start slide show From Current Slide. when you will click this option the slide show will start from your current slide.

Other options are not correct because:

The home tab on the ribbon contains commands related to slide, font, paragraph, editing, etc. File tab contains commands related to opening new or existing presentation documents and saving them, etc. While the View tab on the ribbon has a group of commands related to presentation view, master, zoom, etc. These tabs are used to show the slide show from the current slide.  

What is the use of table in open office writer?

Answers

Answer:

Table in Open Office Writer can be used to create and format tables of data, such as for a spreadsheet or database. You can also use it to create and format charts, graphs, and other visuals.

___________________________________________________________________________________________PLS HE;LP!

Answers

Answer: Oh okay, what do I help with

Explanation:

Source ________ contains instructions written by a programmer specifying the actions to be performed by computer software.

Answers

Source code contains instructions written by a programmer specifying the actions to be performed by computer softwa

a computer has power, but there are no beeps and the computer does not boot. which of the following would be the MOST LIKELY cause?

a. no operating system installed
b. CPU failure
c. outdated bios
d. hard drive failure
HELP!!

Answers

Answer:

CPU failure

Explanation:

CPU is what runs the computer which if the CPU is broken the computer will not start

A computer has power, but there are no beeps and the computer does not boot. The most likely cause is CPU failure. Thus the correct option is B.

What is Computer?

A computer is an electronic device used to perform arithmetic and logical operations within seconds accurately without causing any error and make ease people's life.

A CPU is referred to as the central processing unit of a computer which plays a significant role in its functions and operations. It helps to convert the data by processing it into output for humans.

When the computer has power but there is no beep its means that there is a problem in the power supply unit which reflects a disruption in the power supply and causes the failure of the CPU.

Therefore, option B  CPU failure is appropriate.

Learn more about CPU, here:

https://brainly.com/question/16254036

#SPJ6

When an object is acted on by unbalanced forces, the object will always

Answers

Answer:

If an object has a net force acting on it, it will accelerate. The object will speed up, slow down or change direction. An unbalanced force (net force) acting on an object changes its speed and/or direction of motion. An unbalanced force is an unopposed force that causes a change in motion.

Explanation:

suppose you have a hard disk with 2200 tracks per surface, each track divided into 110 sectors, six platters and a block size of 512 bytes(i.e., 1 /2 kilobyte), what is the total raw capacity of the disk drive?

Answers

Suppose you have a hard disk with 2200 tracks per surface, each track divided into 110 sectors, six platters, and a block size of 512 bytes (i.e., 1 /2 kilobyte), then the total raw capacity of the disk drive is 13.4 GB.

A hard disk drive (HDD) is a data storage device that uses magnetic storage to store and retrieves digital data using one or more rigid rapidly rotating disks (platters) covered in magnetic material. A hard disk drive is a random-access memory device (RAM), meaning that data can be read or written in almost any order after the first write operation has been completed.

Suppose you have a hard disk with 2200 tracks per surface, each track divided into 110 sectors, six platters, and a block size of 512 bytes (i.e., 1 /2 kilobyte), then the total raw capacity of the disk drive is 13.4 GB. The formula to calculate the total raw capacity of the disk drive is given:

Total raw capacity = Number of surfaces × Number of tracks per surface × Number of sectors per track × Block size per sector × Number of platters

We are given: Number of surfaces = 2

Number of tracks per surface = 2200

Number of sectors per track = 110

Block size per sector = 512 bytes

Number of platters = 6

Now, let's substitute these values in the above formula:

Total raw capacity = 2 × 2200 × 110 × 512 × 6

= 13,428,480,000 bytes = 13.4 GB

Therefore, the total raw capacity of the disk drive is 13.4 GB.

You can learn more about disk drives at: brainly.com/question/2898683

#SPJ11

What does it mean when someone silences notifications?.

Answers

Answer:

Silencing notifications does not alert someone when the notification comes in. It is silent. These settings were invented to help avoid distractions. The notifications still come in just quietly without an alert and can be checked at any time. Lots of people silence notifcations at night, while sleeping, while studying, etc.

Explanation:

You have the following code:
----------------------------------------------------------------------------------------------
fruit_list = ["strawberries", "bananas", "apples", "grapes"]
total_cost = 0
for fruit in fruit_list:
if fruit in ["apples","bananas"]:
total_cost += 3
elif fruit == "cantaloupe":
total_cost += 5
elif fruit in ["raspberries","strawberries","grapes"]:
total_cost += 4
-------------------------------------------------------------------------------------------------

What will be the value of total_cost?

A.13
B.14
C.15
D.7

Answers

Answer:

7

Explanation:

We already have the functions that tells us how much to add. If you add all this, you will get 12. HOWEVER because cantaloupe is in the list, the computer does not count that. So if we add that again without 5(how much the cantaloupe costs), we get 7.

Whats the difference between Input and Output? Give and example of an example on a M:B​

Answers

Answer:

Entrar en algún lugar no es como irse de algún lugar, o qué tipo de pregunta significa para mi acción

Your phone's battery dies -- no Internet for you! When you get home hours later, you plug in the charger and turn your phone back on, reconnecting it to the Internet. Once it gets back online, your phone is likely to be assigned a new __________.

Answers

IP address i believe, not 100% positive

pls help ASAP!! will give brainliest

pls help ASAP!! will give brainliest

Answers

Answer:

a is the CPU

b is the ram

c is the mother board

d is the power supply

e is the hard drive

Explanation:

a is the brain of the computer it directs things

b is the temporary storage  

c the mother board processes things

d this gives the computer power

e is the long storage

9. What will help you determine the kinds of tools, equipment and utensil you will assemble, sanitize, inspect or check?
a. the kind of product to be produced
b. the method of food processing to be done
c. the raw materials to be processed
d. the availability of tools, equipment and utensils​

Answers

Explanation:

b. the method of food processing to be done

Write a procedure ConvertToBinary that takes an input as a number from 0 to 16 (including 0 but not 16) and converts it to a binary number. The binary number should be returned as a list.

Answers

Answer:function ConvertToBinary(n) {

console.log(n.toString(2).split(''));

}

ConvertToBinary(13);

Explanation:

8 9. McWhorter argues that being able to understand in textspeak has many of the same benefits as being able to speak two languages. Can this same argument be applied to emojis? Why or why not?
NEED HELP ASAP WILL GIVE BRAINIST TO BEST AWNSER ​

Answers

Answer:

yes because i could use ️ to say im eating a chicken leg and or talking with my mouth full and got slapped so yes i believe so  

Explanation:

Answer: Yes because if you speak in "emoji" you technically can talk in any language you want because whoever you are sending it to could knows what you're implying by them

Explanation:

. Which of the following are container elements?

a. bold b. underline c. italics d. all of these

Answers

It’s c cba to explain

Answer:

I think letter b. underline, but not sure

I need help!!!! 1.04

When using the Internet, it is important to know the validity of web page you are using. How can you know if the information is reliable?

Sometimes domains that include .gov or .edu come from more trustworthy education or government sources.

or

Look at at the author bio or About page. How qualified is this person?

or

We can’t judge a book (or website!) by its cover but sites that are cluttered, difficult to navigate, or look amateurish may be worth avoiding.

or

All of the above

Answers

The answer could be all of the above

computer network reduces expenses of an office justify this statement​

Answers

Answer:

Computer Network reduces expenses of an office. Justify this statement with an example. Computer Networks can allow businesses to reduce expenses and improve efficiency by sharing data and common equipment, such as printers, among many different computers.Explanation:

Debra wants an inexpensive way to use sunlight to heat her home. Which of the following options would best meet her need?

Technologies that uses concentrating solar power
Large windows with south-facing exposure
Photovoltaic cells on her roof to collect sunlight
Special technologies to collect and store sunlight

Answers

For Debra's requirement of an inexpensive way to use sunlight to heat her home, the best option would be large windows with south-facing exposure.

How can this be done?

Passive solar heating can be achieved through this method, wherein the interior of the house is heated by the sunlight that enters through its windows.

This is an efficient and economical approach that utilizes abundant sunlight without needing any supplementary tools or methods. Solutions like concentrating solar power, photovoltaic cells, and technologies designed to capture and save sunlight are frequently employed for the purposes of producing power or heated water, but they often require significant initial investment and intricate setup procedures.

Read more about solar heating here:

https://brainly.com/question/17711999
#SPJ1

Other Questions
what are the accessory structures of the digestive system?what are the functions of the digestive system? what are the steps in the process of digestion?what is the relevance of nutrition to the digestive system?what are the common disorders of the digestive system? two long parallel wires separated by 2.3 cm experience a force per unit length of 0.3 n/m. they are carrying the same current. what is it? Find the volume of the composite figure. Round to the nearest tenth. 3cm 4cm 10cm 5 cm How is Miss Maudie able to take an active interest in Jem and Scout after losing everything she owned?(to kill a mocking bird) O. After reading the story, go back and scan for examples of symbols, imagery, figurative language, and tone/theme and complete the SIFT graphic organizer. Record examples from "TheGift of the Magi" for each of the SIFT elements. in the poet "truth by nikki grimes question are hard so i needed help As an engineer for a private contracting company, you are required to test some dry-type transformers to ensure they are functional. The nameplates indicate that all the transformers are 1.2 kVA, 120/480 V single phase dry type. (a) With the aid of a suitable diagram, outline the tests you would conduct to determine the equivalent circuit parameters of the single-phase transformers. (6 marks) (b) The No-Load and Short Circuit tests were conducted on a transformer and the following results were obtained. No Load Test: Input Voltage = 120 V, Input Power = 60 W, Input Current = 0.8 A Short Circuit Test (high voltage side short circuited): Input Voltage = 10 V, Input Power = 30 W, Input Current = 6.0 A Calculate R, X, R and X (6 marks) m eq cq (c) You are expected to predict the transformers' performance under loading conditions for a particular installation. According to the load detail, each transformer will be loaded by 80% of its rated value at 0.8 power factor lag. If the input voltage on the high voltage side is maintained at 480 V, calculate: i) The output voltage on the secondary side (4 marks) ii) The regulation at this load (2 marks) iii) The efficiency at this load (4 marks) I need help with this ASAP: How do you think fear can lead people to accept policies or actions that restrict the rights of specific groups of people? Q7. A particle, of mass 9 kg, is attached to two identical springs. The other ends of the springs are attached to fixed points, A and B, which are 1.2 metres apart on a smooth horizontal surface. The springs have modulus of elasticity 45 N and natural length 0.4 m. The particle is released from rest at a distance of 0.5 metres from B and moves on the line AB. The midpoint of AB is C. At time t seconds after release, the displacement of the particle from C is x metres, where the direction from A to B is taken to be positive. (a) Show that the resultant force on the particle, at time t, is 225x newtons. (6) (b) Hence show that the particle moves with simple harmonic motion. (2) (c) State the period of this motion. (d) Find the speed of the particle when it is 0.05 metres from C. (2) (e) Write down an expression for x in terms of t. (Total 16 marks) floating-rate debt is advantageous to investors because the interest rate moves up if market rates rise. since floating-rate debt shifts price risk to companies, it offers no advantages to corporate issuers. Which of the following statements correctly describe bonding and intermolecular forces? Intermolecular forces involve partial or small charges that are far apart and are relatively weak Bonding forces occur within the nucleus of the atom and are therefore strong Covalent bonds are type of intermolecular force since they are found in molecules. Bonding forces are generally much stronger than intermolecular forcesFor molecular substance, the strength of the Intermolecular forces determines the physical properties of its phases Some scientists are studying the frogs in a pond near a factory. The factory has been known to dump old chemicals in a gutter that sometimes leaks into the pond. The scientists suspect that the chemicals may be causing the frogs to die before they can lay eggs. They decide to compare the frogs in this pond to the frogs in a pond with clean water.If you were one of these scientists, what might be your hypothesis? Classify each sequence as arithmetic, geometric, or neither by dragging it into the correct box. State the domain and range of the following function. {(-9, 3), (5, 1), (6, 9), (-4, 7), (3, 2)} Read and look at this graphic from Citizenship. How does the graphic of the blind mice nearing the cliff illustrate "obeying too much"? It shows that following unfair or harsh laws can lead to disaster. It shows that many people were killed in Nazi Germany. It shows that Adolph Hitler invaded several countries in Europe. It shows that many people lost their sight in the 1930s and 1940s. Solve for Y. Will mark branliest please help! Brainlyest to first correct. Report to incorrect Add.(5x^4+6x^343)+(6x^5x^2+12x+12)Express the answer in standard form.Enter your answer in the box. Part A: Which of the following best identifies a central idea in the text Evaluate the integral0[(7te5t2)i+(e6t)j+(1)k]dt01[(7te5t2)i+(e6t)j+(1)k]dt=(___i+(___j+(___k 2 5, local movement, 9-5 rectangle. 3 times 5 open says-a-me. 4(6)(7)(7 5) lockbox