1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Varvara68 [4.7K]
2 years ago
8

PRACTICAL ACTIVITY

Computers and Technology
1 answer:
alina1380 [7]2 years ago
8 0

"""

1.Write a program in python to find the area of rectangle with following inputs:

Length = 4

Breadth = 5

2. Write a program in python to print multiples of 5

3. Write a program in python to check if the given number is positive or negative

4. Write a program in python to find the following

a) Average of 3 numbers

b) Power of 2 numbers

c) Minimum of 3 numbers

"""

# Program 1

print("Question 1")

print("Rectangle Area Calculator")

length  = int(input("Enter length  > "))

breadth = int(input("Enter breadth > "))

print(length * breadth)

# Program 2

print("Question 2")

for multiplier in range (0, 13):

   print(5 * multiplier)

# Program 3

print("Question 3")

num = int(input("Enter a number to check if positive or negative > "))

if num > 0:

   print("positive")

elif num < 0:

   print("negative")

else:

   print("0")

# Program 4

# Part A

print("Question 4A")

num1 = int(input("Enter first num > "))

num2 = int(input("Enter second num > "))

num3 = int(input("Enter third num > "))

print("Average:", (num1 + num2 + num3) / 3)

# Part B

print("Question 4B")

base  = int(input("Enter base > "))

power = int(input("Enter power > "))

print(base ** power)

# Part C

print("Question 4C")

num1 = int(input("Enter first num > "))

num2 = int(input("Enter second num > "))

num3 = int(input("Enter third num > "))

print("Min:", min(num1, num2, num3))

You might be interested in
Effective character encoding requires:
Dvinal [7]

To answer your question the answer would be B compatible browsers

8 0
3 years ago
You are about to repair and change the resistor (small components),but the components are too small to solder and hold,what tool
exis [7]

Answer:

Needle-nose pliers

Explanation:

Required

Tool used to hold small components

The device to do this is the needle nose pliers.

This device has several functions, but it is specifically designed to hold small components in the computer when the computer is being repaired.

Among the other functions are:

  • Picking small and tiny screws
  • Cutting of wires
  • Hold wires against the side of the computer case
8 0
3 years ago
With which game is the Taito Corporation associated?
gregori [183]
It is a japanese video game publisher known for publishing space invaders

4 0
3 years ago
Write a program that asks the user for a CSV of the NYC Open Data Film Permits: There is a sample file for June 2019 film permit
Westkost [7]

Answer:

Before running this program, make sure you have installed pandas module for python.

pip install pandas

import pandas as pd

import numpy as np

csv_file = input("Enter CSV File Name : ")

df = pd.read_csv(csv_file)

count_row = df.shape[0]

print("There were %d Film Permits in Total." %(count_row))

borough_count = df['Borough'].value_counts()

print(borough_count)

location_count = df['ParkingHeld'].value_counts().head(5)

print(location_count)

Explanation:

4 0
3 years ago
Read 2 more answers
Which term describes encryption that protects the entire original ip packet's header and payload?
mario62 [17]
The answer is <span> tunnel mode encryption.   This</span><span> describes encryption that protects the entire original ip packet's header and payload.  A tunnel mode encryption </span><span>protects the internal routing information by encrypting the IP header of the original packet. The original packet is encapsulated by a another set of IP headers. .<span>Additional headers are added to the packet; so the payload MSS is less.</span></span>
7 0
3 years ago
Read 2 more answers
Other questions:
  • Customer A with a Bronze service level package calls in a Critical System Failure at 9:00 AM. Customer B with a Silver service l
    15·1 answer
  • The process of using a computer to write, design, and assemble documents is called A. desktop publishing. B. scanning. C. consul
    7·1 answer
  • A(n) _____ might be written by a programmer or it might be created through a DBMS utility program.
    6·1 answer
  • What kind of device is hardware capable of transferring items from computers t and devices to trans?
    5·1 answer
  • b) Derive the logic expressions for the incrementor and 7-sgement decoder. Since software can perform gate-level optimization, y
    7·1 answer
  • _______and ________ enables computers to communicate and it can pass information between two networks.
    15·1 answer
  • What is the full form of USB​ ?
    15·1 answer
  • Brainliest forrrrrrr frrrrrew right herrreeee
    14·1 answer
  • In my mouth In my hair..........​
    15·2 answers
  • South Africa is the main supplier of which minerals in the world​
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!