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
Archy [21]
3 years ago
7

Write an algorithm to calculate the simple interest using the formula​

Computers and Technology
1 answer:
sesenic [268]3 years ago
3 0

Answer:

step 1:- start

step 2:-read principal amount, rate and time

step 3:- calculate interest using formula sI=((amount*rate*time)/100)

step 4:- print simple interest

step 5:- //CPP program to find compound interest for. //given values

You might be interested in
Riser cards on some proprietary systems plug into a unique socket or slot on the motherboard. These are also called________
inysia [295]

Answer: Daughter board

Explanation:

A daughter board is refers to the circuit board and it is basically connected to the motherboard directly without any interruption.

It is also known as a daughter card which plugs and then extended the circuitry by connecting with the another circuit board. A mezzanine card and the riser card are the examples of the daughter board that used in the system.

According to the question, the riser card basically plus into the unique socket or the slot in the board and this is known as the daughter board.

Therefore, Daughter board is the correct answer.          

8 0
4 years ago
In what type of attack does the adversary leverage a position on a guest operating system to gain access to hardware resources a
il63 [147K]

Answer:

VM escape attack

Explanation:

<em>In a VM escape attack, the attacker exploits hypervisor vulnerabilities to gain control over resources reserved for other guest operating systems. Services operating on the guest may be exposed to the other attacks, but such attacks can only access data allotted to the same guest. In the event of a buffer overflow or directory traversal or the client in the case of cross-site scripting.</em>

6 0
2 years ago
2. Name the layer of the Web/Internet Protocol Stack with which each of these functions is associated.
Nadya [2.5K]

Answer:

a. Encrypt a message - Application layer

b. Prevent buffer overruns - Transport Layer

c. Choose the best route for a data packet - Network Layer

d. Compose an email message - Application layer

Explanation:

3 0
3 years ago
Read 2 more answers
Write a recursive function, displayFiles, that expects a pathname as an argument. The path name can be either the name of a file
timama [110]

Answer:

Here is the Python function:

import os   #module used to interact with operating system

def displayFiles(pathname):  #recursive function that takes a pathname as argument

  if (os.path.isdir(pathname)):  #checks if specified path (argument) is an existing directory

      for content in os.listdir(pathname):  #gets the list of all files and directories in the directory and iterates through the items of this list of directory

          contents = os.path.join(pathname, content)  #joins contents of path

          displayFiles(contents)  #calls function recursively

  else:  #if pathname refers to a file

      filename=pathname  #sets filename to pathname

      file = os.path.basename(filename)  #gets base name in specified path

      print("File Name: ", file) #displays the name of file

      with open(filename, "r") as contents:  #opens file in read mode

          print("Content:")  #prints Content:

          for lines in contents:  #iterates through the contents of file

              print(lines)   #displays the contents of file

Explanation:

The recursive function  displayFiles contains a single argument  pathname which can either be a pathname or a filename  . If the given argument is pathname for directory  , then the directory is opened and os.listdir returns a list containing the names of the entries in the directory given by pathname and append these contents in the list. Then this function is called recursively to print each file name and this function is applied to each name in the directory. However if the pathname refers to a file then the pathname is set to filename , the file is opened in read mode and the contents of the file are displayed.

8 0
4 years ago
Which method finds the greatest common divisor of 14 and 35?
Liula [17]

Answer:

gcd method

Explanation:

Given

The code snippet

Required

Which method completes the code

To return the gcd of numbers, simply use the gcd method.

So: the complete code is;

<em>import math</em>

<em>math.gcd(14,35)</em>

6 0
3 years ago
Other questions:
  • Which tab is used to edit objects on the Slide Master and layouts?
    6·1 answer
  • Discuss how and why video game hardware affects game design and where you think the next generation of platforms will change tho
    9·1 answer
  • State three differences between a hard drive and a pen drive​
    6·1 answer
  • When is it most appropriate to quote from an e-mail message in a response?
    9·2 answers
  • Crack the secret message: Crrp, Crrp, Crrp Zh’uh jrlqj wr wkh prrq. Li brx zdqw wr wdnh d wuls, Folpe derdug pb urfnhw vkls. (hi
    7·1 answer
  • You are trying to connecting your laptop to your new 52" LED TV using an HDMI connector. When you connect everything, you immedi
    15·1 answer
  • 3. It is used to measure the resistance on ohms and voltage that flow in circuit both AC and DC current. A. Gadget C. Electrical
    12·1 answer
  • What is one similarity between low-and high-level programming languages? (5 points)
    14·1 answer
  • In Interactive Charting, which chart type allows you to chart the current spread between a corporate bond and a benchmark govern
    6·1 answer
  • What is an a free open source content management system for publishing web content​
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!